Frame 1
Stage.showMenu = false;
Stage.scaleMode = "noScale";
_focusrect = false;
stop();
Frame 2
gotoAndPlay ("logo");
Frame 23
if (Level != undefined) {
gotoAndPlay ("Start0");
}
Frame 24
TotalByte0 = _root.getBytesTotal();
LoadByte0 = _root.getBytesLoaded();
if (LoadByte0 >= TotalByte0) {
gotoAndPlay (26);
}
Frame 25
prevFrame();
Frame 27
stop();
Frame 28
stop();
Frame 29
function Level_1() {
MC_ManLevel.gotoAndStop(1);
MC_Level.gotoAndStop(1);
MC_Score.gotoAndStop(1);
GameZT = "Start";
Speed_Fire = 12;
FireSpeed = 20;
MC_Man_FireNum = 1;
MoveSpeed = 6;
MoveSpeed2 = 2;
MoveSpeed3 = 3;
PiaoGuiCount = 0;
Speed_GuiHun_Up = 4;
}
function Level_2() {
MC_ManLevel.gotoAndStop(1);
MC_Level.gotoAndStop(2);
MC_Score.gotoAndStop(1);
GameZT = "Start";
Speed_Fire = 15;
FireSpeed = 18;
MC_Man_FireNum = 1;
MoveSpeed = 6.5;
MoveSpeed2 = 2.5;
MoveSpeed3 = 3.5;
PiaoGuiCount = 0;
Speed_GuiHun_Up = 5;
}
function Level_3() {
MC_ManLevel.gotoAndStop(1);
MC_Level.gotoAndStop(3);
MC_Score.gotoAndStop(1);
GameZT = "Start";
Speed_Fire = 17;
FireSpeed = 17;
MC_Man_FireNum = 1;
MoveSpeed = 7;
MoveSpeed2 = 3;
MoveSpeed3 = 3;
PiaoGuiCount = 0;
Speed_GuiHun_Up = 7;
}
function Jump_Man() {
if (MC_Man._y == AS_Jump.ManMaxY) {
MC_Man_Jump = 1;
}
}
function Man_Fire(ShotCount) {
if (MC_Man.MC_Man._currentframe == 1) {
AttachSound("Sound_Fire", 100, 0.1);
_root.MC_Man.MC_Man.MC_Man.MC_Fire_Q.play();
duplicateMovieClip (MC_Shot1, "MC_Shot1" + ShotCount, (ShotCount % 5) + 1000);
_root["MC_Shot1" + ShotCount].gotoAndStop(MC_Man_FireNum);
_root["MC_Shot1" + ShotCount]._x = MC_Man._x + 55;
_root["MC_Shot1" + ShotCount]._y = MC_Man._y + 5;
} else if (MC_Man.MC_Man._currentframe == 2) {
AttachSound("Sound_Fire", 100, 0.1);
_root.MC_Man.MC_Man.MC_Man.MC_Fire_Q.play();
duplicateMovieClip (MC_Shot2, "MC_Shot2" + ShotCount, (ShotCount % 5) + 1000);
_root["MC_Shot2" + ShotCount].gotoAndStop(MC_Man_FireNum);
_root["MC_Shot2" + ShotCount]._x = MC_Man._x - 55;
_root["MC_Shot2" + ShotCount]._y = MC_Man._y + 5;
}
}
function FireChang(__Num) {
MC_Man_FireNum = __Num;
MC_Man.gotoAndStop(MC_Man_FireNum);
MC_Man_Fire.gotoAndStop(MC_Man_FireNum);
}
function Man_AddScore(__x, __y) {
PiaoGuiCount = PiaoGuiCount + 1;
duplicateMovieClip (MC_GuiHun, "MC_GuiHun" + PiaoGuiCount, PiaoGuiCount + 1000);
_root["MC_GuiHun" + PiaoGuiCount].gotoAndStop(1);
_root["MC_GuiHun" + PiaoGuiCount]._x = __x;
_root["MC_GuiHun" + PiaoGuiCount]._y = __y;
}
function Man_Lose() {
Get_MC_Man_Frame();
MC_Man.gotoAndStop("Lose");
MC_Man.MC_Man.gotoAndStop(MC_Man_MC_Man_Frame);
MC_ManLevel.nextFrame();
}
function Man_Hide() {
Get_MC_Man_Frame();
MC_Man.gotoAndStop("Hide");
MC_Man.MC_Man.gotoAndStop(MC_Man_MC_Man_Frame);
}
function SetVisible(MC_Name) {
if ((MC_Name._x >= 635) || (MC_Name._x <= -80)) {
MC_Name._visible = false;
} else {
MC_Name._visible = true;
}
}
function Set_MC_Man_Normal() {
MC_Man.gotoAndStop(MC_Man_Frame);
MC_Man.MC_Man.gotoAndStop(MC_Man_MC_Man_Frame);
}
function Get_MC_Man_Frame() {
MC_Man_Frame = MC_Man._currentframe;
MC_Man_MC_Man_Frame = MC_Man.MC_Man._currentframe;
}
function GameOver() {
GameZT = "Over";
gotoAndStop ("Over");
}
function GameWin() {
GameZT = "Win";
if (Level == 3) {
gotoAndStop ("OK");
} else {
gotoAndStop ("Win");
}
}
function AttachSound(Sou_name, Vol, Pos) {
var _local1 = new Sound();
_local1.attachSound(Sou_name);
_local1.setVolume(Vol);
_local1.start(Pos);
}
if (Level == undefined) {
Level = 1;
Level_1();
} else {
Level = Level + 1;
if (Level == 1) {
Level_1();
} else if (Level == 2) {
Level_2();
} else if (Level == 3) {
Level_3();
}
}
Instance of Symbol 142 MovieClip "MC_Cun" in Frame 29
onClipEvent (load) {
Speed = 1;
MinX = -161.4;
MaxX = 1002;
OldY = _y;
}
onClipEvent (enterFrame) {
if ((_root.MC_Man._currentframe <= 3) && (_root.GameZT != "Over")) {
if (Key.isDown(37)) {
if (_x <= MaxX) {
_x = (_x + Speed);
} else {
_x = (MinX + Speed);
}
}
if (Key.isDown(39)) {
if (_x >= MinX) {
_x = (_x - Speed);
} else {
_x = (MaxX - Speed);
}
}
}
}
Instance of Symbol 145 MovieClip "MC_ZA_5" in Frame 29
onClipEvent (load) {
Speed = _root.MoveSpeed;
MinX = -100;
_x = (random(300) + 800);
}
onClipEvent (enterFrame) {
_root.SetVisible(this);
if ((_root.MC_Man._currentframe <= 3) && (_root.GameZT != "Over")) {
if (Key.isDown(37)) {
_x = (_x + Speed);
}
if (Key.isDown(39)) {
if (_x >= MinX) {
_x = (_x - Speed);
} else {
this.gotoAndStop("Over");
}
}
}
}
Instance of Symbol 178 MovieClip "MC_ZA_4" in Frame 29
onClipEvent (load) {
Speed = _root.MoveSpeed;
MinX = -100;
_x = (random(500) + 1500);
}
onClipEvent (enterFrame) {
_root.SetVisible(this);
if ((_root.MC_Man._currentframe <= 3) && (_root.GameZT != "Over")) {
if (Key.isDown(37)) {
_x = (_x + Speed);
}
if (Key.isDown(39)) {
if (_x >= MinX) {
_x = (_x - Speed);
} else {
this.gotoAndStop("Over");
}
}
}
if (this.MC_ZA_Xiang.MC_Hit.hitTest(_root.MC_Man.MC_Hit)) {
RanFrame = random(4) + 1;
this.MC_ZA_Xiang.gotoAndStop(RanFrame);
}
}
Instance of Symbol 189 MovieClip "MC_ZA_1" in Frame 29
onClipEvent (load) {
Speed = _root.MoveSpeed;
MinX = -100;
_x = (600 + random(100));
}
onClipEvent (enterFrame) {
_root.SetVisible(this);
if (_root.Level == 1) {
if ((_root.MC_Man._currentframe <= 3) && (_root.GameZT != "Over")) {
if (Key.isDown(37)) {
_x = (_x + Speed);
}
if (Key.isDown(39)) {
if (_x >= MinX) {
_x = (_x - Speed);
} else {
this.gotoAndStop("Over");
}
}
}
if (this.hitTest(_root.MC_Man.MC_Hit)) {
_root.Man_Lose();
}
}
}
Instance of Symbol 191 MovieClip "MC_ZA_2" in Frame 29
onClipEvent (load) {
Speed = _root.MoveSpeed;
MinX = -100;
_x = (1000 + random(200));
}
onClipEvent (enterFrame) {
_root.SetVisible(this);
if (_root.Level <= 2) {
if ((_root.MC_Man._currentframe <= 3) && (_root.GameZT != "Over")) {
if (Key.isDown(37)) {
_x = (_x + Speed);
}
if (Key.isDown(39)) {
if (_x >= MinX) {
_x = (_x - Speed);
} else {
this.gotoAndStop("Over");
}
}
}
if (this.hitTest(_root.MC_Man.MC_Hit)) {
_root.Man_Lose();
}
}
}
Instance of Symbol 197 MovieClip "MC_ZA_3" in Frame 29
onClipEvent (load) {
Speed = _root.MoveSpeed;
MinX = -100;
_x = (1400 + random(200));
}
onClipEvent (enterFrame) {
_root.SetVisible(this);
if (_root.Level >= 2) {
if ((_root.MC_Man._currentframe <= 3) && (_root.GameZT != "Over")) {
if (Key.isDown(37)) {
_x = (_x + Speed);
}
if (Key.isDown(39)) {
if (_x >= MinX) {
_x = (_x - Speed);
} else {
this.gotoAndStop("Over");
}
}
}
if (this.hitTest(_root.MC_Man.MC_Hit)) {
_root.Man_Lose();
}
}
}
Instance of Symbol 216 MovieClip "MC_ZA_6" in Frame 29
onClipEvent (load) {
Speed = _root.MoveSpeed;
MinX = -100;
_x = (700 + random(200));
}
onClipEvent (enterFrame) {
_root.SetVisible(this);
if (_root.Level >= 2) {
if ((_root.MC_Man._currentframe <= 3) && (_root.GameZT != "Over")) {
if (Key.isDown(37)) {
_x = (_x + Speed);
}
if (Key.isDown(39)) {
if (_x >= MinX) {
_x = (_x - Speed);
} else {
this.gotoAndStop("Over");
}
}
}
if (this.hitTest(_root.MC_Man.MC_Hit)) {
_root.Man_Lose();
}
}
}
Instance of Symbol 218 MovieClip "MC_ZA_7" in Frame 29
onClipEvent (load) {
Speed = _root.MoveSpeed;
MinX = -100;
_x = (1000 + random(200));
}
onClipEvent (enterFrame) {
_root.SetVisible(this);
if (_root.Level == 3) {
if ((_root.MC_Man._currentframe <= 3) && (_root.GameZT != "Over")) {
if (Key.isDown(37)) {
_x = (_x + Speed);
}
if (Key.isDown(39)) {
if (_x >= MinX) {
_x = (_x - Speed);
} else {
this.gotoAndStop("Over");
}
}
}
if (this.hitTest(_root.MC_Man.MC_Hit)) {
_root.Man_Lose();
}
}
}
Instance of Symbol 224 MovieClip "MC_Gui3" in Frame 29
onClipEvent (load) {
Speed = _root.MoveSpeed2;
MinX = -100;
_x = (random(400) + 1500);
}
onClipEvent (enterFrame) {
_root.SetVisible(this);
if (_root.Level >= 2) {
if ((_root.MC_Man._currentframe <= 4) && (_root.GameZT != "Over")) {
if (Key.isDown(37)) {
_x = (_x + (_root.MoveSpeed - Speed));
} else if (Key.isDown(39)) {
if (_x >= MinX) {
_x = (_x - (_root.MoveSpeed + Speed));
}
} else {
_x = (_x - Speed);
}
if (_x <= MinX) {
X = random((3 - _root.Level) * 1000) + 2500;
_x = X;
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.MC_Man.MC_Hit)) {
_root.Man_Lose();
}
}
}
Instance of Symbol 247 MovieClip "MC_JS3" in Frame 29
onClipEvent (load) {
Speed = _root.MoveSpeed3;
MinX = -100;
_x = (random(400) + 1500);
}
onClipEvent (enterFrame) {
_root.SetVisible(this);
if (_root.Level >= 2) {
if ((_root.MC_Man._currentframe <= 4) && (_root.GameZT != "Over")) {
if (Key.isDown(37)) {
_x = (_x + (_root.MoveSpeed - Speed));
} else if (Key.isDown(39)) {
if (_x >= MinX) {
_x = (_x - (_root.MoveSpeed + Speed));
}
} else {
_x = (_x - Speed);
}
if (_x <= MinX) {
X = random(500) + 2000;
_x = X;
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.MC_Man.MC_Hit)) {
_root.Man_Lose();
}
}
}
Instance of Symbol 251 MovieClip "MC_JS1" in Frame 29
onClipEvent (load) {
Speed = _root.MoveSpeed2;
MinX = -100;
_x = (random(400) + 800);
}
onClipEvent (enterFrame) {
_root.SetVisible(this);
if (_root.Level == 1) {
if ((_root.MC_Man._currentframe <= 4) && (_root.GameZT != "Over")) {
if (Key.isDown(37)) {
_x = (_x + (_root.MoveSpeed - Speed));
} else if (Key.isDown(39)) {
if (_x >= MinX) {
_x = (_x - (_root.MoveSpeed + Speed));
}
} else {
_x = (_x - Speed);
}
if (_x <= MinX) {
X = random(300) + 600;
_x = X;
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.MC_Man.MC_Hit)) {
_root.Man_Lose();
}
}
}
Instance of Symbol 256 MovieClip "MC_Gui2" in Frame 29
onClipEvent (load) {
Speed = _root.MoveSpeed3;
MinX = -100;
_x = (random(400) + 1500);
}
onClipEvent (enterFrame) {
_root.SetVisible(this);
if (_root.Level == 1) {
if ((_root.MC_Man._currentframe <= 4) && (_root.GameZT != "Over")) {
if (Key.isDown(37)) {
_x = (_x + (_root.MoveSpeed - Speed));
} else if (Key.isDown(39)) {
if (_x >= MinX) {
_x = (_x - (_root.MoveSpeed + Speed));
}
} else {
_x = (_x - Speed);
}
if (_x <= MinX) {
X = random(400) + 700;
_x = X;
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.MC_Man.MC_Hit)) {
_root.Man_Lose();
}
}
}
Instance of Symbol 256 MovieClip "MC_Gui1" in Frame 29
onClipEvent (load) {
Speed = _root.MoveSpeed3;
MinX = -100;
_x = (random(300) + 800);
}
onClipEvent (enterFrame) {
_root.SetVisible(this);
if (_root.Level == 3) {
if ((_root.MC_Man._currentframe <= 4) && (_root.GameZT != "Over")) {
if (Key.isDown(37)) {
_x = (_x + (_root.MoveSpeed - Speed));
} else if (Key.isDown(39)) {
if (_x >= MinX) {
_x = (_x - (_root.MoveSpeed + Speed));
}
} else {
_x = (_x - Speed);
}
if (_x <= MinX) {
X = random(1000) + 2000;
_x = X;
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.MC_Man.MC_Hit)) {
_root.Man_Lose();
}
}
}
Instance of Symbol 251 MovieClip "MC_JS2" in Frame 29
onClipEvent (load) {
Speed = _root.MoveSpeed2;
MinX = -100;
_x = (random(400) + 1500);
}
onClipEvent (enterFrame) {
_root.SetVisible(this);
if (_root.Level == 3) {
if ((_root.MC_Man._currentframe <= 4) && (_root.GameZT != "Over")) {
if (Key.isDown(37)) {
_x = (_x + (_root.MoveSpeed - Speed));
} else if (Key.isDown(39)) {
if (_x >= MinX) {
_x = (_x - (_root.MoveSpeed + Speed));
}
} else {
_x = (_x - Speed);
}
if (_x <= MinX) {
X = random(1000) + 2500;
_x = X;
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.MC_Man.MC_Hit)) {
_root.Man_Lose();
}
}
}
Instance of Symbol 331 MovieClip "MC_Shot1" in Frame 29
onClipEvent (enterFrame) {
if (_x <= 380) {
_x = (_x + _root.Speed_Fire);
} else {
this.MC_Shot.gotoAndStop(2);
}
if (this.hitTest(_root.MC_JS1)) {
_root.MC_JS1.gotoAndStop(2);
this.MC_Shot.gotoAndStop(2);
_root.Man_AddScore(this._x, this._y);
}
if (this.hitTest(_root.MC_JS2)) {
_root.MC_JS2.gotoAndStop(2);
this.MC_Shot.gotoAndStop(2);
_root.Man_AddScore(this._x, this._y);
}
if (this.hitTest(_root.MC_JS3)) {
_root.MC_JS3.gotoAndStop(2);
this.MC_Shot.gotoAndStop(2);
_root.Man_AddScore(this._x, this._y);
}
if (this.hitTest(_root.MC_Gui1)) {
_root.MC_Gui1.gotoAndStop(2);
this.MC_Shot.gotoAndStop(2);
_root.Man_AddScore(this._x, this._y);
}
if (this.hitTest(_root.MC_Gui2)) {
_root.MC_Gui2.gotoAndStop(2);
this.MC_Shot.gotoAndStop(2);
_root.Man_AddScore(this._x, this._y);
}
if (this.hitTest(_root.MC_Gui3)) {
_root.MC_Gui3.gotoAndStop(2);
this.MC_Shot.gotoAndStop(2);
_root.Man_AddScore(this._x, this._y);
}
if (this.hitTest(_root.MC_Bird)) {
_root.MC_Bird.gotoAndPlay(2);
this.MC_Shot.gotoAndStop(2);
_root.Man_AddScore(this._x, this._y);
}
}
Instance of Symbol 333 MovieClip "MC_Shot2" in Frame 29
onClipEvent (enterFrame) {
if (_x >= 80) {
_x = (_x - _root.Speed_Fire);
} else {
this.MC_Shot.gotoAndStop(2);
}
if (this.hitTest(_root.MC_JS1)) {
_root.MC_JS1.gotoAndStop(2);
this.MC_Shot.gotoAndStop(2);
_root.Man_AddScore(this._x, this._y);
}
if (this.hitTest(_root.MC_JS2)) {
_root.MC_JS2.gotoAndStop(2);
this.MC_Shot.gotoAndStop(2);
_root.Man_AddScore(this._x, this._y);
}
if (this.hitTest(_root.MC_JS3)) {
_root.MC_JS3.gotoAndStop(2);
this.MC_Shot.gotoAndStop(2);
_root.Man_AddScore(this._x, this._y);
}
if (this.hitTest(_root.MC_Gui1)) {
_root.MC_Gui1.gotoAndStop(2);
this.MC_Shot.gotoAndStop(2);
_root.Man_AddScore(this._x, this._y);
}
if (this.hitTest(_root.MC_Gui2)) {
_root.MC_Gui2.gotoAndStop(2);
this.MC_Shot.gotoAndStop(2);
_root.Man_AddScore(this._x, this._y);
}
if (this.hitTest(_root.MC_Gui3)) {
_root.MC_Gui3.gotoAndStop(2);
this.MC_Shot.gotoAndStop(2);
_root.Man_AddScore(this._x, this._y);
}
if (this.hitTest(_root.MC_Bird)) {
_root.MC_Bird.gotoAndPlay(2);
this.MC_Shot.gotoAndStop(2);
_root.Man_AddScore(this._x, this._y);
}
}
Instance of Symbol 337 MovieClip "MC_GuiHun2" in Frame 29
onClipEvent (load) {
X = _x;
Y = _y;
}
Instance of Symbol 338 MovieClip "AS_Jump" in Frame 29
onClipEvent (load) {
function Jump() {
if ((_root.MC_Man_Jump == 1) && (MC_Man_CanJump == 1)) {
if (_root.MC_Man._y >= ManMinY) {
_root.MC_Man._y = _root.MC_Man._y - JumpSpeed;
_root.MC_Green._y = _root.MC_Green._y + (JumpSpeed / 2);
_root.MC_JianShi._y = _root.MC_JianShi._y + (JumpSpeed / 3);
_root.MC_Gui._y = _root.MC_Gui._y + (JumpSpeed / 3);
_root.MC_Shot1._y = _root.MC_Shot1._y + (JumpSpeed / 3);
_root.MC_Shot2._y = _root.MC_Shot2._y + (JumpSpeed / 3);
_root.MC_ZA_1._y = _root.MC_ZA_1._y + (JumpSpeed / 2.5);
_root.MC_ZA_2._y = _root.MC_ZA_2._y + (JumpSpeed / 2.5);
_root.MC_ZA_3._y = _root.MC_ZA_3._y + (JumpSpeed / 2.5);
_root.MC_ZA_4._y = _root.MC_ZA_4._y + (JumpSpeed / 2.5);
_root.MC_ZA_5._y = _root.MC_ZA_5._y + (JumpSpeed / 2.5);
_root.MC_ZA_6._y = _root.MC_ZA_6._y + (JumpSpeed / 2.5);
_root.MC_ZA_7._y = _root.MC_ZA_7._y + (JumpSpeed / 2.5);
_root.MC_ZA_8._y = _root.MC_ZA_8._y + (JumpSpeed / 2.5);
_root.MC_JS1._y = _root.MC_JS1._y + (JumpSpeed / 2.5);
_root.MC_JS2._y = _root.MC_JS2._y + (JumpSpeed / 2.5);
_root.MC_JS3._y = _root.MC_JS3._y + (JumpSpeed / 2.5);
_root.MC_Gui1._y = _root.MC_Gui1._y + (JumpSpeed / 2.5);
_root.MC_Gui2._y = _root.MC_Gui2._y + (JumpSpeed / 2.5);
_root.MC_Gui3._y = _root.MC_Gui3._y + (JumpSpeed / 2.5);
_root.MC_Cun._y = _root.MC_Cun._y + (JumpSpeed / 5);
}
if (_root.MC_Man._y <= ManMinY) {
_root.MC_Man_Jump = 0;
MC_Man_CanJump = 0;
}
}
if (MC_Man_CanJump == 0) {
if (_root.MC_Man._y <= ManMaxY) {
_root.MC_Man._y = _root.MC_Man._y + JumpSpeed;
_root.MC_Green._y = _root.MC_Green._y - (JumpSpeed / 2);
_root.MC_JianShi._y = _root.MC_JianShi._y - (JumpSpeed / 3);
_root.MC_Gui._y = _root.MC_Gui._y - (JumpSpeed / 3);
_root.MC_Shot1._y = _root.MC_Shot1._y - (JumpSpeed / 3);
_root.MC_Shot2._y = _root.MC_Shot2._y - (JumpSpeed / 3);
_root.MC_ZA_1._y = _root.MC_ZA_1._y - (JumpSpeed / 2.5);
_root.MC_ZA_2._y = _root.MC_ZA_2._y - (JumpSpeed / 2.5);
_root.MC_ZA_3._y = _root.MC_ZA_3._y - (JumpSpeed / 2.5);
_root.MC_ZA_4._y = _root.MC_ZA_4._y - (JumpSpeed / 2.5);
_root.MC_ZA_5._y = _root.MC_ZA_5._y - (JumpSpeed / 2.5);
_root.MC_ZA_6._y = _root.MC_ZA_6._y - (JumpSpeed / 2.5);
_root.MC_ZA_7._y = _root.MC_ZA_7._y - (JumpSpeed / 2.5);
_root.MC_ZA_8._y = _root.MC_ZA_8._y - (JumpSpeed / 2.5);
_root.MC_JS1._y = _root.MC_JS1._y - (JumpSpeed / 2.5);
_root.MC_JS2._y = _root.MC_JS2._y - (JumpSpeed / 2.5);
_root.MC_JS3._y = _root.MC_JS3._y - (JumpSpeed / 2.5);
_root.MC_Gui1._y = _root.MC_Gui1._y - (JumpSpeed / 2.5);
_root.MC_Gui2._y = _root.MC_Gui2._y - (JumpSpeed / 2.5);
_root.MC_Gui3._y = _root.MC_Gui3._y - (JumpSpeed / 2.5);
_root.MC_Cun._y = _root.MC_Cun._y - (JumpSpeed / 5);
}
if (_root.MC_Man._y >= ManMaxY) {
MC_Man_CanJump = 1;
_root.MC_Man._y = ManMaxY;
_root.MC_ZA_1._y = ZA1MaxY;
_root.MC_ZA_2._y = ZA2MaxY;
_root.MC_ZA_3._y = ZA3MaxY;
_root.MC_ZA_4._y = ZA4MaxY;
_root.MC_ZA_5._y = ZA5MaxY;
_root.MC_ZA_6._y = ZA6MaxY;
_root.MC_ZA_7._y = ZA7MaxY;
_root.MC_ZA_8._y = ZA8MaxY;
_root.MC_JS1._y = JS1MaxY;
_root.MC_JS2._y = JS2MaxY;
_root.MC_JS3._y = JS3MaxY;
_root.MC_Gui1._y = Gui1MaxY;
_root.MC_Gui2._y = Gui2MaxY;
_root.MC_Gui3._y = Gui3MaxY;
_root.MC_Life._y = LifeMaxY;
}
}
}
MC_Man_CanJump = 1;
JumpSpeed = 8;
ManMaxY = _root.MC_Man._y;
ManMinY = 150;
ZA1MaxY = _root.MC_ZA_1._y;
ZA2MaxY = _root.MC_ZA_2._y;
ZA3MaxY = _root.MC_ZA_3._y;
ZA4MaxY = _root.MC_ZA_4._y;
ZA5MaxY = _root.MC_ZA_5._y;
ZA6MaxY = _root.MC_ZA_6._y;
ZA7MaxY = _root.MC_ZA_7._y;
ZA8MaxY = _root.MC_ZA_8._y;
JS1MaxY = _root.MC_JS1._y;
JS2MaxY = _root.MC_JS2._y;
JS3MaxY = _root.MC_JS3._y;
Gui1MaxY = _root.MC_Gui1._y;
Gui2MaxY = _root.MC_Gui2._y;
Gui3MaxY = _root.MC_Gui3._y;
}
onClipEvent (enterFrame) {
Jump();
}
Instance of Symbol 338 MovieClip "AS_Move" in Frame 29
onClipEvent (load) {
function Move() {
if (_root.MC_Man._currentframe <= 3) {
if (Key.isDown(32) && (ShotTime <= 0)) {
ShotCount++;
_root.Man_Fire(ShotCount);
ShotTime = ShotTimeMax;
}
ShotTime--;
if (Key.isDown(40)) {
_root.Man_Hide();
}
}
if (_root.MC_Man._currentframe <= 4) {
if (Key.isDown(37)) {
_root.MC_Man.MC_Man.gotoAndStop(2);
if (_root.MC_Man_Jump != 1) {
_root.MC_Man.MC_Man.MC_Man.gotoAndStop("Step");
}
}
if (Key.isDown(39)) {
_root.MC_Man.MC_Man.gotoAndStop(1);
if (_root.MC_Man_Jump != 1) {
_root.MC_Man.MC_Man.MC_Man.gotoAndStop("Step");
}
}
if (Key.isDown(38)) {
_root.MC_Man.MC_Man.MC_Man.gotoAndStop("Jump");
_root.Jump_Man();
}
}
}
ShotTime = 0;
ShotCount = 0;
ShotTimeMax = _root.FireSpeed;
}
onClipEvent (enterFrame) {
Move();
}
Instance of Symbol 340 MovieClip "MC_GuiHun" in Frame 29
onClipEvent (load) {
XSpeed = 0;
YSpeed = _root.Speed_GuiHun_Up;
MinX = -100;
}
onClipEvent (enterFrame) {
if (_y >= -100) {
_y = (_y - YSpeed);
} else {
this.gotoAndStop(2);
}
if (this.hitTest(_root.MC_Man)) {
_root.MC_Score.nextFrame();
this.gotoAndStop(2);
_root.MC_GuiHun2.play();
_root.MC_GuiHun2._x = _root.MC_GuiHun2.X;
_root.MC_GuiHun2._y = _root.MC_GuiHun2.Y;
}
if ((_root.MC_Man._currentframe <= 4) && (_root.GameZT != "Over")) {
if (Key.isDown(37)) {
_x = (_x + (_root.MoveSpeed - XSpeed));
} else if (Key.isDown(39)) {
if (_x >= MinX) {
_x = (_x - (_root.MoveSpeed + XSpeed));
}
} else {
_x = (_x - XSpeed);
}
}
}
Instance of Symbol 343 MovieClip "MC_Green" in Frame 29
onClipEvent (load) {
Speed = _root.MoveSpeed + 1.5;
MinX = 0;
MaxX = 597.5;
OldY = _y;
}
onClipEvent (enterFrame) {
if ((_root.MC_Man._currentframe <= 3) && (_root.GameZT != "Over")) {
if (Key.isDown(37)) {
if (_x <= MaxX) {
_x = (_x + Speed);
} else {
_x = (MinX + Speed);
}
}
if (Key.isDown(39)) {
if (_x >= MinX) {
_x = (_x - Speed);
} else {
_x = (MaxX - Speed);
}
}
}
}
Frame 30
stop();
Frame 31
stop();
MC_Green._y = MC_Green.OldY;
MC_Cun._y = MC_Cun.OldY;
Frame 32
stop();
MC_Green._y = MC_Green.OldY;
MC_Cun._y = MC_Cun.OldY;
Frame 33
stop();
MC_Green._y = MC_Green.OldY;
MC_Cun._y = MC_Cun.OldY;
Symbol 6 Button
on (release) {
url = "http://www.playnow3dgames.com/index.php?refgame=nightexorcist";
getURL (url, "_blank", "POST");
}
Symbol 13 Button
on (release) {
_root.play();
}
Symbol 14 MovieClip Frame 1
function setPct(_PCT) {
if (isNaN(_PCT)) {
_PCT = 0;
}
_PCT = Math.round(_PCT);
if (_PCT < 0) {
_PCT = 0;
}
if (_PCT > 100) {
_PCT = 100;
}
bar_mc.gotoAndStop(1 + _PCT);
pct_txt.text = _PCT + " %";
}
_root.stop();
PREROLLTIMER = 0;
PREROLLTIME = 90;
Symbol 14 MovieClip Frame 2
_root.stop();
PREROLLTIMER++;
PCT1 = _root.getBytesLoaded() / _root.getBytesTotal();
PCT2 = PREROLLTIMER / PREROLLTIME;
PCT = Math.min(PCT1, PCT2);
if (PCT < 1) {
setPct(Math.round(PCT * 100));
} else {
setPct(100);
gotoAndStop (4);
}
Symbol 14 MovieClip Frame 3
gotoAndPlay (2);
Symbol 14 MovieClip Frame 4
stop();
Symbol 44 Button
on (release) {
url = "http://www.playnow3dgames.com/index.php?refgame=nightexorcist";
getURL (url, "_blank", "POST");
}
Symbol 46 MovieClip Frame 1
_parent.stop();
Symbol 46 MovieClip Frame 45
if (_root.Level != undefined) {
_root.gotoAndPlay("Start0");
} else {
_parent.play();
}
Symbol 65 MovieClip Frame 27
stop();
Symbol 74 Button
on (release, keyPress "<Enter>") {
gotoAndPlay (29);
}
Symbol 77 Button
on (release) {
gotoAndPlay (28);
}
Symbol 82 Button
on (release) {
url = "http://www.playnow3dgames.com/index.php?refgame=nightexorcist";
getURL (url, "_blank", "POST");
}
Symbol 86 Button
on (release) {
url = "http://www.playnow3dgames.com/index.php?refgame=nightexorcist";
getURL (url, "_blank", "POST");
}
Symbol 90 Button
on (release) {
url = "http://www.playnow3dgames.com/gamesforyoursite.php?refgame=nightexorcist";
getURL (url, "_blank", "POST");
}
Symbol 128 MovieClip Frame 1
stop();
Symbol 128 MovieClip Frame 80
_root.GameWin();
Symbol 133 Button
on (release) {
gotoAndPlay (29);
}
Symbol 145 MovieClip Frame 1
stop();
Symbol 145 MovieClip Frame 2
X = random(500) + 800;
_x = X;
gotoAndStop (1);
Symbol 158 MovieClip Frame 1
stop();
Symbol 158 MovieClip Frame 3
stop();
Symbol 162 MovieClip Frame 1
stop();
Symbol 162 MovieClip Frame 3
stop();
Symbol 166 MovieClip Frame 1
stop();
Symbol 166 MovieClip Frame 3
stop();
Symbol 167 MovieClip Frame 1
stop();
Instance of Symbol 158 MovieClip "MC_Life" in Symbol 167 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.MC_Man.MC_Hit)) {
_root.MC_ManLevel.prevFrame();
this.gotoAndPlay(2);
}
}
Instance of Symbol 162 MovieClip in Symbol 167 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.MC_Man.MC_Hit)) {
_root.FireChang(2);
this.gotoAndPlay(2);
}
}
Instance of Symbol 166 MovieClip in Symbol 167 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.MC_Man.MC_Hit)) {
_root.FireChang(1);
this.gotoAndPlay(2);
}
}
Symbol 178 MovieClip Frame 1
stop();
Symbol 178 MovieClip Frame 2
X = random((3 - _root.Level) * 300) + 900;
_x = X;
gotoAndStop (1);
Symbol 189 MovieClip Frame 1
stop();
Symbol 189 MovieClip Frame 2
X = (_root.MC_ZA_2._x + random(200)) + 600;
_x = X;
gotoAndStop (1);
Symbol 191 MovieClip Frame 1
stop();
Symbol 191 MovieClip Frame 2
if (_root.Level == 1) {
X = (_root.MC_ZA_1._x + random(500)) + 300;
}
if (_root.Level == 2) {
X = (_root.MC_ZA_3._x + random(500)) + 300;
}
_x = X;
gotoAndStop (1);
Symbol 197 MovieClip Frame 1
stop();
Symbol 197 MovieClip Frame 2
if (_root.Level == 2) {
X = (_root.MC_ZA_2._x + random(400)) + 300;
}
if (_root.Level == 3) {
X = random(400) + 700;
}
_x = X;
gotoAndStop (1);
Symbol 215 MovieClip Frame 80
Symbol 216 MovieClip Frame 1
stop();
Symbol 216 MovieClip Frame 2
X = random(150) + 350;
_x = X;
gotoAndStop (1);
Symbol 217 MovieClip Frame 84
Symbol 218 MovieClip Frame 1
stop();
Symbol 218 MovieClip Frame 2
X = (_root.MC_ZA_6._x + 200) + random(150);
_x = X;
gotoAndStop (1);
Symbol 224 MovieClip Frame 1
stop();
Symbol 224 MovieClip Frame 2
X = random(300) + 600;
_x = X;
gotoAndStop (1);
Symbol 247 MovieClip Frame 1
stop();
Symbol 247 MovieClip Frame 2
_root.MC_GuiHun.play();
Symbol 251 MovieClip Frame 1
stop();
Symbol 251 MovieClip Frame 2
_root.MC_GuiHun.play();
Symbol 256 MovieClip Frame 1
stop();
Symbol 256 MovieClip Frame 2
_root.MC_GuiHun.play();
Symbol 259 MovieClip Frame 40
stop();
Symbol 269 MovieClip Frame 1
stop();
Symbol 274 MovieClip Frame 9
_parent.gotoAndStop(1);
Symbol 278 MovieClip Frame 10
_parent.gotoAndStop(1);
Symbol 280 MovieClip Frame 3
_parent.gotoAndStop(1);
Symbol 281 MovieClip Frame 1
stop();
Symbol 282 MovieClip Frame 1
stop();
Symbol 282 MovieClip Frame 2
stop();
Symbol 290 MovieClip Frame 1
stop();
Symbol 295 MovieClip Frame 9
_parent.gotoAndStop(1);
Symbol 300 MovieClip Frame 10
_parent.gotoAndStop(1);
Symbol 303 MovieClip Frame 3
_parent.gotoAndStop(1);
Symbol 304 MovieClip Frame 1
stop();
Symbol 305 MovieClip Frame 1
stop();
Symbol 309 MovieClip Frame 1
stop();
Symbol 313 MovieClip Frame 2
if (Key.isDown(40)) {
gotoAndPlay (1);
}
Symbol 313 MovieClip Frame 3
_root.Set_MC_Man_Normal();
Symbol 314 MovieClip Frame 1
stop();
Symbol 318 MovieClip Frame 10
_root.Set_MC_Man_Normal();
Symbol 319 MovieClip Frame 1
stop();
Symbol 320 MovieClip Frame 1
stop();
Symbol 324 MovieClip Frame 1
stop();
Symbol 327 MovieClip Frame 3
stop();
Symbol 328 MovieClip Frame 1
stop();
Symbol 329 MovieClip Frame 3
stop();
Symbol 330 MovieClip Frame 1
stop();
Symbol 331 MovieClip Frame 1
stop();
Symbol 332 MovieClip Frame 1
stop();
Symbol 333 MovieClip Frame 1
stop();
Symbol 337 MovieClip Frame 8
stop();
Symbol 340 MovieClip Frame 1
stop();
Symbol 340 MovieClip Frame 2
stop();
Symbol 358 MovieClip Frame 1
stop();
Symbol 364 MovieClip Frame 1
stop();
Symbol 369 MovieClip Frame 1
MC_Head.play();
stop();
Symbol 369 MovieClip Frame 10
_root.GameOver();
Symbol 372 MovieClip Frame 1
stop();
Symbol 377 Button
on (release) {
getURL ("mailto:service@x-vip.cn");
}
Symbol 382 MovieClip Frame 20
stop();
Symbol 388 Button
on (release) {
_root.Level = _root.Level - 1;
_root.gotoAndPlay("Start");
}
Symbol 389 MovieClip Frame 11
stop();
Symbol 406 Button
on (release) {
_root.gotoAndPlay("Start");
}
Symbol 407 MovieClip Frame 11
stop();
Symbol 411 Button
on (release) {
_root.Level = 0;
_root.gotoAndPlay("logo");
}
Symbol 412 MovieClip Frame 11
stop();