Frame 1
mlanguage = System.capabilities.language;
ifchinese = mlanguage.indexOf("zh");
if (ifchinese != -1) {
prolang = "c";
} else {
prolang = "e";
}
flakeall.maxexistflake = 180;
snowspeed = 10;
rootxmax = 400;
rootymax = 320;
thisver = 2.6;
_quality = "MEDIUM";
rankurl = "http://musicary.com/FMX/";
rankurl1 = "http://jhunour.nease.net/gameworkshop/";
Instance of Symbol 28 MovieClip "flakeall" in Frame 1
onClipEvent (load) {
var dupspeed = 1;
var yoffset = 10;
var maxexistflake = 200;
var maxflake = maxexistflake;
var existflake = 0;
var i = 0;
var interval = 1;
var k = interval;
var wind = 0;
var windmin = -300;
var windmax = 300;
var ifwindmax = false;
var ifwindmin = true;
}
onClipEvent (enterFrame) {
if ((ifwindmax == false) && (ifwindmin == true)) {
if (wind < windmax) {
wind++;
} else {
ifwindmax = true;
ifwindmin = false;
}
}
if ((ifwindmin == false) && (ifwindmax == true)) {
if (wind > windmin) {
wind--;
} else {
ifwindmin = true;
ifwindmax = false;
}
}
if (k == interval) {
if (existflake < maxexistflake) {
var j = 1;
while (j <= dupspeed) {
rotation = Math.round(wind / 10) + random(15);
flakerandom = 40 + random(60);
flakex = random(_root.rootxmax);
flakey = yoffset;
point = new object();
point.x = flakex;
point.y = flakey;
globalToLocal(point);
thisflakex = point.x;
thisflakey = point.y;
duplicateMovieClip (flakedup, "flakedup" + i, i);
setProperty("flakedup" + i, _x , thisflakex);
setProperty("flakedup" + i, _y , thisflakey);
setProperty("flakedup" + i, _xscale , flakerandom);
setProperty("flakedup" + i, _yscale , flakerandom);
setProperty("flakedup" + i, _rotation , rotation);
setProperty("flakedup" + i, _alpha , flakerandom + 10);
existflake++;
i++;
if (i >= maxflake) {
i = 0;
}
j++;
}
}
k = 0;
} else {
k++;
}
}
Instance of Symbol 67 MovieClip "contratitle" in Frame 1
onClipEvent (enterFrame) {
if (_root.prolang == "e") {
this.gotoAndStop("e");
}
if (_root.prolang == "c") {
this.gotoAndStop("c");
}
}
Frame 2
thisvershow = "2.6";
oncheat = false;
payurl = "https://www.paypal.com/xclick/business=jhunour@163.com&no_note=1&tax=0¤cy_code=USD";
uu1 = 87;
dd1 = 83;
ll1 = 65;
rr1 = 68;
ff1 = 74;
jj1 = 75;
myKey = new Array();
i = 48;
while (i <= 90) {
myKey[i] = String.fromCharCode(i);
i++;
}
i = 96;
while (i <= 105) {
myKey[i] = "Numbpad" + (i - 96);
i++;
}
i = 112;
while (i <= 126) {
myKey[i] = "F" + (i - 111);
i++;
}
myKey[8] = "Backspace";
myKey[9] = "Tab";
myKey[12] = "Clear";
myKey[13] = "Enter";
myKey[16] = "Shift";
myKey[17] = "Control";
myKey[18] = "Alt";
myKey[20] = "Caps Lock";
myKey[27] = "Esc";
myKey[32] = "Spacebar";
myKey[33] = "Page Up";
myKey[34] = "Page Down";
myKey[35] = "End";
myKey[36] = "Home";
myKey[37] = "Left Arrow";
myKey[38] = "Up Arrow";
myKey[39] = "Right Arrow";
myKey[40] = "Down Arrow";
myKey[45] = "Insert";
myKey[46] = "Delete";
myKey[47] = "Help";
myKey[144] = "Num Lock";
myKey[186] = "; :";
myKey[187] = "= +";
myKey[189] = "- _";
myKey[191] = "/ ?";
myKey[192] = "` ~";
myKey[219] = "[ {";
myKey[220] = "\\|";
myKey[221] = "] }";
myKey[222] = "'' '";
myKey[106] = "Numbpad*";
myKey[107] = "Numbpad+";
myKey[108] = "NumbpadEnter";
myKey[109] = "Numbpad-";
myKey[110] = "Numbpad.";
myKey[111] = "Numbpad/";
fullscreenyn = false;
fscommand ("trapallkeys", "true");
fscommand ("showmenu", "false");
fscommand ("allowscale", "false");
_quality = "MEDIUM";
sinfo = true;
diff = 4;
defmanbullet = "N";
bulletlastlevel = "";
bpluslastlevel = 0;
defaultlife = 3;
volume = 90;
warmuplevel = true;
rootsound = new Sound();
rootsound.setVolume(volume);
Instance of Symbol 71 MovieClip "bloom" in Frame 2
onClipEvent (load) {
Mouse.hide();
gotoAndStop (1);
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 83 MovieClip in Frame 2
onClipEvent (mouseDown) {
_parent.bloom.gotoAndPlay("move");
_root.mousepressed = true;
}
onClipEvent (mouseUp) {
_parent.bloom.gotoAndStop("still");
_root.mousepressed = false;
}
Frame 3
if (getBytesLoaded() < getBytesTotal()) {
gotoAndPlay (2);
} else {
gotoAndPlay (4);
}
full = 0;
defmanbullet = "N";
defaultlife = 3;
Frame 4
releaseall = true;
sethiscore = function () {
user_so = sharedobject.getlocal("contrasf23", "/");
with (user_so) {
_root.hiscore = Number(data.hiscore);
}
if (_root.hiscore <= 20000) {
_root.hiscore = 20000;
}
};
savehiscore = function () {
user_so = sharedobject.getlocal("contrasf23", "/");
with (user_so) {
data.hiscore = _root.hiscore;
flush();
}
};
Frame 5
flakeall.maxexistflake = 120;
releaseall = false;
snowspeed = 12;
minimize = false;
stop();
Frame 6
stop();
Mouse.show();
oncheat = false;
Instance of Symbol 131 MovieClip in Frame 6
onClipEvent (load) {
if (_root.prolang == "e") {
this.gotoAndStop("e");
}
if (_root.prolang == "c") {
this.gotoAndStop("c");
}
}
Instance of Symbol 270 MovieClip in Frame 6
onClipEvent (load) {
if (_root.prolang == "e") {
ft1 = "CONTROL";
fta1 = "Keyboard Setup";
ftb1 = "You can define your own keyboard settings\uFF0Cif no control problems, the default setting is recommended.";
ft2 = "DIFFICULTY";
fta2 = "Difficulty Setup";
ftb2 = "The 'snowfield'(level5) in contra was rather hard\uFF0Clower difficulty is recommended for beginners.";
ft3 = "QUALITY";
fta3 = "Display Setup";
ftb3 = "Lower quality is recommend for slower computer, especially when you choose 'hard' or 'insane' difficulty.";
ft4 = "SOUND";
fta4 = "Sound Setup";
ftb4 = "This game uses a hifi remixed music and 3D orientated sound effect, please test whether your speakers or headphones are ready.";
ft5 = "CREDITS";
fta5 = "More Games";
ftb5 = "'Contra' flash series is developed by Jhunour@163.com(MSN), please contact me for game customization or development.";
godefault = "Delfault";
goplay = "OK";
}
if (_root.prolang == "c") {
ft1 = "\u63A7\u5236";
fta1 = "\u952E\u76D8\u8BBE\u7F6E";
ftb1 = "\u53EF\u4EE5\u5B9A\u4E49\u81EA\u5DF1\u4E60\u60EF\u7684\u6309\u952E\uFF0C\u5982\u679C\u6CA1\u6709\u63A7\u5236\u5931\u7075\u7684\u95EE\u9898\uFF0C\u5EFA\u8BAE\u4FDD\u7559\u9ED8\u8BA4\u72B6\u6001\u3002";
ft2 = "\u96BE\u5EA6";
fta2 = "\u96BE\u5EA6\u8BBE\u7F6E";
ftb2 = "\u9B42\u6597\u7F57\u96EA\u5C71\uFF08\u7B2C5\u5173\uFF09\u672C\u6765\u5C31\u6BD4\u8F83\u96BE\uFF0C\u5EFA\u8BAE\u521D\u5B66\u8005\u4E0D\u8981\u8F7B\u6613\u5C1D\u8BD5\u8F83\u9AD8\u96BE\u5EA6\u3002";
ft3 = "\u753B\u8D28";
fta3 = "\u753B\u8D28\u8BBE\u5B9A";
ftb3 = "\u5EFA\u8BAE\u4F4E\u914D\u7F6E\u7535\u8111\u91C7\u7528\u8F83\u4F4E\u753B\u8D28\uFF0C\u5C24\u5176\u662F\u9009\u62E9\u4E86\u8F83\u9AD8\u6216\u6700\u9AD8\u96BE\u5EA6\u65F6\uFF08\u56E0\u4E3A\u753B\u9762\u5C06\u66F4\u52A0\u590D\u6742\uFF09\u3002";
ft4 = "\u58F0\u97F3";
fta4 = "\u58F0\u97F3\u8BBE\u7F6E";
ftb4 = "\u6E38\u620F\u91C7\u7528\u4E86\u8F83\u9AD8\u54C1\u8D28\u97F3\u8F68\u548C3D\u97F3\u6E90\u5B9A\u4F4D\u6280\u672F\uFF0C\u8BF7\u786E\u8BA4\u548C\u6D4B\u8BD5\u60A8\u7684\u97F3\u54CD\u6216\u8033\u673A\u662F\u5426\u8BBE\u7F6E\u6B63\u786E\u3002";
ft5 = "\u5173\u4E8E";
fta5 = "\u66F4\u591A\u6E38\u620F";
ftb5 = "\u9B42\u6597\u7F57Flash\u7CFB\u5217\u7531Jhunour@163.com(MSN)\u5236\u4F5C, \u53EF\u4EE5\u8BA2\u5236\u3001\u6539\u7F16\u3001\u5F00\u53D1\u8FD9\u4E2A\u6E38\u620F\u6216\u5176\u5B83\u6E38\u620F\u3002";
godefault = "\u9ED8\u8BA4";
goplay = "\u786E\u5B9A";
}
}
Frame 7
stop();
Instance of Symbol 286 MovieClip in Frame 7
onClipEvent (load) {
if (_root.prolang == "e") {
this.autoshow = "Warm up with level I (recommended)";
}
if (_root.prolang == "c") {
this.autoshow = "\u56DE\u987E\u7B2C\u4E00\u5173\u8FDB\u884C\u70ED\u8EAB(\u63A8\u8350)";
}
_root.warmuplevel = true;
level1pic._alpha = 100;
tic.gotoAndStop("yes");
}
Instance of Symbol 300 MovieClip in Frame 7
onClipEvent (load) {
if (_root.prolang == "e") {
this.gotoAndStop("e");
}
if (_root.prolang == "c") {
this.gotoAndStop("c");
}
}
Frame 8
Mouse.show();
tpc0 = getTimer();
levelselect = 1;
pausecheat = false;
gamepause == "false";
player._visible = true;
completemission = false;
gameover = false;
snowspeed = 28;
life = defaultlife;
stopAllSounds();
option._visible = false;
_root.deadzone1 = false;
_root.deadzone2 = false;
hide1t = getTimer();
hide1b = "true";
hide2t = getTimer();
hide2b = "true";
smarta = 40 - (diff * 4);
optionfirst = 0;
gamepause = "false";
speed1 = 2.9;
rootxmax = 400;
rootymax = 320;
backxmin = -4807;
flooroffset = 3.5;
flooroffset1 = 5.5;
optionfirst = 10000;
manbullet = defmanbullet;
manbullet2 = "S";
bulletspeed = 35;
bspeedplus = 1;
bspeedplus2 = 1;
direnbulletspeed = 32;
direnmovespeed = 3.6;
gunmanbulletspeed = 30;
paobulletspeed = 29;
cannonbulletspeed = 42;
discspeed = 18;
bossbulletspeed = 8;
cannonlife = 20;
paolife = 12;
hpaolife = 14;
jbosspaolife = 25;
jbosslife = 80;
carlife = 80;
bosslife = 120;
direnscore = 250;
gunmanscore = 500;
hgunmanscore = 600;
paoscore = 700;
hpaoscore = 900;
jbosspaoscore = 3000;
jbossscore = 20000;
cannonscore = 1000;
frogmanscore = 800;
carscore = 5000;
bossscore = 20000;
bossbulletscore = 100;
bossdiscscore = 200;
bulletcsscore = 500;
bulletcdscore = 600;
bulletcscore = 400;
gunhitscore = 10;
fullscreenyn = false;
fscommand ("trapallkeys", "true");
playernum = 1;
levelselect = 1;
optionfirst = 1;
tt = 0;
liferemain = life;
time1 = getTimer();
score = 0;
sethiscore();
bonusscore = 20000;
bonus = 1;
smarta = 46 - (diff * 5);
if (liferemain > 5) {
_root.medal.gotoAndPlay(5);
} else if (liferemain <= 0) {
_root.medal.gotoAndPlay(6);
} else {
_root.medal.gotoAndPlay(liferemain);
}
if (playernum == 2) {
life2 = life;
liferemain2 = life2;
score2 = 0;
if (liferemain2 > 5) {
_root.medal2.gotoAndPlay(5);
} else if (liferemain2 <= 0) {
_root.medal2.gotoAndPlay(6);
} else {
_root.medal2.gotoAndPlay(liferemain2);
}
}
stopAllSounds();
if (_root.playernum == 2) {
gotoAndPlay (8);
}
if (_root.playernum == 1) {
liferemain2 = 0;
score2 = 0;
gotoAndPlay (8);
}
Frame 9
if (false) {
}
Instance of Symbol 695 MovieClip "newbullet" in Frame 47
onClipEvent (load) {
var interval = 3;
var pause = 0;
var existbullet = 0;
var maxexistbullet = 5;
var maxbullet = Math.round(maxexistbullet * 2);
var active = false;
var i = interval;
var j = 0;
var k = 0;
var p = 0;
var xoffset = 5;
var yoffset = 5;
}
onClipEvent (enterFrame) {
if (((_parent.fired == true) && (existbullet < maxexistbullet)) && (_root.deadzone1 == false)) {
space = new object();
space.x = _parent.player.man0.bb._x;
space.y = _parent.player.man0.bb._y;
_parent.player.man0.localToGlobal(space);
point = new object();
point.x = space.x;
point.y = space.y;
globalToLocal(point);
thisbulletx = point.x;
thisbullety = point.y;
rotation = _parent.player.man0.bb._rotation;
if (_parent.player.man0._rotation == 0) {
this.gotoAndStop("left");
if (_parent.player.man0.bb._rotation == 0) {
thisbulletx = thisbulletx + 50;
}
if (_parent.player.man0.bb._rotation == 45) {
thisbulletx = thisbulletx + 40;
thisbullety = thisbullety + 40;
}
if (_parent.player.man0.bb._rotation == -90) {
thisbullety = thisbullety - 50;
}
if (_parent.player.man0.bb._rotation == 90) {
thisbullety = thisbullety + 50;
}
if (_parent.player.man0.bb._rotation == -45) {
thisbulletx = thisbulletx + 40;
thisbullety = thisbullety - 45;
}
}
if (_parent.player.man0._rotation == 180) {
this.gotoAndStop("right");
if (_parent.player.man0.bb._rotation == 45) {
rotation = 135;
thisbulletx = thisbulletx - 40;
thisbullety = thisbullety + 40;
}
if (_parent.player.man0.bb._rotation == -45) {
rotation = (_parent.player.man0.bb._rotation = -135);
thisbulletx = thisbulletx - 40;
thisbullety = thisbullety - 45;
}
if (_parent.player.man0.bb._rotation == 0) {
rotation = -180;
thisbulletx = thisbulletx - 50;
}
if (_parent.player.man0.bb._rotation == -90) {
thisbullety = thisbullety - 50;
}
if (_parent.player.man0.bb._rotation == 90) {
thisbullety = thisbullety + 50;
}
}
if (rotation == 0) {
thisbulletx = thisbulletx + 0;
}
if (i == interval) {
if (_root.manbullet != "S") {
k++;
existbullet++;
duplicateMovieClip (bulletinside, "bulletinside" + k, k);
setProperty("bulletinside" + k, _x , thisbulletx);
setProperty("bulletinside" + k, _y , thisbullety);
setProperty("bulletinside" + k, _rotation , rotation);
} else {
spreadmax = 5;
spreadangle = 10;
remainbullet = maxexistbullet - existbullet;
currentremain = Math.round((remainbullet / maxexistbullet) * 5);
q = 1;
while (q <= currentremain) {
if (existbullet < maxexistbullet) {
rotation1 = (q - Math.round(currentremain / 2)) * spreadangle;
rotationtemp = rotation + rotation1;
k++;
existbullet++;
duplicateMovieClip (bulletinside, "bulletinside" + k, k);
setProperty("bulletinside" + k, _x , thisbulletx);
setProperty("bulletinside" + k, _y , thisbullety);
setProperty("bulletinside" + k, _rotation , rotationtemp);
}
q++;
}
}
if (k >= maxbullet) {
k = 0;
}
if (p < pause) {
p++;
} else {
p = 0;
}
i = 0;
}
i++;
}
if ((_parent.fired == false) && (i < interval)) {
i = interval;
}
if (i > interval) {
i = interval;
}
if ((_parent.fired == true) && (active == false)) {
_parent.player.man0.man.maninside.gotoAndPlay("fire");
active = true;
}
if ((((_parent.fired == false) || (existbullet == maxexistbullet)) && (active == true)) && (i == interval)) {
_parent.player.man0.man.maninside.gotoAndStop("notfire");
active = false;
}
}
Frame 47
if (false) {
}
Frame 48
var speed = (speed1 + 2);
if (((back._x <= 0) && (back._x >= backxmin)) && (deadzone1 == false)) {
if (player._x <= 25) {
if (Key.isDown(_root.ll1) && (!Key.isDown(_root.rr1))) {
player._x = 25;
}
}
if (player._x >= (rootxmax / 2)) {
if (Key.isDown(_root.rr1) && (!Key.isDown(_root.ll1))) {
back._x = back._x - speed;
player._x = rootxmax / 2;
}
}
}
if (back._x > 0) {
back._x = 0;
}
if (back._x < backxmin) {
back._x = backxmin;
}
liferemain = life - 1;
if (liferemain > 5) {
_root.medal.gotoAndPlay(5);
} else if (liferemain <= 0) {
_root.medal.gotoAndPlay(6);
} else {
_root.medal.gotoAndPlay(liferemain);
}
if (score > hiscore) {
hiscore = score;
}
var Tnow = getTimer();
if (tt == 0) {
var time1 = getTimer();
tt = 1;
}
if (tt == 1) {
var time2 = (Tnow - time1);
time = 99 - int(time2 / 4500);
}
if (score >= (bonusscore * bonus)) {
alert = new Sound("info");
alert.attachSound("discfly");
alert.setVolume(200);
alert.start();
life = life + 1;
bonus++;
bonusscore = bonusscore + 5000;
}
hide1t0 = getTimer() - hide1t;
if (gamepause == "true") {
hide1t0 = 0;
hide1t = getTimer();
}
if (hide1t0 >= 4000) {
hide1b = "true";
setProperty("player", _alpha , 100);
} else {
hide1b = "false";
setProperty("player", _alpha , 50 + (hide1t0 / 100));
}
if (timepast != time) {
myColor = new Color("_root.info.time");
myColorTransform = new Object();
myColorTransform.ra = 100;
myColorTransform.rb = 0;
myColorTransform.ga = time + 1;
myColorTransform.gb = 0;
myColorTransform.ba = time + 1;
myColorTransform.bb = 0;
myColorTransform.aa = 100;
myColorTransform.ab = 0;
myColor.setTransform(myColorTransform);
var timepast = time;
}
Frame 49
if (completemission == true) {
gotoAndPlay (53);
} else if (gameover == true) {
gotoAndPlay (150);
} else {
gotoAndPlay (48);
}
if ((life <= 0) || (time <= 0)) {
tt = 2;
time = 0;
life = 0;
gamepause = "true";
player.gotoAndStop("alldead");
info.gotoAndStop("continue");
}
if (oncheat == false) {
cheatview = "";
} else {
if (prolang == "c") {
cheatview = "\u4F5C\u5F0A\u4E86";
}
if (prolang == "e") {
cheatview = "Cheated";
}
}
if ((Key.isDown(16) && (Key.isDown(80))) && (Key.isDown(50))) {
tpc1 = getTimer();
tpc = tpc1 - tpc0;
if (tpc >= 1000) {
if (pausecheat == false) {
gamepause = "true";
pausecheat = true;
oncheat = true;
} else if (pausecheat == true) {
gamepause = "false";
pausecheat = false;
}
salert = new Sound();
salert.attachSound("count");
salert.start();
tpc0 = getTimer();
}
}
Frame 53
savehiscore();
bulletlastlevel = manbullet;
bpluslastlevel = bspeedplus;
play();
Instance of Symbol 697 MovieClip "flakeall" in Frame 54
onClipEvent (load) {
dupspeed = 1;
yoffset = 10;
maxexistflake = 20;
maxflake = maxexistflake;
existflake = 0;
i = 0;
interval = 3;
k = interval;
wind = -299;
windmin = -300;
windmax = 300;
ifwindmax = false;
ifwindmin = true;
}
onClipEvent (enterFrame) {
if ((ifwindmax == false) && (ifwindmin == true)) {
if (wind < windmax) {
wind++;
} else {
ifwindmax = true;
ifwindmin = false;
}
}
if ((ifwindmin == false) && (ifwindmax == true)) {
if (wind > windmin) {
wind--;
} else {
ifwindmin = true;
ifwindmax = false;
}
}
if (k == interval) {
if (existflake < maxexistflake) {
j = 1;
while (j <= dupspeed) {
rotation = Math.round(wind / 10) + random(15);
flakerandom = 40 + random(60);
flakex = random(_root.rootxmax);
flakey = yoffset;
point = new object();
point.x = flakex;
point.y = flakey;
globalToLocal(point);
thisflakex = point.x;
thisflakey = point.y;
duplicateMovieClip (flakedup, "flakedup" + i, i);
setProperty("flakedup" + i, _x , thisflakex);
setProperty("flakedup" + i, _y , thisflakey);
setProperty("flakedup" + i, _xscale , flakerandom);
setProperty("flakedup" + i, _yscale , flakerandom);
setProperty("flakedup" + i, _rotation , rotation);
setProperty("flakedup" + i, _alpha , flakerandom + 10);
existflake++;
i++;
if (i >= maxflake) {
i = 0;
}
j++;
}
}
k = 0;
} else {
k++;
}
}
Frame 54
if (false) {
}
Frame 62
if (false) {
}
Frame 64
if (_root.prolang == "e") {
gaov1 = "Passed!";
gaov2 = "The next level is the real Challenge...";
}
if (_root.prolang == "c") {
gaov1 = "\u8FC7\u5173\u4E86\uFF01";
gaov2 = "\u4E0B\u4E00\u5173\u662F\u771F\u6B63\u7684\u6311\u6218...";
}
Frame 148
gotoAndPlay (1828);
Frame 150
if (_root.prolang == "e") {
gaov1 = "GAME OVER";
gaov2 = "Loading high score, Please wait...";
gaov3 = "Try Again";
}
if (_root.prolang == "c") {
gaov1 = "\u6E38\u620F\u7ED3\u675F";
gaov2 = "\u6B63\u5728\u4E0B\u8F7D\u6392\u884C\u699C\uFF0C\u8BF7\u7A0D\u540E...";
gaov3 = "\u518D\u8BD5\u4E00\u6B21";
}
savehiscore();
Frame 152
stop();
Frame 162
if (false) {
}
Frame 1822
stopAllSounds();
gotoAndStop (6);
Frame 1828
Mouse.show();
tpc0 = getTimer();
levelselect = 2;
pausecheat = false;
gamepause == "false";
player._visible = true;
completemission = false;
gameover = false;
snowspeed = 26;
stopAllSounds();
option._visible = false;
_root.deadzone1 = false;
_root.deadzone2 = false;
hide1t = getTimer();
hide1b = "true";
hide2t = getTimer();
hide2b = "true";
smarta = 40 - (diff * 4);
optionfirst = 0;
gamepause = "false";
speed1 = 3;
rootxmax = 400;
rootymax = 320;
backxmin = -7500;
flooroffset = 3;
flooroffset1 = 5;
optionfirst = 10000;
manbullet2 = "S";
bulletspeed = 35;
bspeedplus2 = 1;
direnbulletspeed = 34;
direnmovespeed = 3.8;
gunmanbulletspeed = 32;
cannonbulletspeed = 45;
discspeed = 20;
bossbulletspeed = 7;
cannonlife = 18;
carlife = 70;
bosslife = 110;
direnscore = 250;
gunmanscore = 500;
cannonscore = 1000;
frogmanscore = 800;
carscore = 5000;
bossscore = 50000;
bossbulletscore = 100;
bossdiscscore = 200;
bulletcsscore = 500;
bulletcdscore = 600;
bulletcscore = 400;
gunhitscore = 15;
grenyinc = 13;
greng = 1.1;
grenmovespeed = 2.2;
grenscaleadd = 0.3;
greninterval = 14;
fullscreenyn = false;
fscommand ("trapallkeys", "true");
playernum = 1;
levelselect = 2;
optionfirst = 1;
tt = 0;
liferemain = life;
time1 = getTimer();
sethiscore();
smarta = 46 - (diff * 5);
if (liferemain > 5) {
_root.medal.gotoAndPlay(5);
} else if (liferemain <= 0) {
_root.medal.gotoAndPlay(6);
} else {
_root.medal.gotoAndPlay(liferemain);
}
if (playernum == 2) {
life2 = life;
liferemain2 = life2;
score2 = 0;
if (liferemain2 > 5) {
_root.medal2.gotoAndPlay(5);
} else if (liferemain2 <= 0) {
_root.medal2.gotoAndPlay(6);
} else {
_root.medal2.gotoAndPlay(liferemain2);
}
}
stopAllSounds();
if (_root.playernum == 2) {
gotoAndPlay (1828);
}
if (_root.playernum == 1) {
liferemain2 = 0;
score2 = 0;
gotoAndPlay (1828);
}
Frame 1829
if (false) {
}
Instance of Symbol 697 MovieClip "flakeall" in Frame 1888
onClipEvent (load) {
var dupspeed = 1;
var yoffset = 10;
if (_root.minimize == true) {
var maxexistflake = 0;
} else {
var maxexistflake = 20;
}
var maxflake = maxexistflake;
var existflake = 0;
var i = 0;
var interval = 3;
var k = interval;
var wind = -299;
var windmin = -300;
var windmax = 300;
var ifwindmax = false;
var ifwindmin = true;
}
onClipEvent (enterFrame) {
if (maxexistflake > 0) {
if ((ifwindmax == false) && (ifwindmin == true)) {
if (wind < windmax) {
wind++;
} else {
ifwindmax = true;
ifwindmin = false;
}
}
if ((ifwindmin == false) && (ifwindmax == true)) {
if (wind > windmin) {
wind--;
} else {
ifwindmin = true;
ifwindmax = false;
}
}
if (k == interval) {
if (existflake < maxexistflake) {
var j = 1;
while (j <= dupspeed) {
rotation = Math.round(wind / 10) + random(15);
flakerandom = 40 + random(60);
flakex = random(_root.rootxmax);
flakey = yoffset;
point = new object();
point.x = flakex;
point.y = flakey;
globalToLocal(point);
thisflakex = point.x;
thisflakey = point.y;
duplicateMovieClip (flakedup, "flakedup" + i, i);
setProperty("flakedup" + i, _x , thisflakex);
setProperty("flakedup" + i, _y , thisflakey);
setProperty("flakedup" + i, _xscale , flakerandom);
setProperty("flakedup" + i, _yscale , flakerandom);
setProperty("flakedup" + i, _rotation , rotation);
setProperty("flakedup" + i, _alpha , flakerandom + 10);
existflake++;
i++;
if (i >= maxflake) {
i = 0;
}
j++;
}
}
k = 0;
} else {
k++;
}
}
}
Instance of Symbol 695 MovieClip "newbullet" in Frame 1888
onClipEvent (load) {
var interval = 3;
var pause = 0;
var existbullet = 0;
var maxexistbullet = 5;
var maxbullet = (maxexistbullet * 3);
var active = false;
var i = interval;
var j = 0;
var k = 0;
var p = 0;
var xoffset = 5;
var yoffset = 5;
}
onClipEvent (enterFrame) {
if (((_parent.fired == true) && (existbullet < maxexistbullet)) && (_root.deadzone1 == false)) {
space = new object();
space.x = _parent.player.man0.bb._x;
space.y = _parent.player.man0.bb._y;
_parent.player.man0.localToGlobal(space);
point = new object();
point.x = space.x;
point.y = space.y;
globalToLocal(point);
thisbulletx = point.x;
thisbullety = point.y;
rotation = _parent.player.man0.bb._rotation;
if (_parent.player.man0._rotation == 0) {
this.gotoAndStop("left");
if (_parent.player.man0.bb._rotation == 0) {
thisbulletx = thisbulletx + 50;
}
if (_parent.player.man0.bb._rotation == 45) {
thisbulletx = thisbulletx + 40;
thisbullety = thisbullety + 40;
}
if (_parent.player.man0.bb._rotation == -90) {
thisbullety = thisbullety - 50;
}
if (_parent.player.man0.bb._rotation == 90) {
thisbullety = thisbullety + 50;
}
if (_parent.player.man0.bb._rotation == -45) {
thisbulletx = thisbulletx + 40;
thisbullety = thisbullety - 45;
}
}
if (_parent.player.man0._rotation == 180) {
this.gotoAndStop("right");
if (_parent.player.man0.bb._rotation == 45) {
rotation = 135;
thisbulletx = thisbulletx - 40;
thisbullety = thisbullety + 40;
}
if (_parent.player.man0.bb._rotation == -45) {
rotation = (_parent.player.man0.bb._rotation = -135);
thisbulletx = thisbulletx - 40;
thisbullety = thisbullety - 45;
}
if (_parent.player.man0.bb._rotation == 0) {
rotation = -180;
thisbulletx = thisbulletx - 50;
}
if (_parent.player.man0.bb._rotation == -90) {
thisbullety = thisbullety - 50;
}
if (_parent.player.man0.bb._rotation == 90) {
thisbullety = thisbullety + 50;
}
}
if (rotation == 0) {
thisbulletx = thisbulletx + 0;
}
if (i == interval) {
if (_root.manbullet != "S") {
k++;
existbullet++;
duplicateMovieClip (bulletinside, "bulletinside" + k, k);
setProperty("bulletinside" + k, _x , thisbulletx);
setProperty("bulletinside" + k, _y , thisbullety);
setProperty("bulletinside" + k, _rotation , rotation);
} else {
spreadmax = 5;
spreadangle = 10;
remainbullet = maxexistbullet - existbullet;
currentremain = Math.round((remainbullet / maxexistbullet) * 5);
q = 1;
while (q <= currentremain) {
if (existbullet < maxexistbullet) {
rotation1 = (q - Math.round(currentremain / 2)) * spreadangle;
rotationtemp = rotation + rotation1;
k++;
existbullet++;
duplicateMovieClip (bulletinside, "bulletinside" + k, k);
setProperty("bulletinside" + k, _x , thisbulletx);
setProperty("bulletinside" + k, _y , thisbullety);
setProperty("bulletinside" + k, _rotation , rotationtemp);
}
q++;
}
}
if (k >= maxbullet) {
k = 0;
}
if (p < pause) {
p++;
} else {
p = 0;
}
i = 0;
}
i++;
}
if ((_parent.fired == false) && (i < interval)) {
i = interval;
}
if (i > interval) {
i = interval;
}
if ((_parent.fired == true) && (active == false)) {
_parent.player.man0.man.maninside.gotoAndPlay("fire");
active = true;
} else if ((((_parent.fired == false) || (existbullet == maxexistbullet)) && (active == true)) && (i == interval)) {
_parent.player.man0.man.maninside.gotoAndStop("notfire");
active = false;
}
}
Frame 1888
if (false) {
}
Frame 1889
var speed = (speed1 + 2);
if (((back._x <= 0) && (back._x >= backxmin)) && (deadzone1 == false)) {
if (player._x <= 26) {
if (Key.isDown(_root.ll1) && (!Key.isDown(_root.rr1))) {
player._x = 26;
}
}
if (player._x >= (rootxmax / 2)) {
if (Key.isDown(_root.rr1) && (!Key.isDown(_root.ll1))) {
back._x = back._x - speed;
player._x = rootxmax / 2;
}
}
}
if (back._x > 0) {
back._x = 0;
}
if (back._x < backxmin) {
back._x = backxmin;
}
liferemain = life - 1;
if (liferemain > 5) {
_root.medal.gotoAndPlay(5);
} else if (liferemain <= 0) {
_root.medal.gotoAndPlay(6);
} else {
_root.medal.gotoAndPlay(liferemain);
}
if (score > hiscore) {
hiscore = score;
}
var Tnow = getTimer();
if (tt == 0) {
var time1 = getTimer();
tt = 1;
}
if (tt == 1) {
var time2 = (Tnow - time1);
time = 99 - int(time2 / 5500);
}
if (score >= (bonusscore * bonus)) {
alert = new Sound("info");
alert.attachSound("discfly");
alert.setVolume(200);
alert.start();
life = life + 1;
bonus++;
bonusscore = bonusscore + 5000;
}
hide1t0 = getTimer() - hide1t;
if (gamepause == "true") {
hide1t0 = 0;
hide1t = getTimer();
}
if (hide1t0 >= 4000) {
hide1b = "true";
setProperty("player", _alpha , 100);
} else {
hide1b = "false";
setProperty("player", _alpha , 50 + (hide1t0 / 100));
}
if (time != timepast) {
myColor = new Color("_root.info.time");
myColorTransform = new Object();
myColorTransform.ra = 100;
myColorTransform.rb = 0;
myColorTransform.ga = time + 1;
myColorTransform.gb = 0;
myColorTransform.ba = time + 1;
myColorTransform.bb = 0;
myColorTransform.aa = 100;
myColorTransform.ab = 0;
myColor.setTransform(myColorTransform);
var timepast = time;
}
Frame 1890
if (completemission == true) {
gotoAndPlay (1894);
} else if (gameover == true) {
gotoAndPlay (4351);
} else {
gotoAndPlay (1889);
}
if ((life <= 0) || (time <= 0)) {
tt = 2;
time = 0;
life = 0;
gamepause = "true";
player.gotoAndStop("alldead");
info.gotoAndStop("continue");
}
if (oncheat == false) {
cheatview = "";
} else {
if (prolang == "c") {
cheatview = "\u4F5C\u5F0A\u4E86";
}
if (prolang == "e") {
cheatview = "Cheated";
}
}
if ((Key.isDown(16) && (Key.isDown(80))) && (Key.isDown(50))) {
tpc1 = getTimer();
tpc = tpc1 - tpc0;
if (tpc >= 1000) {
if (pausecheat == false) {
gamepause = "true";
pausecheat = true;
oncheat = true;
} else if (pausecheat == true) {
gamepause = "false";
pausecheat = false;
}
salert = new Sound();
salert.attachSound("count");
salert.start();
tpc0 = getTimer();
}
}
Frame 1895
if (_root.prolang == "e") {
waitshow = "Loading high score, Please wait...";
}
if (_root.prolang == "c") {
waitshow = "\u6B63\u5728\u4E0B\u8F7D\u6392\u884C\u699C\uFF0C\u8BF7\u7A0D\u540E...";
}
savehiscore();
Frame 1896
stop();
Frame 4350
stop();
Frame 4351
if (_root.prolang == "e") {
gaov1 = "GAME OVER";
gaov2 = "Loading high score, Please wait...";
gaov3 = "Try Again";
}
if (_root.prolang == "c") {
gaov1 = "\u6E38\u620F\u7ED3\u675F";
gaov2 = "\u6B63\u5728\u4E0B\u8F7D\u6392\u884C\u699C\uFF0C\u8BF7\u7A0D\u540E...";
gaov3 = "\u518D\u8BD5\u4E00\u6B21";
}
savehiscore();
Frame 4353
stop();
Frame 4363
if (false) {
}
Frame 6036
stopAllSounds();
gotoAndStop (6);
Symbol 8 MovieClip Frame 4
stop();
Symbol 13 MovieClip [p17] Frame 25
stop();
Symbol 20 MovieClip [p7] Frame 12
stop();
Symbol 20 MovieClip [p7] Frame 15
gotoAndPlay (13);
Symbol 22 MovieClip Frame 1
function callback7() {
if ((rankurl != "http://musicary.com/FMX/") && (_root.loadattempt < 3)) {
thisver = Number(_root.thisver);
levelselect = 0;
prolang = _root.prolang;
score = "0";
firstmax = "false";
_root.loadattempt++;
if (_root.prolang == "e") {
_root.loadindi = ("Connecting(" + _root.loadattempt) + "/3)...";
}
if (_root.prolang == "c") {
_root.loadindi = ("\u6B63\u5728\u8FDE\u63A5(" + _root.loadattempt) + "/3)...";
}
loadMovie ((_root.rankurl + "cssc26.sco?thisver=2.6&firstmax=false&prolang=") + prolang, this);
} else {
if (rankurl == "http://musicary.com/FMX/") {
_root.loadindi = "";
} else {
if (_root.prolang == "e") {
_root.loadindi = "Server busy...";
}
if (_root.prolang == "c") {
_root.loadindi = "\u670D\u52A1\u5668\u5FD9\u3002";
}
}
clearInterval(_root.intervalID7);
}
}
clearInterval(_root.intervalID7);
clearInterval(_root.intervalID8);
clearInterval(_root.intervalID9);
thisver = Number(_root.thisver);
levelselect = 0;
prolang = _root.prolang;
score = "0";
firstmax = "false";
if (_root.prolang == "e") {
_root.loadindi = "Connecting(1/3)...";
}
if (_root.prolang == "c") {
_root.loadindi = "\u6B63\u5728\u8FDE\u63A5(1/3)...";
}
_root.loadattempt = 1;
loadMovie ((_root.rankurl + "cssc26.sco?thisver=2.6&firstmax=false&prolang=") + prolang, this);
_root.intervalID7 = setInterval(callback7, 7000);
Instance of Symbol 26 MovieClip "flake" in Symbol 27 MovieClip Frame 1
onClipEvent (load) {
var yspeed = (_root.snowspeed + random(5));
var yspeed1 = ((yspeed * _parent._xscale) / 100);
var yspeedc = yspeed1;
var hitmaxscale = 90;
var hitminscale = 50;
var speeda = (yspeed1 / 3);
var ifhit = false;
var ifhited = false;
var rotation = random(60);
var xmax = _root.rootxmax;
var xmin = 0;
var ymax = _root.rootymax;
var xmin = 0;
if (_parent._name != "flakedup") {
free = true;
} else {
free = false;
_parent._visible = false;
}
}
onClipEvent (enterFrame) {
if (free == true) {
_y = (_y + yspeedc);
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
currenty = point.y;
if (ifhited == false) {
if ((_parent._xscale >= hitminscale) && (_parent._xscale <= hitmaxscale)) {
if (yspeedc > 0) {
if (_root.contratitle.hitTest(currentx, currenty, true)) {
yspeedc = yspeedc - speeda;
if (yspeedc <= 0) {
yspeedc = 0;
ifhited = true;
}
}
}
}
if (yspeedc > 0) {
if (_root.trees.hitTest(currentx, currenty, true)) {
yspeedc = yspeedc - speeda;
if (yspeedc <= 0) {
yspeedc = 0;
ifhited = true;
}
}
}
}
if (ifhited == true) {
if ((hitTest(_root.bloom) && (_root.mousepressed == true)) || (_root.releaseall == true)) {
yspeedc = yspeed1 * 2;
}
}
if ((((currentx >= xmax) || (currentx <= xmin)) || (currenty >= ymax)) || (currenty <= xmin)) {
_parent._parent.existflake--;
removeMovieClip(_parent);
}
}
}
Symbol 67 MovieClip Frame 1
stop();
Symbol 67 MovieClip Frame 4
stop();
Symbol 71 MovieClip Frame 1
stop();
Symbol 71 MovieClip Frame 8
gotoAndPlay (6);
Symbol 76 Button
on (release) {
getURL ("http://jhunour.nease.net", "_blank");
}
Symbol 90 MovieClip Frame 1
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
}
information = (((((("Loading... " + Math.round(PercentLoaded)) + "%") + " (") + Math.round((_root.getBytesLoaded() / 1000) * 0.78)) + "K/") + Math.round((_root.getBytesTotal() / 1000) * 0.78)) + "K)";
Symbol 90 MovieClip Frame 2
gotoAndPlay (1);
Symbol 98 MovieClip Frame 1
this.onLoad = function () {
var xoffset = 5;
var thisxmin = this.getBounds(_root).xMin;
var thisxmax = this.getBounds(_root).xMax;
};
this.onEnterFrame = function () {
if ((thisxmin <= (_root.rootxmax - xoffset)) && (thisxmax >= xoffset)) {
if (loaded1 != true) {
if (_root.minimize == true) {
gotoAndStop (10);
} else {
gotoAndPlay (1);
}
loaded1 = true;
_parent._visible = true;
}
} else {
gotoAndStop (5);
loaded1 = false;
_parent._visible = false;
}
};
Symbol 98 MovieClip Frame 4
gotoAndPlay (1);
Symbol 98 MovieClip Frame 5
stop();
Symbol 98 MovieClip Frame 10
stop();
Symbol 104 Button
on (release) {
stopAllSounds();
gotoAndStop (6);
}
on (rollOver, press) {
Mouse.show();
_root.bloom._visible = false;
}
on (rollOut, release, releaseOutside) {
Mouse.hide();
_root.bloom._visible = true;
}
Symbol 110 Button
on (release) {
_root.prolang = "e";
select1.gotoAndStop("no");
select2.gotoAndStop("yes");
}
on (rollOver, press) {
Mouse.show();
_root.bloom._visible = false;
}
on (rollOut, release, releaseOutside) {
Mouse.hide();
_root.bloom._visible = true;
}
Symbol 111 Button
on (release) {
_root.prolang = "c";
select1.gotoAndStop("yes");
select2.gotoAndStop("no");
}
on (rollOver, press) {
Mouse.show();
_root.bloom._visible = false;
}
on (rollOut, release, releaseOutside) {
Mouse.hide();
_root.bloom._visible = true;
}
Symbol 114 MovieClip Frame 1
stop();
Symbol 114 MovieClip Frame 7
stop();
Symbol 115 MovieClip Frame 1
title1 = "\u4E2D\u6587";
title2 = "English";
if (_root.prolang == "c") {
select1.gotoAndStop("yes");
select2.gotoAndStop("no");
} else if (_root.prolang == "e") {
select1.gotoAndStop("no");
select2.gotoAndStop("yes");
}
Symbol 115 MovieClip Frame 2
stop();
Symbol 116 MovieClip Frame 1
thisver = _root.thisver;
prolang = _root.prolang;
if (_root.prolang == "e") {
loadMovie (_root.rankurl1 + "ad/csade26.mad", this);
}
if (_root.prolang == "c") {
loadMovie (_root.rankurl1 + "ad/csadc26.mad", this);
}
Symbol 121 Button
on (release) {
stopAllSounds();
gotoAndStop (3);
}
Symbol 131 MovieClip Frame 1
stop();
Symbol 131 MovieClip Frame 5
stop();
Symbol 132 Button
on (release) {
if (_root.minimize == true) {
tic.gotoAndPlay("no");
_root.minimize = false;
} else if (_root.minimize == false) {
tic.gotoAndPlay("yes");
_root.minimize = true;
}
}
Symbol 136 MovieClip Frame 1
stop();
Symbol 136 MovieClip Frame 4
stop();
Symbol 137 MovieClip Frame 1
stop();
Symbol 137 MovieClip Frame 2
stop();
Symbol 150 Button
on (release) {
_root.uu1 = 87;
_root.dd1 = 83;
_root.ll1 = 65;
_root.rr1 = 68;
_root.ff1 = 74;
_root.jj1 = 75;
getkey.uu1 = _root.myKey[_root.uu1];
getkey.dd1 = _root.myKey[_root.dd1];
getkey.ll1 = _root.myKey[_root.ll1];
getkey.rr1 = _root.myKey[_root.rr1];
getkey.ff1 = _root.myKey[_root.ff1];
getkey.jj1 = _root.myKey[_root.jj1];
_root.diff = 4;
_quality = "MEDIUM";
_root.volume = 90;
_root.rootsound.setVolume(_root.volume);
_root.minimize = false;
gotoAndStop (1);
}
Symbol 152 Button
on (press) {
gotoAndStop (20);
}
Symbol 153 Button
on (press) {
gotoAndStop (15);
}
Symbol 154 Button
on (press) {
gotoAndStop (10);
}
Symbol 155 Button
on (press) {
gotoAndStop (5);
}
Symbol 156 Button
on (press) {
gotoAndStop (1);
}
Symbol 157 Button
on (release) {
_root.Play();
if ((Key.isDown(16) && (Key.isDown(83))) && (Key.isDown(50))) {
_root.defmanbullet = "S";
}
if ((Key.isDown(16) && (Key.isDown(70))) && (Key.isDown(50))) {
_root.defmanbullet = "F";
}
if ((Key.isDown(16) && (Key.isDown(76))) && (Key.isDown(50))) {
_root.defmanbullet = "L";
}
if ((Key.isDown(16) && (Key.isDown(77))) && (Key.isDown(50))) {
_root.defmanbullet = "M";
}
if (((Key.isDown(16) && (Key.isDown(51))) && (Key.isDown(48))) && (Key.isDown(50))) {
_root.defaultlife = 30;
_root.oncheat = true;
}
}
Symbol 158 Button
on (release) {
getURL ("http://jhunour.nease.net", "_blank");
}
Symbol 164 Button
on (release) {
this._visible = false;
_parent.code = 0;
}
Symbol 186 Button
on (release) {
getkeyboard._visible = true;
code = 6;
keycode = Key.getCode();
}
Symbol 187 Button
on (release) {
getkeyboard._visible = true;
code = 5;
keycode = Key.getCode();
}
Symbol 188 Button
on (release) {
getkeyboard._visible = true;
code = 4;
keycode = Key.getCode();
}
Symbol 189 Button
on (release) {
getkeyboard._visible = true;
code = 3;
keycode = Key.getCode();
}
Symbol 190 Button
on (release) {
getkeyboard._visible = true;
code = 2;
keycode = Key.getCode();
}
Symbol 191 Button
on (release) {
getkeyboard._visible = true;
code = 1;
keycode = Key.getCode();
keycode = 999;
}
Symbol 194 MovieClip Frame 1
stop();
Symbol 197 MovieClip Frame 1
if (_root.prolang == "e") {
title = "Player(s) Setup";
upshow1 = "UP";
downshow1 = "DOWN";
leftshow1 = "LEFT";
rightshow1 = "RIGHT";
fireshow1 = "FIRE";
jumpshow1 = "JUMP";
upshow2 = "UP";
downshow2 = "DOWN";
leftshow2 = "LEFT";
rightshow2 = "RIGHT";
fireshow2 = "FIRE";
jumpshow2 = "JUMP";
}
if (_root.prolang == "c") {
title = "\u6E38\u620F\u4E3B\u89D2\u8BBE\u5B9A";
upshow1 = "\u4E0A";
downshow1 = "\u4E0B";
leftshow1 = "\u5DE6";
rightshow1 = "\u53F3";
fireshow1 = "\u5B50\u5F39";
jumpshow1 = "\u8DF3\u8DC3";
upshow2 = "\u4E0A";
downshow2 = "\u4E0B";
leftshow2 = "\u5DE6";
rightshow2 = "\u53F3";
fireshow2 = "\u5B50\u5F39";
jumpshow2 = "\u8DF3\u8DC3";
}
code = 0;
uu1 = _root.myKey[_root.uu1];
dd1 = _root.myKey[_root.dd1];
ll1 = _root.myKey[_root.ll1];
rr1 = _root.myKey[_root.rr1];
ff1 = _root.myKey[_root.ff1];
jj1 = _root.myKey[_root.jj1];
uu2 = _root.myKey[_root.uu2];
dd2 = _root.myKey[_root.dd2];
ll2 = _root.myKey[_root.ll2];
rr2 = _root.myKey[_root.rr2];
ff2 = _root.myKey[_root.ff2];
jj2 = _root.myKey[_root.jj2];
Instance of Symbol 173 MovieClip "getkeyboard" in Symbol 197 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
_parent.code = 0;
if (_root.prolang == "c") {
delfault = "\u53D6\u6D88";
}
if (_root.prolang == "e") {
delfault = "CANCEL";
}
}
onClipEvent (keyUp) {
if (_parent.code == 1) {
_visible = true;
if (_root.prolang == "e") {
title = "Press a key for UP...";
}
if (_root.prolang == "c") {
title = "\u73A9\u5BB6\u7684\u4E0A\u65B9\u5411,\u8BF7\u6309\u952E...";
}
_root.uu1 = Key.getCode();
_parent.uu1 = _root.myKey[_root.uu1];
_parent.code = 0;
_visible = false;
}
if (_parent.code == 2) {
_visible = true;
if (_root.prolang == "e") {
title = "Press a key for DOWN...";
}
if (_root.prolang == "c") {
title = "\u73A9\u5BB6\u7684\u4E0B\u65B9\u5411,\u8BF7\u6309\u952E...";
}
_root.dd1 = Key.getCode();
_parent.dd1 = _root.myKey[_root.dd1];
_parent.code = 0;
_visible = false;
}
if (_parent.code == 3) {
_visible = true;
if (_root.prolang == "e") {
title = "Press a key for LEFT...";
}
if (_root.prolang == "c") {
title = "\u73A9\u5BB6\u7684\u5DE6\u65B9\u5411,\u8BF7\u6309\u952E...";
}
_root.ll1 = Key.getCode();
_parent.ll1 = _root.myKey[_root.ll1];
_parent.code = 0;
_visible = false;
}
if (_parent.code == 4) {
_visible = true;
if (_root.prolang == "e") {
title = "Press a key for RIGHT...";
}
if (_root.prolang == "c") {
title = "\u73A9\u5BB6\u7684\u53F3\u65B9\u5411,\u8BF7\u6309\u952E...";
}
_root.rr1 = Key.getCode();
_parent.rr1 = _root.myKey[_root.rr1];
_parent.code = 0;
_visible = false;
}
if (_parent.code == 5) {
_visible = true;
if (_root.prolang == "e") {
title = "Press a key for FIRE...";
}
if (_root.prolang == "c") {
title = "\u73A9\u5BB6\u7684\u5B50\u5F39,\u8BF7\u6309\u952E...";
}
_root.ff1 = Key.getCode();
_parent.ff1 = _root.myKey[_root.ff1];
_parent.code = 0;
_visible = false;
}
if (_parent.code == 6) {
_visible = true;
if (_root.prolang == "e") {
title = "Press a key for JUMP...";
}
if (_root.prolang == "c") {
title = "\u73A9\u5BB6\u7684\u8DF3,\u8BF7\u6309\u952E...";
}
_root.jj1 = Key.getCode();
_parent.jj1 = _root.myKey[_root.jj1];
_parent.code = 0;
_visible = false;
}
}
onClipEvent (enterFrame) {
if (_parent.code == 1) {
_visible = true;
if (_root.prolang == "e") {
title = "Press a key for UP...";
}
if (_root.prolang == "c") {
title = "\u73A9\u5BB6\u7684\u4E0A\u65B9\u5411,\u8BF7\u6309\u952E...";
}
}
if (_parent.code == 2) {
_visible = true;
if (_root.prolang == "e") {
title = "Press a key for DOWN...";
}
if (_root.prolang == "c") {
title = "\u73A9\u5BB6\u7684\u4E0B\u65B9\u5411,\u8BF7\u6309\u952E...";
}
}
if (_parent.code == 3) {
_visible = true;
if (_root.prolang == "e") {
title = "Press a key for LEFT...";
}
if (_root.prolang == "c") {
title = "\u73A9\u5BB6\u7684\u5DE6\u65B9\u5411,\u8BF7\u6309\u952E...";
}
}
if (_parent.code == 4) {
_visible = true;
if (_root.prolang == "e") {
title = "Press a key for RIGHT...";
}
if (_root.prolang == "c") {
title = "\u73A9\u5BB6\u7684\u53F3\u65B9\u5411,\u8BF7\u6309\u952E...";
}
}
if (_parent.code == 5) {
_visible = true;
if (_root.prolang == "e") {
title = "Press a key for FIRE...";
}
if (_root.prolang == "c") {
title = "\u73A9\u5BB6\u7684\u5B50\u5F39,\u8BF7\u6309\u952E...";
}
}
if (_parent.code == 6) {
_visible = true;
if (_root.prolang == "e") {
title = "Press a key for JUMP...";
}
if (_root.prolang == "c") {
title = "\u73A9\u5BB6\u7684\u8DF3,\u8BF7\u6309\u952E...";
}
}
}
Symbol 197 MovieClip Frame 4
if (Key.isDown(_root.uu1)) {
indiuu1.gotoAndPlay("yes");
}
if (Key.isDown(_root.dd1)) {
indidd1.gotoAndPlay("yes");
}
if (Key.isDown(_root.ll1)) {
indill1.gotoAndPlay("yes");
}
if (Key.isDown(_root.rr1)) {
indirr1.gotoAndPlay("yes");
}
if (Key.isDown(_root.ff1)) {
indiff1.gotoAndPlay("yes");
}
if (Key.isDown(_root.jj1)) {
indijj1.gotoAndPlay("yes");
}
Symbol 197 MovieClip Frame 6
gotoAndPlay (4);
Symbol 201 Button
on (release) {
_root.diff = 8;
select1.gotoAndStop("no");
select2.gotoAndStop("no");
select3.gotoAndStop("no");
select4.gotoAndStop("yes");
}
Symbol 202 Button
on (release) {
_root.diff = 4;
select1.gotoAndStop("no");
select2.gotoAndStop("yes");
select3.gotoAndStop("no");
select4.gotoAndStop("no");
}
Symbol 203 Button
on (release) {
_root.diff = 2;
select1.gotoAndStop("yes");
select2.gotoAndStop("no");
select3.gotoAndStop("no");
select4.gotoAndStop("no");
}
Symbol 204 Button
on (release) {
_root.diff = 6;
select1.gotoAndStop("no");
select2.gotoAndStop("no");
select3.gotoAndStop("yes");
select4.gotoAndStop("no");
}
Symbol 211 MovieClip Frame 1
stop();
Symbol 211 MovieClip Frame 7
stop();
Symbol 212 MovieClip Frame 1
if (_root.prolang == "c") {
title1 = "\u5BB9\u6613";
title2 = "\u4E00\u822C";
title3 = "\u8F83\u96BE";
title4 = "\u75AF\u72C2";
}
if (_root.prolang == "e") {
title1 = " Easy";
title2 = "Normal";
title3 = "Hard";
title4 = "Insane";
}
if (_root.diff == 2) {
select1.gotoAndStop("yes");
select2.gotoAndStop("no");
select3.gotoAndStop("no");
select4.gotoAndStop("no");
}
if (_root.diff == 4) {
select1.gotoAndStop("no");
select2.gotoAndStop("yes");
select3.gotoAndStop("no");
select4.gotoAndStop("no");
}
if (_root.diff == 6) {
select1.gotoAndStop("no");
select2.gotoAndStop("no");
select3.gotoAndStop("yes");
select4.gotoAndStop("no");
}
if (_root.diff == 8) {
select1.gotoAndStop("no");
select2.gotoAndStop("no");
select3.gotoAndStop("no");
select4.gotoAndStop("yes");
}
Symbol 212 MovieClip Frame 2
stop();
Symbol 212 MovieClip Frame 6
if (_quality == "HIGH") {
select1.gotoAndStop("yes");
select2.gotoAndStop("no");
select3.gotoAndStop("no");
}
if (_quality == "MEDIUM") {
select1.gotoAndStop("no");
select2.gotoAndStop("yes");
select3.gotoAndStop("no");
}
if (_quality == "LOW") {
select1.gotoAndStop("no");
select2.gotoAndStop("no");
select3.gotoAndStop("yes");
}
play();
Symbol 212 MovieClip Frame 7
gotoAndPlay (6);
Symbol 216 Button
on (release) {
_quality = "MEDIUM";
select1.gotoAndStop("no");
select2.gotoAndStop("yes");
select3.gotoAndStop("no");
}
Symbol 217 Button
on (release) {
_quality = "HIGH";
select1.gotoAndStop("yes");
select2.gotoAndStop("no");
select3.gotoAndStop("no");
}
Symbol 218 Button
on (release) {
_quality = "LOW";
select1.gotoAndStop("no");
select2.gotoAndStop("no");
select3.gotoAndStop("yes");
}
Symbol 223 MovieClip Frame 1
if (_root.prolang == "c") {
title1 = "\u9AD8";
title2 = "\u4E2D";
title3 = "\u4F4E";
}
if (_root.prolang == "e") {
title1 = "High";
title2 = "Medium";
title3 = "Low";
}
if (_quality == "HIGH") {
select1.gotoAndStop("yes");
select2.gotoAndStop("no");
select3.gotoAndStop("no");
}
if (_quality == "MEDIUM") {
select1.gotoAndStop("no");
select2.gotoAndStop("yes");
select3.gotoAndStop("no");
}
if (_quality == "LOW") {
select1.gotoAndStop("no");
select2.gotoAndStop("no");
select3.gotoAndStop("yes");
}
Symbol 223 MovieClip Frame 2
stop();
Symbol 223 MovieClip Frame 6
if (_quality == "HIGH") {
select1.gotoAndStop("yes");
select2.gotoAndStop("no");
select3.gotoAndStop("no");
}
if (_quality == "MEDIUM") {
select1.gotoAndStop("no");
select2.gotoAndStop("yes");
select3.gotoAndStop("no");
}
if (_quality == "LOW") {
select1.gotoAndStop("no");
select2.gotoAndStop("no");
select3.gotoAndStop("yes");
}
play();
Symbol 223 MovieClip Frame 7
gotoAndPlay (6);
Symbol 228 Button
on (release) {
gotoAndPlay (5);
}
Symbol 233 MovieClip Frame 1
stop();
Symbol 233 MovieClip Frame 26
gotoAndStop (1);
Symbol 234 Button
on (release) {
gotoAndPlay (5);
}
Symbol 235 MovieClip Frame 1
stop();
Symbol 235 MovieClip Frame 25
gotoAndStop (1);
Symbol 246 Button
on (press) {
startDrag ("", false, -145, 0, 145, 0);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 247 MovieClip Frame 1
stop();
Symbol 265 Button
on (release) {
getURL (_root.payurl, "_blank");
}
Symbol 270 MovieClip Frame 1
stop();
Instance of Symbol 138 MovieClip in Symbol 270 MovieClip Frame 1
onClipEvent (load) {
if (_root.prolang == "e") {
this.autoshow = "simplify for very slow computers";
}
if (_root.prolang == "c") {
this.autoshow = "\u9488\u5BF9\u4F4E\u914D\u7F6E\u7535\u8111\u7B80\u5316\u753B\u9762(\u4E0D\u63A8\u8350)";
}
}
onClipEvent (enterFrame) {
if (_root.minimize == false) {
tic.gotoAndStop("no");
}
if (_root.minimize == true) {
_quality = "LOW";
tic.gotoAndStop("yes");
}
}
Instance of Symbol 223 MovieClip "select3" in Symbol 270 MovieClip Frame 10
onClipEvent (enterFrame) {
if (_root.prolang == "c") {
title1 = "\u9AD8";
title2 = "\u4E2D";
title3 = "\u4F4E";
}
if (_root.prolang == "e") {
title1 = "High";
title2 = "Medium";
title3 = "Low";
}
if (_quality == "HIGH") {
select1.gotoAndStop("yes");
select2.gotoAndStop("no");
select3.gotoAndStop("no");
}
if (_quality == "MEDIUM") {
select1.gotoAndStop("no");
select2.gotoAndStop("yes");
select3.gotoAndStop("no");
}
if (_quality == "LOW") {
select1.gotoAndStop("no");
select2.gotoAndStop("no");
select3.gotoAndStop("yes");
}
}
Instance of Symbol 249 MovieClip "voscale" in Symbol 270 MovieClip Frame 15
onClipEvent (load) {
_root.volume = _root.rootsound.getVolume();
setProperty("slider", _x , ((_root.volume / 100) * 290) - 145);
}
onClipEvent (enterFrame) {
scaleval = int(((145 + Number(getProperty("slider", _x))) / 290) * 100);
setProperty("disp", _x , getProperty("slider", _x));
setProperty("disp", _y , getProperty("slider", _y) - 30);
_root.volume = scaleval;
_root.rootsound.setVolume(_root.volume);
if (_root.prolang == "e") {
disp.display = ("Volume=" + _root.volume) + "%";
left = "L";
right = "R";
}
if (_root.prolang == "c") {
disp.display = ("\u97F3\u91CF\uFF1A" + _root.volume) + "%";
left = "\u5DE6";
right = "\u53F3";
}
}
Symbol 272 MovieClip Frame 1
thisver = _root.thisver;
prolang = _root.prolang;
if (_root.prolang == "e") {
loadMovie (_root.rankurl1 + "ad/csad2e26.mad", this);
}
if (_root.prolang == "c") {
loadMovie (_root.rankurl1 + "ad/csad2c26.mad", this);
}
Symbol 275 Button
on (release) {
manbullet = defmanbullet;
life = defaultlife;
bspeedplus = 1;
bonusscore = 20000;
bonus = 1;
score = 0;
if (_root.warmuplevel == true) {
gotoAndPlay (8);
}
if (_root.warmuplevel == false) {
gotoAndPlay (1828);
}
}
Symbol 281 MovieClip Frame 5
_parent.existflake--;
removeMovieClip(this);
stop();
Instance of Symbol 282 MovieClip in Symbol 283 MovieClip Frame 1
onClipEvent (load) {
dupspeed = 2;
yoffset = 10;
maxexistflake = 20;
maxflake = maxexistflake;
existflake = 0;
i = 0;
interval = 3;
k = interval;
}
onClipEvent (enterFrame) {
if (k == interval) {
if (existflake < maxexistflake) {
j = 1;
while (j <= dupspeed) {
flakerandom = 30 + random(60);
thisflakex = random(26) - 13;
thisflakey = random(26) - 13;
duplicateMovieClip (flakedup, "flakedup" + i, i);
setProperty("flakedup" + i, _x , thisflakex);
setProperty("flakedup" + i, _y , thisflakey);
setProperty("flakedup" + i, _xscale , flakerandom);
setProperty("flakedup" + i, _yscale , flakerandom);
setProperty("flakedup" + i, _alpha , flakerandom + 10);
existflake++;
i++;
if (i >= maxflake) {
i = 0;
}
j++;
}
}
k = 0;
} else {
k++;
}
}
Symbol 284 Button
on (release) {
if (_root.warmuplevel == true) {
tic.gotoAndPlay("no");
_parent.level1pic._alpha = 60;
_root.warmuplevel = false;
} else if (_root.warmuplevel == false) {
tic.gotoAndPlay("yes");
_parent.level1pic._alpha = 100;
_root.warmuplevel = true;
}
}
Symbol 300 MovieClip Frame 1
stop();
Symbol 300 MovieClip Frame 5
stop();
Symbol 301 MovieClip Frame 1
function callback8() {
if ((rankurl != "http://musicary.com/FMX/") && (_root.loadattempt < 3)) {
thisver = Number(_root.thisver);
life = Number(_root.life);
score = Number(_root.score);
time = Number(_root.time);
levelselect = Number(_root.levelselect);
defmanbullet = _root.defmanbullet;
prolang = _root.prolang;
firstmax = "false";
_root.loadattempt++;
if (_root.prolang == "e") {
_root.loadindi = ("Connecting(" + _root.loadattempt) + "/3)...";
}
if (_root.prolang == "c") {
_root.loadindi = ("\u6B63\u5728\u8FDE\u63A5(" + _root.loadattempt) + "/3)...";
}
loadMovie ((_root.rankurl + "cssc26.sco?thisver=2.6&firstmax=false&prolang=") + prolang, this);
} else {
if (rankurl == "http://musicary.com/FMX/") {
_root.loadindi = "";
} else {
if (_root.prolang == "e") {
_root.loadindi = "Server busy...";
}
if (_root.prolang == "c") {
_root.loadindi = "\u670D\u52A1\u5668\u5FD9\u3002";
}
}
clearInterval(_root.intervalID8);
}
}
clearInterval(_root.intervalID7);
clearInterval(_root.intervalID8);
clearInterval(_root.intervalID9);
thisver = Number(_root.thisver);
life = Number(_root.life);
score = Number(_root.score);
time = Number(_root.time);
levelselect = Number(_root.levelselect);
defmanbullet = _root.defmanbullet;
prolang = _root.prolang;
firstmax = "false";
if (_root.prolang == "e") {
_root.loadindi = "Connecting(1/3)...";
}
if (_root.prolang == "c") {
_root.loadindi = "\u6B63\u5728\u8FDE\u63A5(1/3)...";
}
_root.loadattempt = 1;
loadMovie ((_root.rankurl + "cssc26.sco?thisver=2.6&firstmax=false&prolang=") + prolang, this);
_root.intervalID8 = setInterval(callback8, 7000);
Symbol 314 MovieClip Frame 1
stop();
Symbol 314 MovieClip Frame 2
stop();
Symbol 314 MovieClip Frame 3
stop();
Symbol 314 MovieClip Frame 4
stop();
Symbol 314 MovieClip Frame 5
stop();
Symbol 320 MovieClip Frame 1
stop();
Symbol 320 MovieClip Frame 2
stop();
Symbol 320 MovieClip Frame 3
stop();
Symbol 320 MovieClip Frame 4
stop();
Symbol 320 MovieClip Frame 5
stop();
Instance of Symbol 303 MovieClip in Symbol 403 MovieClip Frame 1
onClipEvent (load) {
var x0 = this._x;
var y0 = this._y;
point = new object();
point.x = x0;
point.y = y0;
_parent.localToGlobal(point);
var xr0 = point.x;
var yr0 = point.y;
}
onClipEvent (enterFrame) {
point = new object();
point.x = xr0;
point.y = yr0;
_parent.globalToLocal(point);
_x = point.x;
}
Symbol 407 MovieClip Frame 1
stop();
Symbol 407 MovieClip Frame 22
stop();
Symbol 407 MovieClip Frame 40
stop();
Symbol 407 MovieClip Frame 57
stop();
Symbol 413 MovieClip Frame 1
stop();
Symbol 413 MovieClip Frame 18
stop();
Symbol 416 MovieClip Frame 1
stop();
Symbol 416 MovieClip Frame 9
play();
Symbol 416 MovieClip Frame 10
_parent._parent.existbullet--;
stop();
_parent.removeMovieClip();
Symbol 417 MovieClip Frame 1
stop();
Instance of Symbol 416 MovieClip "bulletsingle" in Symbol 417 MovieClip Frame 1
onClipEvent (load) {
var speed = _root.direnbulletspeed;
gotoAndStop (1);
var dead = false;
var xmax = _root.rootxmax;
var xmin = 0;
var ymax = _root.rootymax;
var xmin = 0;
if (_parent._name != "bulletinside") {
free = true;
_parent._parent.mybulletsound.gotoAndPlay("N");
s = new Sound(_parent._parent.mybulletsound);
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
pan = ((currentx / xmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
} else {
free = false;
_parent._visible = false;
}
var initialy1 = _y;
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
var initialy = point.y;
}
onClipEvent (enterFrame) {
if ((dead == false) && (free == true)) {
pointbxc = new object();
pointbxc.x = prevbx;
pointbxc.y = prevby;
_root.back.localToGlobal(pointbxc);
prevbxn = pointbxc.x;
prevbyn = pointbxc.y;
pointxc = new object();
pointxc.x = prevbxn;
pointxc.y = prevbyn;
_parent.globalToLocal(pointxc);
_x = pointxc.x;
_x = (_x - speed);
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
currenty = point.y;
space = new object();
space.x = currentx;
space.y = initialy;
_parent.globalToLocal(space);
_y = space.y;
if ((((currentx >= xmax) || (currentx <= xmin)) || (currenty >= ymax)) || (currenty <= xmin)) {
dead = true;
this.gotoAndPlay("end");
}
pointxp = new object();
pointxp.x = _x;
pointxp.y = _y;
_parent.localToGlobal(pointxp);
prevx = pointxp.x;
prevy = pointxp.x;
pointb = new object();
pointb.x = prevx;
pointb.y = prevy;
_root.back.globalToLocal(pointb);
prevbx = pointb.x;
prevby = pointb.y;
if (_root.deadzone1 == false) {
if (hitTest(_root.player.man0.man.heart)) {
dead = true;
if (_root.hide1b == "true") {
_root.player.man0.gotoAndPlay("dead");
_root.deadzone1 = true;
}
this.gotoAndPlay("hit");
}
}
}
}
Symbol 418 MovieClip Frame 1
stop();
Instance of Symbol 417 MovieClip "bulletinside" in Symbol 418 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop("n");
}
Symbol 441 MovieClip Frame 9
stop();
Symbol 442 MovieClip Frame 1
!!!ERROR
Instance of Symbol 411 MovieClip in Symbol 442 MovieClip Frame 1
onClipEvent (enterFrame) {
for (var i in _root.back.mask.maska) {
if (_parent.man.hitTest(_root.back.mask.maska[i])) {
landObject = _root.back.mask.maska[i];
var newy = (landObject.getBounds(_root.back.direnmother).yMin - _root.flooroffset1);
_parent._parent._y = newy;
_parent.gotoAndPlay("walk");
break;
}
}
point = new object();
point.x = _parent.man._x;
point.y = _parent.man._y;
_parent.localToGlobal(point);
currenty = point.y;
if (currenty > _root.rootymax) {
_parent.gotoAndPlay("end");
}
if (_root.levelselect == 1) {
if (((_parent.man.hitTest(_root.back.mask.maska.mask11) || (_parent.man.hitTest(_root.back.mask.maska.mask12))) || (_parent.man.hitTest(_root.back.mask.maska.mask13))) || (_parent.man.hitTest(_root.back.mask.maska.mask14))) {
_parent.gotoAndPlay("end");
}
}
}
Instance of Symbol 418 MovieClip "direnbullet" in Symbol 442 MovieClip Frame 1
onClipEvent (load) {
var interval = (Math.round((10 - (_root.diff / 2)) * 0.6) + random(2));
var existbullet = 0;
var maxexistbullet = 5;
var maxbullet = (maxexistbullet * 2);
var i = interval;
var bandoffset = 120;
var k = 0;
}
onClipEvent (enterFrame) {
if (i == interval) {
i = 0;
if ((_parent.fired == true) && (existbullet < maxexistbullet)) {
k++;
existbullet++;
duplicateMovieClip (bulletinside, "bulletinside" + k, k);
if (_parent.band == true) {
bullety = bulletinside._y + bandoffset;
setProperty("bulletinside" + k, _y , bullety);
}
if (k >= maxbullet) {
k = 0;
}
}
} else {
i++;
}
if (i > interval) {
i = 0;
}
}
Instance of Symbol 419 MovieClip "control" in Symbol 442 MovieClip Frame 1
onClipEvent (load) {
var xoffset = (_parent._parent._parent.xpositionoffset + 20);
if (_parent._parent._name == "direnall") {
_parent.dead = true;
_parent.gotoAndStop("rest");
} else {
_parent.dead = false;
}
}
onClipEvent (enterFrame) {
if (_parent.dead == false) {
if (_root.deadzone1 == false) {
if (_parent.man.hitTest(_root.player.man0.man.heart)) {
if (_root.hide1b == "true") {
_root.player.man0.gotoAndPlay("dead");
_root.deadzone1 = true;
}
}
}
var i = 1;
while (i <= _root.newbullet.maxbullet) {
var bulletname = (("_root.newbullet.bulletinside" + i) + ".bulletsingle");
if (_parent.man.hitTest(bulletname)) {
tellTarget (bulletname) {
if (dead == false) {
dead = true;
gotoAndPlay ("end");
}
};
_parent.tempy = _parent.man._y;
_root.score = _root.score + _root.direnscore;
_parent.dead = true;
_parent.gotoAndPlay("dead");
break;
}
i++;
}
point = new object();
point.x = _parent._x;
point.y = _parent._y;
_parent._parent.localToGlobal(point);
thisx = point.x;
if ((thisx <= ((-xoffset) / 1.5)) || (thisx >= (_root.rootxmax + xoffset))) {
_parent.gotoAndPlay("end");
}
}
}
Symbol 442 MovieClip Frame 24
!!!ERROR
Symbol 442 MovieClip Frame 25
!!!ERROR
Symbol 442 MovieClip Frame 26
if (dead == false) {
for (var i in _root.back.mask.maska) {
if (hittester.hitTest(_root.back.mask.maska[i])) {
landObject = _root.back.mask.maska[i];
var newy = (landObject.getBounds(_root.back.direnmother).yMin - _root.flooroffset1);
_parent._y = newy;
dirdis = random(3);
if ((dirdis == 1) && (direnbullet.existbullet == 0)) {
var floorxmin = landObject.getBounds(_root.back.direnmother).xMin;
var floorxmax = landObject.getBounds(_root.back.direnmother).xMax;
currentx = _parent._x;
edge1 = currentx - floorxmin;
edge2 = floorxmax - currentx;
offsetedge = 30;
if (edge1 <= offsetedge) {
if (_parent.currentdir == "left") {
_parent.gotoAndStop("right");
}
}
if (edge2 <= offsetedge) {
if (_parent.currentdir == "right") {
_parent.gotoAndStop("left");
}
}
}
break;
}
}
if (!hittester.hitTest(landObject)) {
dirdis = random(3);
if (dirdis == 1) {
gotoAndPlay (1);
} else {
gotoAndPlay (55);
}
}
if (_root.levelselect == 1) {
if (((man.hitTest(_root.back.mask.maska.mask11) || (man.hitTest(_root.back.mask.maska.mask12))) || (man.hitTest(_root.back.mask.maska.mask13))) || (man.hitTest(_root.back.mask.maska.mask14))) {
gotoAndPlay (78);
}
}
}
Symbol 442 MovieClip Frame 30
if (dead == false) {
gotoAndPlay (25);
point = new object();
point.x = _x;
point.y = _y;
localToGlobal(point);
currentx = point.x;
if ((currentx > 10) && (currentx < (_root.rootxmax - 10))) {
firechance = random(((10 - (_root.diff / 2)) * 3) / (_root.levelselect / 2));
if (firechance == 2) {
gotoAndPlay (31);
}
bandfirechance = random(((10 - (_root.diff / 2)) * 9) / (_root.levelselect / 2));
if (bandfirechance == 2) {
gotoAndPlay (42);
}
}
} else {
gotoAndPlay (70);
}
Symbol 442 MovieClip Frame 31
!!!ERROR
Instance of Symbol 411 MovieClip in Symbol 442 MovieClip Frame 31
onClipEvent (load) {
xx = _parent._parent._x;
}
onClipEvent (enterFrame) {
_parent._parent._x = xx;
}
Symbol 442 MovieClip Frame 33
!!!ERROR
Symbol 442 MovieClip Frame 40
!!!ERROR
Symbol 442 MovieClip Frame 41
!!!ERROR
Symbol 442 MovieClip Frame 42
!!!ERROR
Symbol 442 MovieClip Frame 45
!!!ERROR
Symbol 442 MovieClip Frame 52
!!!ERROR
Symbol 442 MovieClip Frame 54
!!!ERROR
Symbol 442 MovieClip Frame 55
!!!ERROR
Instance of Symbol 411 MovieClip in Symbol 442 MovieClip Frame 64
onClipEvent (enterFrame) {
for (var i in _root.back.mask.maska) {
if (_parent.man.hitTest(_root.back.mask.maska[i])) {
landObject = _root.back.mask.maska[i];
var newy = (landObject.getBounds(_root.back.direnmother).yMin - _root.flooroffset1);
_parent._parent._y = newy;
_parent.gotoAndPlay("walk");
break;
}
}
}
Symbol 442 MovieClip Frame 69
!!!ERROR
Symbol 442 MovieClip Frame 70
!!!ERROR
Symbol 442 MovieClip Frame 72
s = new Sound(this);
point = new object();
point.x = _x;
point.y = _y;
localToGlobal(point);
currentx = point.x;
pan = ((currentx / _root.rootxmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
fired = false;
Symbol 442 MovieClip Frame 78
!!!ERROR
Symbol 442 MovieClip Frame 105
!!!ERROR
Symbol 442 MovieClip Frame 106
!!!ERROR
Symbol 443 MovieClip Frame 1
!!!ERROR
Instance of Symbol 442 MovieClip "diren" in Symbol 443 MovieClip Frame 1
onClipEvent (load) {
!!!ERROR
Symbol 443 MovieClip Frame 5
!!!ERROR
Symbol 443 MovieClip Frame 6
!!!ERROR
Instance of Symbol 442 MovieClip "diren" in Symbol 443 MovieClip Frame 6
onClipEvent (load) {
!!!ERROR
Symbol 443 MovieClip Frame 10
!!!ERROR
Instance of Symbol 443 MovieClip "direnall" in Symbol 444 MovieClip Frame 1
onClipEvent (load) {
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
initialx = point.x;
if (initialx < 0) {
this.gotoAndStop("right");
}
}
onClipEvent (unload) {
_parent.existdiren--;
}
Symbol 446 MovieClip Frame 1
!!!ERROR
Symbol 448 MovieClip Frame 1
!!!ERROR
Symbol 448 MovieClip Frame 9
!!!ERROR
Symbol 448 MovieClip Frame 10
_parent._parent.existbullet--;
stop();
_parent._parent.removeMovieClip();
Symbol 449 MovieClip Frame 1
!!!ERROR
Symbol 449 MovieClip Frame 9
!!!ERROR
Symbol 449 MovieClip Frame 10
_parent._parent.existbullet--;
stop();
_parent._parent.removeMovieClip();
Symbol 450 MovieClip Frame 1
!!!ERROR
Instance of Symbol 448 MovieClip "bulletsingle" in Symbol 450 MovieClip Frame 1
onClipEvent (load) {
speed = _root.gunmanbulletspeed;
gotoAndStop (1);
dead = false;
xmax = _root.rootxmax;
xmin = 0;
ymax = _root.rootymax;
xmin = 0;
if (_parent._name != "bulletinside") {
free = true;
_parent._parent.mybulletsound.gotoAndPlay("N");
s = new Sound(_parent._parent.mybulletsound);
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
pan = ((currentx / xmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
} else {
free = false;
_parent._visible = false;
}
}
onClipEvent (enterFrame) {
if ((dead == false) && (free == true)) {
_x = (_x - speed);
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
currenty = point.y;
if ((((currentx >= xmax) || (currentx <= xmin)) || (currenty >= ymax)) || (currenty <= xmin)) {
dead = true;
this.gotoAndPlay("end");
}
if (_root.deadzone1 == false) {
if (hitTest(_root.player.man0.man.heart)) {
dead = true;
if (_root.hide1b == "true") {
_root.player.man0.gotoAndPlay("dead");
_root.deadzone1 = true;
}
this.gotoAndPlay("hit");
}
}
}
}
Symbol 450 MovieClip Frame 7
!!!ERROR
Instance of Symbol 449 MovieClip "bulletsingle" in Symbol 450 MovieClip Frame 7
onClipEvent (load) {
speed = _root.gunmanbulletspeed;
gotoAndStop (1);
dead = false;
xmax = _root.rootxmax;
xmin = 0;
ymax = _root.rootymax;
xmin = 0;
if (_parent._name != "bulletinside") {
free = true;
_parent._parent.mybulletsound.gotoAndPlay("N");
s = new Sound(_parent._parent.mybulletsound);
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
pan = ((currentx / xmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
} else {
free = false;
_parent._visible = false;
}
}
onClipEvent (enterFrame) {
if ((dead == false) && (free == true)) {
_x = (_x - speed);
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
currenty = point.y;
if ((((currentx >= xmax) || (currentx <= xmin)) || (currenty >= ymax)) || (currenty <= xmin)) {
dead = true;
this.gotoAndPlay("end");
}
if (_root.deadzone1 == false) {
if (hitTest(_root.player.man0.man.heart)) {
dead = true;
if (_root.hide1b == "true") {
_root.player.man0.gotoAndPlay("dead");
_root.deadzone1 = true;
}
this.gotoAndPlay("hit");
}
}
}
}
Symbol 451 MovieClip Frame 1
!!!ERROR
Instance of Symbol 450 MovieClip "bulletinside" in Symbol 451 MovieClip Frame 1
onClipEvent (load) {
!!!ERROR
Symbol 478 MovieClip Frame 1
!!!ERROR
Instance of Symbol 446 MovieClip "square" in Symbol 478 MovieClip Frame 1
onClipEvent (load) {
var xoffset = 5;
var live = false;
var dead = false;
_parent.fired = false;
s = new Sound(_parent._parent.bulletcsound);
}
onClipEvent (enterFrame) {
if (dead == false) {
point = new object();
point.x = _parent.gunheart._x;
point.y = _parent.gunheart._y;
_parent.localToGlobal(point);
thisx = point.x;
thisy = point.y;
if ((thisx <= (-xoffset)) || (thisx >= (_root.rootxmax + xoffset))) {
_parent.gotoAndStop("rest");
_parent._visible = false;
live = false;
_parent.fired = false;
} else {
live = true;
_parent._visible = true;
_parent.fired = true;
}
if (live == true) {
if (_root.deadzone1 == false) {
if (_parent.man.hitTest(_root.player.man0.man.heart)) {
if (_root.hide1b == "true") {
_root.player.man0.gotoAndPlay("dead");
_root.deadzone1 = true;
}
}
}
smart = _root.smarta * 0.8;
if (_parent.man.hitTest(bulletname)) {
}
var i = 1;
while (i <= _root.newbullet.maxbullet) {
var bulletname = (("_root.newbullet.bulletinside" + i) + ".bulletsingle");
if (_parent.man.hitTest(bulletname)) {
tellTarget (bulletname) {
if (dead == false) {
dead = true;
gotoAndPlay ("end");
}
};
dead = true;
_root.score = _root.score + _root.gunmanscore;
pan = ((thisx / _root.rootxmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
_parent._parent.bulletcsound.gotoAndPlay("hit");
_parent.gotoAndPlay("dead");
break;
}
i++;
}
point = new object();
point.x = _root.player.man0.man._x;
point.y = _root.player.man0.man._y;
_root.player.man0.localToGlobal(point);
tay = point.y;
tax = point.x;
sym = 1;
kk = (tay - thisy) / (tax - thisx);
angle = Math.atan(kk);
angle1 = (angle / (Math.PI/2)) * 90;
rotation = angle1;
if (thisx > tax) {
if ((rotation > -90) && (rotation <= -30)) {
_parent.gotoAndPlay("leftdown");
}
if (((rotation > -30) && (rotation <= 0)) || ((rotation > 0) && (rotation <= 30))) {
_parent.gotoAndPlay("left");
}
if ((rotation > 30) && (rotation < 90)) {
_parent.gotoAndPlay("leftup");
}
}
if (thisx <= tax) {
rotation = 180 + rotation;
if ((rotation >= 90) && (rotation <= 150)) {
_parent.gotoAndPlay("rightup");
}
if ((rotation > 150) && (rotation <= 210)) {
_parent.gotoAndPlay("right");
}
if ((rotation > 210) && (rotation <= 270)) {
_parent.gotoAndPlay("rightdown");
}
}
point1 = new object();
point1.x = _parent.gun._x;
point1.y = _parent.gun._y;
_parent.localToGlobal(point1);
thisx1 = point1.x;
thisy1 = point1.y;
kk1 = (tay - thisy1) / (tax - thisx1);
anglea = Math.atan(kk1);
anglea1 = (anglea / (Math.PI/2)) * 90;
rotation1 = int(anglea1 / smart) * smart;
if (thisx1 <= tax) {
rotation1 = 180 + rotation1;
}
}
}
}
Instance of Symbol 451 MovieClip "gunmanbullet" in Symbol 478 MovieClip Frame 4
onClipEvent (load) {
var interval = (Math.round((10 - (_root.diff / 2)) * 2.2) + random(2));
var existbullet = 0;
var maxexistbullet = ((_root.diff / 2) * _root.levelselect);
var maxbullet = 10;
var i = interval;
var bandoffset = 120;
var k = 0;
}
onClipEvent (enterFrame) {
if (i == interval) {
i = 0;
if ((_parent.fired == true) && (existbullet < maxexistbullet)) {
k++;
existbullet++;
space = new object();
space.x = _parent.gun._x;
space.y = _parent.gun._y;
_parent.localToGlobal(space);
point = new object();
point.x = space.x;
point.y = space.y;
globalToLocal(point);
thisbulletx = point.x;
thisbullety = point.y;
rotation = _parent.square.rotation1;
duplicateMovieClip (bulletinside, "bulletinside" + k, k);
setProperty("bulletinside" + k, _x , thisbulletx);
setProperty("bulletinside" + k, _y , thisbullety);
setProperty("bulletinside" + k, _rotation , rotation);
if (k >= maxbullet) {
k = 0;
}
}
} else {
i++;
}
if (i > interval) {
i = 0;
}
}
Symbol 478 MovieClip Frame 7
!!!ERROR
Symbol 478 MovieClip Frame 12
!!!ERROR
Symbol 478 MovieClip Frame 15
!!!ERROR
Symbol 478 MovieClip Frame 19
!!!ERROR
Symbol 478 MovieClip Frame 22
!!!ERROR
Symbol 478 MovieClip Frame 25
!!!ERROR
Symbol 478 MovieClip Frame 30
!!!ERROR
Symbol 478 MovieClip Frame 35
!!!ERROR
Symbol 478 MovieClip Frame 38
!!!ERROR
Symbol 478 MovieClip Frame 43
!!!ERROR
Symbol 478 MovieClip Frame 46
!!!ERROR
Symbol 478 MovieClip Frame 51
!!!ERROR
Symbol 478 MovieClip Frame 52
!!!ERROR
Symbol 478 MovieClip Frame 60
!!!ERROR
Symbol 478 MovieClip Frame 84
!!!ERROR
Symbol 482 MovieClip Frame 1
!!!ERROR
Instance of Symbol 446 MovieClip "square" in Symbol 482 MovieClip Frame 1
onClipEvent (load) {
var xoffset = 5;
var live = false;
var dead = false;
_parent.fired = false;
s = new Sound(_parent._parent.bulletcsound);
_parent.active = false;
}
onClipEvent (enterFrame) {
if (dead == false) {
point = new object();
point.x = _parent.gunheart._x;
point.y = _parent.gunheart._y;
_parent.localToGlobal(point);
thisx = point.x;
thisy = point.y;
if ((thisx <= (-xoffset)) || (thisx >= (_root.rootxmax + xoffset))) {
_parent.gotoAndStop("rest");
_parent._visible = false;
live = false;
_parent.fired = false;
} else {
_parent._visible = true;
if (live == false) {
_parent.gotoAndPlay("golive");
live = true;
}
}
if ((live == true) && (_parent.active == true)) {
if (_root.deadzone1 == false) {
if (_parent.man.hitTest(_root.player.man0.man.heart)) {
if (_root.hide1b == "true") {
_root.player.man0.gotoAndPlay("dead");
_root.deadzone1 = true;
}
}
}
smart = _root.smarta * 0.8;
var i = 1;
while (i <= _root.newbullet.maxbullet) {
var bulletname = (("_root.newbullet.bulletinside" + i) + ".bulletsingle");
if (_parent.heart.hitTest(bulletname)) {
tellTarget (bulletname) {
if (dead == false) {
dead = true;
gotoAndPlay ("end");
}
};
dead = true;
_root.score = _root.score + _root.hgunmanscore;
pan = ((thisx / _root.rootxmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
_parent._parent.bulletcsound.gotoAndPlay("hit");
_parent.gotoAndPlay("dead");
break;
}
i++;
}
if (_parent.fired == false) {
point = new object();
point.x = _root.player.man0.man._x;
point.y = _root.player.man0.man._y;
_root.player.man0.localToGlobal(point);
tay = point.y;
tax = point.x;
sym = 1;
kk = (tay - thisy) / (tax - thisx);
angle = Math.atan(kk);
angle1 = (angle / (Math.PI/2)) * 90;
rotation = angle1;
if (thisx > tax) {
if ((rotation > -90) && (rotation <= -30)) {
_parent.gotoAndPlay("leftdown");
}
if (((rotation > -30) && (rotation <= 0)) || ((rotation > 0) && (rotation <= 30))) {
_parent.gotoAndPlay("left");
}
if ((rotation > 30) && (rotation < 90)) {
_parent.gotoAndPlay("leftup");
}
}
if (thisx <= tax) {
rotation = 180 + rotation;
if ((rotation >= 90) && (rotation <= 150)) {
_parent.gotoAndPlay("rightup");
}
if ((rotation > 150) && (rotation <= 210)) {
_parent.gotoAndPlay("right");
}
if ((rotation > 210) && (rotation <= 270)) {
_parent.gotoAndPlay("rightdown");
}
}
point1 = new object();
point1.x = _parent.gun._x;
point1.y = _parent.gun._y;
_parent.localToGlobal(point1);
thisx1 = point1.x;
thisy1 = point1.y;
kk1 = (tay - thisy1) / (tax - thisx1);
anglea = Math.atan(kk1);
anglea1 = (anglea / (Math.PI/2)) * 90;
rotation1 = int(anglea1 / smart) * smart;
if (thisx1 <= tax) {
rotation1 = 180 + rotation1;
}
}
}
}
}
Symbol 482 MovieClip Frame 7
!!!ERROR
Instance of Symbol 451 MovieClip "gunmanbullet" in Symbol 482 MovieClip Frame 7
onClipEvent (load) {
var interval = (Math.round((10 - (_root.diff / 2)) * 2.2) + random(2));
var existbullet = 0;
var maxexistbullet = ((_root.diff / 2) * _root.levelselect);
var maxbullet = 10;
var i = interval;
var bandoffset = 120;
var k = 0;
}
onClipEvent (enterFrame) {
if (i == interval) {
i = 0;
if ((_parent.fired == true) && (existbullet < maxexistbullet)) {
k++;
existbullet++;
space = new object();
space.x = _parent.gun._x;
space.y = _parent.gun._y;
_parent.localToGlobal(space);
point = new object();
point.x = space.x;
point.y = space.y;
globalToLocal(point);
thisbulletx = point.x;
thisbullety = point.y;
rotation = _parent.square.rotation1;
duplicateMovieClip (bulletinside, "bulletinside" + k, k);
setProperty("bulletinside" + k, _x , thisbulletx);
setProperty("bulletinside" + k, _y , thisbullety);
setProperty("bulletinside" + k, _rotation , rotation);
if (k >= maxbullet) {
k = 0;
}
}
} else {
i++;
}
if (i > interval) {
i = 0;
}
}
Symbol 482 MovieClip Frame 37
!!!ERROR
Symbol 482 MovieClip Frame 71
!!!ERROR
Symbol 482 MovieClip Frame 72
!!!ERROR
Symbol 482 MovieClip Frame 95
!!!ERROR
Symbol 482 MovieClip Frame 96
!!!ERROR
Symbol 482 MovieClip Frame 120
!!!ERROR
Symbol 482 MovieClip Frame 121
!!!ERROR
Symbol 482 MovieClip Frame 144
!!!ERROR
Symbol 482 MovieClip Frame 145
!!!ERROR
Symbol 482 MovieClip Frame 169
!!!ERROR
Symbol 482 MovieClip Frame 170
!!!ERROR
Symbol 482 MovieClip Frame 194
!!!ERROR
Symbol 482 MovieClip Frame 195
!!!ERROR
Symbol 482 MovieClip Frame 217
!!!ERROR
Symbol 482 MovieClip Frame 218
!!!ERROR
Symbol 482 MovieClip Frame 225
!!!ERROR
Symbol 482 MovieClip Frame 226
!!!ERROR
Symbol 482 MovieClip Frame 233
!!!ERROR
Symbol 482 MovieClip Frame 234
!!!ERROR
Symbol 482 MovieClip Frame 242
!!!ERROR
Symbol 482 MovieClip Frame 266
!!!ERROR
Symbol 507 MovieClip Frame 1
!!!ERROR
Symbol 507 MovieClip Frame 5
!!!ERROR
Symbol 507 MovieClip Frame 9
!!!ERROR
Symbol 507 MovieClip Frame 13
!!!ERROR
Symbol 507 MovieClip Frame 17
!!!ERROR
Instance of Symbol 507 MovieClip "bulletchanger" in Symbol 508 MovieClip Frame 1
onClipEvent (load) {
var yinc = (-15 - random(2));
var g = 1.4;
var inAir = true;
var moveSpeed = 4;
var landObject = null;
s = new Sound(_parent._parent._parent.bulletcsound);
var xoffset = 10;
if (_parent._parent.bullettype == "R") {
this.gotoAndStop("r");
}
if (_parent._parent.bullettype == "M") {
this.gotoAndStop("m");
}
if (_parent._parent.bullettype == "F") {
this.gotoAndStop("f");
}
if (_parent._parent.bullettype == "S") {
this.gotoAndStop("s");
}
if (_parent._parent.bullettype == "L") {
this.gotoAndStop("l");
}
}
onClipEvent (enterFrame) {
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
currenty = point.y;
if (currenty > (_root.rootymax + 50)) {
this._visible = false;
_parent._parent.gotoAndPlay("end");
}
if (hittester.hitTest(_root.player.man0.man.heart)) {
pan = ((currentx / _root.rootxmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
_parent._parent._parent.bulletcsound.gotoAndPlay("change");
_root.score = _root.score + _root.bulletcscore;
if (_parent._parent.bullettype == "R") {
_root.bspeedplus = 1.5;
}
if (_parent._parent.bullettype == "M") {
_root.manbullet = "M";
}
if (_parent._parent.bullettype == "F") {
_root.manbullet = "F";
}
if (_parent._parent.bullettype == "S") {
_root.manbullet = "S";
}
if (_parent._parent.bullettype == "L") {
_root.manbullet = "L";
}
this._visible = false;
_parent._parent.gotoAndPlay("end");
}
if (inAir) {
_x = (_x + moveSpeed);
yinc = yinc + g;
_y = (_y + yinc);
if (yinc > 0) {
for (var i in _root.back.mask.maska) {
if (hittester.hitTest(_root.back.mask.maska[i])) {
var landObject = _root.back.mask.maska[i];
var newy = landObject.getBounds(_parent).yMin;
_y = newy;
inAir = false;
break;
}
}
}
}
}
Instance of Symbol 446 MovieClip "square" in Symbol 510 MovieClip Frame 1
onClipEvent (load) {
if (_parent.loadonce != true) {
s = new Sound(_parent._parent.bulletcsound);
var initialy = _parent._y;
var xoffset = 100;
var yoffset = initialy;
var live = false;
var runedonce = false;
var yamp = 30;
var xspeed = 7;
var wt = 180;
var dead = false;
}
_parent.loadonce = true;
}
onClipEvent (enterFrame) {
if (dead == false) {
point = new object();
point.x = _parent._x;
point.y = _parent._y;
_parent._parent.localToGlobal(point);
thisx = point.x;
thisy = point.y;
if ((thisx <= (-xoffset)) || (thisx >= (_root.rootxmax + xoffset))) {
if (runedonce == false) {
_parent.gotoAndStop("rest");
_parent._visible = false;
live = false;
} else {
_parent.gotoAndPlay("end");
}
} else if ((live == false) && (runedonce == false)) {
point = new object();
point.x = (-xoffset) / 2;
point.y = thisy;
_parent._parent.globalToLocal(point);
_parent._x = point.x;
live = true;
_parent._visible = true;
runedonce = true;
_parent.gotoAndPlay("live");
}
if (live == true) {
_parent._x = _parent._x + xspeed;
_parent._y = yoffset + (yamp * Math.sin(_parent._x * ((Math.PI*2) / wt)));
var i = 1;
while (i <= _root.newbullet.maxbullet) {
var bulletname = (("_root.newbullet.bulletinside" + i) + ".bulletsingle");
if (_parent.heart.hitTest(bulletname)) {
tellTarget (bulletname) {
if (dead == false) {
dead = true;
gotoAndPlay ("end");
}
};
_root.score = _root.score + _root.bulletcdscore;
pan = ((thisx / _root.rootxmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
_parent._parent.bulletcsound.gotoAndPlay("hit");
dead = true;
_parent.gotoAndPlay("hit");
break;
}
i++;
}
}
}
}
Symbol 510 MovieClip Frame 354
!!!ERROR
Symbol 510 MovieClip Frame 356
!!!ERROR
Symbol 510 MovieClip Frame 357
!!!ERROR
Symbol 510 MovieClip Frame 358
!!!ERROR
Symbol 510 MovieClip Frame 359
!!!ERROR
Symbol 510 MovieClip Frame 360
!!!ERROR
Symbol 510 MovieClip Frame 361
!!!ERROR
Symbol 510 MovieClip Frame 362
!!!ERROR
Symbol 510 MovieClip Frame 363
!!!ERROR
Symbol 510 MovieClip Frame 368
!!!ERROR
Instance of Symbol 446 MovieClip "square" in Symbol 518 MovieClip Frame 1
onClipEvent (load) {
var xoffset = 20;
var live = false;
s = new Sound(_parent._parent.bulletcsound);
}
onClipEvent (enterFrame) {
if (live == false) {
point = new object();
point.x = _parent._x;
point.y = _parent._y;
_parent._parent.localToGlobal(point);
thisx = point.x;
thisy = point.y;
if ((thisx <= (-xoffset)) || (thisx >= (_root.rootxmax + xoffset))) {
_parent.gotoAndStop("rest");
_parent._visible = false;
live = false;
} else {
live = true;
_parent._visible = true;
_parent.gotoAndPlay("live");
}
}
if (live == true) {
var i = 1;
while (i <= _root.newbullet.maxbullet) {
var bulletname = (("_root.newbullet.bulletinside" + i) + ".bulletsingle");
if (_parent.heart.hitTest(bulletname)) {
tellTarget (bulletname) {
if (dead == false) {
dead = true;
gotoAndPlay ("end");
}
};
_root.score = _root.score + _root.bulletcsscore;
pan = ((thisx / _root.rootxmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
_parent._parent.bulletcsound.gotoAndPlay("hit");
_parent.gotoAndPlay("hit");
break;
}
i++;
}
}
}
Symbol 518 MovieClip Frame 42
!!!ERROR
Symbol 518 MovieClip Frame 50
!!!ERROR
Symbol 518 MovieClip Frame 55
!!!ERROR
Symbol 519 MovieClip Frame 1
!!!ERROR
Symbol 519 MovieClip Frame 9
!!!ERROR
Symbol 519 MovieClip Frame 10
_parent._parent.existbullet--;
stop();
_parent._parent.removeMovieClip();
Symbol 520 MovieClip Frame 1
!!!ERROR
Instance of Symbol 519 MovieClip "bulletsingle" in Symbol 520 MovieClip Frame 1
onClipEvent (load) {
speed = _root.paobulletspeed;
gotoAndStop (1);
dead = false;
xmax = _root.rootxmax;
xmin = 0;
ymax = _root.rootymax;
xmin = 0;
if (_parent._name != "bulletinside") {
free = true;
_parent._parent.mybulletsound.gotoAndPlay("N");
s = new Sound(_parent._parent.mybulletsound);
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
pan = ((currentx / xmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
} else {
free = false;
_parent._visible = false;
}
}
onClipEvent (enterFrame) {
if ((dead == false) && (free == true)) {
_x = (_x - speed);
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
currenty = point.y;
if ((((currentx >= xmax) || (currentx <= xmin)) || (currenty >= ymax)) || (currenty <= xmin)) {
dead = true;
this.gotoAndPlay("end");
}
if (_root.deadzone1 == false) {
if (hitTest(_root.player.man0.man.heart)) {
dead = true;
if (_root.hide1b == "true") {
_root.player.man0.gotoAndPlay("dead");
_root.deadzone1 = true;
}
this.gotoAndPlay("hit");
}
}
}
}
Symbol 521 MovieClip Frame 1
!!!ERROR
Instance of Symbol 520 MovieClip "bulletinside" in Symbol 521 MovieClip Frame 1
onClipEvent (load) {
!!!ERROR
Symbol 527 MovieClip Frame 1
!!!ERROR
Instance of Symbol 446 MovieClip "square" in Symbol 527 MovieClip Frame 1
onClipEvent (load) {
var xoffset1 = -30;
var xoffset2 = 10;
var live = false;
var life = Math.round(_root.hpaolife * (1 + (_root.diff / 4)));
var dead = false;
_parent.fired = false;
s = new Sound(_parent._parent.bulletcsound);
}
onClipEvent (enterFrame) {
if (dead == false) {
point = new object();
point.x = _parent.gunheart._x;
point.y = _parent.gunheart._y;
_parent.localToGlobal(point);
thisx = point.x;
thisy = point.y;
if ((thisx <= (-xoffset2)) || (thisx >= (_root.rootxmax + xoffset1))) {
_parent.gotoAndStop("rest");
live = false;
_parent.fired = false;
} else if (live == false) {
live = true;
_parent.gotoAndPlay("active");
}
if (live == true) {
if (_root.deadzone1 == false) {
if (_parent.man.hitTest(_root.player.man0.man.heart)) {
if (_root.hide1b == "true") {
_root.player.man0.gotoAndPlay("dead");
_root.deadzone1 = true;
}
}
}
smart = _root.smarta;
var i = 1;
while (i <= _root.newbullet.maxbullet) {
var bulletname = (("_root.newbullet.bulletinside" + i) + ".bulletsingle");
if (_parent.heart.hitTest(bulletname)) {
pan = ((thisx / _root.rootxmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
if (life > 0) {
tellTarget (bulletname) {
if (dead == false) {
dead = true;
gotoAndPlay ("hit");
}
};
_root.score = _root.score + _root.gunhitscore;
life = life - 1;
} else {
tellTarget (bulletname) {
if (dead == false) {
dead = true;
gotoAndPlay ("end");
}
};
_root.score = _root.score + _root.hpaoscore;
_parent._parent.bulletcsound.gotoAndPlay("hit");
_parent.gotoAndPlay("dead");
break;
}
}
i++;
}
if (_parent.active == true) {
point = new object();
point.x = _root.player.man0.man._x;
point.y = _root.player.man0.man._y;
_root.player.man0.localToGlobal(point);
tay = point.y;
tax = point.x;
sym = 1;
kk = (tay - thisy) / (tax - thisx);
angle = Math.atan(kk);
angle1 = (angle / (Math.PI/2)) * 90;
rotation = angle1;
point1 = new object();
point1.x = _parent.gun._x;
point1.y = _parent.gun._y;
_parent.localToGlobal(point1);
thisx1 = point1.x;
thisy1 = point1.y;
kk1 = (tay - thisy1) / (tax - thisx1);
anglea = Math.atan(kk1);
anglea1 = (anglea / (Math.PI/2)) * 90;
rotation1 = int(anglea1 / smart) * smart;
if (thisx1 <= tax) {
rotation1 = 180 + rotation1;
}
_parent.guninside._rotation = rotation1;
}
}
}
}
Instance of Symbol 521 MovieClip "gunmanbullet" in Symbol 527 MovieClip Frame 4
onClipEvent (load) {
var interval = (Math.round((10 - (_root.diff / 2)) * 0.8) + random(2));
var existbullet = 0;
var maxexistbullet = (_root.diff / 2);
var maxbullet = 10;
var i = interval;
var bandoffset = 120;
var k = 0;
}
onClipEvent (enterFrame) {
if (i == interval) {
i = 0;
if ((_parent.fired == true) && (existbullet < maxexistbullet)) {
k++;
existbullet++;
space = new object();
space.x = _parent.gun._x;
space.y = _parent.gun._y;
_parent.localToGlobal(space);
point = new object();
point.x = space.x;
point.y = space.y;
globalToLocal(point);
thisbulletx = point.x;
thisbullety = point.y;
rotation = _parent.square.rotation1;
duplicateMovieClip (bulletinside, "bulletinside" + k, k);
setProperty("bulletinside" + k, _x , thisbulletx);
setProperty("bulletinside" + k, _y , thisbullety);
setProperty("bulletinside" + k, _rotation , rotation);
if (k >= maxbullet) {
k = 0;
}
}
} else {
i++;
}
if (i > interval) {
i = 0;
}
}
Symbol 527 MovieClip Frame 11
!!!ERROR
Symbol 527 MovieClip Frame 16
!!!ERROR
Symbol 527 MovieClip Frame 22
!!!ERROR
Symbol 527 MovieClip Frame 36
!!!ERROR
Symbol 527 MovieClip Frame 49
!!!ERROR
Symbol 527 MovieClip Frame 50
!!!ERROR
Symbol 527 MovieClip Frame 58
!!!ERROR
Symbol 527 MovieClip Frame 82
!!!ERROR
Symbol 536 MovieClip Frame 1
!!!ERROR
Instance of Symbol 446 MovieClip "square" in Symbol 536 MovieClip Frame 1
onClipEvent (load) {
var xoffset = -25;
var live = false;
var life = Math.round(_root.paolife * (1 + (_root.diff / 4)));
var dead = false;
_parent.fired = false;
s = new Sound(_parent._parent.bulletcsound);
}
onClipEvent (enterFrame) {
if (dead == false) {
point = new object();
point.x = _parent.gunheart._x;
point.y = _parent.gunheart._y;
_parent.localToGlobal(point);
thisx = point.x;
thisy = point.y;
if ((thisx <= (-xoffset)) || (thisx >= (_root.rootxmax + xoffset))) {
_parent.gotoAndStop("rest");
live = false;
_parent.fired = false;
} else if (live == false) {
live = true;
_parent.gotoAndPlay("active");
}
if (live == true) {
if (_root.deadzone1 == false) {
if (_parent.man.hitTest(_root.player.man0.man.heart)) {
if (_root.hide1b == "true") {
_root.player.man0.gotoAndPlay("dead");
_root.deadzone1 = true;
}
}
}
smart = _root.smarta;
var i = 1;
while (i <= _root.newbullet.maxbullet) {
var bulletname = (("_root.newbullet.bulletinside" + i) + ".bulletsingle");
if (_parent.heart.hitTest(bulletname)) {
pan = ((thisx / _root.rootxmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
if (life > 0) {
tellTarget (bulletname) {
if (dead == false) {
dead = true;
gotoAndPlay ("hit");
}
};
_root.score = _root.score + _root.gunhitscore;
life = life - 1;
} else {
tellTarget (bulletname) {
if (dead == false) {
dead = true;
gotoAndPlay ("end");
}
};
_root.score = _root.score + _root.paoscore;
_parent._parent.bulletcsound.gotoAndPlay("hit");
_parent.gotoAndPlay("dead");
break;
}
}
i++;
}
if (_parent.active == true) {
point = new object();
point.x = _root.player.man0.man._x;
point.y = _root.player.man0.man._y;
_root.player.man0.localToGlobal(point);
tay = point.y;
tax = point.x;
sym = 1;
kk = (tay - thisy) / (tax - thisx);
angle = Math.atan(kk);
angle1 = (angle / (Math.PI/2)) * 90;
rotation = angle1;
point1 = new object();
point1.x = _parent.gun._x;
point1.y = _parent.gun._y;
_parent.localToGlobal(point1);
thisx1 = point1.x;
thisy1 = point1.y;
kk1 = (tay - thisy1) / (tax - thisx1);
anglea = Math.atan(kk1);
anglea1 = (anglea / (Math.PI/2)) * 90;
rotation1 = int(anglea1 / smart) * smart;
if (thisx1 <= tax) {
rotation1 = 180 + rotation1;
}
_parent.guninside._rotation = rotation1;
}
}
}
}
Instance of Symbol 521 MovieClip "gunmanbullet" in Symbol 536 MovieClip Frame 4
onClipEvent (load) {
var interval = (Math.round((10 - (_root.diff / 2)) * 0.8) + random(2));
var existbullet = 0;
var maxexistbullet = Math.round(_root.diff / 2);
var maxbullet = 10;
var i = interval;
var bandoffset = 120;
var k = 0;
}
onClipEvent (enterFrame) {
if (i == interval) {
i = 0;
if ((_parent.fired == true) && (existbullet < maxexistbullet)) {
k++;
existbullet++;
space = new object();
space.x = _parent.gun._x;
space.y = _parent.gun._y;
_parent.localToGlobal(space);
point = new object();
point.x = space.x;
point.y = space.y;
globalToLocal(point);
thisbulletx = point.x;
thisbullety = point.y;
rotation = _parent.square.rotation1;
duplicateMovieClip (bulletinside, "bulletinside" + k, k);
setProperty("bulletinside" + k, _x , thisbulletx);
setProperty("bulletinside" + k, _y , thisbullety);
setProperty("bulletinside" + k, _rotation , rotation);
if (k >= maxbullet) {
k = 0;
}
}
} else {
i++;
}
if (i > interval) {
i = 0;
}
}
Symbol 536 MovieClip Frame 5
!!!ERROR
Symbol 536 MovieClip Frame 10
!!!ERROR
Symbol 536 MovieClip Frame 15
!!!ERROR
Symbol 536 MovieClip Frame 29
!!!ERROR
Symbol 536 MovieClip Frame 40
!!!ERROR
Symbol 536 MovieClip Frame 41
!!!ERROR
Symbol 536 MovieClip Frame 49
!!!ERROR
Symbol 536 MovieClip Frame 73
!!!ERROR
Symbol 537 MovieClip Frame 1
!!!ERROR
Instance of Symbol 446 MovieClip "square" in Symbol 537 MovieClip Frame 1
onClipEvent (load) {
var xoffset = 0;
var live = false;
var dead = false;
_parent.fired = false;
s = new Sound(_parent._parent.bulletcsound);
_parent.active = false;
}
onClipEvent (enterFrame) {
if (dead == false) {
point = new object();
point.x = _parent.gunheart._x;
point.y = _parent.gunheart._y;
_parent.localToGlobal(point);
thisx = point.x;
thisy = point.y;
if ((thisx <= (-xoffset)) || (thisx >= (_root.rootxmax + xoffset))) {
_parent.gotoAndStop("rest");
_parent._visible = false;
live = false;
_parent.fired = false;
} else {
_parent._visible = true;
if (live == false) {
_parent.gotoAndPlay("golive");
live = true;
}
}
if ((live == true) && (_parent.active == true)) {
if (_root.deadzone1 == false) {
if (_parent.man.hitTest(_root.player.man0.man.heart)) {
if (_root.hide1b == "true") {
_root.player.man0.gotoAndPlay("dead");
_root.deadzone1 = true;
}
}
}
smart = _root.smarta * 0.3;
var i = 1;
while (i <= _root.newbullet.maxbullet) {
var bulletname = (("_root.newbullet.bulletinside" + i) + ".bulletsingle");
if (_parent.heart.hitTest(bulletname)) {
tellTarget (bulletname) {
if (dead == false) {
dead = true;
gotoAndPlay ("end");
}
};
dead = true;
_root.score = _root.score + _root.hgunmanscore;
pan = ((thisx / _root.rootxmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
_parent._parent.bulletcsound.gotoAndPlay("hit");
_parent.gotoAndPlay("dead");
break;
}
i++;
}
if (_parent.fired == false) {
point = new object();
point.x = _root.player.man0.man._x;
point.y = _root.player.man0.man._y;
_root.player.man0.localToGlobal(point);
tay = point.y;
tax = point.x;
sym = 1;
kk = (tay - thisy) / (tax - thisx);
angle = Math.atan(kk);
angle1 = (angle / (Math.PI/2)) * 90;
rotation = angle1;
if (thisx > tax) {
if ((rotation > -90) && (rotation <= -30)) {
_parent.gotoAndPlay("leftdown");
}
if (((rotation > -30) && (rotation <= 0)) || ((rotation > 0) && (rotation <= 30))) {
_parent.gotoAndPlay("left");
}
if ((rotation > 30) && (rotation < 90)) {
_parent.gotoAndPlay("leftup");
}
}
if (thisx <= tax) {
rotation = 180 + rotation;
if ((rotation >= 90) && (rotation <= 150)) {
_parent.gotoAndPlay("rightup");
}
if ((rotation > 150) && (rotation <= 210)) {
_parent.gotoAndPlay("right");
}
if ((rotation > 210) && (rotation <= 270)) {
_parent.gotoAndPlay("rightdown");
}
}
point1 = new object();
point1.x = _parent.gun._x;
point1.y = _parent.gun._y;
_parent.localToGlobal(point1);
thisx1 = point1.x;
thisy1 = point1.y;
kk1 = (tay - thisy1) / (tax - thisx1);
anglea = Math.atan(kk1);
anglea1 = (anglea / (Math.PI/2)) * 90;
rotation1 = int(anglea1 / smart) * smart;
if (thisx1 <= tax) {
rotation1 = 180 + rotation1;
}
}
}
}
}
Symbol 537 MovieClip Frame 7
!!!ERROR
Instance of Symbol 451 MovieClip "gunmanbullet" in Symbol 537 MovieClip Frame 7
onClipEvent (load) {
var interval = (Math.round((10 - (_root.diff / 2)) * 2) + random(2));
var existbullet = 0;
var maxexistbullet = (_root.diff * _root.levelselect);
var maxbullet = 10;
var i = interval;
var bandoffset = 120;
var k = 0;
}
onClipEvent (enterFrame) {
if (i == interval) {
i = 0;
if ((_parent.fired == true) && (existbullet < maxexistbullet)) {
k++;
existbullet++;
space = new object();
space.x = _parent.gun._x;
space.y = _parent.gun._y;
_parent.localToGlobal(space);
point = new object();
point.x = space.x;
point.y = space.y;
globalToLocal(point);
thisbulletx = point.x;
thisbullety = point.y;
rotation = _parent.square.rotation1;
duplicateMovieClip (bulletinside, "bulletinside" + k, k);
setProperty("bulletinside" + k, _x , thisbulletx);
setProperty("bulletinside" + k, _y , thisbullety);
setProperty("bulletinside" + k, _rotation , rotation);
if (k >= maxbullet) {
k = 0;
}
}
} else {
i++;
}
if (i > interval) {
i = 0;
}
}
Symbol 537 MovieClip Frame 32
!!!ERROR
Symbol 537 MovieClip Frame 61
!!!ERROR
Symbol 537 MovieClip Frame 62
!!!ERROR
Symbol 537 MovieClip Frame 91
!!!ERROR
Symbol 537 MovieClip Frame 92
!!!ERROR
Symbol 537 MovieClip Frame 121
!!!ERROR
Symbol 537 MovieClip Frame 122
!!!ERROR
Symbol 537 MovieClip Frame 151
!!!ERROR
Symbol 537 MovieClip Frame 152
!!!ERROR
Symbol 537 MovieClip Frame 181
!!!ERROR
Symbol 537 MovieClip Frame 182
!!!ERROR
Symbol 537 MovieClip Frame 211
!!!ERROR
Symbol 537 MovieClip Frame 212
!!!ERROR
Symbol 537 MovieClip Frame 239
!!!ERROR
Symbol 537 MovieClip Frame 240
!!!ERROR
Symbol 537 MovieClip Frame 247
!!!ERROR
Symbol 537 MovieClip Frame 248
!!!ERROR
Symbol 537 MovieClip Frame 255
!!!ERROR
Symbol 537 MovieClip Frame 256
!!!ERROR
Symbol 537 MovieClip Frame 264
!!!ERROR
Symbol 537 MovieClip Frame 288
!!!ERROR
Symbol 540 MovieClip Frame 7
!!!ERROR
Symbol 542 MovieClip Frame 1
!!!ERROR
Instance of Symbol 540 MovieClip "baozha" in Symbol 542 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.deadzone1 == false) {
if (hitTest(_root.player.man0.man.heart)) {
if (_root.hide1b == "true") {
_root.player.man0.gotoAndPlay("dead");
_root.deadzone1 = true;
}
}
}
}
Symbol 542 MovieClip Frame 13
!!!ERROR
Symbol 542 MovieClip Frame 14
_parent._parent.existbullet--;
stop();
_parent._parent.removeMovieClip();
Symbol 543 MovieClip Frame 1
!!!ERROR
Instance of Symbol 542 MovieClip "bulletsingle" in Symbol 543 MovieClip Frame 1
onClipEvent (load) {
var landobject = null;
var yinc = (-15 - random(5));
var g = 4;
var xg = 0.2;
var inAir = true;
var inAir = true;
var speed = (-10 - random(20));
gotoAndStop (1);
var dead = false;
var xmax = _root.rootxmax;
var xmin = 0;
var ymax = _root.rootymax;
var xmin = 0;
if (_parent._name != "bulletinside") {
free = true;
s = new Sound(this);
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
currenty = point.y;
pan = ((currentx / xmax) * 200) - 100;
vol = 100 - Math.abs(pan);
s.setPan(pan);
s.setVolume(vol);
} else {
free = false;
_parent._visible = false;
s = new Sound(this);
s.setVolume(0);
}
}
onClipEvent (enterFrame) {
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
currenty = point.y;
pan = ((currentx / xmax) * 200) - 100;
vol = 100 - Math.abs(pan);
s.setPan(pan);
s.setVolume(vol);
if (dead == false) {
if (_root.deadzone1 == false) {
if (hitTest(_root.player.man0.man.heart)) {
dead = true;
if (_root.hide1b == "true") {
_root.player.man0.gotoAndPlay("dead");
_root.deadzone1 = true;
}
this.gotoAndPlay("hit");
}
}
if (inAir == true) {
yinc = yinc + g;
_y = (_y + yinc);
speed = speed + xg;
if (speed >= 0) {
speed = 0;
}
_x = (_x + speed);
if (hitTest(_root.back.mask.maska.mask28)) {
var landObject = _root.back.mask.maska.mask28;
var newy = (landObject.getBounds(_parent).yMin + 8);
_y = newy;
inAir = false;
this.gotoAndPlay("hit");
_parent.frogbulletsound.gotoAndPlay("hit");
}
}
if ((((currentx >= xmax) || (currentx <= xmin)) || (currenty >= ymax)) || (currenty <= xmin)) {
dead = true;
this.gotoAndPlay("end");
}
if (_parent._parent._parent.dead == true) {
dead = true;
this.gotoAndPlay("hit");
}
}
}
Symbol 544 MovieClip Frame 1
!!!ERROR
Instance of Symbol 543 MovieClip "bulletinside" in Symbol 544 MovieClip Frame 1
onClipEvent (load) {
!!!ERROR
Symbol 551 MovieClip Frame 1
!!!ERROR
Symbol 551 MovieClip Frame 17
!!!ERROR
Symbol 551 MovieClip Frame 18
!!!ERROR
Symbol 551 MovieClip Frame 19
!!!ERROR
Symbol 551 MovieClip Frame 20
!!!ERROR
Symbol 551 MovieClip Frame 21
!!!ERROR
Symbol 551 MovieClip Frame 22
!!!ERROR
Symbol 551 MovieClip Frame 23
!!!ERROR
Symbol 551 MovieClip Frame 24
!!!ERROR
Symbol 551 MovieClip Frame 25
!!!ERROR
Symbol 555 MovieClip Frame 1
!!!ERROR
Symbol 555 MovieClip Frame 17
!!!ERROR
Symbol 555 MovieClip Frame 18
!!!ERROR
Symbol 555 MovieClip Frame 19
!!!ERROR
Symbol 555 MovieClip Frame 20
!!!ERROR
Symbol 555 MovieClip Frame 21
!!!ERROR
Symbol 555 MovieClip Frame 22
!!!ERROR
Symbol 555 MovieClip Frame 23
!!!ERROR
Symbol 555 MovieClip Frame 24
!!!ERROR
Symbol 555 MovieClip Frame 25
!!!ERROR
Symbol 566 MovieClip Frame 9
!!!ERROR
Symbol 566 MovieClip Frame 10
!!!ERROR
Symbol 566 MovieClip Frame 46
!!!ERROR
Symbol 568 MovieClip Frame 1
!!!ERROR
Instance of Symbol 538 MovieClip in Symbol 568 MovieClip Frame 1
onClipEvent (load) {
var xoffset = 100;
var life1 = Math.round(_root.jbosspaolife * (1 + (_root.diff / 4)));
var life2 = Math.round(_root.jbosspaolife * (1 + (_root.diff / 4)));
var life = Math.round(_root.jbosslife * (1 + (_root.diff / 4)));
var live = false;
var red1 = 0;
var green1 = 0;
var blue1 = 0;
var red = 100;
var green = 100;
var blue = 100;
var dead1 = false;
var dead2 = false;
s = new Sound(_parent);
}
onClipEvent (enterFrame) {
point = new object();
point.x = _parent._x;
point.y = _parent._y;
_parent._parent.localToGlobal(point);
thisx = point.x;
if (thisx <= (_root.rootxmax * 1.8)) {
_root.back.direnmother.maxexistdiren = 0;
}
if ((thisx <= (-xoffset)) || (thisx >= (_root.rootxmax + xoffset))) {
_parent.gotoAndStop("rest");
live = false;
} else if (live == false) {
_parent.gotoAndPlay("start");
live = true;
_parent.fired1 = true;
_parent.fired2 = true;
}
if (live == true) {
if ((_root.back._x > _root.backxmin) && (!Key.isDown(_root.rr1))) {
_root.back._x = _root.back._x - _root.speed;
_root.player._x = _root.player._x - _root.speed;
}
if (_root.deadzone1 == false) {
if (_parent.man.hitTest(_root.player.man0.man.heart)) {
if (_root.hide1b == "true") {
_root.player.man0.gotoAndPlay("dead");
_root.deadzone1 = true;
}
}
}
if (dead1 == false) {
var i = 1;
while (i <= _root.newbullet.maxbullet) {
var bulletname = (("_root.newbullet.bulletinside" + i) + ".bulletsingle");
if (_parent.heart1.hitTest(bulletname)) {
pan = ((thisx / _root.rootxmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
if (life1 > 0) {
tellTarget (bulletname) {
if (dead == false) {
dead = true;
gotoAndPlay ("hit");
}
};
_root.score = _root.score + _root.gunhitscore;
life1 = life1 - 1;
} else {
tellTarget (bulletname) {
if (dead == false) {
dead = true;
gotoAndPlay ("end");
}
};
_root.score = _root.score + _root.jbosspaoscore;
_parent._parent.bulletcsound.gotoAndPlay("hit");
_parent.body.paoleft.gotoAndPlay("dead");
dead1 = true;
break;
}
}
i++;
}
}
if (dead2 == false) {
var i = 1;
while (i <= _root.newbullet.maxbullet) {
var bulletname = (("_root.newbullet.bulletinside" + i) + ".bulletsingle");
if (_parent.heart2.hitTest(bulletname)) {
pan = ((thisx / _root.rootxmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
if (life2 > 0) {
tellTarget (bulletname) {
if (dead == false) {
dead = true;
gotoAndPlay ("hit");
}
};
_root.score = _root.score + _root.gunhitscore;
life2 = life2 - 1;
} else {
tellTarget (bulletname) {
if (dead == false) {
dead = true;
gotoAndPlay ("end");
}
};
_root.score = _root.score + _root.jbosspaoscore;
_parent._parent.bulletcsound.gotoAndPlay("hit");
_parent.body.paoright.gotoAndPlay("dead");
dead2 = true;
break;
}
}
i++;
}
}
var i = 1;
while (i <= _root.newbullet.maxbullet) {
var bulletname = (("_root.newbullet.bulletinside" + i) + ".bulletsingle");
if (_parent.heart.hitTest(bulletname)) {
pan = ((thisx / _root.rootxmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
if (life > 0) {
tellTarget (bulletname) {
if (dead == false) {
dead = true;
gotoAndPlay ("hit");
}
};
red1 = red1 + 0.3;
green1 = green1 - 0.2;
blue1 = green1 - 0.2;
myColor = new Color(_parent.body);
myColorTransform = new Object();
myColorTransform.ra = red;
myColorTransform.rb = red1;
myColorTransform.ga = green;
myColorTransform.gb = green1;
myColorTransform.ba = blue;
myColorTransform.bb = blue1;
myColorTransform.aa = 100;
myColorTransform.ab = 0;
myColor.setTransform(myColorTransform);
_root.score = _root.score + _root.gunhitscore;
life = life - 1;
} else {
tellTarget (bulletname) {
if (dead == false) {
dead = true;
gotoAndPlay ("end");
}
};
_root.score = _root.score + _root.jbossscore;
_parent._parent.bulletcsound.gotoAndPlay("hit");
_parent.gotoAndPlay("dead");
break;
}
}
i++;
}
}
}
Symbol 568 MovieClip Frame 5
!!!ERROR
Instance of Symbol 544 MovieClip "jbossbulletl" in Symbol 568 MovieClip Frame 5
onClipEvent (load) {
var interval = Math.round((((10 - (_root.diff / 2)) * 0.7) + random(2)) * 2);
var existbullet = 0;
var maxexistbullet = 5;
var maxbullet = 10;
var i = interval;
var bandoffset = 120;
var k = 0;
}
onClipEvent (enterFrame) {
if (i == interval) {
i = 0;
if ((_parent.fired1 == true) && (existbullet < maxexistbullet)) {
k++;
existbullet++;
duplicateMovieClip (bulletinside, "bulletinside" + k, k);
_parent.body.paoleft.gotoAndPlay("fire");
if (k >= maxbullet) {
k = 0;
}
}
} else {
i++;
}
if (i > interval) {
i = 0;
}
}
Symbol 568 MovieClip Frame 12
!!!ERROR
Instance of Symbol 544 MovieClip "jbossbulletr" in Symbol 568 MovieClip Frame 12
onClipEvent (load) {
var interval = Math.round(((10 - _root.diff) + random(2)) * 2);
var existbullet = 0;
var maxexistbullet = 5;
var maxbullet = 10;
var i = interval;
var bandoffset = 120;
var k = 0;
}
onClipEvent (enterFrame) {
if (i == interval) {
i = 0;
if ((_parent.fired2 == true) && (existbullet < maxexistbullet)) {
k++;
existbullet++;
duplicateMovieClip (bulletinside, "bulletinside" + k, k);
_parent.body.paoright.gotoAndPlay("fire");
if (k >= maxbullet) {
k = 0;
}
}
} else {
i++;
}
if (i > interval) {
i = 0;
}
}
Symbol 568 MovieClip Frame 13
body.paoleft.gotoAndPlay("dead");
body.paoright.gotoAndPlay("dead");
body.light.gotoAndPlay("dead");
Symbol 568 MovieClip Frame 37
!!!ERROR
Symbol 572 MovieClip Frame 1
s = new Sound(this);
point = new object();
point.x = _x;
point.y = _y;
localToGlobal(point);
currentx = point.x;
pan = ((currentx / _root.rootxmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
Symbol 572 MovieClip Frame 14
!!!ERROR
Symbol 574 MovieClip Frame 1
!!!ERROR
Symbol 574 MovieClip Frame 18
!!!ERROR
Symbol 574 MovieClip Frame 34
!!!ERROR
Symbol 574 MovieClip Frame 51
!!!ERROR
Symbol 574 MovieClip Frame 80
!!!ERROR
Symbol 575 MovieClip Frame 1
!!!ERROR
Instance of Symbol 571 MovieClip in Symbol 575 MovieClip Frame 1
onClipEvent (load) {
!!!ERROR
Symbol 575 MovieClip Frame 130
!!!ERROR
Symbol 576 MovieClip Frame 1
!!!ERROR
Symbol 576 MovieClip Frame 18
!!!ERROR
Symbol 576 MovieClip Frame 34
!!!ERROR
Symbol 576 MovieClip Frame 51
!!!ERROR
Symbol 576 MovieClip Frame 80
!!!ERROR
Symbol 577 MovieClip Frame 1
!!!ERROR
Instance of Symbol 571 MovieClip in Symbol 577 MovieClip Frame 1
onClipEvent (load) {
!!!ERROR
Symbol 577 MovieClip Frame 130
!!!ERROR
Symbol 578 MovieClip Frame 1
sd = new Sound(this);
sd.setPan(0);
sd.setVolume(100);
Symbol 578 MovieClip Frame 51
if ((_root.diff == 2) || (_root.diff == 4)) {
gotoAndStop (52);
}
if ((_root.diff == 6) || (_root.diff == 8)) {
gotoAndStop (64);
}
Symbol 578 MovieClip Frame 52
!!!ERROR
Instance of Symbol 444 MovieClip "direnmother" in Symbol 578 MovieClip Frame 52
onClipEvent (load) {
var interval = ((Math.round(10 - (_root.diff / 2)) * 3) + random(3));
var pause = 0;
var existdiren = 0;
var maxexistdiren = _root.diff;
var maxdiren = (maxexistdiren * 5);
var i = interval;
var k = 0;
var p = 0;
var xpositionoffset = 150;
var ypositionoffset = 120;
}
onClipEvent (enterFrame) {
if ((existdiren < maxexistdiren) && (existdiren >= 0)) {
if (i == interval) {
k++;
existdiren++;
duplicateMovieClip (direnall, "direnall" + k, k);
posdis = random(3);
if (posdis == 1) {
point = new object();
point.x = (-xpositionoffset) / 2;
point.y = random(ypositionoffset) + 60;
globalToLocal(point);
thisdirenx = point.x;
thisdireny = point.y;
setProperty("direnall" + k, _x , thisdirenx);
setProperty("direnall" + k, _y , thisdireny);
} else {
point = new object();
point.x = _root.rootxmax + xpositionoffset;
point.y = random(ypositionoffset) + 60;
globalToLocal(point);
thisdirenx = point.x;
thisdireny = point.y;
setProperty("direnall" + k, _x , thisdirenx);
setProperty("direnall" + k, _y , thisdireny);
}
if (k >= maxdiren) {
k = 0;
}
if (p < pause) {
p++;
} else {
p = 0;
}
i = 0;
}
i++;
}
if (i > interval) {
i = interval;
}
}
Instance of Symbol 510 MovieClip "bulletcd-s2" in Symbol 578 MovieClip Frame 52
onClipEvent (load) {
!!!ERROR
Instance of Symbol 510 MovieClip "bulletcd-l1" in Symbol 578 MovieClip Frame 52
onClipEvent (load) {
!!!ERROR
Instance of Symbol 510 MovieClip "bulletcd-r2" in Symbol 578 MovieClip Frame 52
onClipEvent (load) {
!!!ERROR
Instance of Symbol 510 MovieClip "bulletcd-r1" in Symbol 578 MovieClip Frame 52
onClipEvent (load) {
!!!ERROR
Instance of Symbol 518 MovieClip "bulletcs-s1" in Symbol 578 MovieClip Frame 52
onClipEvent (load) {
!!!ERROR
Instance of Symbol 518 MovieClip "bulletcs-f1" in Symbol 578 MovieClip Frame 52
onClipEvent (load) {
!!!ERROR
Instance of Symbol 518 MovieClip "bulletcs-m1" in Symbol 578 MovieClip Frame 52
onClipEvent (load) {
!!!ERROR
Symbol 578 MovieClip Frame 64
!!!ERROR
Instance of Symbol 444 MovieClip "direnmother" in Symbol 578 MovieClip Frame 64
onClipEvent (load) {
var interval = ((Math.round(10 - (_root.diff / 2)) * 2) + random(3));
var pause = 0;
var existdiren = 0;
var maxexistdiren = _root.diff;
var maxdiren = (maxexistdiren * 5);
var i = interval;
var k = 0;
var p = 0;
var xpositionoffset = 150;
var ypositionoffset = 120;
}
onClipEvent (enterFrame) {
if ((existdiren < maxexistdiren) && (existdiren >= 0)) {
if (i == interval) {
k++;
existdiren++;
duplicateMovieClip (direnall, "direnall" + k, k);
posdis = random(3);
if (posdis == 1) {
point = new object();
point.x = (-xpositionoffset) / 2;
point.y = random(ypositionoffset) + 60;
globalToLocal(point);
thisdirenx = point.x;
thisdireny = point.y;
setProperty("direnall" + k, _x , thisdirenx);
setProperty("direnall" + k, _y , thisdireny);
} else {
point = new object();
point.x = _root.rootxmax + xpositionoffset;
point.y = random(ypositionoffset) + 60;
globalToLocal(point);
thisdirenx = point.x;
thisdireny = point.y;
setProperty("direnall" + k, _x , thisdirenx);
setProperty("direnall" + k, _y , thisdireny);
}
if (k >= maxdiren) {
k = 0;
}
if (p < pause) {
p++;
} else {
p = 0;
}
i = 0;
}
i++;
}
if (i > interval) {
i = interval;
}
}
Symbol 578 MovieClip Frame 76
!!!ERROR
Symbol 579 Button
on (release) {
!!!ERROR
Symbol 592 Button
on (release) {
stopAllSounds();
if (_root.levelselect == 1) {
_root.gotoAndPlay("gameover1");
}
if (_root.levelselect == 2) {
_root.gotoAndPlay("gameover2");
}
}
Symbol 593 Button
on (release) {
_root.life = _root.defaultlife;
_root.time = 99;
_root.score = 0;
_root.bonus = 1;
_root.bonusscore = 20000;
_root.tt = 0;
_root.gamepause = "false";
_root.player.gotoAndPlay(1);
_parent.gotoAndStop("normal");
}
Symbol 595 MovieClip Frame 1
!!!ERROR
Symbol 595 MovieClip Frame 5
!!!ERROR
Instance of Symbol 594 MovieClip in Symbol 595 MovieClip Frame 5
onClipEvent (load) {
_root.deadzone1 = true;
tt0 = getTimer();
tview = 10;
_root.rootsound.setVolume(_root.volume * 0.3);
sthis = new Sound(this);
sthis.attachSound("count");
if (_root.prolang == "e") {
continue1 = "Continue\uFF1F";
goyes = "Yes";
gono = "No";
}
if (_root.prolang == "c") {
continue1 = "\u662F\u5426\u7EE7\u7EED\uFF1F";
goyes = "\u662F";
gono = "\u5426";
}
}
onClipEvent (enterFrame) {
tview0 = tview;
tt1 = getTimer();
tt = tt1 - tt0;
if (tview > 0) {
tview = Math.round(10 - (tt / 1000));
} else {
stopAllSounds();
_root.gameover = true;
}
if (tview0 != tview) {
sthis.start();
}
}
onClipEvent (unload) {
_root.rootsound.setVolume(_root.volume);
_root.deadzone1 = false;
}
Symbol 599 MovieClip Frame 15
!!!ERROR
Symbol 600 MovieClip Frame 1
!!!ERROR
Symbol 600 MovieClip Frame 2
!!!ERROR
Symbol 600 MovieClip Frame 3
!!!ERROR
Symbol 600 MovieClip Frame 4
!!!ERROR
Symbol 600 MovieClip Frame 5
!!!ERROR
Symbol 600 MovieClip Frame 6
!!!ERROR
Symbol 609 MovieClip Frame 3
!!!ERROR
Symbol 609 MovieClip Frame 6
!!!ERROR
Symbol 612 MovieClip Frame 2
!!!ERROR
Symbol 612 MovieClip Frame 5
!!!ERROR
Symbol 631 MovieClip Frame 3
!!!ERROR
Symbol 631 MovieClip Frame 11
!!!ERROR
Symbol 652 MovieClip Frame 4
!!!ERROR
Symbol 652 MovieClip Frame 8
!!!ERROR
Symbol 658 MovieClip Frame 3
!!!ERROR
Symbol 658 MovieClip Frame 11
!!!ERROR
Symbol 664 MovieClip Frame 1
!!!ERROR
Symbol 664 MovieClip Frame 4
!!!ERROR
Symbol 664 MovieClip Frame 8
!!!ERROR
Instance of Symbol 652 MovieClip "maninside" in Symbol 664 MovieClip Frame 14
/* no clip actions */
Symbol 664 MovieClip Frame 16
!!!ERROR
Symbol 664 MovieClip Frame 20
!!!ERROR
Symbol 664 MovieClip Frame 24
!!!ERROR
Symbol 664 MovieClip Frame 25
!!!ERROR
Symbol 664 MovieClip Frame 26
!!!ERROR
Symbol 664 MovieClip Frame 44
!!!ERROR
Symbol 665 MovieClip Frame 1
if (_root.manbullet == "N") {
gotoAndStop (1);
}
if (_root.manbullet == "M") {
gotoAndStop (6);
}
if (_root.manbullet == "F") {
gotoAndStop (11);
}
if (_root.manbullet == "L") {
gotoAndStop (21);
}
if (_root.manbullet == "S") {
gotoAndStop (16);
}
stop();
Symbol 665 MovieClip Frame 6
!!!ERROR
Symbol 665 MovieClip Frame 11
!!!ERROR
Symbol 665 MovieClip Frame 16
!!!ERROR
Symbol 665 MovieClip Frame 21
!!!ERROR
Symbol 666 MovieClip Frame 1
!!!ERROR
Instance of Symbol 665 MovieClip "bullet" in Symbol 666 MovieClip Frame 1
onClipEvent (enterFrame) {
!!!ERROR
Symbol 666 MovieClip Frame 6
!!!ERROR
Instance of Symbol 665 MovieClip "bullet" in Symbol 666 MovieClip Frame 6
onClipEvent (enterFrame) {
!!!ERROR
Symbol 666 MovieClip Frame 20
!!!ERROR
Symbol 669 MovieClip Frame 1
if ((!Key.isDown(_root.jj1)) || (_root.deadzone1 == false)) {
point = new object();
point.x = man._x;
point.y = man._y;
localToGlobal(point);
var currentx = point.x;
var currenty = point.y;
var floorymax = 0;
for (var i in _root.back.mask.maska) {
var floorxmin = _root.back.mask.maska[i].getBounds(_root).xMin;
var floorxmax = _root.back.mask.maska[i].getBounds(_root).xMax;
var floorycurrent = _root.back.mask.maska[i].getBounds(_root).yMin;
if (((currentx > floorxmin) && (currentx < floorxmax)) && (floorycurrent > floorymax)) {
floorymax = floorycurrent;
}
if (man.hittester.hitTest(_root.back.mask.maska[i])) {
var landObject = _root.back.mask.maska[i];
}
}
var newy1 = landObject.getBounds(_root).yMin;
if (newy1 == floorymax) {
landbottom = true;
} else {
landbottom = false;
}
var newy = (newy1 - _root.flooroffset);
_root.player._y = newy;
if (!man.hittester.hitTest(landObject)) {
_root.player.man0.gotoAndPlay("luoxia");
}
if (((Key.isDown(_root.ll1) || (Key.isDown(_root.rr1))) || (Key.isDown(_root.uu1))) || (Key.isDown(_root.dd1))) {
if ((((Key.isDown(_root.ll1) && (!Key.isDown(_root.rr1))) && (!Key.isDown(_root.uu1))) && (!Key.isDown(_root.dd1))) && (!Key.isDown(_root.ff1))) {
man.gotoAndPlay("r");
bb._rotation = 0;
setProperty(bb, _y , -9);
}
if ((((Key.isDown(_root.rr1) && (!Key.isDown(_root.ll1))) && (!Key.isDown(_root.uu1))) && (!Key.isDown(_root.dd1))) && (!Key.isDown(_root.ff1))) {
man.gotoAndPlay("r");
bb._rotation = 0;
setProperty(bb, _y , -9);
}
if ((((Key.isDown(_root.ll1) && (!Key.isDown(_root.rr1))) && (!Key.isDown(_root.uu1))) && (!Key.isDown(_root.dd1))) && (Key.isDown(_root.ff1))) {
man.gotoAndPlay("rf");
bb._rotation = 0;
setProperty(bb, _y , -9);
}
if ((((Key.isDown(_root.rr1) && (!Key.isDown(_root.ll1))) && (!Key.isDown(_root.uu1))) && (!Key.isDown(_root.dd1))) && (Key.isDown(_root.ff1))) {
man.gotoAndPlay("rf");
bb._rotation = 0;
setProperty(bb, _y , -9);
}
if (((Key.isDown(_root.uu1) && (!Key.isDown(_root.dd1))) && (!Key.isDown(_root.ll1))) && (!Key.isDown(_root.rr1))) {
man.gotoAndPlay("u");
bb._rotation = -90;
setProperty(bb, _y , -9);
}
if (((Key.isDown(_root.dd1) && (!Key.isDown(_root.uu1))) && (!Key.isDown(_root.ll1))) && (!Key.isDown(_root.rr1))) {
man.gotoAndPlay("d");
bb._rotation = 0;
setProperty(bb, _y , 7);
}
if (((Key.isDown(_root.ll1) && (Key.isDown(_root.uu1))) && (!Key.isDown(_root.rr1))) && (!Key.isDown(_root.dd1))) {
man.gotoAndPlay("ru");
bb._rotation = -45;
setProperty(bb, _y , -9);
}
if (((Key.isDown(_root.rr1) && (Key.isDown(_root.uu1))) && (!Key.isDown(_root.ll1))) && (!Key.isDown(_root.dd1))) {
man.gotoAndPlay("ru");
bb._rotation = -45;
setProperty(bb, _y , -9);
}
if (((Key.isDown(_root.ll1) && (Key.isDown(_root.dd1))) && (!Key.isDown(_root.rr1))) && (!Key.isDown(_root.uu1))) {
man.gotoAndPlay("dr");
bb._rotation = 45;
setProperty(bb, _y , -9);
}
if (((Key.isDown(_root.rr1) && (Key.isDown(_root.dd1))) && (!Key.isDown(_root.ll1))) && (!Key.isDown(_root.uu1))) {
man.gotoAndPlay("dr");
bb._rotation = 45;
setProperty(bb, _y , -9);
}
} else {
man.gotoAndPlay("nr");
bb._rotation = 0;
setProperty(bb, _y , -9);
}
}
if (Key.isDown(_root.ff1)) {
bb.gotoAndPlay("fire");
} else {
bb.gotoAndPlay("silent");
}
if (Key.isDown(_root.jj1) && (!(Key.isDown(_root.dd1) && (!(Key.isDown(_root.ll1) || (Key.isDown(_root.rr1))))))) {
man.gotoAndPlay("jump");
gotoAndPlay (3);
if ((((Key.isDown(_root.ll1) && (!Key.isDown(_root.rr1))) && (!Key.isDown(_root.uu1))) && (!Key.isDown(_root.dd1))) && (!Key.isDown(_root.ff1))) {
bb._rotation = 0;
}
if ((((Key.isDown(_root.rr1) && (!Key.isDown(_root.ll1))) && (!Key.isDown(_root.uu1))) && (!Key.isDown(_root.dd1))) && (!Key.isDown(_root.ff1))) {
bb._rotation = 0;
}
if ((((Key.isDown(_root.ll1) && (!Key.isDown(_root.rr1))) && (!Key.isDown(_root.uu1))) && (!Key.isDown(_root.dd1))) && (Key.isDown(_root.ff1))) {
bb._rotation = 0;
}
if ((((Key.isDown(_root.rr1) && (!Key.isDown(_root.ll1))) && (!Key.isDown(_root.uu1))) && (!Key.isDown(_root.dd1))) && (Key.isDown(_root.ff1))) {
bb._rotation = 0;
}
if (((Key.isDown(_root.uu1) && (!Key.isDown(_root.dd1))) && (!Key.isDown(_root.ll1))) && (!Key.isDown(_root.rr1))) {
bb._rotation = -90;
}
if (((Key.isDown(_root.dd1) && (!Key.isDown(_root.uu1))) && (!Key.isDown(_root.ll1))) && (!Key.isDown(_root.rr1))) {
bb._rotation = 90;
}
if (((Key.isDown(_root.ll1) && (Key.isDown(_root.uu1))) && (!Key.isDown(_root.rr1))) && (!Key.isDown(_root.dd1))) {
bb._rotation = -45;
}
if (((Key.isDown(_root.rr1) && (Key.isDown(_root.uu1))) && (!Key.isDown(_root.ll1))) && (!Key.isDown(_root.dd1))) {
bb._rotation = -45;
}
if (((Key.isDown(_root.ll1) && (Key.isDown(_root.dd1))) && (!Key.isDown(_root.rr1))) && (!Key.isDown(_root.uu1))) {
bb._rotation = 45;
}
if (((Key.isDown(_root.rr1) && (Key.isDown(_root.dd1))) && (!Key.isDown(_root.ll1))) && (!Key.isDown(_root.uu1))) {
bb._rotation = 45;
}
}
if (currenty > _root.rootymax) {
_root.player.man0.gotoAndPlay("dead");
}
if (((landbottom == false) && (Key.isDown(_root.jj1))) && (Key.isDown(_root.dd1) && (!(Key.isDown(_root.ll1) || (Key.isDown(_root.rr1)))))) {
man.gotoAndPlay("lx");
gotoAndPlay (20);
}
Symbol 669 MovieClip Frame 2
!!!ERROR
Symbol 669 MovieClip Frame 3
!!!ERROR
Instance of Symbol 667 MovieClip in Symbol 669 MovieClip Frame 3
onClipEvent (enterFrame) {
_parent.bb._y = _parent.bb._y - 4;
if (Key.isDown(_root.ff1)) {
_parent.bb.gotoAndPlay("fire");
} else {
_parent.bb.gotoAndPlay("silent");
}
if ((((Key.isDown(_root.ll1) && (!Key.isDown(_root.rr1))) && (!Key.isDown(_root.uu1))) && (!Key.isDown(_root.dd1))) && (!Key.isDown(_root.ff1))) {
_parent.bb._rotation = 0;
}
if ((((Key.isDown(_root.rr1) && (!Key.isDown(_root.ll1))) && (!Key.isDown(_root.uu1))) && (!Key.isDown(_root.dd1))) && (!Key.isDown(_root.ff1))) {
_parent.bb._rotation = 0;
}
if ((((Key.isDown(_root.ll1) && (!Key.isDown(_root.rr1))) && (!Key.isDown(_root.uu1))) && (!Key.isDown(_root.dd1))) && (Key.isDown(_root.ff1))) {
_parent.bb._rotation = 0;
}
if ((((Key.isDown(_root.rr1) && (!Key.isDown(_root.ll1))) && (!Key.isDown(_root.uu1))) && (!Key.isDown(_root.dd1))) && (Key.isDown(_root.ff1))) {
_parent.bb._rotation = 0;
}
if (((Key.isDown(_root.uu1) && (!Key.isDown(_root.dd1))) && (!Key.isDown(_root.ll1))) && (!Key.isDown(_root.rr1))) {
_parent.bb._rotation = -90;
}
if (((Key.isDown(_root.dd1) && (!Key.isDown(_root.uu1))) && (!Key.isDown(_root.ll1))) && (!Key.isDown(_root.rr1))) {
_parent.bb._rotation = 90;
}
if (((Key.isDown(_root.ll1) && (Key.isDown(_root.uu1))) && (!Key.isDown(_root.rr1))) && (!Key.isDown(_root.dd1))) {
_parent.bb._rotation = -45;
}
if (((Key.isDown(_root.rr1) && (Key.isDown(_root.uu1))) && (!Key.isDown(_root.ll1))) && (!Key.isDown(_root.dd1))) {
_parent.bb._rotation = -45;
}
if (((Key.isDown(_root.ll1) && (Key.isDown(_root.dd1))) && (!Key.isDown(_root.rr1))) && (!Key.isDown(_root.uu1))) {
_parent.bb._rotation = 45;
}
if (((Key.isDown(_root.rr1) && (Key.isDown(_root.dd1))) && (!Key.isDown(_root.ll1))) && (!Key.isDown(_root.uu1))) {
_parent.bb._rotation = 45;
}
}
Instance of Symbol 667 MovieClip in Symbol 669 MovieClip Frame 12
onClipEvent (enterFrame) {
_parent.bb._y = _parent.bb._y + 4;
if (Key.isDown(_root.ff1)) {
_parent.bb.gotoAndPlay("fire");
} else {
_parent.bb.gotoAndPlay("silent");
}
if ((((Key.isDown(_root.ll1) && (!Key.isDown(_root.rr1))) && (!Key.isDown(_root.uu1))) && (!Key.isDown(_root.dd1))) && (!Key.isDown(_root.ff1))) {
_parent.bb._rotation = 0;
}
if ((((Key.isDown(_root.rr1) && (!Key.isDown(_root.ll1))) && (!Key.isDown(_root.uu1))) && (!Key.isDown(_root.dd1))) && (!Key.isDown(_root.ff1))) {
_parent.bb._rotation = 0;
}
if ((((Key.isDown(_root.ll1) && (!Key.isDown(_root.rr1))) && (!Key.isDown(_root.uu1))) && (!Key.isDown(_root.dd1))) && (Key.isDown(_root.ff1))) {
_parent.bb._rotation = 0;
}
if ((((Key.isDown(_root.rr1) && (!Key.isDown(_root.ll1))) && (!Key.isDown(_root.uu1))) && (!Key.isDown(_root.dd1))) && (Key.isDown(_root.ff1))) {
_parent.bb._rotation = 0;
}
if (((Key.isDown(_root.uu1) && (!Key.isDown(_root.dd1))) && (!Key.isDown(_root.ll1))) && (!Key.isDown(_root.rr1))) {
_parent.bb._rotation = -90;
}
if (((Key.isDown(_root.dd1) && (!Key.isDown(_root.uu1))) && (!Key.isDown(_root.ll1))) && (!Key.isDown(_root.rr1))) {
_parent.bb._rotation = 90;
}
if (((Key.isDown(_root.ll1) && (Key.isDown(_root.uu1))) && (!Key.isDown(_root.rr1))) && (!Key.isDown(_root.dd1))) {
_parent.bb._rotation = -45;
}
if (((Key.isDown(_root.rr1) && (Key.isDown(_root.uu1))) && (!Key.isDown(_root.ll1))) && (!Key.isDown(_root.dd1))) {
_parent.bb._rotation = -45;
}
if (((Key.isDown(_root.ll1) && (Key.isDown(_root.dd1))) && (!Key.isDown(_root.rr1))) && (!Key.isDown(_root.uu1))) {
_parent.bb._rotation = 45;
}
if (((Key.isDown(_root.rr1) && (Key.isDown(_root.dd1))) && (!Key.isDown(_root.ll1))) && (!Key.isDown(_root.uu1))) {
_parent.bb._rotation = 45;
}
}
Instance of Symbol 411 MovieClip in Symbol 669 MovieClip Frame 13
onClipEvent (enterFrame) {
tellTarget ("_root.player.man0.man") {
for (var i in _root.back.mask.maska) {
if (hitTest(_root.back.mask.maska[i])) {
var landObject = _root.back.mask.maska[i];
var newy = (landObject.getBounds(_root).yMin - _root.flooroffset);
_root.player._y = newy;
_root.player.man0.gotoAndPlay(1);
break;
}
}
if (!hitTest(landObject)) {
}
};
}
Symbol 669 MovieClip Frame 19
tellTarget ("_root.player.man0.man") {
if (((((((hitTest(_root.back.mask.maska.mask51) || (hitTest(_root.back.mask.maska.mask52))) || (hitTest(_root.back.mask.maska.mask53))) || (hitTest(_root.back.mask.maska.mask54))) || (hitTest(_root.back.mask.maska.mask55))) || (hitTest(_root.back.mask.maska.mask56))) || (hitTest(_root.back.mask.maska.mask57))) || (hitTest(_root.back.mask.maska.mask58))) {
_root.player._y = 300;
_root.player.man0.gotoAndPlay(1);
} else if (((((((hitTest(_root.back.mask.maska.mask61) || (hitTest(_root.back.mask.maska.mask62))) || (hitTest(_root.back.mask.maska.mask63))) || (hitTest(_root.back.mask.maska.mask64))) || (hitTest(_root.back.mask.maska.mask65))) || (hitTest(_root.back.mask.maska.mask66))) || (hitTest(_root.back.mask.maska.mask67))) || (hitTest(_root.back.mask.maska.mask68))) {
_root.player._y = 225;
_root.player.man0.gotoAndPlay(1);
} else if ((((hitTest(_root.back.mask.maska.mask41) || (hitTest(_root.back.mask.maska.mask42))) || (hitTest(_root.back.mask.maska.mask43))) || (hitTest(_root.back.mask.maska.mask44))) || (hitTest(_root.back.mask.maska.mask45))) {
_root.player._y = 338;
_root.player.man0.gotoAndPlay(1);
} else if ((((((hitTest(_root.back.mask.maska.mask31) || (hitTest(_root.back.mask.maska.mask32))) || (hitTest(_root.back.mask.maska.mask33))) || (hitTest(_root.back.mask.maska.mask34))) || (hitTest(_root.back.mask.maska.mask35))) || (hitTest(_root.back.mask.maska.mask36))) || (hitTest(_root.back.mask.maska.mask37))) {
_root.player._y = 375;
_root.player.man0.gotoAndPlay(1);
} else if (((((((hitTest(_root.back.mask.maska.mask21) || (hitTest(_root.back.mask.maska.mask22))) || (hitTest(_root.back.mask.maska.mask23))) || (hitTest(_root.back.mask.maska.mask24))) || (hitTest(_root.back.mask.maska.mask25))) || (hitTest(_root.back.mask.maska.mask26))) || (hitTest(_root.back.mask.maska.mask27))) || (hitTest(_root.back.mask.maska.mask28))) {
_root.player._y = 450;
_root.player.man0.gotoAndPlay(1);
} else if ((hitTest(_root.back.mask.maska.mask71) || (hitTest(_root.back.mask.maska.mask72))) || (hitTest(_root.back.mask.maska.mask73))) {
_root.player._y = 150;
_root.player.man0.gotoAndPlay(1);
} else if (hitTest(_root.back.mask.maska.mask11)) {
_root.player._y = 506;
_root.player.man0.gotoAndPlay(1);
} else {
_root.player.man0.gotoAndPlay("luoxia");
}
};
Instance of Symbol 411 MovieClip in Symbol 669 MovieClip Frame 19
onClipEvent (enterFrame) {
tellTarget ("_root.player.man0.man") {
for (var i in _root.back.mask.maska) {
if (hitTest(_root.back.mask.maska[i])) {
var landObject = _root.back.mask.maska[i];
var newy = (landObject.getBounds(_root).yMin - _root.flooroffset);
_root.player._y = newy;
_root.player.man0.gotoAndPlay(1);
break;
}
}
if (!hitTest(landObject)) {
_root.player.man0.gotoAndPlay("luoxia");
}
};
}
Symbol 669 MovieClip Frame 20
!!!ERROR
Instance of Symbol 667 MovieClip in Symbol 669 MovieClip Frame 20
onClipEvent (enterFrame) {
_parent.bb._y = _parent.bb._y + 20;
if (Key.isDown(_root.ff1)) {
_parent.bb.gotoAndPlay("fire");
} else {
_parent.bb.gotoAndPlay("silent");
}
}
Instance of Symbol 664 MovieClip "man" in Symbol 669 MovieClip Frame 20
/* no clip actions */
Instance of Symbol 411 MovieClip in Symbol 669 MovieClip Frame 21
onClipEvent (enterFrame) {
tellTarget ("_root.player.man0.man.hittester") {
for (var i in _root.back.mask.maska) {
if (hitTest(_root.back.mask.maska[i])) {
var landObject = _root.back.mask.maska[i];
var newy = (landObject.getBounds(_root).yMin - _root.flooroffset);
_root.player._y = newy;
_root.player.man0.gotoAndPlay(1);
break;
}
}
if (!hitTest(landObject)) {
}
};
point = new object();
point.x = _parent.man._x;
point.y = _parent.man._y;
_parent.localToGlobal(point);
currenty = point.y;
if (currenty > _root.rootymax) {
_root.deadzone1 = true;
_root.player._y = _root.rootymax;
_root.player.man0.gotoAndPlay("dead");
}
}
Instance of Symbol 411 MovieClip in Symbol 669 MovieClip Frame 37
onClipEvent (enterFrame) {
tellTarget ("_root.player.man0.man.hittester") {
for (var i in _root.back.mask.maska) {
if (hitTest(_root.back.mask.maska[i])) {
var landObject = _root.back.mask.maska[i];
var newy = (landObject.getBounds(_root).yMin - _root.flooroffset);
_root.player._y = newy;
_root.player.man0.gotoAndPlay(1);
break;
}
}
if (!hitTest(landObject)) {
_root.deadzone1 = true;
_root.player.man0.gotoAndPlay("dead");
}
};
}
Symbol 669 MovieClip Frame 38
s = new Sound(this);
point = new object();
point.x = _x;
point.y = _y;
localToGlobal(point);
currentx = point.x;
pan = ((currentx / _root.rootxmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
_root.gamepause = "true";
man1.gotoAndPlay("de");
_root.player.stop();
gotoAndPlay (39);
Instance of Symbol 664 MovieClip "man1" in Symbol 669 MovieClip Frame 38
onClipEvent (enterFrame) {
_root.player._y = _root.tempy1;
}
Symbol 669 MovieClip Frame 39
!!!ERROR
Symbol 669 MovieClip Frame 40
!!!ERROR
Instance of Symbol 664 MovieClip "man1" in Symbol 669 MovieClip Frame 40
onClipEvent (enterFrame) {
_root.player._y = _root.tempy1;
}
Symbol 669 MovieClip Frame 59
_root.gamepause = "false";
_root.player._y = -50;
_root.life = _root.life - 1;
_root.deadzone1 = false;
if (_root.life >= 0) {
_root.player.gotoAndPlay(2);
} else {
stop();
}
Symbol 669 MovieClip Frame 60
!!!ERROR
Instance of Symbol 667 MovieClip in Symbol 669 MovieClip Frame 60
onClipEvent (enterFrame) {
_parent.bb._y = _parent.bb._y + 20;
if (Key.isDown(_root.ff1)) {
_parent.bb.gotoAndPlay("fire");
} else {
_parent.bb.gotoAndPlay("silent");
}
}
Instance of Symbol 664 MovieClip "man1" in Symbol 669 MovieClip Frame 60
/* no clip actions */
Instance of Symbol 411 MovieClip in Symbol 669 MovieClip Frame 62
onClipEvent (enterFrame) {
tellTarget ("_root.player.man0.man1") {
for (var i in _root.back.mask.maska) {
if (hitTest(_root.back.mask.maska[i])) {
var landObject = _root.back.mask.maska[i];
var newy = (landObject.getBounds(_root).yMin - _root.flooroffset);
_root.player._y = newy;
_root.hide1t = getTimer();
_root.hide1b = "false";
setProperty("_root.player", _alpha , "40");
_root.player.gotoAndPlay("rr");
_root.player.man0.gotoAndPlay(1);
break;
}
}
};
point = new object();
point.x = _parent.man1._x;
point.y = _parent.man1._y;
_parent.localToGlobal(point);
currenty = point.y;
if (currenty > (_root.rootymax / 10)) {
_root.hide1t = getTimer();
_root.hide1b = "false";
setProperty("_root.player", _alpha , "40");
_root.player._y = currenty;
_root.player.gotoAndPlay("rr");
_root.player.man0.gotoAndPlay(1);
}
}
Symbol 670 MovieClip Frame 1
!!!ERROR
Symbol 670 MovieClip Frame 2
_root.player._y = -50;
if (_root.bulletlastlevel != "") {
_root.manbullet = _root.bulletlastlevel;
_root.bulletlastlevel = "";
} else {
_root.manbullet = _root.defmanbullet;
}
if (_root.bpluslastlevel != 0) {
_root.bspeedplus = _root.bpluslastlevel;
_root.bpluslastlevel = 0;
} else {
_root.bspeedplus = 1;
}
man0.gotoAndPlay("yinshen");
Symbol 670 MovieClip Frame 38
var speed = (_root.speed1 + 2);
if (_root.deadzone1 == false) {
if (Key.isDown(_root.ll1) && (!Key.isDown(_root.rr1))) {
_x = (_x - speed);
gotoAndPlay (40);
}
if (Key.isDown(_root.rr1) && (!Key.isDown(_root.ll1))) {
_x = (_x + speed);
gotoAndPlay (38);
}
}
Symbol 670 MovieClip Frame 39
!!!ERROR
Symbol 670 MovieClip Frame 40
var speed = (_root.speed1 + 2);
if (_root.deadzone1 == false) {
if (Key.isDown(_root.ll1) && (!Key.isDown(_root.rr1))) {
_x = (_x - speed);
gotoAndPlay (40);
}
if (Key.isDown(_root.rr1) && (!Key.isDown(_root.ll1))) {
_x = (_x + speed);
gotoAndPlay (38);
}
}
Symbol 670 MovieClip Frame 41
!!!ERROR
Symbol 670 MovieClip Frame 42
!!!ERROR
Symbol 677 MovieClip Frame 1
!!!ERROR
Symbol 677 MovieClip Frame 22
!!!ERROR
Symbol 677 MovieClip Frame 40
!!!ERROR
Symbol 677 MovieClip Frame 61
!!!ERROR
Symbol 677 MovieClip Frame 84
!!!ERROR
Symbol 677 MovieClip Frame 105
!!!ERROR
Symbol 677 MovieClip Frame 106
!!!ERROR
Symbol 677 MovieClip Frame 118
!!!ERROR
Symbol 679 MovieClip Frame 1
!!!ERROR
Symbol 679 MovieClip Frame 5
_parent._parent.mybulletsound.gotoAndPlay("hit");
Symbol 679 MovieClip Frame 9
!!!ERROR
Symbol 679 MovieClip Frame 10
_parent._parent.existbullet--;
stop();
_parent._parent.removeMovieClip();
Symbol 682 MovieClip Frame 1
!!!ERROR
Symbol 682 MovieClip Frame 5
_parent._parent.mybulletsound.gotoAndPlay("hit");
Symbol 682 MovieClip Frame 9
!!!ERROR
Symbol 682 MovieClip Frame 10
_parent._parent.existbullet--;
stop();
_parent._parent.removeMovieClip();
Symbol 687 MovieClip Frame 1
!!!ERROR
Symbol 687 MovieClip Frame 6
_parent._parent.mybulletsound.gotoAndPlay("hit");
Symbol 687 MovieClip Frame 10
!!!ERROR
Symbol 687 MovieClip Frame 11
_parent._parent.existbullet--;
stop();
_parent._parent.removeMovieClip();
Symbol 690 MovieClip Frame 1
!!!ERROR
Symbol 690 MovieClip Frame 6
_parent._parent.mybulletsound.gotoAndPlay("hit");
Symbol 690 MovieClip Frame 10
!!!ERROR
Symbol 690 MovieClip Frame 11
_parent._parent.existbullet--;
stop();
_parent._parent.removeMovieClip();
Symbol 693 MovieClip Frame 1
!!!ERROR
Symbol 693 MovieClip Frame 6
!!!ERROR
Symbol 693 MovieClip Frame 10
!!!ERROR
Symbol 693 MovieClip Frame 11
_parent._parent.existbullet--;
stop();
_parent._parent.removeMovieClip();
Symbol 694 MovieClip Frame 1
!!!ERROR
Instance of Symbol 679 MovieClip "bulletsingle" in Symbol 694 MovieClip Frame 1
onClipEvent (load) {
var speed = _root.bulletspeed;
var initialx = _x;
var initialy = _y;
gotoAndStop (1);
var dead = false;
var xmax = _root.rootxmax;
var xmin = 0;
var ymax = _root.rootymax;
var xmin = 0;
if (_parent._name != "bulletinside") {
free = true;
s = new Sound(_parent._parent.mybulletsound);
_parent._parent.mybulletsound.gotoAndPlay("N");
} else {
free = false;
_parent._visible = false;
}
}
onClipEvent (enterFrame) {
if ((dead == false) && (free == true)) {
_x = (_x + speed);
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
currenty = point.y;
if ((((currentx >= xmax) || (currentx <= xmin)) || (currenty >= ymax)) || (currenty <= xmin)) {
dead = true;
this.gotoAndPlay("end");
}
pan = ((currentx / xmax) * 200) - 100;
s.setPan(pan);
}
}
Symbol 694 MovieClip Frame 4
!!!ERROR
Instance of Symbol 682 MovieClip "bulletsingle" in Symbol 694 MovieClip Frame 4
onClipEvent (load) {
var speed = _root.bulletspeed;
var initialx = _x;
var initialy = _y;
gotoAndStop (1);
var dead = false;
var xmax = _root.rootxmax;
var xmin = 0;
var ymax = _root.rootymax;
var xmin = 0;
if (_parent._name != "bulletinside") {
free = true;
s = new Sound(_parent._parent.mybulletsound);
_parent._parent.mybulletsound.gotoAndPlay("M");
} else {
free = false;
_parent._visible = false;
}
}
onClipEvent (enterFrame) {
if ((dead == false) && (free == true)) {
_x = (_x + speed);
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
currenty = point.y;
if ((((currentx >= xmax) || (currentx <= xmin)) || (currenty >= ymax)) || (currenty <= xmin)) {
dead = true;
this.gotoAndPlay("end");
}
pan = ((currentx / xmax) * 200) - 100;
s.setPan(pan);
}
}
Symbol 694 MovieClip Frame 8
!!!ERROR
Instance of Symbol 687 MovieClip "bulletsingle" in Symbol 694 MovieClip Frame 8
onClipEvent (load) {
var speed = _root.bulletspeed;
var initialx = _x;
var initialy = _y;
gotoAndStop (1);
var dead = false;
var xmax = _root.rootxmax;
var xmin = 0;
var ymax = _root.rootymax;
var xmin = 0;
if (_parent._name != "bulletinside") {
free = true;
s = new Sound(_parent._parent.mybulletsound);
_parent._parent.mybulletsound.gotoAndPlay("F");
} else {
free = false;
_parent._visible = false;
}
}
onClipEvent (enterFrame) {
if ((dead == false) && (free == true)) {
_x = (_x + speed);
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
currenty = point.y;
if ((((currentx >= xmax) || (currentx <= xmin)) || (currenty >= ymax)) || (currenty <= xmin)) {
dead = true;
this.gotoAndPlay("end");
}
pan = ((currentx / xmax) * 200) - 100;
s.setPan(pan);
}
}
Symbol 694 MovieClip Frame 12
!!!ERROR
Instance of Symbol 690 MovieClip "bulletsingle" in Symbol 694 MovieClip Frame 12
onClipEvent (load) {
var speed = _root.bulletspeed;
var initialx = _x;
var initialy = _y;
gotoAndStop (1);
var dead = false;
var xmax = _root.rootxmax;
var xmin = 0;
var ymax = _root.rootymax;
var xmin = 0;
if (_parent._name != "bulletinside") {
free = true;
s = new Sound(_parent._parent.mybulletsound);
_parent._parent.mybulletsound.gotoAndPlay("L");
} else {
free = false;
_parent._visible = false;
}
}
onClipEvent (enterFrame) {
if ((dead == false) && (free == true)) {
_x = (_x + speed);
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
currenty = point.y;
if ((((currentx >= xmax) || (currentx <= xmin)) || (currenty >= ymax)) || (currenty <= xmin)) {
dead = true;
this.gotoAndPlay("end");
}
pan = ((currentx / xmax) * 200) - 100;
s.setPan(pan);
}
}
Symbol 694 MovieClip Frame 16
!!!ERROR
Instance of Symbol 693 MovieClip "bulletsingle" in Symbol 694 MovieClip Frame 16
onClipEvent (load) {
var speed = _root.bulletspeed;
var initialx = _x;
var initialy = _y;
gotoAndStop (1);
var dead = false;
var xmax = _root.rootxmax;
var xmin = 0;
var ymax = _root.rootymax;
var xmin = 0;
if (_parent._name != "bulletinside") {
free = true;
s = new Sound(_parent._parent.mybulletsound);
_parent._parent.mybulletsound.gotoAndPlay("S");
} else {
free = false;
_parent._visible = false;
}
}
onClipEvent (enterFrame) {
if ((dead == false) && (free == true)) {
_x = (_x + speed);
_xscale = (_xscale + 4);
_yscale = (_yscale + 6);
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
currenty = point.y;
if ((((currentx >= xmax) || (currentx <= xmin)) || (currenty >= ymax)) || (currenty <= xmin)) {
dead = true;
this.gotoAndPlay("end");
}
pan = ((currentx / xmax) * 200) - 100;
s.setPan(pan);
}
}
Symbol 695 MovieClip Frame 1
!!!ERROR
Instance of Symbol 694 MovieClip "bulletinside" in Symbol 695 MovieClip Frame 1
onClipEvent (load) {
if (_root.manbullet == "N") {
_root.bulletspeed = Math.round(25 * _root.bspeedplus);
_parent.interval = Math.round(3 / _root.bspeedplus);
_parent.maxexistbullet = Math.round(6 * _root.bspeedplus);
_parent.maxbullet = Math.round(_parent.maxexistbullet * 2);
this.gotoAndStop("n");
}
if (_root.manbullet == "M") {
_root.bulletspeed = Math.round(30 * _root.bspeedplus);
_parent.interval = Math.round(3 / _root.bspeedplus);
_parent.maxexistbullet = Math.round(8 * _root.bspeedplus);
_parent.maxbullet = Math.round(_parent.maxexistbullet * 2);
this.gotoAndStop("m");
}
if (_root.manbullet == "F") {
_root.bulletspeed = Math.round(20 * _root.bspeedplus);
_parent.interval = Math.round(2.4 / _root.bspeedplus);
_parent.maxexistbullet = Math.round(9 * _root.bspeedplus);
_parent.maxbullet = Math.round(_parent.maxexistbullet * 2);
this.gotoAndStop("f");
}
if (_root.manbullet == "S") {
_root.bulletspeed = Math.round(30 * _root.bspeedplus);
_parent.interval = Math.round(3 / _root.bspeedplus);
_parent.maxexistbullet = Math.round(12 * _root.bspeedplus);
_parent.maxbullet = Math.round(_parent.maxexistbullet * 2);
this.gotoAndStop("s");
}
if (_root.manbullet == "L") {
_root.bulletspeed = Math.round(35 * _root.bspeedplus);
_parent.interval = Math.round(2.2 / _root.bspeedplus);
_parent.maxexistbullet = Math.round(7 * _root.bspeedplus);
_parent.maxbullet = Math.round(_parent.maxexistbullet * 2);
this.gotoAndStop("l");
}
}
Symbol 695 MovieClip Frame 4
!!!ERROR
Instance of Symbol 26 MovieClip "flake" in Symbol 696 MovieClip Frame 1
onClipEvent (load) {
var yspeed = (_root.snowspeed + random(5));
var yspeed1 = ((yspeed * _parent._xscale) / 100);
var yspeedc = yspeed1;
var hitmaxscale = 90;
var hitminscale = 50;
var speeda = (yspeed1 / 3);
var ifhit = false;
var ifhited = false;
var rotation = random(60);
var xmax = _root.rootxmax;
var xmin = 0;
var ymax = _root.rootymax;
var xmin = 0;
if (_parent._name != "flakedup") {
free = true;
} else {
free = false;
_parent._visible = false;
}
}
onClipEvent (enterFrame) {
if (free == true) {
_y = (_y + yspeedc);
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
currenty = point.y;
if ((((currentx >= xmax) || (currentx <= xmin)) || (currenty >= ymax)) || (currenty <= xmin)) {
_parent._parent.existflake--;
removeMovieClip(_parent);
}
}
}
Symbol 701 MovieClip Frame 1
function callback9() {
if ((rankurl != "http://musicary.com/FMX/") && (_root.loadattempt < 3)) {
score = Number(_root.score);
thisver = Number(_root.thisver);
life = Number(_root.life);
time = Number(_root.time);
levelselect = Number(_root.levelselect);
oncheat = _root.oncheat;
defmanbullet = _root.defmanbullet;
firstmax = "true";
prolang = _root.prolang;
_root.loadattempt++;
if (_root.prolang == "e") {
_root.loadindi = ("Connecting(" + _root.loadattempt) + "/3)...";
}
if (_root.prolang == "c") {
_root.loadindi = ("\u6B63\u5728\u8FDE\u63A5(" + _root.loadattempt) + "/3)...";
}
loadMovie ((_root.rankurl + "cssc26.sco?thisver=2.6&firstmax=true&prolang=") + prolang, this);
} else {
if (rankurl == "http://musicary.com/FMX/") {
_root.loadindi = "";
} else {
if (_root.prolang == "e") {
_root.loadindi = "Server busy.";
}
if (_root.prolang == "c") {
_root.loadindi = "\u670D\u52A1\u5668\u5FD9\u3002";
}
}
_parent.play();
clearInterval(_root.intervalID9);
}
}
clearInterval(_root.intervalID7);
clearInterval(_root.intervalID8);
clearInterval(_root.intervalID9);
score = Number(_root.score);
thisver = Number(_root.thisver);
life = Number(_root.life);
time = Number(_root.time);
levelselect = Number(_root.levelselect);
oncheat = _root.oncheat;
defmanbullet = _root.defmanbullet;
firstmax = "true";
prolang = _root.prolang;
if (_root.prolang == "e") {
_root.loadindi = "Connecting(1/3)...";
}
if (_root.prolang == "c") {
_root.loadindi = "\u6B63\u5728\u8FDE\u63A5(1/3)...";
}
_root.loadattempt = 1;
loadMovie ((_root.rankurl + "cssc26.sco?thisver=2.6&firstmax=true&prolang=") + prolang, this);
_root.intervalID9 = setInterval(callback9, 7000);
Symbol 704 Button
on (release) {
!!!ERROR
Symbol 781 MovieClip Frame 1
this.onEnterFrame = function () {
xoffset = 5;
thisxmin = this.getBounds(_root).xMin;
thisxmax = this.getBounds(_root).xMax;
if ((thisxmin <= (_root.rootxmax - xoffset)) && (thisxmax >= xoffset)) {
if (loaded1 != true) {
loaded1 = true;
_visible = true;
}
} else {
loaded1 = false;
_visible = false;
}
};
Instance of Symbol 782 MovieClip in Symbol 786 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 303 MovieClip in Symbol 786 MovieClip Frame 1
onClipEvent (load) {
var x0 = this._x;
var y0 = this._y;
point = new object();
point.x = x0;
point.y = y0;
_parent.localToGlobal(point);
var xr0 = point.x;
var yr0 = point.y;
}
onClipEvent (enterFrame) {
point = new object();
point.x = xr0;
point.y = yr0;
_parent.globalToLocal(point);
_x = point.x;
}
Symbol 797 MovieClip Frame 1
!!!ERROR
Symbol 798 MovieClip Frame 1
!!!ERROR
Symbol 798 MovieClip Frame 6
!!!ERROR
Symbol 798 MovieClip Frame 14
!!!ERROR
Instance of Symbol 798 MovieClip "bulletsingle" in Symbol 799 MovieClip Frame 1
onClipEvent (load) {
var speed = (_root.discspeed + _root.diff);
gotoAndStop (1);
var dead = false;
var xmax = _root.rootxmax;
var xmin = 0;
var ymax = _root.rootymax;
var xmin = 0;
var xoffset = 60;
var yoffset = 125;
var hitedgetime = 0;
if (_parent._name != "bulletinside") {
free = true;
s = new Sound(_parent);
s.attachSound("discfly");
s.start(0, 80);
} else {
free = false;
_parent._visible = false;
}
}
onClipEvent (enterFrame) {
if ((dead == false) && (free == true)) {
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
currenty = point.y;
if (hitedgetime == 0) {
_x = (_x - speed);
}
if ((hitedgetime == 0) && (currentx < (xmin + xoffset))) {
hitedgetime = 1;
}
if (hitedgetime == 1) {
_y = (_y + speed);
}
if ((hitedgetime == 1) && (currenty > (ymax - yoffset))) {
hitedgetime = 2;
}
if (hitedgetime == 2) {
_x = (_x + speed);
}
if ((((currentx >= xmax) || (currentx <= xmin)) || (currenty >= ymax)) || (currenty <= xmin)) {
dead = true;
_parent._parent.existbullet--;
s.stop("discfly");
this.gotoAndPlay("end");
}
}
var i = 1;
while (i <= _root.newbullet.maxbullet) {
var bulletname = (("_root.newbullet.bulletinside" + i) + ".bulletsingle");
if (disc.hitTest(bulletname)) {
tellTarget (bulletname) {
if (dead == false) {
dead = true;
gotoAndPlay ("end");
}
};
dead = true;
_root.score = _root.score + _root.bossdiscscore;
_parent._parent.existbullet--;
s.stop("discfly");
this.gotoAndPlay("bump");
break;
}
i++;
}
if (_root.deadzone1 == false) {
if (hitTest(_root.player.man0.man.heart)) {
if (_root.hide1b == "true") {
_root.player.man0.gotoAndPlay("dead");
_root.deadzone1 = true;
}
}
}
if (_parent._parent._parent.dead == true) {
dead = true;
_parent._parent.existbullet--;
s.stop("discfly");
this.gotoAndPlay("bump1");
}
pan = ((currentx / _root.rootxmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 10;
s.setPan(pan);
s.setVolume(vol);
}
Symbol 801 MovieClip Frame 1
!!!ERROR
Symbol 801 MovieClip Frame 6
!!!ERROR
Symbol 801 MovieClip Frame 13
!!!ERROR
Instance of Symbol 801 MovieClip "bulletsingle" in Symbol 802 MovieClip Frame 1
onClipEvent (load) {
var speed = (_root.discspeed + _root.diff);
gotoAndStop (1);
var dead = false;
var xmax = _root.rootxmax;
var xmin = 0;
var ymax = _root.rootymax;
var xmin = 0;
var xoffset = 60;
var yoffset = 125;
var hitedgetime = 0;
if (_parent._name != "bulletinside") {
free = true;
s = new Sound(_parent);
s.attachSound("discfly");
s.start(0, 80);
} else {
free = false;
_parent._visible = false;
}
}
onClipEvent (enterFrame) {
if ((dead == false) && (free == true)) {
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
currenty = point.y;
if (hitedgetime == 0) {
_x = (_x + speed);
}
if ((hitedgetime == 0) && (currentx > (xmax - xoffset))) {
hitedgetime = 1;
}
if (hitedgetime == 1) {
_y = (_y + speed);
}
if ((hitedgetime == 1) && (currenty > (ymax - yoffset))) {
hitedgetime = 2;
}
if (hitedgetime == 2) {
_x = (_x - speed);
}
if ((((currentx >= xmax) || (currentx <= xmin)) || (currenty >= ymax)) || (currenty <= xmin)) {
dead = true;
_parent._parent.existbullet--;
s.stop("discfly");
this.gotoAndPlay("end");
}
}
var i = 1;
while (i <= _root.newbullet.maxbullet) {
var bulletname = (("_root.newbullet.bulletinside" + i) + ".bulletsingle");
if (disc.hitTest(bulletname)) {
tellTarget (bulletname) {
if (dead == false) {
dead = true;
gotoAndPlay ("end");
}
};
dead = true;
_root.score = _root.score + _root.bossdiscscore;
_parent._parent.existbullet--;
s.stop("discfly");
this.gotoAndPlay("bump");
break;
}
i++;
}
if (_root.deadzone1 == false) {
if (hitTest(_root.player.man0.man.heart)) {
if (_root.hide1b == "true") {
_root.player.man0.gotoAndPlay("dead");
_root.deadzone1 = true;
}
}
}
if (_parent._parent._parent.dead == true) {
dead = true;
_parent._parent.existbullet--;
s.stop("discfly");
this.gotoAndPlay("bump1");
}
pan = ((currentx / _root.rootxmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 10;
s.setPan(pan);
s.setVolume(vol);
}
Symbol 817 MovieClip Frame 1
!!!ERROR
Symbol 817 MovieClip Frame 11
!!!ERROR
Symbol 820 MovieClip Frame 5
!!!ERROR
Symbol 821 MovieClip Frame 3
!!!ERROR
Symbol 821 MovieClip Frame 4
!!!ERROR
Symbol 821 MovieClip Frame 5
!!!ERROR
Symbol 821 MovieClip Frame 6
!!!ERROR
Symbol 821 MovieClip Frame 7
!!!ERROR
Symbol 821 MovieClip Frame 8
!!!ERROR
Symbol 821 MovieClip Frame 10
!!!ERROR
Instance of Symbol 821 MovieClip "bulletsingle" in Symbol 822 MovieClip Frame 1
onClipEvent (load) {
var yhitoffset = 25;
var yoffset = 50;
var xmax = _root.rootxmax;
var xmin = 0;
var ymax = (_root.rootymax - yoffset);
var xmin = 0;
var yinc = _root.bossbulletspeed;
var g = 4;
var landObject = null;
var j = 0;
var dead = false;
s = new Sound(this);
if (_parent._name != "bulletinside") {
free = true;
this.gotoAndPlay("drop");
} else {
stop();
free = false;
s.setVolume(0);
_parent._visible = false;
}
}
onClipEvent (enterFrame) {
if ((free == true) && (dead == false)) {
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
currenty = point.y;
pan = ((currentx / _root.rootxmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
yinc = yinc + g;
_y = (_y + yinc);
for (var i in _root.back.mask.maska) {
if (hitTest(_root.back.mask.maska[i])) {
var landObject = _root.back.mask.maska[i];
var newy = (landObject.getBounds(_parent).yMin + yhitoffset);
_y = newy;
dead = true;
_parent._parent.existbullet--;
this.gotoAndPlay("bump");
break;
}
}
var i = 1;
while (i <= _root.newbullet.maxbullet) {
var bulletname = (("_root.newbullet.bulletinside" + i) + ".bulletsingle");
if (hitTest(bulletname)) {
tellTarget (bulletname) {
if (dead == false) {
dead = true;
gotoAndPlay ("end");
}
};
dead = true;
_root.score = _root.score + _root.bossbulletscore;
_parent._parent.existbullet--;
this.gotoAndPlay("bump");
break;
}
i++;
}
if ((((currentx >= xmax) || (currentx <= xmin)) || (currenty >= ymax)) || (currenty <= xmin)) {
dead = true;
_parent._parent.existbullet--;
this.gotoAndPlay("bump");
}
if (_root.deadzone1 == false) {
if (hitTest(_root.player.man0.man.heart)) {
dead = true;
if (_root.hide1b == "true") {
_root.player.man0.gotoAndPlay("dead");
_root.deadzone1 = true;
}
this.gotoAndPlay("bump");
}
}
if (_parent._parent._parent.dead == true) {
dead = true;
_parent._parent.existbullet--;
this.gotoAndPlay("bump");
}
}
}
Symbol 824 MovieClip Frame 1
!!!ERROR
Instance of Symbol 446 MovieClip "square" in Symbol 824 MovieClip Frame 1
onClipEvent (load) {
var xoffset = -40;
var live = false;
var life = Math.round(_root.bosslife * (1 + (_root.diff / 4)));
_parent.fired = false;
var red = 100;
var green = 100;
var blue = 100;
var red1 = 0;
var green1 = 0;
var blue1 = 0;
_parent.dead = false;
s = new Sound(_parent._parent.bulletcsound);
}
onClipEvent (enterFrame) {
if (_parent.dead == false) {
point = new object();
point.x = _parent._x;
point.y = _parent._y;
_parent._parent.localToGlobal(point);
thisx = point.x;
thisy = point.y;
if (thisx <= (_root.rootxmax + (xoffset * 2))) {
_root.back.direnmother.maxexistdiren = 0;
_root.flakeall.maxexistflake = 0;
}
if ((thisx <= (-xoffset)) || (thisx >= (_root.rootxmax + xoffset))) {
_parent.gotoAndStop("rest");
_parent._visible = false;
live = false;
} else if (live == false) {
if (_root.back._x < (_root.backxmin + 30)) {
_parent.gotoAndStop("emerge");
_parent._visible = true;
live = true;
}
}
if (live == true) {
var i = 1;
while (i <= _root.newbullet.maxbullet) {
var bulletname = (("_root.newbullet.bulletinside" + i) + ".bulletsingle");
if (_parent.bossheart.hitTest(bulletname)) {
if (life > 0) {
tellTarget (bulletname) {
if (dead == false) {
dead = true;
gotoAndPlay ("hit");
}
};
life--;
_root.score = _root.score + _root.gunhitscore;
red1 = red1 + 0.2;
green1 = green1 - 0.1;
blue1 = green1 - 0.1;
myColor = new Color(_parent.bossbody);
myColorTransform = new Object();
myColorTransform.ra = red;
myColorTransform.rb = red1;
myColorTransform.ga = green;
myColorTransform.gb = green1;
myColorTransform.ba = blue;
myColorTransform.bb = blue1;
myColorTransform.aa = 100;
myColorTransform.ab = 0;
myColor.setTransform(myColorTransform);
} else {
tellTarget (bulletname) {
if (dead == false) {
dead = true;
gotoAndPlay ("end");
}
};
stopAllSounds();
_parent.dead = true;
_root.score = _root.score + _root.bossscore;
_parent._parent.bulletcsound.gotoAndPlay("bossdead");
_parent.gotoAndPlay("dead");
}
}
i++;
}
}
}
}
Instance of Symbol 800 MovieClip "bossdisc1" in Symbol 824 MovieClip Frame 7
onClipEvent (load) {
var interval = Math.round(((10 - (_root.diff / 2)) * 2.3) + random(3));
var existbullet = 0;
var maxexistbullet = 10;
var maxbullet = (maxexistbullet * 2);
var i = interval;
var k = 0;
}
onClipEvent (enterFrame) {
if (i == interval) {
i = 0;
if ((_parent.fired1 == true) && (existbullet < maxexistbullet)) {
k++;
existbullet++;
duplicateMovieClip (bulletinside, "bulletinside" + k, k);
if (k >= maxbullet) {
k = 0;
}
}
} else {
i++;
}
if (i > interval) {
i = 0;
}
}
Instance of Symbol 803 MovieClip "bossdisc2" in Symbol 824 MovieClip Frame 7
onClipEvent (load) {
var interval = Math.round(((10 - (_root.diff / 2)) * 2.3) + random(3));
var existbullet = 0;
var maxexistbullet = 10;
var maxbullet = (maxexistbullet * 2);
var i = interval;
var k = 0;
}
onClipEvent (enterFrame) {
if (i == interval) {
i = 0;
if ((_parent.fired2 == true) && (existbullet < maxexistbullet)) {
k++;
existbullet++;
duplicateMovieClip (bulletinside, "bulletinside" + k, k);
if (k >= maxbullet) {
k = 0;
}
}
} else {
i++;
}
if (i > interval) {
i = 0;
}
}
Symbol 824 MovieClip Frame 8
bossbody.gotoAndStop("close");
fired = false;
xx = xoffset1 + random((_root.rootxmax - xoffset1) - xoffset);
yy = yy + yoffset;
if (yy > (_root.rootymax - (yoffset * 4))) {
yy = yoffset;
}
point = new object();
point.x = bossdisc1._x;
point.y = bossdisc1._y;
localToGlobal(point);
xtemp = point.x;
ytemp = point.y;
point = new object();
point.x = bossdisc2._x;
point.y = bossdisc2._y;
localToGlobal(point);
xtemp2 = point.x;
ytemp2 = point.y;
point = new object();
point.x = xx;
point.y = yy;
_parent.globalToLocal(point);
_x = point.x;
_y = point.y;
point = new object();
point.x = bossdisc1._x;
point.y = bossdisc1._y;
localToGlobal(point);
xnew = point.x;
ynew = point.y;
point = new object();
point.x = xtemp;
point.y = ytemp;
globalToLocal(point);
bossdisc1._x = point.x;
bossdisc1._y = point.y;
point = new object();
point.x = bossdisc2._x;
point.y = bossdisc2._y;
localToGlobal(point);
xnew2 = point.x;
ynew2 = point.y;
point = new object();
point.x = xtemp2;
point.y = ytemp2;
globalToLocal(point);
bossdisc2._x = point.x;
bossdisc2._y = point.y;
stop();
Instance of Symbol 817 MovieClip "bossbody" in Symbol 824 MovieClip Frame 8
onClipEvent (load) {
alpha = 0;
myColor = new Color(this);
myColorTransform = new Object();
myColorTransform.ra = _parent.square.red;
myColorTransform.rb = _parent.square.red1;
myColorTransform.ga = _parent.square.green;
myColorTransform.gb = _parent.square.green1;
myColorTransform.ba = _parent.square.blue;
myColorTransform.bb = _parent.square.blue1;
myColorTransform.aa = 0;
myColorTransform.ab = 0;
myColor.setTransform(myColorTransform);
}
onClipEvent (enterFrame) {
alpha = alpha + 4;
myColor = new Color(this);
myColorTransform = new Object();
myColorTransform.ra = _parent.square.red;
myColorTransform.rb = _parent.square.red1;
myColorTransform.ga = _parent.square.green;
myColorTransform.gb = _parent.square.green1;
myColorTransform.ba = _parent.square.blue;
myColorTransform.bb = _parent.square.blue1;
myColorTransform.aa = alpha;
myColorTransform.ab = 0;
myColor.setTransform(myColorTransform);
if (alpha >= 100) {
_parent.play();
}
}
Instance of Symbol 823 MovieClip "bossbullet" in Symbol 824 MovieClip Frame 9
onClipEvent (load) {
var kstart = 50;
var interval = Math.round(((10 - (_root.diff / 2)) * 1.4) + random(3));
var existbullet = 0;
var maxexistbullet = 10;
var maxbullet = maxexistbullet;
var i = interval;
var k = 0;
}
onClipEvent (enterFrame) {
if (i == interval) {
i = 0;
if ((_parent.fired == true) && (existbullet < maxexistbullet)) {
k++;
existbullet++;
duplicateMovieClip (bulletinside, "bulletinside" + k, k);
if (k >= maxbullet) {
k = 0;
}
}
} else {
i++;
}
if (i > interval) {
i = 0;
}
}
Symbol 824 MovieClip Frame 12
!!!ERROR
Instance of Symbol 817 MovieClip "bossbody" in Symbol 824 MovieClip Frame 12
onClipEvent (load) {
myColor = new Color(this);
myColorTransform = new Object();
myColorTransform.ra = _parent.square.red;
myColorTransform.rb = _parent.square.red1;
myColorTransform.ga = _parent.square.green;
myColorTransform.gb = _parent.square.green1;
myColorTransform.ba = _parent.square.blue;
myColorTransform.bb = _parent.square.blue1;
myColorTransform.aa = 100;
myColorTransform.ab = 0;
myColor.setTransform(myColorTransform);
}
Symbol 824 MovieClip Frame 13
!!!ERROR
Symbol 824 MovieClip Frame 15
point = new object();
point.x = xnew;
point.y = ynew;
globalToLocal(point);
bossdisc1._x = point.x;
bossdisc1._y = point.y;
fired1 = true;
Symbol 824 MovieClip Frame 17
!!!ERROR
Symbol 824 MovieClip Frame 19
point = new object();
point.x = xnew2;
point.y = ynew2;
globalToLocal(point);
bossdisc2._x = point.x;
bossdisc2._y = point.y;
fired2 = true;
Symbol 824 MovieClip Frame 86
!!!ERROR
Symbol 824 MovieClip Frame 88
!!!ERROR
Symbol 824 MovieClip Frame 90
!!!ERROR
Symbol 824 MovieClip Frame 92
!!!ERROR
Symbol 824 MovieClip Frame 94
!!!ERROR
Instance of Symbol 817 MovieClip "bossbody" in Symbol 824 MovieClip Frame 94
onClipEvent (load) {
alpha = 100;
myColor = new Color(this);
myColorTransform = new Object();
myColorTransform.ra = _parent.square.red;
myColorTransform.rb = _parent.square.red1;
myColorTransform.ga = _parent.square.green;
myColorTransform.gb = _parent.square.green1;
myColorTransform.ba = _parent.square.blue;
myColorTransform.bb = _parent.square.blue1;
myColorTransform.aa = alpha;
myColorTransform.ab = 0;
myColor.setTransform(myColorTransform);
}
onClipEvent (enterFrame) {
alpha = alpha - 4;
myColor = new Color(this);
myColorTransform = new Object();
myColorTransform.ra = _parent.square.red;
myColorTransform.rb = _parent.square.red1;
myColorTransform.ga = _parent.square.green;
myColorTransform.gb = _parent.square.green1;
myColorTransform.ba = _parent.square.blue;
myColorTransform.bb = _parent.square.blue1;
myColorTransform.aa = alpha;
myColorTransform.ab = 0;
myColor.setTransform(myColorTransform);
if (alpha <= 0) {
_parent.play();
}
}
Symbol 824 MovieClip Frame 104
!!!ERROR
Instance of Symbol 817 MovieClip "bossbody" in Symbol 824 MovieClip Frame 105
onClipEvent (load) {
alpha = 100;
myColor = new Color(this);
myColorTransform = new Object();
myColorTransform.ra = _parent.square.red;
myColorTransform.rb = _parent.square.red1;
myColorTransform.ga = _parent.square.green;
myColorTransform.gb = _parent.square.green1;
myColorTransform.ba = _parent.square.blue;
myColorTransform.bb = _parent.square.blue1;
myColorTransform.aa = alpha;
myColorTransform.ab = 0;
myColor.setTransform(myColorTransform);
}
onClipEvent (enterFrame) {
alpha = alpha - 5;
myColor = new Color(this);
myColorTransform = new Object();
myColorTransform.ra = _parent.square.red;
myColorTransform.rb = _parent.square.red1;
myColorTransform.ga = _parent.square.green;
myColorTransform.gb = _parent.square.green1;
myColorTransform.ba = _parent.square.blue;
myColorTransform.bb = _parent.square.blue1;
myColorTransform.aa = alpha;
myColorTransform.ab = 0;
myColor.setTransform(myColorTransform);
if (alpha <= 0) {
_parent.play();
}
}
Symbol 824 MovieClip Frame 106
!!!ERROR
Symbol 824 MovieClip Frame 110
!!!ERROR
Symbol 824 MovieClip Frame 142
!!!ERROR
Symbol 824 MovieClip Frame 147
!!!ERROR
Symbol 841 MovieClip Frame 1
!!!ERROR
Symbol 841 MovieClip Frame 19
!!!ERROR
Symbol 842 MovieClip Frame 1
!!!ERROR
Symbol 842 MovieClip Frame 9
!!!ERROR
Symbol 842 MovieClip Frame 10
_parent._parent.existbullet--;
stop();
_parent._parent.removeMovieClip();
Symbol 843 MovieClip Frame 1
!!!ERROR
Instance of Symbol 842 MovieClip "bulletsingle" in Symbol 843 MovieClip Frame 1
onClipEvent (load) {
var speed = _root.direnbulletspeed;
gotoAndStop (1);
var dead = false;
var xmax = _root.rootxmax;
var xmin = 0;
var ymax = _root.rootymax;
var xmin = 0;
if (_parent._name != "bulletinside") {
free = true;
s = new Sound(_parent._parent.mybulletsound);
_parent._parent.mybulletsound.gotoAndPlay("N");
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
pan = ((currentx / xmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
} else {
free = false;
_parent._visible = false;
}
}
onClipEvent (enterFrame) {
if ((dead == false) && (free == true)) {
_x = (_x - speed);
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
currenty = point.y;
if ((((currentx >= xmax) || (currentx <= xmin)) || (currenty >= ymax)) || (currenty <= xmin)) {
dead = true;
this.gotoAndPlay("end");
}
if (_root.deadzone1 == false) {
if (hitTest(_root.player.man0.man.heart)) {
dead = true;
if (_root.hide1b == "true") {
_root.player.man0.gotoAndPlay("dead");
_root.deadzone1 = true;
}
this.gotoAndPlay("hit");
}
}
}
}
Symbol 844 MovieClip Frame 1
!!!ERROR
Instance of Symbol 843 MovieClip "bulletinside" in Symbol 844 MovieClip Frame 1
onClipEvent (load) {
!!!ERROR
Symbol 848 MovieClip Frame 7
!!!ERROR
Symbol 852 MovieClip Frame 1
!!!ERROR
Instance of Symbol 446 MovieClip "square" in Symbol 852 MovieClip Frame 1
onClipEvent (load) {
var xoffset1 = 10;
var xoffset2 = 200;
var live = false;
var life = Math.round(_root.carlife * (1 + (_root.diff / 4)));
var getnear = false;
var getmove = false;
var movespeed = 3;
var stilltime = 100;
var j = 0;
_parent.fired = false;
var red = 100;
var green = 100;
var blue = 100;
var red1 = 0;
var green1 = 0;
var blue1 = 0;
s = new Sound(_parent);
s.attachSound("carmovesound");
_parent.direntemp = _parent._parent.direnmother.maxexistdiren;
}
onClipEvent (enterFrame) {
point = new object();
point.x = _parent.gunheart._x;
point.y = _parent.gunheart._y;
_parent.localToGlobal(point);
thisx = point.x;
thisy = point.y;
if ((thisx <= (_root.rootxmax + (xoffset1 * 15))) && (thisx > (_root.rootxmax + (xoffset1 * 14)))) {
_parent.direntemp = _parent._parent.direnmother.maxexistdiren;
}
if (thisx <= (_root.rootxmax + (xoffset1 * 14))) {
_parent._parent.direnmother.maxexistdiren = 0;
}
if ((thisx <= (-xoffset2)) || (thisx >= (_root.rootxmax + xoffset1))) {
if (thisx <= (-xoffset2)) {
_parent._parent.direnmother.maxexistdiren = _parent.direntemp;
}
s.stop("carmovesound");
_parent.gotoAndStop("rest");
if (thisx <= ((-xoffset2) * 2)) {
_parent.gotoAndStop("realend");
}
live = false;
_parent.fired = false;
_parent._visible = false;
} else {
_parent.gotoAndStop("move");
s.start(0, 100);
_parent._visible = true;
live = true;
_parent.fired = true;
}
if (live == true) {
if (_root.deadzone1 == false) {
if (_parent.carbody.hitTest(_root.player.man0.man.heart)) {
if (_root.hide1b == "true") {
_root.player.man0.gotoAndPlay("dead");
_root.deadzone1 = true;
}
}
}
smart = _root.smarta * 0.95;
var i = 1;
while (i <= _root.newbullet.maxbullet) {
var bulletname = (("_root.newbullet.bulletinside" + i) + ".bulletsingle");
if (_parent.carbody.hitTest(bulletname)) {
if (life > 0) {
tellTarget (bulletname) {
if (dead == false) {
dead = true;
gotoAndPlay ("hit");
}
};
life--;
_root.score = _root.score + _root.gunhitscore;
red1 = red1 + 0.5;
green1 = green1 - 0.3;
blue1 = green1 - 0.3;
myColor = new Color(_parent.carbody);
myColorTransform = new Object();
myColorTransform.ra = red;
myColorTransform.rb = red1;
myColorTransform.ga = green;
myColorTransform.gb = green1;
myColorTransform.ba = blue;
myColorTransform.bb = blue1;
myColorTransform.aa = 100;
myColorTransform.ab = 0;
myColor.setTransform(myColorTransform);
} else {
tellTarget (bulletname) {
if (dead == false) {
dead = true;
gotoAndPlay ("end");
}
};
dead = true;
_root.score = _root.score + _root.carscore;
_parent._parent.direnmother.maxexistdiren = _parent.direntemp;
s.stop("carmovesound");
_parent.gotoAndPlay("dead");
break;
}
}
i++;
}
point = new object();
point.x = _root.player.man0.man._x;
point.y = _root.player.man0.man._y;
_root.player.man0.localToGlobal(point);
tay = point.y;
tax = point.x;
sym = 1;
kk = (tay - thisy) / (tax - thisx);
angle = Math.atan(kk);
angle1 = (angle / (Math.PI/2)) * 90;
if ((thisx > tax) && ((j % 20) == 0)) {
rotation = int(angle1 / smart) * smart;
_parent.gun._rotation = rotation;
}
if (thisx <= tax) {
_parent.gun._rotation = 0;
}
if ((thisx > ((_root.rootxmax / 2) - xoffset1)) && (getnear == false)) {
_parent.gotoAndStop("move");
_parent._x = _parent._x - movespeed;
rotation = 0;
_parent.gun._rotation = rotation;
} else {
getnear = true;
}
if (getnear == true) {
if (j < stilltime) {
_parent.gotoAndStop("still");
s.stop("carmovesound");
j++;
if (j > (stilltime * 0.8)) {
rotation = 0;
_parent.gun._rotation = rotation;
}
} else {
if (getmove == false) {
getmove = true;
s.start(0, 100);
_parent.gotoAndStop("move");
}
_parent._x = _parent._x - movespeed;
rotation = 0;
_parent.gun._rotation = rotation;
if (thisx <= (-xoffset2)) {
_parent._parent.direnmother.maxexistdiren = _parent.direntemp;
}
}
}
}
currentx = thisx;
if (currentx < 0) {
currentx = 0;
}
if (currentx > rootxmax) {
}
pan = ((currentx / _root.rootxmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 10;
s.setPan(pan);
s.setVolume(vol);
}
Instance of Symbol 838 MovieClip "carbody" in Symbol 852 MovieClip Frame 5
onClipEvent (load) {
myColor = new Color(this);
myColorTransform = new Object();
myColorTransform.ra = _parent.square.red;
myColorTransform.rb = _parent.square.red1;
myColorTransform.ga = _parent.square.green;
myColorTransform.gb = _parent.square.green1;
myColorTransform.ba = _parent.square.blue;
myColorTransform.bb = _parent.square.blue1;
myColorTransform.aa = 100;
myColorTransform.ab = 0;
myColor.setTransform(myColorTransform);
}
Instance of Symbol 844 MovieClip "gunmanbullet" in Symbol 852 MovieClip Frame 6
onClipEvent (load) {
interval = Math.round(10 - _root.diff) + random(5);
existbullet = 0;
maxexistbullet = 5;
maxbullet = maxexistbullet * 2;
i = interval;
bandoffset = 120;
k = 0;
}
onClipEvent (enterFrame) {
if (i == interval) {
i = 0;
if ((_parent.fired == true) && (existbullet < maxexistbullet)) {
k++;
existbullet++;
space = new object();
space.x = _parent.gun.gunpoint._x;
space.y = _parent.gun.gunpoint._y;
_parent.gun.localToGlobal(space);
point = new object();
point.x = space.x;
point.y = space.y;
globalToLocal(point);
thisbulletx = point.x;
thisbullety = point.y;
rotation = _parent.square.rotation;
duplicateMovieClip (bulletinside, "bulletinside" + k, k);
setProperty("bulletinside" + k, _x , thisbulletx);
setProperty("bulletinside" + k, _y , thisbullety);
setProperty("bulletinside" + k, _rotation , rotation);
if (k >= maxbullet) {
k = 0;
}
}
} else {
i++;
}
if (i > interval) {
i = 0;
}
}
Symbol 852 MovieClip Frame 7
!!!ERROR
Symbol 852 MovieClip Frame 13
!!!ERROR
Instance of Symbol 850 MovieClip "carbody" in Symbol 852 MovieClip Frame 13
onClipEvent (load) {
myColor = new Color(this);
myColorTransform = new Object();
myColorTransform.ra = _parent.square.red;
myColorTransform.rb = _parent.square.red1;
myColorTransform.ga = _parent.square.green;
myColorTransform.gb = _parent.square.green1;
myColorTransform.ba = _parent.square.blue;
myColorTransform.bb = _parent.square.blue1;
myColorTransform.aa = 100;
myColorTransform.ab = 0;
myColor.setTransform(myColorTransform);
}
Symbol 852 MovieClip Frame 18
!!!ERROR
Symbol 852 MovieClip Frame 19
!!!ERROR
Symbol 852 MovieClip Frame 20
!!!ERROR
Symbol 852 MovieClip Frame 21
!!!ERROR
Symbol 852 MovieClip Frame 22
!!!ERROR
Symbol 852 MovieClip Frame 23
!!!ERROR
Symbol 852 MovieClip Frame 25
!!!ERROR
Symbol 852 MovieClip Frame 35
!!!ERROR
Symbol 857 MovieClip Frame 1
!!!ERROR
Symbol 859 MovieClip Frame 1
!!!ERROR
Instance of Symbol 857 MovieClip "liudan" in Symbol 859 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 30);
}
Symbol 859 MovieClip Frame 5
!!!ERROR
Symbol 859 MovieClip Frame 8
!!!ERROR
Symbol 859 MovieClip Frame 9
!!!ERROR
Instance of Symbol 540 MovieClip "baozha" in Symbol 859 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_root.deadzone1 == false) {
if (hitTest(_root.player.man0.man.heart)) {
if (_root.hide1b == "true") {
_root.player.man0.gotoAndPlay("dead");
_root.deadzone1 = true;
}
}
}
}
Symbol 859 MovieClip Frame 11
!!!ERROR
Symbol 859 MovieClip Frame 18
!!!ERROR
Symbol 859 MovieClip Frame 19
!!!ERROR
Symbol 860 MovieClip Frame 1
!!!ERROR
Symbol 869 MovieClip Frame 1
!!!ERROR
Symbol 869 MovieClip Frame 3
!!!ERROR
Symbol 869 MovieClip Frame 6
!!!ERROR
Symbol 870 MovieClip Frame 8
!!!ERROR
Symbol 870 MovieClip Frame 28
!!!ERROR
Symbol 870 MovieClip Frame 29
!!!ERROR
Symbol 870 MovieClip Frame 40
!!!ERROR
Symbol 872 MovieClip Frame 1
!!!ERROR
Symbol 872 MovieClip Frame 11
!!!ERROR
Symbol 872 MovieClip Frame 18
!!!ERROR
Symbol 872 MovieClip Frame 19
_parent._parent.removeMovieClip();
stop();
Symbol 873 MovieClip Frame 1
!!!ERROR
Instance of Symbol 872 MovieClip "bulletsingle1" in Symbol 873 MovieClip Frame 1
onClipEvent (load) {
var landobject = null;
var yinc = -35;
var g = 1.3;
var xg = 0;
var inAir = true;
var inAir = true;
var speed = 0;
gotoAndStop (1);
var dead = false;
var xmax = _root.rootxmax;
var xmin = 0;
var ymax = _root.rootymax;
var xmin = 0;
s = new Sound(_parent.frogbulletsound);
var bumponce = false;
}
onClipEvent (enterFrame) {
if (dead == false) {
if (_root.deadzone1 == false) {
if (hitTest(_root.player.man0.man.heart)) {
dead = true;
if (_root.hide1b == "true") {
_root.player.man0.gotoAndPlay("dead");
_root.deadzone1 = true;
}
this.gotoAndPlay("hit");
}
}
if (inAir == true) {
yinc = yinc + g;
_y = (_y + yinc);
if (yinc > 0) {
if (bumponce == false) {
gotoAndPlay (9);
_parent.frogbulletsound.gotoAndPlay("bump");
bumponce = true;
}
speed = speed - xg;
if (speed <= 0) {
speed = 0;
}
_x = (_x + speed);
for (var i in _root.back.mask.maska) {
if (hitTest(_root.back.mask.maska[i])) {
landObject = _root.back.mask.maska[i];
var newy = landObject.getBounds(_root.back.frogman.bullet).yMin;
_y = newy;
inAir = false;
this.gotoAndPlay("hit");
_parent.frogbulletsound.gotoAndPlay("hit");
break;
}
}
}
}
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
currenty = point.y;
if ((((currentx >= xmax) || (currentx <= xmin)) || (currenty >= ymax)) || (currenty <= xmin)) {
dead = true;
this.gotoAndPlay("end");
}
pan = ((currentx / xmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
}
}
Instance of Symbol 872 MovieClip "bulletsingle2" in Symbol 873 MovieClip Frame 1
onClipEvent (load) {
var landobject = null;
var yinc = -35;
var g = 1.3;
var xg = 1;
var inAir = true;
s = new Sound(_parent.frogbulletsound);
var inAir = true;
var speed = -22;
gotoAndStop (1);
var dead = false;
var xmax = _root.rootxmax;
var xmin = 0;
var ymax = _root.rootymax;
var xmin = 0;
var bumponce = false;
}
onClipEvent (enterFrame) {
if (dead == false) {
if (_root.deadzone1 == false) {
if (hitTest(_root.player.man0.man.heart)) {
dead = true;
if (_root.hide1b == "true") {
_root.player.man0.gotoAndPlay("dead");
_root.deadzone1 = true;
}
this.gotoAndPlay("hit");
}
}
if (inAir == true) {
yinc = yinc + g;
_y = (_y + yinc);
if (yinc > 0) {
if (bumponce == false) {
bumponce = true;
}
speed = speed + xg;
if (speed >= 0) {
speed = 0;
}
_x = (_x + speed);
for (var i in _root.back.mask.maska) {
if (hitTest(_root.back.mask.maska[i])) {
landObject = _root.back.mask.maska[i];
var newy = landObject.getBounds(_root.back.frogman.bullet).yMin;
_y = newy;
inAir = false;
this.gotoAndPlay("hit");
_parent.frogbulletsound.gotoAndPlay("hit");
}
}
}
}
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
currenty = point.y;
if ((((currentx >= xmax) || (currentx <= xmin)) || (currenty >= ymax)) || (currenty <= xmin)) {
dead = true;
this.gotoAndPlay("end");
}
pan = ((currentx / xmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
}
}
Instance of Symbol 872 MovieClip "bulletsingle3" in Symbol 873 MovieClip Frame 1
onClipEvent (load) {
var landobject = null;
var yinc = -35;
var g = 1.3;
var xg = 1;
var inAir = true;
var inAir = true;
var speed = 22;
gotoAndStop (1);
var dead = false;
var xmax = _root.rootxmax;
var xmin = 0;
var ymax = _root.rootymax;
var xmin = 0;
s = new Sound(_parent.frogbulletsound);
var bumponce = false;
}
onClipEvent (enterFrame) {
if (dead == false) {
if (_root.deadzone1 == false) {
if (hitTest(_root.player.man0.man.heart)) {
dead = true;
if (_root.hide1b == "true") {
_root.player.man0.gotoAndPlay("dead");
_root.deadzone1 = true;
}
this.gotoAndPlay("hit");
}
}
if (inAir == true) {
yinc = yinc + g;
_y = (_y + yinc);
if (yinc > 0) {
if (bumponce == false) {
gotoAndPlay (9);
bumponce = true;
}
speed = speed - xg;
if (speed <= 0) {
speed = 0;
}
_x = (_x + speed);
for (var i in _root.back.mask.maska) {
if (hitTest(_root.back.mask.maska[i])) {
landObject = _root.back.mask.maska[i];
var newy = landObject.getBounds(_root.back.frogman.bullet).yMin;
_y = newy;
inAir = false;
this.gotoAndPlay("hit");
_parent.frogbulletsound.gotoAndPlay("hit");
}
}
}
}
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
currenty = point.y;
if ((((currentx >= xmax) || (currentx <= xmin)) || (currenty >= ymax)) || (currenty <= xmin)) {
dead = true;
this.gotoAndPlay("end");
}
pan = ((currentx / xmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
}
}
Symbol 873 MovieClip Frame 87
!!!ERROR
Instance of Symbol 860 MovieClip "square" in Symbol 874 MovieClip Frame 1
onClipEvent (load) {
var xoffset = 10;
var live = false;
s = new Sound(_parent._parent.bulletcsound);
}
onClipEvent (enterFrame) {
point = new object();
point.x = _parent._x;
point.y = _parent._y;
_parent._parent.localToGlobal(point);
thisx = point.x;
thisy = point.y;
if ((thisx <= (-xoffset)) || (thisx >= (_root.rootxmax + xoffset))) {
_parent.gotoAndStop("rest");
_parent._visible = false;
live = false;
} else {
if (live == false) {
_parent.gotoAndPlay("hide");
}
_parent._visible = true;
live = true;
}
if (live == true) {
var i = 1;
while (i <= _root.newbullet.maxbullet) {
var bulletname = (("_root.newbullet.bulletinside" + i) + ".bulletsingle");
if (_parent.man.hitTest(bulletname)) {
tellTarget (bulletname) {
if (dead == false) {
dead = true;
gotoAndPlay ("end");
}
};
_root.score = _root.score + _root.frogmanscore;
pan = ((thisx / _root.rootxmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
_parent._parent.bulletcsound.gotoAndPlay("hit");
_parent.gotoAndPlay("dead");
break;
}
i++;
}
}
}
Symbol 874 MovieClip Frame 5
!!!ERROR
Symbol 874 MovieClip Frame 6
firechance = random(10 - _root.diff);
if (firechance == 1) {
gotoAndPlay (7);
} else {
gotoAndPlay (5);
}
Symbol 874 MovieClip Frame 15
!!!ERROR
Symbol 874 MovieClip Frame 75
!!!ERROR
Symbol 874 MovieClip Frame 127
!!!ERROR
Symbol 875 MovieClip Frame 1
!!!ERROR
Symbol 875 MovieClip Frame 9
!!!ERROR
Symbol 875 MovieClip Frame 10
_parent._parent.existbullet--;
stop();
_parent._parent.removeMovieClip();
Symbol 876 MovieClip Frame 1
!!!ERROR
Instance of Symbol 875 MovieClip "bulletsingle" in Symbol 876 MovieClip Frame 1
onClipEvent (load) {
speed = _root.cannonbulletspeed;
gotoAndStop (1);
dead = false;
xmax = _root.rootxmax;
xmin = 0;
ymax = _root.rootymax;
xmin = 0;
if (_parent._name != "bulletinside") {
free = true;
s = new Sound(this);
} else {
free = false;
_parent._visible = false;
s = new Sound(this);
s.setVolume(0);
}
}
onClipEvent (enterFrame) {
if ((dead == false) && (free == true)) {
_x = (_x - speed);
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
currenty = point.y;
if ((((currentx >= xmax) || (currentx <= xmin)) || (currenty >= ymax)) || (currenty <= xmin)) {
dead = true;
this.gotoAndPlay("end");
}
pan = ((currentx / xmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
if (_root.deadzone1 == false) {
if (hitTest(_root.player.man0.man.heart)) {
dead = true;
if (_root.hide1b == "true") {
_root.player.man0.gotoAndPlay("dead");
_root.deadzone1 = true;
}
this.gotoAndPlay("hit");
}
}
}
}
Symbol 877 MovieClip Frame 1
!!!ERROR
Instance of Symbol 876 MovieClip "bulletinside" in Symbol 877 MovieClip Frame 1
onClipEvent (load) {
!!!ERROR
Symbol 881 MovieClip Frame 1
!!!ERROR
Symbol 881 MovieClip Frame 4
!!!ERROR
Symbol 881 MovieClip Frame 8
!!!ERROR
Symbol 882 MovieClip Frame 1
!!!ERROR
Instance of Symbol 538 MovieClip in Symbol 882 MovieClip Frame 1
onClipEvent (load) {
var xoffset = 10;
var life = Math.round(_root.cannonlife * (1 + (_root.diff / 4)));
var live = false;
s = new Sound(_parent);
}
onClipEvent (enterFrame) {
point = new object();
point.x = _parent._x;
point.y = _parent._y;
_parent._parent.localToGlobal(point);
thisx = point.x;
if ((thisx <= (-xoffset)) || (thisx >= (_root.rootxmax + xoffset))) {
_parent.gotoAndStop("rest");
_parent._visible = false;
live = false;
} else {
_parent.gotoAndStop("start");
_parent._visible = true;
live = true;
}
if (live == true) {
if (_root.deadzone1 == false) {
if (_parent.man.hitTest(_root.player.man0.man.heart)) {
if (_root.hide1b == "true") {
_root.player.man0.gotoAndPlay("dead");
_root.deadzone1 = true;
}
}
}
var i = 1;
while (i <= _root.newbullet.maxbullet) {
var bulletname = (("_root.newbullet.bulletinside" + i) + ".bulletsingle");
if (_parent.man.hitTest(bulletname)) {
pan = ((thisx / _root.rootxmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
if (life > 0) {
tellTarget (bulletname) {
if (dead == false) {
dead = true;
gotoAndPlay ("hit");
}
};
_root.score = _root.score + _root.gunhitscore;
life = life - 1;
} else {
tellTarget (bulletname) {
if (dead == false) {
dead = true;
gotoAndPlay ("end");
}
};
_root.score = _root.score + _root.cannonscore;
_parent._parent.bulletcsound.gotoAndPlay("hit");
_parent.gotoAndPlay("dead");
break;
}
}
i++;
}
}
}
Instance of Symbol 877 MovieClip "cannonbullet" in Symbol 882 MovieClip Frame 4
onClipEvent (load) {
interval = Math.round(((10 - (_root.diff / 2)) + random(2)) * 2.5);
existbullet = 0;
maxexistbullet = 5;
maxbullet = 10;
i = interval;
bandoffset = 120;
k = 0;
}
onClipEvent (enterFrame) {
if (i == interval) {
i = 0;
if ((_parent.fired == true) && (existbullet < maxexistbullet)) {
k++;
existbullet++;
duplicateMovieClip (bulletinside, "bulletinside" + k, k);
_parent.man.gotoAndPlay("fire");
if (k >= maxbullet) {
k = 0;
}
}
} else {
i++;
}
if (i > interval) {
i = 0;
}
}
Symbol 882 MovieClip Frame 5
!!!ERROR
Symbol 882 MovieClip Frame 10
!!!ERROR
Symbol 882 MovieClip Frame 34
!!!ERROR
Symbol 907 MovieClip Frame 1
!!!ERROR
Symbol 907 MovieClip Frame 17
!!!ERROR
Symbol 907 MovieClip Frame 29
!!!ERROR
Symbol 907 MovieClip Frame 32
!!!ERROR
Symbol 907 MovieClip Frame 34
!!!ERROR
Symbol 907 MovieClip Frame 61
!!!ERROR
Instance of Symbol 888 MovieClip "words" in Symbol 908 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
if (_root.prolang == "e") {
this.gotoAndStop("e");
}
if (_root.prolang == "c") {
this.gotoAndStop("c");
}
}
Instance of Symbol 907 MovieClip "hubi" in Symbol 908 MovieClip Frame 1
onClipEvent (load) {
!!!ERROR
Symbol 915 Button
on (release) {
!!!ERROR
Instance of Symbol 913 MovieClip in Symbol 917 MovieClip Frame 1
onClipEvent (load) {
if (_root.prolang == "e") {
this.gotoAndStop("e");
}
if (_root.prolang == "c") {
this.gotoAndStop("c");
}
}
Instance of Symbol 916 MovieClip in Symbol 917 MovieClip Frame 1
onClipEvent (load) {
if (_root.prolang == "e") {
ftb5 = "'Contra' flash series is developed by Jhunour@163.com(MSN), complete version is offered to kind donators. ";
}
if (_root.prolang == "c") {
ftb5 = "\u9B42\u6597\u7F57Flash\u7CFB\u5217\u7531Jhunour@163.com(MSN)\u5236\u4F5C, \u53EF\u63D0\u4F9B\u5B8C\u6574\u7684\u7279\u522B\u7248\u672C\u3002";
}
}
Symbol 919 MovieClip Frame 1
sd = new Sound(this);
sd.setPan(0);
sd.setVolume(100);
Instance of Symbol 786 MovieClip "snowback" in Symbol 919 MovieClip Frame 1
/* no clip actions */
Symbol 919 MovieClip Frame 60
if (_root.diff == 2) {
gotoAndStop (61);
}
if (_root.diff == 4) {
gotoAndStop (67);
}
if ((_root.diff == 6) || (_root.diff == 8)) {
gotoAndStop (73);
}
Symbol 919 MovieClip Frame 61
!!!ERROR
Instance of Symbol 859 MovieClip "grenade99" in Symbol 919 MovieClip Frame 61
onClipEvent (load) {
var xStart = _x;
var yStart = _y;
initialxscale = _xscale;
initialyscale = _yscale;
var yinc = ((-_root.grenyinc) - random(3));
var g = _root.greng;
var inAir = true;
var moveSpeed = _root.grenmovespeed;
var scaleadd = _root.grenscaleadd;
var landObject = null;
interval = (_root.greninterval - _root.diff) + random(4);
j = 0;
s = new Sound(this);
this.gotoAndStop("rest");
live = false;
xoffset = 30;
}
onClipEvent (enterFrame) {
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
if (live == false) {
if ((currentx <= (-xoffset)) || (currentx >= (_root.rootxmax + xoffset))) {
this.gotoAndStop("rest");
live = false;
} else {
live = true;
_x = xStart;
_y = yStart;
_xscale = initialxscale;
_yscale = initialyscale;
yinc = (-_root.grenyinc) - random(3);
inAir = true;
landObject = null;
j = 0;
this.gotoAndPlay("fly");
}
}
if (live == true) {
pan = ((currentx / _root.rootxmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
if (inAir) {
_x = (_x + moveSpeed);
_xscale = (_xscale + scaleadd);
_yscale = (_yscale + scaleadd);
yinc = yinc + g;
_y = (_y + yinc);
if (yinc > 0) {
for (var i in _parent.mask.maska) {
if (hitTest(_parent.mask.maska[i])) {
landObject = _parent.mask.maska[i];
var newy = landObject.getBounds(_parent).yMin;
_y = newy;
inAir = false;
this.gotoAndPlay("bump");
break;
}
}
}
}
if (inAir == false) {
j++;
if (j == interval) {
if ((currentx <= (-xoffset)) || (currentx >= (_root.rootxmax + xoffset))) {
this.gotoAndStop("rest");
live = false;
} else {
live = true;
_x = xStart;
_y = yStart;
_xscale = initialxscale;
_yscale = initialyscale;
yinc = (-_root.grenyinc) - random(3);
inAir = true;
landObject = null;
j = 0;
this.gotoAndPlay("fly");
}
}
}
}
}
Instance of Symbol 859 MovieClip "grenade11" in Symbol 919 MovieClip Frame 61
onClipEvent (load) {
var xStart = _x;
var yStart = _y;
initialxscale = _xscale;
initialyscale = _yscale;
var yinc = ((-_root.grenyinc) - random(3));
var g = _root.greng;
var inAir = true;
var moveSpeed = _root.grenmovespeed;
var scaleadd = _root.grenscaleadd;
var landObject = null;
interval = (_root.greninterval - _root.diff) + random(4);
j = 0;
s = new Sound(this);
this.gotoAndStop("rest");
live = false;
xoffset = 30;
}
onClipEvent (enterFrame) {
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
if (live == false) {
if ((currentx <= (-xoffset)) || (currentx >= (_root.rootxmax + xoffset))) {
this.gotoAndStop("rest");
live = false;
} else {
live = true;
_x = xStart;
_y = yStart;
_xscale = initialxscale;
_yscale = initialyscale;
yinc = (-_root.grenyinc) - random(3);
inAir = true;
landObject = null;
j = 0;
this.gotoAndPlay("fly");
}
}
if (live == true) {
pan = ((currentx / _root.rootxmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
if (inAir) {
_x = (_x + moveSpeed);
_xscale = (_xscale + scaleadd);
_yscale = (_yscale + scaleadd);
yinc = yinc + g;
_y = (_y + yinc);
if (yinc > 0) {
for (var i in _parent.mask.maska) {
if (hitTest(_parent.mask.maska[i])) {
landObject = _parent.mask.maska[i];
var newy = landObject.getBounds(_parent).yMin;
_y = newy;
inAir = false;
this.gotoAndPlay("bump");
break;
}
}
}
}
if (inAir == false) {
j++;
if (j == interval) {
if ((currentx <= (-xoffset)) || (currentx >= (_root.rootxmax + xoffset))) {
this.gotoAndStop("rest");
live = false;
} else {
live = true;
_x = xStart;
_y = yStart;
_xscale = initialxscale;
_yscale = initialyscale;
yinc = (-_root.grenyinc) - random(3);
inAir = true;
landObject = null;
j = 0;
this.gotoAndPlay("fly");
}
}
}
}
}
Instance of Symbol 859 MovieClip "grenade10" in Symbol 919 MovieClip Frame 61
onClipEvent (load) {
var xStart = _x;
var yStart = _y;
initialxscale = _xscale;
initialyscale = _yscale;
var yinc = ((-_root.grenyinc) - random(3));
var g = _root.greng;
var inAir = true;
var moveSpeed = _root.grenmovespeed;
var scaleadd = _root.grenscaleadd;
var landObject = null;
interval = (_root.greninterval - _root.diff) + random(4);
j = 0;
s = new Sound(this);
this.gotoAndStop("rest");
live = false;
xoffset = 30;
}
onClipEvent (enterFrame) {
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
if (live == false) {
if ((currentx <= (-xoffset)) || (currentx >= (_root.rootxmax + xoffset))) {
this.gotoAndStop("rest");
live = false;
} else {
live = true;
_x = xStart;
_y = yStart;
_xscale = initialxscale;
_yscale = initialyscale;
yinc = (-_root.grenyinc) - random(3);
inAir = true;
landObject = null;
j = 0;
this.gotoAndPlay("fly");
}
}
if (live == true) {
pan = ((currentx / _root.rootxmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
if (inAir) {
_x = (_x + moveSpeed);
_xscale = (_xscale + scaleadd);
_yscale = (_yscale + scaleadd);
yinc = yinc + g;
_y = (_y + yinc);
if (yinc > 0) {
for (var i in _parent.mask.maska) {
if (hitTest(_parent.mask.maska[i])) {
landObject = _parent.mask.maska[i];
var newy = landObject.getBounds(_parent).yMin;
_y = newy;
inAir = false;
this.gotoAndPlay("bump");
break;
}
}
}
}
if (inAir == false) {
j++;
if (j == interval) {
if ((currentx <= (-xoffset)) || (currentx >= (_root.rootxmax + xoffset))) {
this.gotoAndStop("rest");
live = false;
} else {
live = true;
_x = xStart;
_y = yStart;
_xscale = initialxscale;
_yscale = initialyscale;
yinc = (-_root.grenyinc) - random(3);
inAir = true;
landObject = null;
j = 0;
this.gotoAndPlay("fly");
}
}
}
}
}
Instance of Symbol 859 MovieClip "grenade8" in Symbol 919 MovieClip Frame 61
onClipEvent (load) {
var xStart = _x;
var yStart = _y;
initialxscale = _xscale;
initialyscale = _yscale;
var yinc = ((-_root.grenyinc) - random(3));
var g = _root.greng;
var inAir = true;
var moveSpeed = _root.grenmovespeed;
var scaleadd = _root.grenscaleadd;
var landObject = null;
interval = (_root.greninterval - _root.diff) + random(4);
j = 0;
s = new Sound(this);
this.gotoAndStop("rest");
live = false;
xoffset = 30;
}
onClipEvent (enterFrame) {
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
if (live == false) {
if ((currentx <= (-xoffset)) || (currentx >= (_root.rootxmax + xoffset))) {
this.gotoAndStop("rest");
live = false;
} else {
live = true;
_x = xStart;
_y = yStart;
_xscale = initialxscale;
_yscale = initialyscale;
yinc = (-_root.grenyinc) - random(3);
inAir = true;
landObject = null;
j = 0;
this.gotoAndPlay("fly");
}
}
if (live == true) {
pan = ((currentx / _root.rootxmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
if (inAir) {
_x = (_x + moveSpeed);
_xscale = (_xscale + scaleadd);
_yscale = (_yscale + scaleadd);
yinc = yinc + g;
_y = (_y + yinc);
if (yinc > 0) {
for (var i in _parent.mask.maska) {
if (hitTest(_parent.mask.maska[i])) {
landObject = _parent.mask.maska[i];
var newy = landObject.getBounds(_parent).yMin;
_y = newy;
inAir = false;
this.gotoAndPlay("bump");
break;
}
}
}
}
if (inAir == false) {
j++;
if (j == interval) {
if ((currentx <= (-xoffset)) || (currentx >= (_root.rootxmax + xoffset))) {
this.gotoAndStop("rest");
live = false;
} else {
live = true;
_x = xStart;
_y = yStart;
_xscale = initialxscale;
_yscale = initialyscale;
yinc = (-_root.grenyinc) - random(3);
inAir = true;
landObject = null;
j = 0;
this.gotoAndPlay("fly");
}
}
}
}
}
Instance of Symbol 859 MovieClip "grenadeb7" in Symbol 919 MovieClip Frame 61
onClipEvent (load) {
var xStart = _x;
var yStart = _y;
var initialxscale = _xscale;
var initialyscale = _yscale;
var yinc = ((-_root.grenyinc) - random(3));
var g = _root.greng;
var inAir = true;
var moveSpeed = _root.grenmovespeed;
var scaleadd = _root.grenscaleadd;
var landObject = null;
var interval = ((_root.greninterval - _root.diff) + random(4));
var j = 0;
s = new Sound(this);
this.gotoAndStop("rest");
var live = false;
var xoffset = 30;
var pan = 0;
var vol = 0;
}
onClipEvent (enterFrame) {
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
if (live == false) {
if ((currentx <= (-xoffset)) || (currentx >= (_root.rootxmax + xoffset))) {
this.gotoAndStop("rest");
live = false;
} else {
live = true;
_x = xStart;
_y = yStart;
_xscale = initialxscale;
_yscale = initialyscale;
yinc = (-_root.grenyinc) - random(3);
inAir = true;
landObject = null;
j = 0;
this.gotoAndPlay("fly");
}
}
if (live == true) {
pan = ((currentx / _root.rootxmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
if (inAir) {
_x = (_x + moveSpeed);
_xscale = (_xscale + scaleadd);
_yscale = (_yscale + scaleadd);
yinc = yinc + g;
_y = (_y + yinc);
if (yinc > 0) {
for (var i in _parent.mask.maska) {
if (hitTest(_parent.mask.maska[i])) {
var landObject = _parent.mask.maska[i];
var newy = landObject.getBounds(_parent).yMin;
_y = newy;
inAir = false;
this.gotoAndPlay("bump");
break;
}
}
}
}
if (inAir == false) {
j++;
if (j == interval) {
if ((currentx <= (-xoffset)) || (currentx >= (_root.rootxmax + xoffset))) {
this.gotoAndStop("rest");
live = false;
} else {
live = true;
_x = xStart;
_y = yStart;
_xscale = initialxscale;
_yscale = initialyscale;
yinc = (-_root.grenyinc) - random(3);
inAir = true;
landObject = null;
j = 0;
this.gotoAndPlay("fly");
}
}
}
}
}
Instance of Symbol 859 MovieClip "grenade4a" in Symbol 919 MovieClip Frame 61
onClipEvent (load) {
var xStart = _x;
var yStart = _y;
var initialxscale = _xscale;
var initialyscale = _yscale;
var yinc = ((-_root.grenyinc) - random(3));
var g = _root.greng;
var inAir = true;
var moveSpeed = _root.grenmovespeed;
var scaleadd = _root.grenscaleadd;
var landObject = null;
var interval = ((_root.greninterval - _root.diff) + random(4));
var j = 0;
s = new Sound(this);
this.gotoAndStop("rest");
var live = false;
var xoffset = 30;
var pan = 0;
var vol = 0;
}
onClipEvent (enterFrame) {
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
if (live == false) {
if ((currentx <= (-xoffset)) || (currentx >= (_root.rootxmax + xoffset))) {
this.gotoAndStop("rest");
live = false;
} else {
live = true;
_x = xStart;
_y = yStart;
_xscale = initialxscale;
_yscale = initialyscale;
yinc = (-_root.grenyinc) - random(3);
inAir = true;
landObject = null;
j = 0;
this.gotoAndPlay("fly");
}
}
if (live == true) {
pan = ((currentx / _root.rootxmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
if (inAir) {
_x = (_x + moveSpeed);
_xscale = (_xscale + scaleadd);
_yscale = (_yscale + scaleadd);
yinc = yinc + g;
_y = (_y + yinc);
if (yinc > 0) {
for (var i in _parent.mask.maska) {
if (hitTest(_parent.mask.maska[i])) {
var landObject = _parent.mask.maska[i];
var newy = landObject.getBounds(_parent).yMin;
_y = newy;
inAir = false;
this.gotoAndPlay("bump");
break;
}
}
}
}
if (inAir == false) {
j++;
if (j == interval) {
if ((currentx <= (-xoffset)) || (currentx >= (_root.rootxmax + xoffset))) {
this.gotoAndStop("rest");
live = false;
} else {
live = true;
_x = xStart;
_y = yStart;
_xscale = initialxscale;
_yscale = initialyscale;
yinc = (-_root.grenyinc) - random(3);
inAir = true;
landObject = null;
j = 0;
this.gotoAndPlay("fly");
}
}
}
}
}
Instance of Symbol 859 MovieClip "grenade3" in Symbol 919 MovieClip Frame 61
onClipEvent (load) {
var xStart = _x;
var yStart = _y;
var initialxscale = _xscale;
var initialyscale = _yscale;
var yinc = ((-_root.grenyinc) - random(3));
var g = _root.greng;
var inAir = true;
var moveSpeed = _root.grenmovespeed;
var scaleadd = _root.grenscaleadd;
var landObject = null;
var interval = ((_root.greninterval - _root.diff) + random(4));
var j = 0;
s = new Sound(this);
this.gotoAndStop("rest");
var live = false;
var xoffset = 30;
var pan = 0;
var vol = 0;
}
onClipEvent (enterFrame) {
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
if (live == false) {
if ((currentx <= (-xoffset)) || (currentx >= (_root.rootxmax + xoffset))) {
this.gotoAndStop("rest");
live = false;
} else {
live = true;
_x = xStart;
_y = yStart;
_xscale = initialxscale;
_yscale = initialyscale;
yinc = (-_root.grenyinc) - random(3);
inAir = true;
landObject = null;
j = 0;
this.gotoAndPlay("fly");
}
}
if (live == true) {
pan = ((currentx / _root.rootxmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
if (inAir) {
_x = (_x + moveSpeed);
_xscale = (_xscale + scaleadd);
_yscale = (_yscale + scaleadd);
yinc = yinc + g;
_y = (_y + yinc);
if (yinc > 0) {
for (var i in _parent.mask.maska) {
if (hitTest(_parent.mask.maska[i])) {
var landObject = _parent.mask.maska[i];
var newy = landObject.getBounds(_parent).yMin;
_y = newy;
inAir = false;
this.gotoAndPlay("bump");
break;
}
}
}
}
if (inAir == false) {
j++;
if (j == interval) {
if ((currentx <= (-xoffset)) || (currentx >= (_root.rootxmax + xoffset))) {
this.gotoAndStop("rest");
live = false;
} else {
live = true;
_x = xStart;
_y = yStart;
_xscale = initialxscale;
_yscale = initialyscale;
yinc = (-_root.grenyinc) - random(3);
inAir = true;
landObject = null;
j = 0;
this.gotoAndPlay("fly");
}
}
}
}
}
Instance of Symbol 859 MovieClip "grenade1" in Symbol 919 MovieClip Frame 61
onClipEvent (load) {
var xStart = _x;
var yStart = _y;
var initialxscale = _xscale;
var initialyscale = _yscale;
var yinc = ((-_root.grenyinc) - random(3));
var g = _root.greng;
var inAir = true;
var moveSpeed = _root.grenmovespeed;
var scaleadd = _root.grenscaleadd;
var landObject = null;
var interval = ((_root.greninterval - _root.diff) + random(4));
var j = 0;
s = new Sound(this);
this.gotoAndStop("rest");
var live = false;
var xoffset = 30;
var pan = 0;
var vol = 0;
}
onClipEvent (enterFrame) {
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
if (live == false) {
if ((currentx <= (-xoffset)) || (currentx >= (_root.rootxmax + xoffset))) {
this.gotoAndStop("rest");
live = false;
} else {
live = true;
_x = xStart;
_y = yStart;
_xscale = initialxscale;
_yscale = initialyscale;
yinc = (-_root.grenyinc) - random(3);
inAir = true;
landObject = null;
j = 0;
this.gotoAndPlay("fly");
}
}
if (live == true) {
pan = ((currentx / _root.rootxmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
if (inAir) {
_x = (_x + moveSpeed);
_xscale = (_xscale + scaleadd);
_yscale = (_yscale + scaleadd);
yinc = yinc + g;
_y = (_y + yinc);
if (yinc > 0) {
for (var i in _parent.mask.maska) {
if (hitTest(_parent.mask.maska[i])) {
var landObject = _parent.mask.maska[i];
var newy = landObject.getBounds(_parent).yMin;
_y = newy;
inAir = false;
this.gotoAndPlay("bump");
break;
}
}
}
}
if (inAir == false) {
j++;
if (j == interval) {
if ((currentx <= (-xoffset)) || (currentx >= (_root.rootxmax + xoffset))) {
this.gotoAndStop("rest");
live = false;
} else {
live = true;
_x = xStart;
_y = yStart;
_xscale = initialxscale;
_yscale = initialyscale;
yinc = (-_root.grenyinc) - random(3);
inAir = true;
landObject = null;
j = 0;
this.gotoAndPlay("fly");
}
}
}
}
}
Instance of Symbol 444 MovieClip "direnmother" in Symbol 919 MovieClip Frame 61
onClipEvent (load) {
var interval = ((Math.round(10 - (_root.diff / 2)) * 33) + random(3));
var pause = 0;
var existdiren = 0;
var maxexistdiren = _root.diff;
var maxdiren = (maxexistdiren * 5);
var i = interval;
var k = 0;
var p = 0;
var xpositionoffset = 150;
var ypositionoffset = 120;
}
onClipEvent (enterFrame) {
if ((existdiren < maxexistdiren) && (existdiren >= 0)) {
if (i == interval) {
k++;
existdiren++;
duplicateMovieClip (direnall, "direnall" + k, k);
posdis = random(3);
if (posdis == 1) {
point = new object();
point.x = (-xpositionoffset) / 2;
point.y = random(ypositionoffset) + 60;
globalToLocal(point);
thisdirenx = point.x;
thisdireny = point.y;
setProperty("direnall" + k, _x , thisdirenx);
setProperty("direnall" + k, _y , thisdireny);
} else {
point = new object();
point.x = _root.rootxmax + xpositionoffset;
point.y = random(ypositionoffset) + 60;
globalToLocal(point);
thisdirenx = point.x;
thisdireny = point.y;
setProperty("direnall" + k, _x , thisdirenx);
setProperty("direnall" + k, _y , thisdireny);
}
if (k >= maxdiren) {
k = 0;
}
if (p < pause) {
p++;
} else {
p = 0;
}
i = 0;
}
i++;
}
if (i > interval) {
i = interval;
}
}
Instance of Symbol 510 MovieClip "bulletcds2" in Symbol 919 MovieClip Frame 61
onClipEvent (load) {
!!!ERROR
Instance of Symbol 510 MovieClip "bulletcdl1" in Symbol 919 MovieClip Frame 61
onClipEvent (load) {
!!!ERROR
Instance of Symbol 510 MovieClip "bulletcdm1" in Symbol 919 MovieClip Frame 61
onClipEvent (load) {
!!!ERROR
Instance of Symbol 510 MovieClip "bulletcdr1" in Symbol 919 MovieClip Frame 61
onClipEvent (load) {
!!!ERROR
Instance of Symbol 518 MovieClip "r2" in Symbol 919 MovieClip Frame 61
onClipEvent (load) {
!!!ERROR
Instance of Symbol 518 MovieClip "l2" in Symbol 919 MovieClip Frame 61
onClipEvent (load) {
!!!ERROR
Instance of Symbol 518 MovieClip "f1" in Symbol 919 MovieClip Frame 61
onClipEvent (load) {
!!!ERROR
Instance of Symbol 518 MovieClip "s1" in Symbol 919 MovieClip Frame 61
onClipEvent (load) {
!!!ERROR
Symbol 919 MovieClip Frame 67
!!!ERROR
Instance of Symbol 859 MovieClip "grenade12" in Symbol 919 MovieClip Frame 67
onClipEvent (load) {
var xStart = _x;
var yStart = _y;
initialxscale = _xscale;
initialyscale = _yscale;
var yinc = ((-_root.grenyinc) - random(3));
var g = _root.greng;
var inAir = true;
var moveSpeed = _root.grenmovespeed;
var scaleadd = _root.grenscaleadd;
var landObject = null;
interval = (_root.greninterval - _root.diff) + random(4);
j = 0;
s = new Sound(this);
this.gotoAndStop("rest");
live = false;
xoffset = 30;
}
onClipEvent (enterFrame) {
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
if (live == false) {
if ((currentx <= (-xoffset)) || (currentx >= (_root.rootxmax + xoffset))) {
this.gotoAndStop("rest");
live = false;
} else {
live = true;
_x = xStart;
_y = yStart;
_xscale = initialxscale;
_yscale = initialyscale;
yinc = (-_root.grenyinc) - random(3);
inAir = true;
landObject = null;
j = 0;
this.gotoAndPlay("fly");
}
}
if (live == true) {
pan = ((currentx / _root.rootxmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
if (inAir) {
_x = (_x + moveSpeed);
_xscale = (_xscale + scaleadd);
_yscale = (_yscale + scaleadd);
yinc = yinc + g;
_y = (_y + yinc);
if (yinc > 0) {
for (var i in _parent.mask.maska) {
if (hitTest(_parent.mask.maska[i])) {
landObject = _parent.mask.maska[i];
var newy = landObject.getBounds(_parent).yMin;
_y = newy;
inAir = false;
this.gotoAndPlay("bump");
break;
}
}
}
}
if (inAir == false) {
j++;
if (j == interval) {
if ((currentx <= (-xoffset)) || (currentx >= (_root.rootxmax + xoffset))) {
this.gotoAndStop("rest");
live = false;
} else {
live = true;
_x = xStart;
_y = yStart;
_xscale = initialxscale;
_yscale = initialyscale;
yinc = (-_root.grenyinc) - random(3);
inAir = true;
landObject = null;
j = 0;
this.gotoAndPlay("fly");
}
}
}
}
}
Instance of Symbol 859 MovieClip "grenade9" in Symbol 919 MovieClip Frame 67
onClipEvent (load) {
var xStart = _x;
var yStart = _y;
initialxscale = _xscale;
initialyscale = _yscale;
var yinc = ((-_root.grenyinc) - random(3));
var g = _root.greng;
var inAir = true;
var moveSpeed = _root.grenmovespeed;
var scaleadd = _root.grenscaleadd;
var landObject = null;
interval = (_root.greninterval - _root.diff) + random(4);
j = 0;
s = new Sound(this);
this.gotoAndStop("rest");
live = false;
xoffset = 30;
}
onClipEvent (enterFrame) {
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
if (live == false) {
if ((currentx <= (-xoffset)) || (currentx >= (_root.rootxmax + xoffset))) {
this.gotoAndStop("rest");
live = false;
} else {
live = true;
_x = xStart;
_y = yStart;
_xscale = initialxscale;
_yscale = initialyscale;
yinc = (-_root.grenyinc) - random(3);
inAir = true;
landObject = null;
j = 0;
this.gotoAndPlay("fly");
}
}
if (live == true) {
pan = ((currentx / _root.rootxmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
if (inAir) {
_x = (_x + moveSpeed);
_xscale = (_xscale + scaleadd);
_yscale = (_yscale + scaleadd);
yinc = yinc + g;
_y = (_y + yinc);
if (yinc > 0) {
for (var i in _parent.mask.maska) {
if (hitTest(_parent.mask.maska[i])) {
landObject = _parent.mask.maska[i];
var newy = landObject.getBounds(_parent).yMin;
_y = newy;
inAir = false;
this.gotoAndPlay("bump");
break;
}
}
}
}
if (inAir == false) {
j++;
if (j == interval) {
if ((currentx <= (-xoffset)) || (currentx >= (_root.rootxmax + xoffset))) {
this.gotoAndStop("rest");
live = false;
} else {
live = true;
_x = xStart;
_y = yStart;
_xscale = initialxscale;
_yscale = initialyscale;
yinc = (-_root.grenyinc) - random(3);
inAir = true;
landObject = null;
j = 0;
this.gotoAndPlay("fly");
}
}
}
}
}
Instance of Symbol 859 MovieClip "grenade6" in Symbol 919 MovieClip Frame 67
onClipEvent (load) {
var xStart = _x;
var yStart = _y;
var initialxscale = _xscale;
var initialyscale = _yscale;
var yinc = ((-_root.grenyinc) - random(3));
var g = _root.greng;
var inAir = true;
var moveSpeed = _root.grenmovespeed;
var scaleadd = _root.grenscaleadd;
var landObject = null;
var interval = ((_root.greninterval - _root.diff) + random(4));
var j = 0;
s = new Sound(this);
this.gotoAndStop("rest");
var live = false;
var xoffset = 30;
var pan = 0;
var vol = 0;
}
onClipEvent (enterFrame) {
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
if (live == false) {
if ((currentx <= (-xoffset)) || (currentx >= (_root.rootxmax + xoffset))) {
this.gotoAndStop("rest");
live = false;
} else {
live = true;
_x = xStart;
_y = yStart;
_xscale = initialxscale;
_yscale = initialyscale;
yinc = (-_root.grenyinc) - random(3);
inAir = true;
landObject = null;
j = 0;
this.gotoAndPlay("fly");
}
}
if (live == true) {
pan = ((currentx / _root.rootxmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
if (inAir) {
_x = (_x + moveSpeed);
_xscale = (_xscale + scaleadd);
_yscale = (_yscale + scaleadd);
yinc = yinc + g;
_y = (_y + yinc);
if (yinc > 0) {
for (var i in _parent.mask.maska) {
if (hitTest(_parent.mask.maska[i])) {
var landObject = _parent.mask.maska[i];
var newy = landObject.getBounds(_parent).yMin;
_y = newy;
inAir = false;
this.gotoAndPlay("bump");
break;
}
}
}
}
if (inAir == false) {
j++;
if (j == interval) {
if ((currentx <= (-xoffset)) || (currentx >= (_root.rootxmax + xoffset))) {
this.gotoAndStop("rest");
live = false;
} else {
live = true;
_x = xStart;
_y = yStart;
_xscale = initialxscale;
_yscale = initialyscale;
yinc = (-_root.grenyinc) - random(3);
inAir = true;
landObject = null;
j = 0;
this.gotoAndPlay("fly");
}
}
}
}
}
Instance of Symbol 859 MovieClip "grenadec5" in Symbol 919 MovieClip Frame 67
onClipEvent (load) {
var xStart = _x;
var yStart = _y;
var initialxscale = _xscale;
var initialyscale = _yscale;
var yinc = ((-_root.grenyinc) - random(3));
var g = _root.greng;
var inAir = true;
var moveSpeed = _root.grenmovespeed;
var scaleadd = _root.grenscaleadd;
var landObject = null;
var interval = ((_root.greninterval - _root.diff) + random(4));
var j = 0;
s = new Sound(this);
this.gotoAndStop("rest");
var live = false;
var xoffset = 30;
var pan = 0;
var vol = 0;
}
onClipEvent (enterFrame) {
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
if (live == false) {
if ((currentx <= (-xoffset)) || (currentx >= (_root.rootxmax + xoffset))) {
this.gotoAndStop("rest");
live = false;
} else {
live = true;
_x = xStart;
_y = yStart;
_xscale = initialxscale;
_yscale = initialyscale;
yinc = (-_root.grenyinc) - random(3);
inAir = true;
landObject = null;
j = 0;
this.gotoAndPlay("fly");
}
}
if (live == true) {
pan = ((currentx / _root.rootxmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
if (inAir) {
_x = (_x + moveSpeed);
_xscale = (_xscale + scaleadd);
_yscale = (_yscale + scaleadd);
yinc = yinc + g;
_y = (_y + yinc);
if (yinc > 0) {
for (var i in _parent.mask.maska) {
if (hitTest(_parent.mask.maska[i])) {
var landObject = _parent.mask.maska[i];
var newy = landObject.getBounds(_parent).yMin;
_y = newy;
inAir = false;
this.gotoAndPlay("bump");
break;
}
}
}
}
if (inAir == false) {
j++;
if (j == interval) {
if ((currentx <= (-xoffset)) || (currentx >= (_root.rootxmax + xoffset))) {
this.gotoAndStop("rest");
live = false;
} else {
live = true;
_x = xStart;
_y = yStart;
_xscale = initialxscale;
_yscale = initialyscale;
yinc = (-_root.grenyinc) - random(3);
inAir = true;
landObject = null;
j = 0;
this.gotoAndPlay("fly");
}
}
}
}
}
Instance of Symbol 859 MovieClip "grenade4" in Symbol 919 MovieClip Frame 67
onClipEvent (load) {
var xStart = _x;
var yStart = _y;
var initialxscale = _xscale;
var initialyscale = _yscale;
var yinc = ((-_root.grenyinc) - random(3));
var g = _root.greng;
var inAir = true;
var moveSpeed = _root.grenmovespeed;
var scaleadd = _root.grenscaleadd;
var landObject = null;
var interval = ((_root.greninterval - _root.diff) + random(4));
var j = 0;
s = new Sound(this);
this.gotoAndStop("rest");
var live = false;
var xoffset = 30;
var pan = 0;
var vol = 0;
}
onClipEvent (enterFrame) {
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
if (live == false) {
if ((currentx <= (-xoffset)) || (currentx >= (_root.rootxmax + xoffset))) {
this.gotoAndStop("rest");
live = false;
} else {
live = true;
_x = xStart;
_y = yStart;
_xscale = initialxscale;
_yscale = initialyscale;
yinc = (-_root.grenyinc) - random(3);
inAir = true;
landObject = null;
j = 0;
this.gotoAndPlay("fly");
}
}
if (live == true) {
pan = ((currentx / _root.rootxmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
if (inAir) {
_x = (_x + moveSpeed);
_xscale = (_xscale + scaleadd);
_yscale = (_yscale + scaleadd);
yinc = yinc + g;
_y = (_y + yinc);
if (yinc > 0) {
for (var i in _parent.mask.maska) {
if (hitTest(_parent.mask.maska[i])) {
var landObject = _parent.mask.maska[i];
var newy = landObject.getBounds(_parent).yMin;
_y = newy;
inAir = false;
this.gotoAndPlay("bump");
break;
}
}
}
}
if (inAir == false) {
j++;
if (j == interval) {
if ((currentx <= (-xoffset)) || (currentx >= (_root.rootxmax + xoffset))) {
this.gotoAndStop("rest");
live = false;
} else {
live = true;
_x = xStart;
_y = yStart;
_xscale = initialxscale;
_yscale = initialyscale;
yinc = (-_root.grenyinc) - random(3);
inAir = true;
landObject = null;
j = 0;
this.gotoAndPlay("fly");
}
}
}
}
}
Instance of Symbol 444 MovieClip "direnmother" in Symbol 919 MovieClip Frame 67
onClipEvent (load) {
var interval = ((Math.round(10 - (_root.diff / 2)) * 3) + random(2));
var pause = 0;
var existdiren = 0;
var maxexistdiren = _root.diff;
var maxdiren = (maxexistdiren * 5);
var i = interval;
var k = 0;
var p = 0;
var xpositionoffset = 150;
var ypositionoffset = 120;
}
onClipEvent (enterFrame) {
if ((existdiren < maxexistdiren) && (existdiren >= 0)) {
if (i == interval) {
k++;
existdiren++;
duplicateMovieClip (direnall, "direnall" + k, k);
posdis = random(3);
if (posdis == 1) {
point = new object();
point.x = (-xpositionoffset) / 2;
point.y = random(ypositionoffset) + 60;
globalToLocal(point);
thisdirenx = point.x;
thisdireny = point.y;
setProperty("direnall" + k, _x , thisdirenx);
setProperty("direnall" + k, _y , thisdireny);
} else {
point = new object();
point.x = _root.rootxmax + xpositionoffset;
point.y = random(ypositionoffset) + 60;
globalToLocal(point);
thisdirenx = point.x;
thisdireny = point.y;
setProperty("direnall" + k, _x , thisdirenx);
setProperty("direnall" + k, _y , thisdireny);
}
if (k >= maxdiren) {
k = 0;
}
if (p < pause) {
p++;
} else {
p = 0;
}
i = 0;
}
i++;
}
if (i > interval) {
i = interval;
}
}
Symbol 919 MovieClip Frame 73
!!!ERROR
Instance of Symbol 859 MovieClip "grenade10-d" in Symbol 919 MovieClip Frame 73
onClipEvent (load) {
var xStart = _x;
var yStart = _y;
initialxscale = _xscale;
initialyscale = _yscale;
var yinc = ((-_root.grenyinc) - random(3));
var g = _root.greng;
var inAir = true;
var moveSpeed = _root.grenmovespeed;
var scaleadd = _root.grenscaleadd;
var landObject = null;
interval = (_root.greninterval - _root.diff) + random(4);
j = 0;
s = new Sound(this);
this.gotoAndStop("rest");
live = false;
xoffset = 30;
}
onClipEvent (enterFrame) {
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
if (live == false) {
if ((currentx <= (-xoffset)) || (currentx >= (_root.rootxmax + xoffset))) {
this.gotoAndStop("rest");
live = false;
} else {
live = true;
_x = xStart;
_y = yStart;
_xscale = initialxscale;
_yscale = initialyscale;
yinc = (-_root.grenyinc) - random(3);
inAir = true;
landObject = null;
j = 0;
this.gotoAndPlay("fly");
}
}
if (live == true) {
pan = ((currentx / _root.rootxmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
if (inAir) {
_x = (_x + moveSpeed);
_xscale = (_xscale + scaleadd);
_yscale = (_yscale + scaleadd);
yinc = yinc + g;
_y = (_y + yinc);
if (yinc > 0) {
for (var i in _parent.mask.maska) {
if (hitTest(_parent.mask.maska[i])) {
landObject = _parent.mask.maska[i];
var newy = landObject.getBounds(_parent).yMin;
_y = newy;
inAir = false;
this.gotoAndPlay("bump");
break;
}
}
}
}
if (inAir == false) {
j++;
if (j == interval) {
if ((currentx <= (-xoffset)) || (currentx >= (_root.rootxmax + xoffset))) {
this.gotoAndStop("rest");
live = false;
} else {
live = true;
_x = xStart;
_y = yStart;
_xscale = initialxscale;
_yscale = initialyscale;
yinc = (-_root.grenyinc) - random(3);
inAir = true;
landObject = null;
j = 0;
this.gotoAndPlay("fly");
}
}
}
}
}
Instance of Symbol 859 MovieClip "grenade8-e" in Symbol 919 MovieClip Frame 73
onClipEvent (load) {
var xStart = _x;
var yStart = _y;
initialxscale = _xscale;
initialyscale = _yscale;
var yinc = ((-_root.grenyinc) - random(3));
var g = _root.greng;
var inAir = true;
var moveSpeed = _root.grenmovespeed;
var scaleadd = _root.grenscaleadd;
var landObject = null;
interval = (_root.greninterval - _root.diff) + random(4);
j = 0;
s = new Sound(this);
this.gotoAndStop("rest");
live = false;
xoffset = 30;
}
onClipEvent (enterFrame) {
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
if (live == false) {
if ((currentx <= (-xoffset)) || (currentx >= (_root.rootxmax + xoffset))) {
this.gotoAndStop("rest");
live = false;
} else {
live = true;
_x = xStart;
_y = yStart;
_xscale = initialxscale;
_yscale = initialyscale;
yinc = (-_root.grenyinc) - random(3);
inAir = true;
landObject = null;
j = 0;
this.gotoAndPlay("fly");
}
}
if (live == true) {
pan = ((currentx / _root.rootxmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
if (inAir) {
_x = (_x + moveSpeed);
_xscale = (_xscale + scaleadd);
_yscale = (_yscale + scaleadd);
yinc = yinc + g;
_y = (_y + yinc);
if (yinc > 0) {
for (var i in _parent.mask.maska) {
if (hitTest(_parent.mask.maska[i])) {
landObject = _parent.mask.maska[i];
var newy = landObject.getBounds(_parent).yMin;
_y = newy;
inAir = false;
this.gotoAndPlay("bump");
break;
}
}
}
}
if (inAir == false) {
j++;
if (j == interval) {
if ((currentx <= (-xoffset)) || (currentx >= (_root.rootxmax + xoffset))) {
this.gotoAndStop("rest");
live = false;
} else {
live = true;
_x = xStart;
_y = yStart;
_xscale = initialxscale;
_yscale = initialyscale;
yinc = (-_root.grenyinc) - random(3);
inAir = true;
landObject = null;
j = 0;
this.gotoAndPlay("fly");
}
}
}
}
}
Instance of Symbol 859 MovieClip "grenade8-d" in Symbol 919 MovieClip Frame 73
onClipEvent (load) {
var xStart = _x;
var yStart = _y;
initialxscale = _xscale;
initialyscale = _yscale;
var yinc = ((-_root.grenyinc) - random(3));
var g = _root.greng;
var inAir = true;
var moveSpeed = _root.grenmovespeed;
var scaleadd = _root.grenscaleadd;
var landObject = null;
interval = (_root.greninterval - _root.diff) + random(4);
j = 0;
s = new Sound(this);
this.gotoAndStop("rest");
live = false;
xoffset = 30;
}
onClipEvent (enterFrame) {
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
if (live == false) {
if ((currentx <= (-xoffset)) || (currentx >= (_root.rootxmax + xoffset))) {
this.gotoAndStop("rest");
live = false;
} else {
live = true;
_x = xStart;
_y = yStart;
_xscale = initialxscale;
_yscale = initialyscale;
yinc = (-_root.grenyinc) - random(3);
inAir = true;
landObject = null;
j = 0;
this.gotoAndPlay("fly");
}
}
if (live == true) {
pan = ((currentx / _root.rootxmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
if (inAir) {
_x = (_x + moveSpeed);
_xscale = (_xscale + scaleadd);
_yscale = (_yscale + scaleadd);
yinc = yinc + g;
_y = (_y + yinc);
if (yinc > 0) {
for (var i in _parent.mask.maska) {
if (hitTest(_parent.mask.maska[i])) {
landObject = _parent.mask.maska[i];
var newy = landObject.getBounds(_parent).yMin;
_y = newy;
inAir = false;
this.gotoAndPlay("bump");
break;
}
}
}
}
if (inAir == false) {
j++;
if (j == interval) {
if ((currentx <= (-xoffset)) || (currentx >= (_root.rootxmax + xoffset))) {
this.gotoAndStop("rest");
live = false;
} else {
live = true;
_x = xStart;
_y = yStart;
_xscale = initialxscale;
_yscale = initialyscale;
yinc = (-_root.grenyinc) - random(3);
inAir = true;
landObject = null;
j = 0;
this.gotoAndPlay("fly");
}
}
}
}
}
Instance of Symbol 859 MovieClip "grenade2" in Symbol 919 MovieClip Frame 73
onClipEvent (load) {
var xStart = _x;
var yStart = _y;
var initialxscale = _xscale;
var initialyscale = _yscale;
var yinc = ((-_root.grenyinc) - random(3));
var g = _root.greng;
var inAir = true;
var moveSpeed = _root.grenmovespeed;
var scaleadd = _root.grenscaleadd;
var landObject = null;
var interval = ((_root.greninterval - _root.diff) + random(4));
var j = 0;
s = new Sound(this);
this.gotoAndStop("rest");
var live = false;
var xoffset = 30;
var pan = 0;
var vol = 0;
}
onClipEvent (enterFrame) {
point = new object();
point.x = _x;
point.y = _y;
_parent.localToGlobal(point);
currentx = point.x;
if (live == false) {
if ((currentx <= (-xoffset)) || (currentx >= (_root.rootxmax + xoffset))) {
this.gotoAndStop("rest");
live = false;
} else {
live = true;
_x = xStart;
_y = yStart;
_xscale = initialxscale;
_yscale = initialyscale;
yinc = (-_root.grenyinc) - random(3);
inAir = true;
landObject = null;
j = 0;
this.gotoAndPlay("fly");
}
}
if (live == true) {
pan = ((currentx / _root.rootxmax) * 200) - 100;
vol = (100 - Math.abs(pan)) + 20;
s.setPan(pan);
s.setVolume(vol);
if (inAir) {
_x = (_x + moveSpeed);
_xscale = (_xscale + scaleadd);
_yscale = (_yscale + scaleadd);
yinc = yinc + g;
_y = (_y + yinc);
if (yinc > 0) {
for (var i in _parent.mask.maska) {
if (hitTest(_parent.mask.maska[i])) {
var landObject = _parent.mask.maska[i];
var newy = landObject.getBounds(_parent).yMin;
_y = newy;
inAir = false;
this.gotoAndPlay("bump");
break;
}
}
}
}
if (inAir == false) {
j++;
if (j == interval) {
if ((currentx <= (-xoffset)) || (currentx >= (_root.rootxmax + xoffset))) {
this.gotoAndStop("rest");
live = false;
} else {
live = true;
_x = xStart;
_y = yStart;
_xscale = initialxscale;
_yscale = initialyscale;
yinc = (-_root.grenyinc) - random(3);
inAir = true;
landObject = null;
j = 0;
this.gotoAndPlay("fly");
}
}
}
}
}
Instance of Symbol 444 MovieClip "direnmother" in Symbol 919 MovieClip Frame 73
onClipEvent (load) {
var interval = ((Math.round(10 - (_root.diff / 2)) * 2) + random(2));
var pause = 0;
var existdiren = 0;
var maxexistdiren = _root.diff;
var maxdiren = (maxexistdiren * 5);
var i = interval;
var k = 0;
var p = 0;
var xpositionoffset = 150;
var ypositionoffset = 120;
}
onClipEvent (enterFrame) {
if ((existdiren < maxexistdiren) && (existdiren >= 0)) {
if (i == interval) {
k++;
existdiren++;
duplicateMovieClip (direnall, "direnall" + k, k);
posdis = random(3);
if (posdis == 1) {
point = new object();
point.x = (-xpositionoffset) / 2;
point.y = random(ypositionoffset) + 60;
globalToLocal(point);
thisdirenx = point.x;
thisdireny = point.y;
setProperty("direnall" + k, _x , thisdirenx);
setProperty("direnall" + k, _y , thisdireny);
} else {
point = new object();
point.x = _root.rootxmax + xpositionoffset;
point.y = random(ypositionoffset) + 60;
globalToLocal(point);
thisdirenx = point.x;
thisdireny = point.y;
setProperty("direnall" + k, _x , thisdirenx);
setProperty("direnall" + k, _y , thisdireny);
}
if (k >= maxdiren) {
k = 0;
}
if (p < pause) {
p++;
} else {
p = 0;
}
i = 0;
}
i++;
}
if (i > interval) {
i = interval;
}
}
Symbol 919 MovieClip Frame 89
sd.attachSound("helicopternear");
sd.setPan(0);
sd.setVolume(0);
sd.start(0, 50);
Symbol 919 MovieClip Frame 169
!!!ERROR
Symbol 919 MovieClip Frame 193
!!!ERROR
Symbol 919 MovieClip Frame 366
sd.setPan(0);
sd.setVolume(_root.volume);
Symbol 919 MovieClip Frame 2407
!!!ERROR
Symbol 921 MovieClip Frame 1
function callback9() {
if ((rankurl != "http://musicary.com/FMX/") && (_root.loadattempt < 3)) {
score = Number(_root.score);
thisver = Number(_root.thisver);
life = Number(_root.life);
time = Number(_root.time);
levelselect = Number(_root.levelselect);
oncheat = _root.oncheat;
defmanbullet = _root.defmanbullet;
firstmax = "true";
prolang = _root.prolang;
_root.loadattempt++;
if (_root.prolang == "e") {
_root.loadindi = ("Connecting(" + _root.loadattempt) + "/3)...";
}
if (_root.prolang == "c") {
_root.loadindi = ("\u6B63\u5728\u8FDE\u63A5(" + _root.loadattempt) + "/3)...";
}
loadMovie (_root.rankurl + "cssc26.sco", this, "GET");
} else {
if (rankurl == "http://musicary.com/FMX/") {
_root.loadindi = "";
} else {
if (_root.prolang == "e") {
_root.loadindi = "Server busy.";
}
if (_root.prolang == "c") {
_root.loadindi = "\u670D\u52A1\u5668\u5FD9\u3002";
}
}
_parent.play();
clearInterval(_root.intervalID9);
}
}
clearInterval(_root.intervalID7);
clearInterval(_root.intervalID8);
clearInterval(_root.intervalID9);
score = Number(_root.score);
thisver = Number(_root.thisver);
life = Number(_root.life);
time = Number(_root.time);
levelselect = Number(_root.levelselect);
oncheat = _root.oncheat;
defmanbullet = _root.defmanbullet;
firstmax = "true";
prolang = _root.prolang;
if (_root.prolang == "e") {
_root.loadindi = "Connecting(1/3)...";
}
if (_root.prolang == "c") {
_root.loadindi = "\u6B63\u5728\u8FDE\u63A5(1/3)...";
}
_root.loadattempt = 1;
loadMovie (_root.rankurl + "cssc26.sco", this, "GET");
_root.intervalID9 = setInterval(callback9, 7000);