Frame 1
stop();
var soundV = 0;
var picQ = 0;
_root.localization_url1 = "http://moregames.agame.com/";
_root.localization_url2 = "http://freegames.agame.com/";
_root.localization_language_nr = 1;
_root.localization_branding_nr = 1;
Frame 2
function myMusic() {
ms_music = new Sound();
ms_music.attachSound("Mainscreen_mp3");
ms_music.start();
ms_music.onSoundComplete = function () {
myMusic();
};
}
stopAllSounds();
myMusic();
var ms_play = false;
Frame 3
qua_b.gotoAndStop(picQ + 1);
sou_b.gotoAndStop(soundV + 1);
function saveScore() {
mySave = SharedObject.getLocal("scoremap");
mySave.data.score = _root.scoreList;
}
function mapMusic() {
map_music = new Sound();
map_music.attachSound("map_mp3");
map_music.start();
map_music.onSoundComplete = function () {
mapMusic();
};
}
stop();
mySave = SharedObject.getLocal("scoremap");
scoreList = mySave.data.score;
var dname;
switch (_root.localization_language_nr) {
case 1 :
dname = "CPU";
break;
case 2 :
dname = "\u7535\u8111";
break;
case 3 :
dname = "CPU";
break;
case 4 :
dname = "PC";
break;
case 5 :
dname = "CPU";
break;
case 6 :
dname = "CPU";
break;
case 7 :
dname = "CE";
break;
case 8 :
dname = "CPU";
break;
case 9 :
dname = "CPU";
}
if (scoreList == undefined) {
scoreList = [];
scoreList[0] = [dname, 16000, "2006/08/01", ""];
scoreList[1] = [dname, 15000, "2006/08/01", ""];
scoreList[2] = [dname, 13000, "2006/08/01", ""];
scoreList[3] = [dname, 12000, "2006/08/01", ""];
scoreList[4] = [dname, 10000, "2006/07/01", ""];
scoreList[5] = [dname, 8000, "2006/07/01", ""];
scoreList[6] = [dname, 6000, "2006/07/01", ""];
scoreList[7] = [dname, 5000, "2006/06/10", ""];
scoreList[8] = [dname, 3000, "2006/06/05", ""];
scoreList[9] = [dname, 2000, "2006/06/02", ""];
scoreList[10] = [dname, 0, "2006/06/02", ""];
saveScore();
}
var i = 0;
while (i < scoreList.length) {
scoreList[i][3] = "";
i++;
}
mySave.data.score = scoreList;
var s_select = new Sound();
s_select.attachSound("s_select");
var btn = new Sound();
btn.attachSound("btn");
var titlescore = false;
var lc_music = new Sound();
lc_music.attachSound("Level_complete_mp3");
var lf_music = new Sound();
lf_music.attachSound("Level_failed_mp3");
var map_music = new Sound();
map_music.attachSound("map_mp3");
qua_b.onRelease = function () {
qua_b.nextFrame();
};
qua_b.onRollOver = function () {
s_select.start();
};
qua_b.onPress = function () {
btn.start();
};
sou_b.onRelease = function () {
sou_b.nextFrame();
};
sou_b.onRollOver = function () {
s_select.start();
};
sou_b.onPress = function () {
btn.start();
};
Frame 4
stop();
skip_btn.onRelease = function () {
ms_music.stop();
btn.start();
gotoAndPlay ("mainGame");
};
skip_btn.onRollOver = function () {
s_select.start();
};
Frame 5
stop();
Frame 6
stop();
onEnterFrame = function () {
if (titlescore == true) {
paihang.gotoAndStop(2);
} else {
paihang.gotoAndStop(1);
}
if (ms_play == true) {
lf_music.stop();
myMusic();
delete this.onEnterFrame;
}
};
Symbol 2 MovieClip Frame 1
_visible = false;
Symbol 10 MovieClip [BOSS导弹] Frame 1
stop();
_parent._parent.enemy_array.push(this._name);
onEnterFrame = function () {
if (_parent._parent.pauses == false) {
if (this._xscale == 100) {
this._x = this._x - 8;
} else if (this._xscale == -100) {
this._x = this._x + 8;
}
if ((this.getBounds(_root).xMin > 600) or (this.getBounds(_root).xMin < -100)) {
this.removeMovieClip();
}
}
};
Symbol 10 MovieClip [BOSS导弹] Frame 3
onEnterFrame = function () {
if (_parent._parent.man._x < this.getBounds(_parent._parent).xMin) {
this._x = this._x - 10;
} else {
this._x = this._x + 10;
}
if (_parent._parent.man.getBounds(_parent._parent).yMin < this.getBounds(_parent._parent).yMax) {
this._y = this._y - 1;
} else {
this._y = this._y + 1;
}
if (Math.abs(_parent._parent.man._x - this.getBounds(_parent._parent).xMin) < 10) {
this.removeMovieClip();
}
};
Symbol 10 MovieClip [BOSS导弹] Frame 11
stop();
_parent._parent.man.getEnemy = true;
Symbol 10 MovieClip [BOSS导弹] Frame 13
_parent._parent.bomb_s.start();
Symbol 10 MovieClip [BOSS导弹] Frame 22
stop();
this.removeMovieClip();
Symbol 11 MovieClip [导弹] Frame 1
stop();
_parent._parent.enemy_array.push(this._name);
onEnterFrame = function () {
if (_parent._parent.pauses == false) {
if (this._xscale == 100) {
this._x = this._x - 8;
} else if (this._xscale == -100) {
this._x = this._x + 8;
}
if ((this.getBounds(_root).xMin > 600) or (this.getBounds(_root).xMin < -100)) {
this.removeMovieClip();
}
}
};
Symbol 11 MovieClip [导弹] Frame 3
onEnterFrame = function () {
if (_parent._parent.man._x < this.getBounds(_parent._parent).xMin) {
this._x = this._x - 10;
} else {
this._x = this._x + 10;
}
if (_parent._parent.man.getBounds(_parent._parent).yMin < this.getBounds(_parent._parent).yMax) {
this._y = this._y - 1;
} else {
this._y = this._y + 1;
}
if (Math.abs(_parent._parent.man._x - this.getBounds(_parent._parent).xMin) < 10) {
this.removeMovieClip();
}
};
Symbol 11 MovieClip [导弹] Frame 11
stop();
_parent._parent.man.getEnemy = true;
Symbol 11 MovieClip [导弹] Frame 13
_parent._parent.bomb_s.start();
Symbol 11 MovieClip [导弹] Frame 22
stop();
this.removeMovieClip();
Symbol 27 MovieClip [en4] Frame 1
_parent._parent.enemy_array.push(this._name);
this.swapDepths(100 + (_parent._parent.dep++));
var dix = false;
var long = 0;
var spd = 3;
var yinc = 0;
var inAir = false;
var g = 1;
var canjump = true;
var acted = true;
var act_i = 0;
var long = 0;
var dead = false;
Symbol 27 MovieClip [en4] Frame 2
function jump() {
if ((canjump == true) and (dead == false)) {
gotoAndPlay ("\u8DF3");
yinc = -10;
inAir = true;
canjump = false;
}
}
stop();
onEnterFrame = function () {
if (_parent._parent.pauses == false) {
if ((this._x <= 0) and (dix == false)) {
dix = true;
} else if ((this._x >= 580) and (dix == true)) {
dix = false;
}
if (dix == false) {
this._x = this._x - spd;
long = long + spd;
this._xscale = 100;
} else {
this._x = this._x + spd;
long = long + spd;
this._xscale = -100;
}
if ((acted == false) and (dead == false)) {
jump();
acted = true;
}
if ((acted == true) and (dead == false)) {
act_i++;
if (act_i >= 70) {
act_i = 0;
acted = false;
}
}
var _local3 = 0;
while (_local3 < _parent._parent.land_array.length) {
var _local5 = _parent[_parent._parent.land_array[_local3]];
if (this.qfk.hitTest(_local5) and (_local5.noWalk == true)) {
if (movRight == true) {
this._x = this._x + spd;
}
if (movLeft == true) {
this._x = this._x - spd;
}
}
_local3++;
}
if (inAir == true) {
if (yinc < 10) {
yinc = yinc + g;
}
this._y = this._y + yinc;
_local3 = 0;
while (_local3 < _parent._parent.land_array.length) {
landObject = _parent[_parent._parent.land_array[_local3]];
var _local4 = landObject.getBounds(_parent).yMin;
if (this.dfk.hitTest(landObject)) {
if ((this._y - yinc) < _local4) {
inAir = false;
this._y = _local4;
yinc = 0;
canjump = true;
gotoAndStop (2);
break;
}
}
_local3++;
}
}
}
};
Symbol 27 MovieClip [en4] Frame 4
stop();
Symbol 27 MovieClip [en4] Frame 6
_parent._parent.hiten.start();
behit = true;
delete this.onEnterFrame;
play();
Symbol 27 MovieClip [en4] Frame 21
_parent._parent.score = _parent._parent.score + 50;
this.removeMovieClip();
Symbol 27 MovieClip [en4] Frame 22
stop();
var moveline = (random(2) + 3);
var yinc = 0;
_parent._parent.score = _parent._parent.score + 50;
onEnterFrame = function () {
this._rotation = this._rotation - 60;
yinc = yinc + 1;
this._y = this._y - yinc;
if (_parent._parent.man._xscale == 100) {
this._x = this._x + (3 * moveline);
} else {
this._x = this._x - (3 * moveline);
}
};
Symbol 27 MovieClip [en4] Frame 23
onEnterFrame = function () {
if (_parent._parent.man._x < this.getBounds(_parent._parent).xMin) {
this._x = this._x - 10;
} else {
this._x = this._x + 10;
}
if (_parent._parent.man.getBounds(_parent._parent).yMin < this.getBounds(_parent._parent).yMax) {
this._y = this._y - 5;
} else {
this._y = this._y + 5;
}
if (Math.abs(_parent._parent.man._x - this.getBounds(_parent._parent).xMin) < 10) {
this.removeMovieClip();
}
};
Symbol 27 MovieClip [en4] Frame 31
stop();
_parent._parent.man.getEnemy = true;
_parent._parent.score = _parent._parent.score + 50;
Symbol 34 MovieClip [en1] Frame 1
stop();
_parent._parent.enemy_array.push(this._name);
var dix = false;
var long = 0;
var spd = 2;
this.swapDepths(100 + (_parent._parent.dep++));
onEnterFrame = function () {
if (_parent._parent.pauses == false) {
if ((this._x <= 0) and (dix == false)) {
dix = true;
} else if ((this._x >= 580) and (dix == true)) {
dix = false;
}
if (dix == false) {
this._x = this._x - spd;
long = long + spd;
this._xscale = 100;
} else {
this._x = this._x + spd;
long = long + spd;
this._xscale = -100;
}
}
};
Symbol 34 MovieClip [en1] Frame 2
_parent._parent.hiten.start();
behit = true;
delete this.onEnterFrame;
play();
Symbol 34 MovieClip [en1] Frame 17
_parent._parent.score = _parent._parent.score + 50;
this.removeMovieClip();
Symbol 34 MovieClip [en1] Frame 18
stop();
var moveline = (random(2) + 3);
var yinc = 0;
_parent._parent.score = _parent._parent.score + 50;
onEnterFrame = function () {
this._rotation = this._rotation - 60;
yinc = yinc + 1;
this._y = this._y - yinc;
if (_parent._parent.man._xscale == 100) {
this._x = this._x + (3 * moveline);
} else {
this._x = this._x - (3 * moveline);
}
};
Symbol 34 MovieClip [en1] Frame 19
onEnterFrame = function () {
if (_parent._parent.man._x < this.getBounds(_parent._parent).xMin) {
this._x = this._x - 10;
} else {
this._x = this._x + 10;
}
if (_parent._parent.man.getBounds(_parent._parent).yMin < this.getBounds(_parent._parent).yMax) {
this._y = this._y - 5;
} else {
this._y = this._y + 5;
}
if (Math.abs(_parent._parent.man._x - this.getBounds(_parent._parent).xMin) < 10) {
this.removeMovieClip();
}
};
Symbol 34 MovieClip [en1] Frame 27
stop();
_parent._parent.man.getEnemy = true;
_parent._parent.score = _parent._parent.score + 50;
Symbol 37 MovieClip [bigyellow] Frame 1
stop();
this.swapDepths(500 + (_parent._parent.dep++));
onEnterFrame = function () {
if (this.hitTest(_parent._parent.man.hitfk)) {
_parent._parent.s_point.start();
_parent._parent.spdIco._visible = true;
_parent._parent.ability = "speed";
_parent._parent.man.xiaoguo.gotoAndPlay("yellow");
_parent._parent.spdIco._alpha = 100;
_parent._parent.pTime = 0;
_parent._parent.tMax = 10;
_parent._parent.flyNow = false;
_parent._parent.spdNow = false;
_parent._parent.movspd = 5;
_parent._parent.powerTime.gotoAndStop("spd");
delete this.onEnterFrame;
this.play();
}
};
Symbol 37 MovieClip [bigyellow] Frame 16
this._visible = false;
stop();
onEnterFrame = function () {
if (_parent._parent.ability != "speed") {
delete this.onEnterFrame;
this._visible = true;
gotoAndPlay (1);
}
};
Symbol 39 MovieClip [gutou] Frame 1
onEnterFrame = function () {
if (_parent.pauses == false) {
this._rotation = this._rotation - 10;
var _local4 = 0;
while (_local4 < _parent.enemy_array.length) {
var _local3 = _parent.land[_parent.enemy_array[_local4]];
if (this._xscale == 100) {
this._x = this._x + 10;
} else if (this._xscale == -100) {
this._x = this._x - 10;
}
if ((((this.getBounds(_parent).xMin > 600) or (this.getBounds(_parent).xMin < -100)) or (this.getBounds(_parent).yMin < 0)) or (this.getBounds(_parent).yMin_y > 400)) {
this.removeMovieClip();
}
if (this.hitTest(_local3)) {
if (_local3.namess == "boss") {
_local3.gotoAndPlay("hit");
} else {
delete _local3.onEnterFrame;
_local3.gotoAndPlay("bomb");
}
}
_local4++;
}
}
};
Symbol 46 MovieClip [bomb] Frame 1
stop();
_parent._parent.enemy_array.push(this._name);
var yinc = 0;
onEnterFrame = function () {
if (_parent._parent.pauses == false) {
yinc = yinc + 1;
this._y = this._y + yinc;
if (this.atkfk.hitTest(_parent._parent.man.hitfk) or (this.getBounds(_parent._parent).yMax > 500)) {
_parent._parent.bomb_s.start();
delete this.onEnterFrame;
this.play();
}
}
};
Symbol 46 MovieClip [bomb] Frame 2
play();
Symbol 46 MovieClip [bomb] Frame 20
this.removeMovieClip();
Symbol 49 MovieClip [bigred] Frame 1
stop();
this.swapDepths(500 + (_parent._parent.dep++));
onEnterFrame = function () {
if ((_parent.boss.hp <= 8) and (_parent._parent.nowLevel == "level43")) {
delete this.onEnterFrame;
this.removeMovieClip();
}
if (this.hitTest(_parent._parent.man.hitfk)) {
_parent._parent.s_point.start();
_parent._parent.breIco._visible = true;
_parent._parent.ability = "eye";
_parent._parent.pTime = 0;
_parent._parent.tMax = 10;
_parent._parent.man.xiaoguo.gotoAndPlay("red");
_parent._parent.man.prs._visible = true;
_parent._parent.man.prs._xscale = _parent._parent.man._xscale;
_parent._parent.breIco._alpha = 100;
_parent._parent.flyNow = false;
_parent._parent.spdNow = false;
_parent._parent.movspd = 5;
_parent._parent.powerTime.gotoAndStop("eye");
delete this.onEnterFrame;
this.play();
}
};
Symbol 49 MovieClip [bigred] Frame 16
this._visible = false;
stop();
onEnterFrame = function () {
if (_parent._parent.ability != "eye") {
delete this.onEnterFrame;
this._visible = true;
gotoAndPlay (1);
}
};
Symbol 52 MovieClip [葵花籽] Frame 1
stop();
_parent._parent.enemy_array.push(this._name);
onEnterFrame = function () {
if (_parent._parent.pauses == false) {
if (this._xscale == 100) {
this._x = this._x - 5;
} else if (this._xscale == -100) {
this._x = this._x + 5;
}
if ((((this.getBounds(_root).xMin > 600) or (this.getBounds(_root).xMin < -100)) or (this.getBounds(_root).yMin < 0)) or (this.getBounds(_root).yMin_y > 400)) {
this.removeMovieClip();
}
}
};
Symbol 52 MovieClip [葵花籽] Frame 2
onEnterFrame = function () {
if (_parent._parent.man._x < this.getBounds(_parent._parent).xMin) {
this._x = this._x - 10;
} else {
this._x = this._x + 10;
}
if (_parent._parent.man.getBounds(_parent._parent).yMin < this.getBounds(_parent._parent).yMax) {
this._y = this._y - 1;
} else {
this._y = this._y + 1;
}
if (Math.abs(_parent._parent.man._x - this.getBounds(_parent._parent).xMin) < 10) {
this.removeMovieClip();
}
};
Symbol 52 MovieClip [葵花籽] Frame 10
stop();
_parent._parent.man.getEnemy = true;
Symbol 52 MovieClip [葵花籽] Frame 21
stop();
this.removeMovieClip();
Symbol 65 MovieClip [en10] Frame 1
_parent._parent.enemy_array.push(this._name);
this.swapDepths(100 + (_parent._parent.dep++));
var dix = false;
var long = 0;
var spd = 3;
var atking = false;
var acted = false;
var act_i = 0;
Symbol 65 MovieClip [en10] Frame 2
stop();
onEnterFrame = function () {
if (_parent._parent.pauses == false) {
if (acted == false) {
this.gotoAndPlay("attack");
acted = true;
}
if (acted == true) {
act_i++;
if (act_i >= 90) {
act_i = 0;
acted = false;
}
}
if ((this._x <= 0) and (dix == false)) {
dix = true;
} else if ((this._x >= 580) and (dix == true)) {
dix = false;
}
if ((dix == false) and (atking == false)) {
this._x = this._x - spd;
long = long + spd;
this._xscale = 100;
} else if ((dix == true) and (atking == false)) {
this._x = this._x + spd;
long = long + spd;
this._xscale = -100;
}
}
};
Symbol 65 MovieClip [en10] Frame 4
atking = true;
Symbol 65 MovieClip [en10] Frame 13
_parent._parent.fire_s.start();
_parent.attachMovie("\u5BFC\u5F39", "daodan" + _parent._parent.dep, _parent._parent.dep++);
_parent["daodan" + _parent._parent.dep]._y = (atkfk.getBounds(_parent).yMin + atkfk.getBounds(_parent).yMax) / 2;
if (this._xscale == 100) {
_parent["daodan" + _parent._parent.dep]._x = atkfk.getBounds(_parent).xMin;
} else {
_parent["daodan" + _parent._parent.dep]._x = atkfk.getBounds(_parent).xMax;
}
_parent["daodan" + _parent._parent.dep]._xscale = this._xscale;
Symbol 65 MovieClip [en10] Frame 25
atking = false;
gotoAndPlay (2);
Symbol 65 MovieClip [en10] Frame 27
_parent._parent.hiten.start();
behit = true;
delete this.onEnterFrame;
play();
Symbol 65 MovieClip [en10] Frame 42
_parent._parent.score = _parent._parent.score + 50;
this.removeMovieClip();
Symbol 65 MovieClip [en10] Frame 43
stop();
var moveline = (random(2) + 3);
var yinc = 0;
_parent._parent.score = _parent._parent.score + 50;
onEnterFrame = function () {
this._rotation = this._rotation - 60;
yinc = yinc + 1;
this._y = this._y - yinc;
if (_parent._parent.man._xscale == 100) {
this._x = this._x + (3 * moveline);
} else {
this._x = this._x - (3 * moveline);
}
};
Symbol 65 MovieClip [en10] Frame 44
onEnterFrame = function () {
if (_parent._parent.man._x < this.getBounds(_parent._parent).xMin) {
this._x = this._x - 10;
} else {
this._x = this._x + 10;
}
if (_parent._parent.man.getBounds(_parent._parent).yMin < this.getBounds(_parent._parent).yMax) {
this._y = this._y - 5;
} else {
this._y = this._y + 5;
}
if (Math.abs(_parent._parent.man._x - this.getBounds(_parent._parent).xMin) < 10) {
this.removeMovieClip();
}
};
Symbol 65 MovieClip [en10] Frame 52
stop();
_parent._parent.man.getEnemy = true;
_parent._parent.score = _parent._parent.score + 50;
Symbol 73 MovieClip [en7] Frame 1
function getTime(num) {
if (vars == true) {
time++;
if (time >= num) {
time = 0;
vars = false;
}
}
}
function faces() {
if (_parent._parent.man._x < this.getBounds(_parent._parent).xMin) {
this._xscale = 100;
} else if (_parent._parent.man._x > this.getBounds(_parent._parent).xMax) {
this._xscale = -100;
}
}
_parent._parent.enemy_array.push(this._name);
this.swapDepths(100 + (_parent._parent.dep++));
var dix = false;
var long = 0;
var spd = 2;
var time = 0;
var vars = false;
var acted = true;
var act_i = 0;
var atking = false;
Symbol 73 MovieClip [en7] Frame 2
stop();
onEnterFrame = function () {
if (_parent._parent.pauses == false) {
if ((this._x <= 0) and (dix == false)) {
dix = true;
} else if ((this._x >= 580) and (dix == true)) {
dix = false;
}
if ((dix == false) and (atking == false)) {
this._x = this._x - spd;
long = long + spd;
this._xscale = 100;
} else if ((dix == true) and (atking == false)) {
this._x = this._x + spd;
long = long + spd;
this._xscale = -100;
}
if (acted == false) {
gotoAndPlay ("atk");
acted = true;
}
if (acted == true) {
act_i++;
if (act_i >= 80) {
act_i = 0;
acted = false;
}
}
}
};
Symbol 73 MovieClip [en7] Frame 4
atking = true;
Symbol 73 MovieClip [en7] Frame 22
atking = false;
gotoAndPlay (2);
Symbol 73 MovieClip [en7] Frame 24
_parent._parent.hiten.start();
play();
Symbol 73 MovieClip [en7] Frame 39
_parent._parent.score = _parent._parent.score + 50;
this.removeMovieClip();
Symbol 73 MovieClip [en7] Frame 40
stop();
var moveline = (random(2) + 3);
var yinc = 0;
_parent._parent.score = _parent._parent.score + 50;
onEnterFrame = function () {
this._rotation = this._rotation - 60;
yinc = yinc + 1;
this._y = this._y - yinc;
if (_parent._parent.man._xscale == 100) {
this._x = this._x + (3 * moveline);
} else {
this._x = this._x - (3 * moveline);
}
};
Symbol 73 MovieClip [en7] Frame 41
onEnterFrame = function () {
if (_parent._parent.man._x < this.getBounds(_parent._parent).xMin) {
this._x = this._x - 10;
} else {
this._x = this._x + 10;
}
if (_parent._parent.man.getBounds(_parent._parent).yMin < this.getBounds(_parent._parent).yMax) {
this._y = this._y - 5;
} else {
this._y = this._y + 5;
}
if (Math.abs(_parent._parent.man._x - this.getBounds(_parent._parent).xMin) < 10) {
this.removeMovieClip();
}
};
play();
Symbol 73 MovieClip [en7] Frame 49
stop();
_parent._parent.man.getEnemy = true;
_parent._parent.score = _parent._parent.score + 50;
Symbol 78 MovieClip [moredog] Frame 1
stop();
this.swapDepths(500 + (_parent._parent.dep++));
onEnterFrame = function () {
if (this.fk.hitTest(_parent._parent.man)) {
_parent._parent.s_point.start();
_parent._parent.life = _parent._parent.life + 1;
delete this.onEnterFrame;
this.play();
}
};
Symbol 78 MovieClip [moredog] Frame 16
stop();
this.removeMovieClip();
Symbol 81 MovieClip [bigblue] Frame 1
stop();
this.swapDepths(500 + (_parent._parent.dep++));
if (_parent.flywar == true) {
_parent.gotoAndPlay("shake");
}
onEnterFrame = function () {
if (_parent._parent.ability == "fly") {
this.gotoAndPlay(16);
}
if ((_parent.boss.hp <= 12) and (_parent._parent.nowLevel == "level43")) {
delete this.onEnterFrame;
this.removeMovieClip();
}
if (this.hitTest(_parent._parent.man.hitfk)) {
_parent._parent.man.stopFly = false;
_parent._parent.s_point.start();
_parent._parent.flyIco._visible = true;
_parent._parent.ability = "fly";
_parent._parent.man.xiaoguo.gotoAndPlay("blue");
_parent._parent.flyIco._alpha = 100;
_parent._parent.pTime = 0;
_parent._parent.tMax = 10;
_parent._parent.flyNow = false;
_parent._parent.spdNow = false;
_parent._parent.movspd = 5;
_parent._parent.powerTime.gotoAndStop("fly");
delete this.onEnterFrame;
this.play();
}
};
Symbol 81 MovieClip [bigblue] Frame 16
this._visible = false;
stop();
onEnterFrame = function () {
if (_parent._parent.ability != "fly") {
delete this.onEnterFrame;
this._visible = true;
gotoAndPlay (1);
}
};
Symbol 84 MovieClip [bigpurple] Frame 1
stop();
this.swapDepths(500 + (_parent._parent.dep++));
onEnterFrame = function () {
if ((_parent.boss.hp <= 4) and (_parent._parent.nowLevel == "level43")) {
delete this.onEnterFrame;
this.removeMovieClip();
}
if (this.hitTest(_parent._parent.man.hitfk)) {
_parent._parent.s_point.start();
_parent._parent.breIco._visible = true;
_parent._parent.ability = "breath";
_parent._parent.pTime = 0;
_parent._parent.tMax = 10;
_parent._parent.man.xiaoguo.gotoAndPlay("purple");
_parent._parent.man.prs._visible = true;
_parent._parent.man.prs._xscale = _parent._parent.man._xscale;
_parent._parent.breIco._alpha = 100;
_parent._parent.flyNow = false;
_parent._parent.spdNow = false;
_parent._parent.movspd = 5;
_parent._parent.powerTime.gotoAndStop("bre");
delete this.onEnterFrame;
this.play();
}
};
Symbol 84 MovieClip [bigpurple] Frame 16
this._visible = false;
stop();
onEnterFrame = function () {
if (_parent._parent.ability != "breath") {
delete this.onEnterFrame;
this._visible = true;
gotoAndPlay (1);
}
};
Symbol 87 MovieClip [biggreen] Frame 1
stop();
this.swapDepths(500 + (_parent._parent.dep++));
onEnterFrame = function () {
if (this.hitTest(_parent._parent.man.hitfk)) {
_parent._parent.s_point.start();
_parent._parent.powIco._visible = true;
_parent._parent.ability = "power";
_parent._parent.pTime = 0;
_parent._parent.tMax = 20;
_parent._parent.powIco._alpha = 100;
_parent._parent.flyNow = false;
_parent._parent.spdNow = false;
_parent._parent.movspd = 5;
_parent._parent.man.xiaoguo.gotoAndPlay("green");
_parent._parent.man.prs._visible = true;
_parent._parent.man.prs._xscale = _parent._parent.man._xscale;
_parent._parent.powerTime.gotoAndStop("str");
delete this.onEnterFrame;
this.play();
}
};
Symbol 87 MovieClip [biggreen] Frame 16
this._visible = false;
stop();
onEnterFrame = function () {
if (_parent._parent.ability != "power") {
delete this.onEnterFrame;
this._visible = true;
gotoAndPlay (1);
}
};
Symbol 95 MovieClip Frame 1
var num = 0;
var Bloaded;
var Btotal;
onEnterFrame = function () {
Bloaded = _root.getBytesLoaded();
Btotal = _root.getBytesTotal();
loaded._xscale = int((Bloaded / Btotal) * 100);
num = int((Bloaded / Btotal) * 100);
if (loaded._xscale >= 100) {
_root.play();
}
};
Symbol 98 Button
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 99 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 110 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 127 MovieClip Frame 1
stop();
Symbol 150 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 162 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 174 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 186 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 197 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 210 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 235 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 245 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 255 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 265 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 275 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 285 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 295 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 296 MovieClip Frame 1
this._visible = false;
this.cacheAsBitmap = true;
bac_b.onRelease = function () {
_parent._parent.btn.start();
_visible = false;
};
bac_b.onRollOver = function () {
_parent._parent.s_select.start();
};
Symbol 323 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 327 MovieClip Frame 1
sg.onPress = function () {
_parent.btn.start();
_parent.gotoAndStop("cartoon");
};
sg.onRollOver = function () {
_parent.s_select.start();
};
htp.onPress = function () {
_parent.btn.start();
howplay._visible = true;
};
htp.onRollOver = function () {
_parent.s_select.start();
};
hs.onPress = function () {
_parent.btn.start();
_root.titlescore = true;
_parent.gotoAndStop("highscores2");
};
hs.onRollOver = function () {
_parent.s_select.start();
};
mg.onPress = function () {
_parent.btn.start();
getURL (_root.localization_url1, "_blank");
};
mg.onRollOver = function () {
_parent.s_select.start();
};
fg.onPress = function () {
_parent.btn.start();
getURL (_root.localization_url2, "_blank");
};
fg.onRollOver = function () {
_parent.s_select.start();
};
Symbol 339 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 349 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 358 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 368 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 369 MovieClip Frame 1
stop();
_parent.picQ = 0;
_quality = "HIGH";
Symbol 369 MovieClip Frame 2
stop();
_parent.picQ = 1;
_quality = "MEDIUM";
Symbol 369 MovieClip Frame 3
stop();
_parent.picQ = 2;
_quality = "LOW";
Symbol 369 MovieClip Frame 4
gotoAndStop (1);
Symbol 378 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 387 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 388 MovieClip Frame 1
stop();
_parent.soundV = 0;
_parent.ms_music.setVolume(100);
Symbol 388 MovieClip Frame 2
stop();
_parent.soundV = 1;
_parent.ms_music.setVolume(0);
Symbol 388 MovieClip Frame 3
gotoAndStop (1);
Symbol 429 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 468 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 478 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 488 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 489 MovieClip Frame 79
stop();
Symbol 497 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 522 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 540 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 541 MovieClip Frame 1
onEnterFrame = function () {
if (Key.isDown(32)) {
_parent.play();
delete this.onEnterFrame;
}
};
Symbol 541 MovieClip Frame 485
delete this.onEnterFrame;
_parent.ms_music.stop();
_parent.gotoAndPlay("mainGame");
Symbol 551 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 598 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 609 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 627 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 628 MovieClip Frame 16
stop();
onEnterFrame = function () {
if (Key.isDown(32)) {
_parent.play();
delete this.onEnterFrame;
}
};
Symbol 628 MovieClip Frame 37
_parent.play();
Symbol 634 MovieClip Frame 1
stop();
Symbol 634 MovieClip Frame 3
stop();
Symbol 634 MovieClip Frame 5
stop();
Symbol 634 MovieClip Frame 7
stop();
Symbol 634 MovieClip Frame 9
stop();
Symbol 634 MovieClip Frame 10
stop();
stopAllSounds();
Symbol 653 MovieClip Frame 1
stop();
_visible = false;
gotoAndStop(_root.localization_branding_nr);
Symbol 790 MovieClip Frame 1
var behit = true;
var hit_i = 0;
var getEnemy = false;
var lDown = false;
var rDown = true;
var dDown = false;
var duck = false;
var stopFly = false;
var aLock = false;
_parent.a = 0;
_xscale = 100;
_parent.movlock = false;
_parent.flyNow = false;
_parent.spdNow = false;
var breathed = false;
var finish = false;
xiaoguo.gotoAndStop(1);
i = 0;
cc = _xscale;
if (_parent.land.flywar == true) {
_parent.s_point.start();
_parent.flyIco._visible = true;
_parent.ability = "fly";
xiaoguo.gotoAndPlay("blue");
_parent.flyIco._alpha = 100;
_parent.pTime = 0;
_parent.tMax = 10;
_parent.movspd = 5;
_parent.powerTime.gotoAndStop("fly");
}
Symbol 790 MovieClip Frame 2
function Drow() {
if ((i % gs) == 0) {
_parent.shadows.duplicateMovieClip("rw" + i, i);
_parent["rw" + i]._x = _x;
_parent["rw" + i]._y = _y;
_parent["rw" + i]._xscale = _xscale;
_parent["rw" + i].gotoAndStop(_currentframe);
_parent["rw" + i].ru.gotoAndStop(ru._currentframe);
_parent["rw" + i].onEnterFrame = function () {
if ((_parent.moveL == true) and (_parent.moveR == false)) {
this._x = this._x - _parent.movspd;
} else if ((_parent.moveR == true) and (_parent.moveL == false)) {
this._x = this._x + _parent.movspd;
}
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this.removeMovieClip();
}
};
}
i++;
}
stop();
_parent.movlock = false;
this.swapDepths(100000);
gs = 5;
onEnterFrame = function () {
if ((_parent.pauses == false) and (_parent.end == false)) {
setBrightOffset(_parent.a);
if (_parent.ability == "speed") {
Drow();
}
if (this.behit == true) {
this._alpha = 50;
this.hit_i++;
if (this.hit_i >= 45) {
this.hit_i = 0;
this._alpha = 100;
behit = false;
}
}
if (_parent.manHp <= 0) {
delete onEnterFrame;
_parent.movlock = true;
this.gotoAndPlay("\u6B7B\u4EA1");
}
var _local5 = 0;
while (_local5 < _parent.item_array.length) {
var _local4 = _parent.land[_parent.item_array[_local5]];
if (this.hitfk.hitTest(_local4)) {
delete _local4.onEnterFrame;
_local4.play();
}
_local5++;
}
_local5 = 0;
while (_local5 < _parent.enemy_array.length) {
var _local3 = _parent.land[_parent.enemy_array[_local5]];
if (zhongquan.hitTest(_local3.atkfk)) {
if (_local3.namess == "boss") {
_local3.gotoAndPlay("hit");
} else {
_parent.hiten.start();
delete _local3.onEnterFrame;
_local3.gotoAndPlay("\u91CD\u62F3");
}
}
if (jiguang.hitTest(_local3.atkfk) and (_local3.fired != true)) {
if (_local3.namess == "boss") {
_local3.gotoAndPlay("hit");
} else {
delete _local3.onEnterFrame;
_local3.gotoAndPlay("bomb");
}
}
if (xiqi.hitTest(_local3.atkfk)) {
if (_local3.namess != "boss") {
delete _local3.onEnterFrame;
_local3.gotoAndPlay("xi");
}
}
if (((this.fk.hitTest(_local3.fk) and (_parent.yinc > 0)) and (_local3.noLife != true)) and (_parent.flyNow == false)) {
_parent.yinc = -10;
_parent.inAir = true;
if (_local3.names != "songshu") {
delete _local3.onEnterFrame;
}
_local3.gotoAndPlay("hit");
} else if ((this.hitfk.hitTest(_local3.atkfk) and (this.behit == false)) and (_parent.manHp > 0)) {
_parent.manHp = _parent.manHp - 1;
_parent.hit_s.start();
_parent.canjump = false;
this.behit = true;
breathed = false;
_parent.movlock = false;
_parent.yinc = -10;
_parent.inAir = true;
if (this._xscale == 100) {
this._x = this._x - 30;
} else {
this._x = this._x + 30;
}
}
_local5++;
}
if (_parent.movlock == false) {
if (Key.isDown(37)) {
prs._xscale = -100;
this._xscale = -100;
rDown = false;
lDown = true;
if ((!_parent.inAir) and (_parent.flyNow == false)) {
if (_parent.spdNow == false) {
this.gotoAndPlay("\u8D70");
} else {
this.gotoAndPlay("\u52A0\u901F");
}
}
} else {
lDown = false;
}
if (Key.isDown(39)) {
prs._xscale = 100;
this._xscale = 100;
lDown = false;
rDown = true;
if ((!_parent.inAir) and (_parent.flyNow == false)) {
if (_parent.spdNow == false) {
this.gotoAndPlay("\u8D70");
} else {
this.gotoAndPlay("\u52A0\u901F");
}
}
} else {
rDown = false;
}
if ((((Key.isDown(40) and (!_parent.inAir)) and (_parent.flyNow == false)) and (lDown == false)) and (rDown == false)) {
gotoAndStop ("\u8E72");
}
if ((!Key.isDown(40)) and (duck == true)) {
gotoAndStop ("\u7AD9");
duck = false;
}
if ((this.finish == true) and (_parent.inAir == false)) {
this.gotoAndPlay("finish");
} else if ((this.finish == true) and (_parent.flyNow == true)) {
_parent.tMax = 0;
}
if ((((Key.isDown(83) and (_parent.ability != null)) and (_parent.flyNow == false)) and (_parent.spdNow == false)) and (finish == false)) {
prs._visible = false;
if (_parent.ability == "power") {
_parent.s_hit.start();
_parent.movlock = true;
this.gotoAndPlay("\u91CD\u62F3");
} else if (_parent.ability == "breath") {
_parent.movlock = true;
this.gotoAndPlay("\u5438\u6C14");
} else if (_parent.ability == "eye") {
_parent.movlock = true;
this.gotoAndPlay("\u6FC0\u5149");
}
}
if (((_parent.ability == "fly") and (finish == false)) and (stopFly == false)) {
this.gotoAndStop("\u98DE\u884C");
_parent.flyNow = true;
_parent.inAir = true;
}
if ((_parent.ability == "speed") and (finish == false)) {
_parent.spdNow = true;
if (inAir == false) {
this.gotoAndStop("\u52A0\u901F");
}
}
if ((_parent.ability == "fly") and (stopFly == true)) {
if (_parent.inAir == false) {
prs._visible = true;
prs._xscale = this._xscale;
}
if (Key.isDown(83) and (_parent.inAir == false)) {
prs._visible = false;
this.gotoAndStop("\u98DE\u884C");
_parent.flyNow = true;
_parent.inAir = true;
stopFly = false;
}
}
if ((_parent.ability == "fly") and (_parent.flyNow == true)) {
if (Key.isDown(65) and (aLock == false)) {
_parent.yinc = -15;
this.gotoAndPlay("\u8DF3");
_parent.flyNow = false;
stopFly = true;
}
if (Key.isDown(38) and (this._y > 80)) {
this._y = this._y - 5;
} else if (Key.isDown(40) and (this._y < 450)) {
dDown = true;
this._y = this._y + 5;
} else if (!Key.isDown(40)) {
dDown = false;
}
}
if (Key.isDown(65)) {
aLock = true;
} else {
aLock = false;
}
if (_parent.ability != "fly") {
dDown = false;
}
if ((_parent.ability != "fly") and (_parent.flyNow == true)) {
_parent.flyNow = false;
this._y = this._y - 10;
this.gotoAndPlay("\u8DF3");
}
if ((_parent.ability == "speed") and (_parent.spdNow == true)) {
_parent.movspd = 10;
}
if ((_parent.ability != "speed") and (_parent.spdNow == true)) {
_parent.spdNow = false;
_parent.movspd = 5;
this.gotoAndPlay("\u7AD9");
}
}
if (((breathed == true) and (_parent.ability == "breath")) and (finish == false)) {
if (Key.isDown(83)) {
this.play();
}
}
}
};
Symbol 790 MovieClip Frame 6
gotoAndStop ("\u7AD9");
Symbol 790 MovieClip Frame 8
stop();
Symbol 790 MovieClip Frame 10
stop();
duck = true;
Symbol 790 MovieClip Frame 12
play();
Symbol 790 MovieClip Frame 25
_parent.movlock = false;
gotoAndPlay ("\u7AD9");
Symbol 790 MovieClip Frame 27
stop();
Symbol 790 MovieClip Frame 30
play();
Symbol 790 MovieClip Frame 43
_parent.jg.start();
Symbol 790 MovieClip Frame 58
stop();
_parent.movlock = false;
gotoAndPlay ("\u7AD9");
Symbol 790 MovieClip Frame 60
stop();
Symbol 790 MovieClip Frame 61
stop();
Symbol 790 MovieClip Frame 63
play();
Symbol 790 MovieClip Frame 80
stop();
breathed = true;
if (finish == true) {
gotoAndPlay ("finish");
}
Symbol 790 MovieClip Frame 81
if (this.getEnemy == true) {
_parent.attachMovie("gutou", "gutou" + _parent.dep, _parent.dep++);
_parent["gutou" + _parent.dep]._y = this._y - 70;
_parent["gutou" + _parent.dep]._x = this._x + (this._width / 2);
_parent["gutou" + _parent.dep]._xscale = this._xscale;
getEnemy = false;
}
Symbol 790 MovieClip Frame 99
_parent.movlock = false;
gotoAndStop ("\u7AD9");
Symbol 790 MovieClip Frame 101
_alpha = 100;
_parent.ability = null;
_parent.pTime = 0;
_parent.powerTime.gotoAndStop(1);
_parent.flyNow = false;
_parent.spdNow = false;
breathed = false;
_parent.movspd = 5;
_parent.d_s.start();
Symbol 790 MovieClip Frame 141
_parent.mp3.gotoAndPlay("ss");
Symbol 790 MovieClip Frame 173
stop();
var nowLevel = _parent.nowLevel;
if (_parent.life <= 0) {
_parent.life = 0;
_root.ms_play = true;
_parent.end = true;
_root.gameover.gotoAndPlay(2);
} else {
_parent.gameTime = 200;
_parent.life = _parent.life - 1;
this._x = 50;
this._y = 250;
if (_parent.nowLevel != "level43") {
_parent.bg._x = 0;
_parent.land._x = 0;
}
_parent.manHp = _parent.maxHp;
_parent.movlock = false;
if ((((((nowLevel == "level111") or (nowLevel == "level112")) or (nowLevel == "level121")) or (nowLevel == "level122")) or (nowLevel == "level131")) or (nowLevel == "level132")) {
_parent.mp3.gotoAndPlay("w1");
} else if ((((((nowLevel == "level211") or (nowLevel == "level212")) or (nowLevel == "level221")) or (nowLevel == "level222")) or (nowLevel == "level231")) or (nowLevel == "level232")) {
_parent.mp3.gotoAndPlay("w2");
} else if ((((((nowLevel == "level311") or (nowLevel == "level312")) or (nowLevel == "level321")) or (nowLevel == "level322")) or (nowLevel == "level331")) or (nowLevel == "level332")) {
_parent.mp3.gotoAndPlay("w3");
} else if (((((nowLevel == "level411") or (nowLevel == "level412")) or (nowLevel == "level421")) or (nowLevel == "level422")) or (nowLevel == "level43")) {
_parent.mp3.gotoAndPlay("w4");
}
gotoAndPlay (1);
}
Symbol 790 MovieClip Frame 175
_parent.movlock = true;
play();
Symbol 790 MovieClip Frame 209
_root.lc.play();
stop();
Symbol 802 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 804 MovieClip Frame 1
this._alpha = 50;
Symbol 806 MovieClip Frame 1
this._alpha = 50;
Symbol 808 MovieClip Frame 1
this._alpha = 50;
Symbol 810 MovieClip Frame 1
this._alpha = 50;
Symbol 821 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 833 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 845 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 857 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 869 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 881 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 883 MovieClip Frame 1
stop();
Symbol 886 MovieClip Frame 1
this.cacheAsBitmap = true;
frame = 0;
n = getTimer();
onEnterFrame = function () {
o = getTimer();
frame++;
if ((o - n) >= 1000) {
out = frame;
frame = 0;
n = getTimer();
}
};
Symbol 909 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 912 MovieClip Frame 1
this._alpha = 50;
Symbol 918 MovieClip Frame 1
stop();
onEnterFrame = function () {
switch (_parent.coHp) {
case 4 :
this.gotoAndStop(5);
break;
case 3 :
this.gotoAndStop(4);
break;
case 2 :
this.gotoAndStop(3);
break;
case 1 :
this.gotoAndStop(2);
break;
case 0 :
this.gotoAndStop(1);
}
};
Symbol 924 MovieClip Frame 1
stop();
onEnterFrame = function () {
switch (_parent.manHp) {
case 5 :
this.gotoAndStop(5);
break;
case 4 :
this.gotoAndStop(6);
break;
case 3 :
this.gotoAndStop(1);
break;
case 2 :
this.gotoAndStop(2);
break;
case 1 :
this.gotoAndStop(3);
break;
case 0 :
this.gotoAndStop(4);
}
};
Symbol 929 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 931 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 933 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 940 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 942 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 944 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 946 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 948 MovieClip Frame 1
this.cacheAsBitmap = true;
_parent._parent.land_array.push(this._name);
this._visible = false;
Symbol 949 MovieClip Frame 1
stop();
_parent._parent.enemy_array.push(this._name);
var dix = false;
var long = 0;
var spd = 2;
this.swapDepths(100 + (_parent._parent.dep++));
onEnterFrame = function () {
if (_parent._parent.pauses == false) {
if (dix == false) {
this._x = this._x - spd;
long = long + spd;
this._xscale = 100;
} else {
this._x = this._x + spd;
long = long + spd;
this._xscale = -100;
}
if (long >= 150) {
long = 0;
if (dix == false) {
dix = true;
} else {
dix = false;
}
}
}
};
Symbol 949 MovieClip Frame 2
_parent._parent.hiten.start();
behit = true;
delete this.onEnterFrame;
play();
Symbol 949 MovieClip Frame 17
_parent._parent.score = _parent._parent.score + 50;
this.removeMovieClip();
Symbol 949 MovieClip Frame 18
stop();
var moveline = (random(2) + 3);
var yinc = 0;
_parent._parent.score = _parent._parent.score + 50;
onEnterFrame = function () {
this._rotation = this._rotation - 60;
yinc = yinc + 1;
this._y = this._y - yinc;
if (_parent._parent.man._xscale == 100) {
this._x = this._x + (3 * moveline);
} else {
this._x = this._x - (3 * moveline);
}
};
Symbol 949 MovieClip Frame 19
onEnterFrame = function () {
if (_parent._parent.man._x < this.getBounds(_parent._parent).xMin) {
this._x = this._x - 10;
} else {
this._x = this._x + 10;
}
if (_parent._parent.man.getBounds(_parent._parent).yMin < this.getBounds(_parent._parent).yMax) {
this._y = this._y - 5;
} else {
this._y = this._y + 5;
}
if (Math.abs(_parent._parent.man._x - this.getBounds(_parent._parent).xMin) < 10) {
this.removeMovieClip();
}
};
Symbol 949 MovieClip Frame 27
stop();
_parent._parent.man.getEnemy = true;
_parent._parent.score = _parent._parent.score + 50;
Symbol 952 MovieClip Frame 1
_parent._parent.land_array.push(this._name);
this.cacheAsBitmap = true;
Symbol 953 MovieClip Frame 1
stop();
this.swapDepths(500 + (_parent._parent.dep++));
_parent._parent.item_array.push(this._name);
onEnterFrame = function () {
if (this.hitTest(_parent._parent.man.hitfk)) {
_parent._parent.green = _parent._parent.green - 1;
_parent._parent.score = _parent._parent.score + 20;
_parent._parent.s_point.start();
delete this.onEnterFrame;
this.play();
}
};
Symbol 953 MovieClip Frame 16
stop();
this.removeMovieClip();
Symbol 965 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 966 MovieClip Frame 1
stop();
this.cacheAsBitmap = true;
onEnterFrame = function () {
if (this.hitTest(_parent._parent.man.hitfk)) {
_parent._parent.nextFrame();
}
};
Symbol 968 MovieClip Frame 1
_parent._parent.land_array.push(this._name);
var noWalk = true;
_visible = false;
Symbol 981 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 984 MovieClip Frame 1
_parent.man._x = -500;
Symbol 984 MovieClip Frame 30
_parent.nextFrame();
Symbol 986 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 988 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 998 MovieClip Frame 1
function getTime(num) {
if (vars == true) {
time++;
if (time >= num) {
time = 0;
vars = false;
}
}
}
function faces() {
if (_parent._parent.man._x < this.getBounds(_parent._parent).xMin) {
this._xscale = 100;
} else if (_parent._parent.man._x > this.getBounds(_parent._parent).xMax) {
this._xscale = -100;
}
}
_parent._parent.enemy_array.push(this._name);
this.swapDepths(100 + (_parent._parent.dep++));
var time = 0;
var vars = false;
Symbol 998 MovieClip Frame 2
stop();
onEnterFrame = function () {
if (_parent._parent.pauses == false) {
getTime(60);
faces();
if (((vars == false) and (Math.abs(_parent._parent.man._x - ((this.getBounds(_parent._parent).xMin + this.getBounds(_parent._parent).xMax) / 2)) <= 100)) and (Math.abs(_parent._parent.man._y - this.getBounds(_parent._parent).yMax) <= 100)) {
this.gotoAndPlay("attack");
vars = true;
}
}
};
Symbol 998 MovieClip Frame 13
gotoAndStop (2);
Symbol 998 MovieClip Frame 14
_parent._parent.hiten.start();
Symbol 998 MovieClip Frame 28
_parent._parent.score = _parent._parent.score + 50;
this.removeMovieClip();
Symbol 998 MovieClip Frame 29
stop();
var moveline = (random(2) + 3);
var yinc = 0;
_parent._parent.score = _parent._parent.score + 50;
onEnterFrame = function () {
this._rotation = this._rotation - 60;
yinc = yinc + 1;
this._y = this._y - yinc;
if (_parent._parent.man._xscale == 100) {
this._x = this._x + (3 * moveline);
} else {
this._x = this._x - (3 * moveline);
}
};
Symbol 998 MovieClip Frame 30
onEnterFrame = function () {
if (_parent._parent.man._x < this.getBounds(_parent._parent).xMin) {
this._x = this._x - 10;
} else {
this._x = this._x + 10;
}
if (_parent._parent.man.getBounds(_parent._parent).yMin < this.getBounds(_parent._parent).yMax) {
this._y = this._y - 5;
} else {
this._y = this._y + 5;
}
if (Math.abs(_parent._parent.man._x - this.getBounds(_parent._parent).xMin) < 10) {
this.removeMovieClip();
}
};
Symbol 998 MovieClip Frame 38
stop();
_parent._parent.man.getEnemy = true;
_parent._parent.score = _parent._parent.score + 50;
Symbol 1010 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1011 MovieClip Frame 1
this.cacheAsBitmap = true;
onEnterFrame = function () {
if (this.hitTest(_parent._parent.man.hitfk)) {
if (_parent._parent.inAir == true) {
_parent._parent.man.finish = true;
} else {
_parent._parent.man.finish = true;
_parent._parent.movlock = true;
_parent._parent.end = true;
_parent._parent.man.gotoAndPlay("finish");
}
this._visible = false;
delete this.onEnterFrame;
}
};
Symbol 1017 MovieClip Frame 1
Symbol 1027 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1031 MovieClip Frame 1
stop();
_root.mapMusic();
var map = ["m1", "m2", "m3", "m4", "m5", "m6", "m7", "m8", "m9", "m10", "m11", "m12"];
var spd = 2;
char._x = this[map[i]]._x;
char._y = this[map[i]]._y;
var a = (char._x - this[map[i + 1]]._x);
var b = (char._y - this[map[i + 1]]._y);
var c = Math.round(Math.sqrt((a * a) + (b * b)));
var xover = false;
var yover = false;
preSpace._visible = false;
onEnterFrame = function () {
if ((Math.abs(char._x - this[map[i + 1]]._x) > spd) and (xover == false)) {
char._x = char._x - ((spd * a) / c);
}
if (Math.abs(char._x - this[map[i + 1]]._x) <= spd) {
xover = true;
}
if ((Math.abs(char._y - this[map[i + 1]]._y) > spd) and (yover == false)) {
char._y = char._y - ((spd * b) / c);
}
if (Math.abs(char._y - this[map[i + 1]]._y) <= spd) {
yover = true;
}
if (xover and yover) {
preSpace._visible = true;
if (Key.isDown(32)) {
play();
}
}
};
Symbol 1031 MovieClip Frame 2
_root.map_music.stop();
_parent.nextFrame();
Symbol 1038 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1039 MovieClip Frame 31
onEnterFrame = function () {
if (Key.isDown(32)) {
_parent.play();
delete this.onEnterFrame;
}
};
Symbol 1039 MovieClip Frame 121
_parent.play();
Symbol 1059 MovieClip Frame 1
var noHit = true;
var dix = false;
var long = 0;
var spd = 2;
_parent._parent.enemy_array.push(this._name);
this.swapDepths(100 + (_parent._parent.dep++));
stop();
onEnterFrame = function () {
if (_parent._parent.pauses == false) {
if (dix == false) {
this._y = this._y - spd;
long = long + spd;
} else {
this._y = this._y + spd;
long = long + spd;
}
if (long >= 70) {
long = 0;
if (dix == false) {
dix = true;
} else {
dix = false;
}
}
}
};
Symbol 1059 MovieClip Frame 2
_parent._parent.hiten.start();
Symbol 1059 MovieClip Frame 15
_parent._parent.score = _parent._parent.score + 50;
this.removeMovieClip();
Symbol 1059 MovieClip Frame 16
stop();
var moveline = (random(2) + 3);
var yinc = 0;
_parent._parent.score = _parent._parent.score + 50;
onEnterFrame = function () {
this._rotation = this._rotation - 60;
yinc = yinc + 1;
this._y = this._y - yinc;
if (_parent._parent.man._xscale == 100) {
this._x = this._x + (3 * moveline);
} else {
this._x = this._x - (3 * moveline);
}
};
Symbol 1059 MovieClip Frame 17
onEnterFrame = function () {
if (_parent._parent.man._x < this.getBounds(_parent._parent).xMin) {
this._x = this._x - 10;
} else {
this._x = this._x + 10;
}
if (_parent._parent.man.getBounds(_parent._parent).yMin < this.getBounds(_parent._parent).yMax) {
this._y = this._y - 5;
} else {
this._y = this._y + 5;
}
if (Math.abs(_parent._parent.man._x - this.getBounds(_parent._parent).xMin) < 10) {
this.removeMovieClip();
}
};
Symbol 1059 MovieClip Frame 25
stop();
_parent._parent.man.getEnemy = true;
_parent._parent.score = _parent._parent.score + 50;
Symbol 1060 MovieClip Frame 1
var noHit = true;
var dix = true;
var long = 0;
var spd = 2;
_parent._parent.enemy_array.push(this._name);
this.swapDepths(100 + (_parent._parent.dep++));
stop();
onEnterFrame = function () {
if (_parent._parent.pauses == false) {
if (dix == false) {
this._y = this._y - spd;
long = long + spd;
} else {
this._y = this._y + spd;
long = long + spd;
}
if (long >= 70) {
long = 0;
if (dix == false) {
dix = true;
} else {
dix = false;
}
}
if (this.fk.hitTest(_parent._parent.man.fk) and (_parent._parent.yinc > 0)) {
_parent._parent.yinc = -10;
_parent._parent.inAir = true;
delete this.onEnterFrame;
this.play();
}
}
};
Symbol 1060 MovieClip Frame 2
_parent._parent.hiten.start();
Symbol 1060 MovieClip Frame 15
_parent._parent.score = _parent._parent.score + 50;
this.removeMovieClip();
Symbol 1060 MovieClip Frame 16
stop();
var moveline = (random(2) + 3);
var yinc = 0;
_parent._parent.score = _parent._parent.score + 50;
onEnterFrame = function () {
this._rotation = this._rotation - 60;
yinc = yinc + 1;
this._y = this._y - yinc;
if (_parent._parent.man._xscale == 100) {
this._x = this._x + (3 * moveline);
} else {
this._x = this._x - (3 * moveline);
}
};
Symbol 1060 MovieClip Frame 17
onEnterFrame = function () {
if (_parent._parent.man._x < this.getBounds(_parent._parent).xMin) {
this._x = this._x - 10;
} else {
this._x = this._x + 10;
}
if (_parent._parent.man.getBounds(_parent._parent).yMin < this.getBounds(_parent._parent).yMax) {
this._y = this._y - 5;
} else {
this._y = this._y + 5;
}
if (Math.abs(_parent._parent.man._x - this.getBounds(_parent._parent).xMin) < 10) {
this.removeMovieClip();
}
};
Symbol 1060 MovieClip Frame 25
stop();
_parent._parent.man.getEnemy = true;
_parent._parent.score = _parent._parent.score + 50;
Symbol 1069 MovieClip Frame 1
stop();
_parent._parent.land_array.push(this._name);
this.swapDepths(100 + (_parent._parent.dep++));
var noWalk = true;
onEnterFrame = function () {
if (this.hitTest(_parent._parent.man.zhongquan)) {
delete this.onEnterFrame;
this.play();
}
};
Symbol 1069 MovieClip Frame 2
_parent._parent.bomb_s.start();
Symbol 1069 MovieClip Frame 22
noWalk = false;
Symbol 1069 MovieClip Frame 40
this.removeMovieClip();
Symbol 1073 MovieClip Frame 1
var dix = false;
var long = 0;
var spd = 3;
_parent._parent.land_array.push(this._name);
stop();
onEnterFrame = function () {
if (dix == false) {
this._x = this._x - spd;
long = long + spd;
if (this.hitTest(_parent._parent.man.fk)) {
_parent._parent.land._x = _parent._parent.land._x + spd;
_parent._parent.bg._x = _parent._parent.bg._x + (spd / 2);
}
} else {
this._x = this._x + spd;
long = long + spd;
if (this.hitTest(_parent._parent.man.fk)) {
_parent._parent.land._x = _parent._parent.land._x - spd;
_parent._parent.bg._x = _parent._parent.bg._x - (spd / 2);
}
}
if (long >= 200) {
long = 0;
if (dix == false) {
dix = true;
} else {
dix = false;
}
}
};
Symbol 1075 MovieClip Frame 1
var dix = true;
var long = 0;
var spd = 3;
_parent._parent.land_array.push(this._name);
stop();
onEnterFrame = function () {
if (dix == false) {
this._x = this._x - spd;
long = long + spd;
if (this.hitTest(_parent._parent.man.fk)) {
_parent._parent.land._x = _parent._parent.land._x + spd;
_parent._parent.bg._x = _parent._parent.bg._x + (spd / 2);
}
} else {
this._x = this._x + spd;
long = long + spd;
if (this.hitTest(_parent._parent.man.fk)) {
_parent._parent.land._x = _parent._parent.land._x - spd;
_parent._parent.bg._x = _parent._parent.bg._x - (spd / 2);
}
}
if (long >= 200) {
long = 0;
if (dix == false) {
dix = true;
} else {
dix = false;
}
}
};
Symbol 1107 MovieClip Frame 1
this.swapDepths(100 + (_parent._parent.dep++));
_parent._parent.enemy_array.push(this._name);
var names = "songshu";
var yinc = 0;
var inAir = true;
var movspd = 5;
var movLeft = true;
var movRight = false;
var g = 1;
var canjump = false;
var dix = null;
var acted = true;
var actnum = null;
var act_i = 0;
var long = 0;
var dead = false;
Symbol 1107 MovieClip Frame 2
function jump() {
if ((canjump == true) and (dead == false)) {
yinc = -17;
inAir = true;
canjump = false;
acted = false;
}
}
function moves() {
if (((dix == false) and (long >= -500)) and (dead == false)) {
this._x = this._x - movspd;
long = long - movspd;
this.gotoAndPlay("\u8D70");
this._xscale = 100;
} else if (((dix == true) and (long <= 500)) and (dead == false)) {
this._x = this._x + movspd;
long = long + movspd;
this.gotoAndPlay("\u8D70");
this._xscale = -100;
}
}
stop();
onEnterFrame = function () {
if (_parent._parent.pauses == false) {
if ((acted == false) and (dead == false)) {
actnum = random(6);
acted = true;
}
if ((acted == true) and (dead == false)) {
act_i++;
if (act_i >= 60) {
act_i = 0;
acted = false;
}
}
switch (actnum) {
case 0 :
jump();
break;
case 1 :
dix = null;
moves();
break;
case 2 :
dix = false;
moves();
jump();
break;
case 3 :
dix = true;
moves();
jump();
break;
case 4 :
dix = false;
moves();
break;
case 5 :
dix = true;
moves();
}
var _local4 = 0;
while (_local4 < _parent._parent.item_array.length) {
var _local3 = _parent[_parent._parent.item_array[_local4]];
if (this.hitTest(_local3) and (dead == false)) {
delete _local3.onEnterFrame;
_local3.manhit = false;
_local3.play();
}
_local4++;
}
_local4 = 0;
while (_local4 < _parent._parent.land_array.length) {
var _local6 = _parent[_parent._parent.land_array[_local4]];
if (this.qfk.hitTest(_local6) and (_local6.noWalk == true)) {
if (movRight == true) {
this._x = this._x + movspd;
}
if (movLeft == true) {
this._x = this._x - movspd;
}
}
_local4++;
}
if (inAir == true) {
if (yinc < 15) {
yinc = yinc + g;
}
this._y = this._y + yinc;
_local4 = 0;
while (_local4 < _parent._parent.land_array.length) {
landObject = _parent[_parent._parent.land_array[_local4]];
var _local5 = landObject.getBounds(_parent).yMin;
if (this.dfk.hitTest(landObject)) {
if ((this._y - yinc) < _local5) {
inAir = false;
this._y = _local5;
yinc = 0;
canjump = true;
break;
}
}
_local4++;
}
}
}
};
Symbol 1107 MovieClip Frame 5
gotoAndPlay ("\u7AD9");
Symbol 1107 MovieClip Frame 6
_parent._parent.score = _parent._parent.score + 50;
_parent._parent.hiten.start();
dead = true;
play();
Symbol 1107 MovieClip Frame 35
gotoAndPlay (16);
Symbol 1107 MovieClip Frame 36
stop();
var moveline = (random(2) + 3);
var yinc = 0;
_parent._parent.score = _parent._parent.score + 50;
onEnterFrame = function () {
this._rotation = this._rotation - 60;
yinc = yinc + 1;
this._y = this._y - yinc;
if (_parent._parent.man._xscale == 100) {
this._x = this._x + (3 * moveline);
} else {
this._x = this._x - (3 * moveline);
}
};
Symbol 1116 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1117 MovieClip Frame 31
onEnterFrame = function () {
if (Key.isDown(32)) {
_parent.play();
delete this.onEnterFrame;
}
};
Symbol 1117 MovieClip Frame 110
_parent.play();
Symbol 1130 MovieClip Frame 1
var dix = false;
var long = 0;
var spd = 3;
stop();
_parent._parent.land_array.push(this._name);
onEnterFrame = function () {
if (dix == false) {
this._y = this._y - spd;
long = long + spd;
if (this.hitTest(_parent._parent.man.fk)) {
_parent._parent.man._y = _parent._parent.man._y - spd;
}
} else {
if (this.hitTest(_parent._parent.man.fk)) {
_parent._parent.man._y = _parent._parent.man._y + spd;
}
this._y = this._y + spd;
long = long + spd;
}
if (long >= 100) {
long = 0;
if (dix == false) {
dix = true;
} else {
dix = false;
}
}
};
Symbol 1141 MovieClip Frame 1
function getTime(num) {
if (vars == true) {
time++;
if (time >= num) {
time = 0;
vars = false;
}
}
}
function faces() {
if (_parent._parent.man._x < this.getBounds(_parent._parent).xMin) {
this._xscale = 100;
} else if (_parent._parent.man._x > this.getBounds(_parent._parent).xMax) {
this._xscale = -100;
}
}
_parent._parent.enemy_array.push(this._name);
this.swapDepths(100 + (_parent._parent.dep++));
var time = 0;
var vars = false;
var dix = false;
var long = 0;
var spd = 2;
Symbol 1141 MovieClip Frame 2
stop();
onEnterFrame = function () {
if (_parent._parent.pauses == false) {
getTime(45);
faces();
if (((vars == false) and (Math.abs(_parent._parent.man._x - ((this.getBounds(_parent._parent).xMin + this.getBounds(_parent._parent).xMax) / 2)) <= 300)) and (Math.abs(_parent._parent.man._y - this.getBounds(_parent._parent).yMax) <= 100)) {
this.gotoAndPlay("attack");
vars = true;
}
if (dix == false) {
this._x = this._x - spd;
long = long + spd;
this._xscale = 100;
} else {
this._x = this._x + spd;
long = long + spd;
this._xscale = -100;
}
if (long >= 150) {
long = 0;
if (dix == false) {
dix = true;
} else {
dix = false;
}
}
}
};
Symbol 1141 MovieClip Frame 3
_parent._parent.hiten.start();
Symbol 1141 MovieClip Frame 17
_parent._parent.score = _parent._parent.score + 50;
this.removeMovieClip();
Symbol 1141 MovieClip Frame 18
if (_parent._parent.man.x < this.getBounds(_parent._parent).xMin) {
this._xscale = 100;
} else {
this._xscale = -100;
}
Symbol 1141 MovieClip Frame 30
_parent.attachMovie("\u8475\u82B1\u7C7D", "kuihuazi" + _parent._parent.dep, _parent._parent.dep++);
_parent["kuihuazi" + _parent._parent.dep]._y = atkfk.getBounds(_parent).yMin;
_parent["kuihuazi" + _parent._parent.dep]._x = atkfk.getBounds(_parent).xMin;
_parent["kuihuazi" + _parent._parent.dep]._xscale = this._xscale;
Symbol 1141 MovieClip Frame 34
gotoAndPlay ("\u8D70");
Symbol 1141 MovieClip Frame 35
stop();
var moveline = (random(2) + 3);
var yinc = 0;
_parent._parent.score = _parent._parent.score + 50;
onEnterFrame = function () {
this._rotation = this._rotation - 60;
yinc = yinc + 1;
this._y = this._y - yinc;
if (_parent._parent.man._xscale == 100) {
this._x = this._x + (3 * moveline);
} else {
this._x = this._x - (3 * moveline);
}
};
Symbol 1141 MovieClip Frame 36
onEnterFrame = function () {
if (_parent._parent.man._x < this.getBounds(_parent._parent).xMin) {
this._x = this._x - 10;
} else {
this._x = this._x + 10;
}
if (_parent._parent.man.getBounds(_parent._parent).yMin < this.getBounds(_parent._parent).yMax) {
this._y = this._y - 5;
} else {
this._y = this._y + 5;
}
if (Math.abs(_parent._parent.man._x - this.getBounds(_parent._parent).xMin) < 10) {
this.removeMovieClip();
}
};
Symbol 1141 MovieClip Frame 44
stop();
_parent._parent.man.getEnemy = true;
_parent._parent.score = _parent._parent.score + 50;
Symbol 1144 MovieClip Frame 1
stop();
this.swapDepths(500 + (_parent._parent.dep++));
_parent._parent.item_array.push(this._name);
onEnterFrame = function () {
if (this.hitTest(_parent._parent.man)) {
_parent._parent.s_point.start();
_parent._parent.coHp = _parent._parent.coHp + 1;
if ((_parent._parent.coHp == 1) or (_parent._parent.coHp == 3)) {
_parent._parent.manHp = _parent._parent.maxHp;
} else if ((_parent._parent.coHp == 2) or (_parent._parent.coHp == 4)) {
_parent._parent.manHp = _parent._parent.maxHp + 1;
}
delete this.onEnterFrame;
this.play();
}
};
Symbol 1144 MovieClip Frame 16
stop();
this.removeMovieClip();
Symbol 1145 MovieClip Frame 1
stop();
this.swapDepths(500 + (_parent._parent.dep++));
_parent._parent.item_array.push(this._name);
onEnterFrame = function () {
if (this.hitTest(_parent._parent.man.hitfk)) {
_parent._parent.score = _parent._parent.score + 20;
_parent._parent.s_point.start();
_parent._parent.purple = _parent._parent.purple - 1;
delete this.onEnterFrame;
this.play();
}
};
Symbol 1145 MovieClip Frame 16
stop();
this.removeMovieClip();
Symbol 1156 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (this.fk.hitTest(_parent._parent.man.fk) and (_parent._parent.yinc >= 0)) {
_parent._parent.man._y = this.fk.getBounds(_parent._parent).yMin;
_parent._parent.movlock = true;
this.play();
}
};
Symbol 1156 MovieClip Frame 8
_parent._parent.js.start();
_parent._parent.yinc = -20;
_parent._parent.inAir = true;
_parent._parent.movlock = false;
Symbol 1156 MovieClip Frame 20
gotoAndPlay (1);
Symbol 1176 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1177 MovieClip Frame 31
onEnterFrame = function () {
if (Key.isDown(32)) {
_parent.play();
delete this.onEnterFrame;
}
};
Symbol 1177 MovieClip Frame 112
_parent.play();
Symbol 1188 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 1190 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 1195 MovieClip Frame 1
stop();
this.swapDepths(500 + (_parent._parent.dep++));
_parent._parent.item_array.push(this._name);
onEnterFrame = function () {
if (this.hitTest(_parent._parent.man.hitfk)) {
_parent._parent.blue = _parent._parent.blue - 1;
_parent._parent.score = _parent._parent.score + 20;
_parent._parent.s_point.start();
delete this.onEnterFrame;
this.play();
}
};
Symbol 1195 MovieClip Frame 16
stop();
this.removeMovieClip();
Symbol 1198 MovieClip Frame 1
_parent._parent.land_array.push(this._name);
this.cacheAsBitmap = true;
Symbol 1200 MovieClip Frame 1
var dix = false;
var long = 0;
var spd = 3;
_parent._parent.land_array.push(this._name);
stop();
onEnterFrame = function () {
if (dix == false) {
this._x = this._x - spd;
long = long + spd;
if (this.hitTest(_parent._parent.man.fk)) {
_parent._parent.land._x = _parent._parent.land._x + spd;
_parent._parent.bg._x = _parent._parent.bg._x + (spd / 2);
}
} else {
this._x = this._x + spd;
long = long + spd;
if (this.hitTest(_parent._parent.man.fk)) {
_parent._parent.land._x = _parent._parent.land._x - spd;
_parent._parent.bg._x = _parent._parent.bg._x - (spd / 2);
}
}
if (long >= 200) {
long = 0;
if (dix == false) {
dix = true;
} else {
dix = false;
}
}
};
Symbol 1202 MovieClip Frame 1
var dix = false;
var long = 0;
var spd = 3;
stop();
_parent._parent.land_array.push(this._name);
onEnterFrame = function () {
if (dix == false) {
this._y = this._y - spd;
long = long + spd;
if (this.hitTest(_parent._parent.man.fk)) {
_parent._parent.man._y = _parent._parent.man._y - spd;
}
} else {
if (this.hitTest(_parent._parent.man.fk)) {
_parent._parent.man._y = _parent._parent.man._y + spd;
}
this._y = this._y + spd;
long = long + spd;
}
if (long >= 100) {
long = 0;
if (dix == false) {
dix = true;
} else {
dix = false;
}
}
};
Symbol 1207 MovieClip Frame 1
var csy = this._y;
var g = 1;
var spd = 0;
var drop = false;
var i = 0;
var gettime = false;
Symbol 1207 MovieClip Frame 2
stop();
_parent._parent.land_array.push(this._name);
onEnterFrame = function () {
if (this.fk.hitTest(_parent._parent.man.fk) and (gettime == false)) {
gettime = true;
}
if (gettime == true) {
i++;
if (i == 10) {
gotoAndStop (3);
} else if (i == 30) {
gotoAndStop (4);
} else if (i == 50) {
gotoAndStop (5);
} else if (i >= 60) {
drop = true;
gotoAndStop (2);
}
}
if (drop == true) {
spd = spd + g;
this._y = this._y + spd;
if (this._y >= 450) {
drop = false;
spd = 0;
gettime = false;
i = 0;
this._y = csy;
}
}
};
Symbol 1220 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1230 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1231 MovieClip Frame 31
onEnterFrame = function () {
if (Key.isDown(32)) {
_parent.play();
delete this.onEnterFrame;
}
};
Symbol 1231 MovieClip Frame 112
_parent.play();
Symbol 1237 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 1238 MovieClip Frame 1
_parent._parent.enemy_array.push(this._name);
this.swapDepths(100 + (_parent._parent.dep++));
var dix = false;
var long = 0;
var spd = 3;
var yinc = 0;
var inAir = false;
var g = 1;
var canjump = true;
var acted = true;
var act_i = 0;
var long = 0;
var dead = false;
Symbol 1238 MovieClip Frame 2
function jump() {
if ((canjump == true) and (dead == false)) {
gotoAndPlay ("\u8DF3");
yinc = -10;
inAir = true;
canjump = false;
}
}
stop();
onEnterFrame = function () {
if (_parent._parent.pauses == false) {
if (dix == false) {
this._x = this._x - spd;
long = long + spd;
this._xscale = 100;
} else {
this._x = this._x + spd;
long = long + spd;
this._xscale = -100;
}
if (long >= 150) {
long = 0;
if (dix == false) {
dix = true;
} else {
dix = false;
}
}
if ((acted == false) and (dead == false)) {
jump();
acted = true;
}
if ((acted == true) and (dead == false)) {
act_i++;
if (act_i >= 70) {
act_i = 0;
acted = false;
}
}
var _local3 = 0;
while (_local3 < _parent._parent.land_array.length) {
var _local5 = _parent[_parent._parent.land_array[_local3]];
if (this.qfk.hitTest(_local5) and (_local5.noWalk == true)) {
if (movRight == true) {
this._x = this._x + spd;
}
if (movLeft == true) {
this._x = this._x - spd;
}
}
_local3++;
}
if (inAir == true) {
if (yinc < 10) {
yinc = yinc + g;
}
this._y = this._y + yinc;
_local3 = 0;
while (_local3 < _parent._parent.land_array.length) {
landObject = _parent[_parent._parent.land_array[_local3]];
var _local4 = landObject.getBounds(_parent).yMin;
if (this.dfk.hitTest(landObject)) {
if ((this._y - yinc) < _local4) {
inAir = false;
this._y = _local4;
yinc = 0;
canjump = true;
gotoAndStop (2);
break;
}
}
_local3++;
}
}
}
};
Symbol 1238 MovieClip Frame 4
stop();
Symbol 1238 MovieClip Frame 6
_parent._parent.hiten.start();
behit = true;
delete this.onEnterFrame;
play();
Symbol 1238 MovieClip Frame 21
_parent._parent.score = _parent._parent.score + 50;
this.removeMovieClip();
Symbol 1238 MovieClip Frame 22
stop();
var moveline = (random(2) + 3);
var yinc = 0;
_parent._parent.score = _parent._parent.score + 50;
onEnterFrame = function () {
this._rotation = this._rotation - 60;
yinc = yinc + 1;
this._y = this._y - yinc;
if (_parent._parent.man._xscale == 100) {
this._x = this._x + (3 * moveline);
} else {
this._x = this._x - (3 * moveline);
}
};
Symbol 1238 MovieClip Frame 23
onEnterFrame = function () {
if (_parent._parent.man._x < this.getBounds(_parent._parent).xMin) {
this._x = this._x - 10;
} else {
this._x = this._x + 10;
}
if (_parent._parent.man.getBounds(_parent._parent).yMin < this.getBounds(_parent._parent).yMax) {
this._y = this._y - 5;
} else {
this._y = this._y + 5;
}
if (Math.abs(_parent._parent.man._x - this.getBounds(_parent._parent).xMin) < 10) {
this.removeMovieClip();
}
};
Symbol 1238 MovieClip Frame 31
stop();
_parent._parent.man.getEnemy = true;
_parent._parent.score = _parent._parent.score + 50;
Symbol 1250 MovieClip Frame 1
stop();
_parent._parent.enemy_array.push(this._name);
var dix = false;
var long = 0;
var spd = 2;
this.swapDepths(100 + (_parent._parent.dep++));
onEnterFrame = function () {
if (_parent._parent.pauses == false) {
if (dix == false) {
this._x = this._x - spd;
long = long + spd;
this._xscale = 100;
} else {
this._x = this._x + spd;
long = long + spd;
this._xscale = -100;
}
if (long >= 150) {
long = 0;
if (dix == false) {
dix = true;
} else {
dix = false;
}
}
}
};
Symbol 1250 MovieClip Frame 2
_parent._parent.hiten.start();
Symbol 1250 MovieClip Frame 17
_parent._parent.score = _parent._parent.score + 50;
this.removeMovieClip();
Symbol 1250 MovieClip Frame 18
stop();
var moveline = (random(2) + 3);
var yinc = 0;
_parent._parent.score = _parent._parent.score + 50;
onEnterFrame = function () {
this._rotation = this._rotation - 60;
yinc = yinc + 1;
this._y = this._y - yinc;
if (_parent._parent.man._xscale == 100) {
this._x = this._x + (3 * moveline);
} else {
this._x = this._x - (3 * moveline);
}
};
Symbol 1250 MovieClip Frame 19
onEnterFrame = function () {
if (_parent._parent.man._x < this.getBounds(_parent._parent).xMin) {
this._x = this._x - 10;
} else {
this._x = this._x + 10;
}
if (_parent._parent.man.getBounds(_parent._parent).yMin < this.getBounds(_parent._parent).yMax) {
this._y = this._y - 5;
} else {
this._y = this._y + 5;
}
if (Math.abs(_parent._parent.man._x - this.getBounds(_parent._parent).xMin) < 10) {
this.removeMovieClip();
}
};
Symbol 1250 MovieClip Frame 27
stop();
_parent._parent.man.getEnemy = true;
_parent._parent.score = _parent._parent.score + 50;
Symbol 1252 MovieClip Frame 1
stop();
var noHit = true;
onEnterFrame = function () {
if (this.fk.hitTest(_parent._parent.man.fk) and (_parent._parent.yinc >= 0)) {
_parent._parent.yinc = -20;
_parent._parent.inAir = true;
}
};
Symbol 1262 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1263 MovieClip Frame 31
onEnterFrame = function () {
if (Key.isDown(32)) {
_parent.play();
delete this.onEnterFrame;
}
};
Symbol 1263 MovieClip Frame 111
_parent.play();
Symbol 1268 MovieClip Frame 1
var csx = this._x;
var spd = 3;
Symbol 1268 MovieClip Frame 2
stop();
this._x = csx;
var long = 0;
var i = 0;
var gettime = false;
var dix = false;
_parent._parent.land_array.push(this._name);
onEnterFrame = function () {
if (gettime == true) {
i++;
if (i == 10) {
gotoAndStop (3);
} else if (i == 40) {
gotoAndStop (4);
} else if (i == 70) {
gotoAndStop (5);
}
if (i >= 90) {
gettime = false;
i = 0;
this.gotoAndPlay(6);
}
}
if (dix == false) {
this._x = this._x - spd;
long = long + spd;
if (this.hitTest(_parent._parent.man.fk)) {
_parent._parent.land._x = _parent._parent.land._x + spd;
_parent._parent.bg._x = _parent._parent.bg._x + (spd / 2);
gettime = true;
}
} else {
this._x = this._x + spd;
long = long + spd;
if (this.hitTest(_parent._parent.man.fk)) {
_parent._parent.land._x = _parent._parent.land._x - spd;
_parent._parent.bg._x = _parent._parent.bg._x - (spd / 2);
gettime = true;
}
}
if (long >= 200) {
long = 0;
if (dix == false) {
dix = true;
} else {
dix = false;
}
}
};
Symbol 1268 MovieClip Frame 6
this._name = "ddd";
_parent._parent.bomb_s.start();
Symbol 1268 MovieClip Frame 63
gotoAndPlay (2);
Symbol 1289 MovieClip Frame 1
_parent._parent.enemy_array.push(this._name);
var dix = false;
var long = 0;
var spd = 2;
var yinc = 0;
var atked = false;
var i = 0;
Symbol 1289 MovieClip Frame 2
stop();
this.swapDepths(100 + (_parent._parent.dep++));
onEnterFrame = function () {
if (_parent._parent.pauses == false) {
if (dix == false) {
this._x = this._x - spd;
long = long + spd;
this._xscale = 100;
} else {
this._x = this._x + spd;
long = long + spd;
this._xscale = -100;
}
if (long >= 400) {
long = 0;
if (dix == false) {
dix = true;
} else {
dix = false;
}
}
if ((Math.abs(_parent._parent.man._x - this.getBounds(_parent._parent).xMin) <= 20) and (atked == false)) {
this.gotoAndPlay("attack");
}
if (atked == true) {
i++;
if (i >= 60) {
i = 0;
atked = false;
this.gotoAndPlay("\u98DE");
}
}
}
};
Symbol 1289 MovieClip Frame 3
onEnterFrame = function () {
yinc = yinc + 1;
this._y = this._y + yinc;
if (this._y >= 450) {
this.removeMovieClip();
}
};
_parent._parent.hiten.start();
Symbol 1289 MovieClip Frame 22
stop();
_parent._parent.score = _parent._parent.score + 50;
Symbol 1289 MovieClip Frame 34
_parent._parent.score = _parent._parent.score + 50;
this.removeMovieClip();
Symbol 1289 MovieClip Frame 70
stop();
_parent.attachMovie("bomb", "bomb" + _parent._parent.dep, _parent._parent.dep++);
_parent["bomb" + _parent._parent.dep]._y = atkfk.getBounds(_parent).yMax;
_parent["bomb" + _parent._parent.dep]._x = (atkfk.getBounds(_parent).xMin + atkfk.getBounds(_parent).xMax) / 2;
atked = true;
Symbol 1290 MovieClip Frame 1
var csy = this._y;
Symbol 1290 MovieClip Frame 2
var dix = false;
var long = 0;
var spd = 2;
var i = 0;
var gettime = false;
this._name = "bbb";
_parent._parent.land_array.push(this._name);
stop();
this._y = csy;
onEnterFrame = function () {
if (gettime == true) {
i++;
if (i == 10) {
gotoAndStop (3);
} else if (i == 40) {
gotoAndStop (4);
} else if (i == 70) {
gotoAndStop (5);
}
if (i >= 90) {
gettime = false;
i = 0;
this.gotoAndPlay(6);
}
}
if (this.fk.hitTest(_parent._parent.man.fk)) {
if (dix == false) {
_parent._parent.man._y = _parent._parent.man._y - spd;
} else {
_parent._parent.man._y = _parent._parent.man._y + spd;
}
gettime = true;
}
if (gettime == true) {
i++;
if (i >= 90) {
gettime = false;
this.gotoAndPlay(3);
}
}
if (dix == false) {
this._y = this._y - spd;
long = long + spd;
} else {
this._y = this._y + spd;
long = long + spd;
}
if (long >= 100) {
long = 0;
if (dix == false) {
dix = true;
} else {
dix = false;
}
}
};
Symbol 1290 MovieClip Frame 6
this._name = "aaa";
_parent._parent.bomb_s.start();
Symbol 1290 MovieClip Frame 63
gotoAndPlay (2);
Symbol 1310 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1311 MovieClip Frame 31
onEnterFrame = function () {
if (Key.isDown(32)) {
_parent.play();
delete this.onEnterFrame;
}
};
Symbol 1311 MovieClip Frame 112
_parent.play();
Symbol 1315 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 1317 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 1320 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 1322 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 1325 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 1330 MovieClip Frame 1
function getTime(num) {
if (vars == true) {
time++;
if (time >= num) {
time = 0;
vars = false;
}
}
}
function faces() {
if (_parent._parent.man._x < this.getBounds(_parent._parent).xMin) {
this._xscale = 100;
} else if (_parent._parent.man._x > this.getBounds(_parent._parent).xMax) {
this._xscale = -100;
}
}
_parent._parent.enemy_array.push(this._name);
this.swapDepths(100 + (_parent._parent.dep++));
var dix = false;
var long = 0;
var spd = 2;
var time = 0;
var vars = false;
var acted = true;
var act_i = 0;
var atking = false;
Symbol 1330 MovieClip Frame 2
stop();
onEnterFrame = function () {
if (_parent._parent.pauses == false) {
if ((dix == false) and (atking == false)) {
this._x = this._x - spd;
long = long + spd;
this._xscale = 100;
} else if ((dix == true) and (atking == false)) {
this._x = this._x + spd;
long = long + spd;
this._xscale = -100;
}
if (long >= 150) {
long = 0;
if (dix == false) {
dix = true;
} else {
dix = false;
}
}
if (acted == false) {
gotoAndPlay ("atk");
acted = true;
}
if (acted == true) {
act_i++;
if (act_i >= 80) {
act_i = 0;
acted = false;
}
}
}
};
Symbol 1330 MovieClip Frame 4
atking = true;
Symbol 1330 MovieClip Frame 22
atking = false;
gotoAndPlay (2);
Symbol 1330 MovieClip Frame 24
_parent._parent.hiten.start();
play();
Symbol 1330 MovieClip Frame 39
_parent._parent.score = _parent._parent.score + 50;
this.removeMovieClip();
Symbol 1330 MovieClip Frame 40
stop();
var moveline = (random(2) + 3);
var yinc = 0;
_parent._parent.score = _parent._parent.score + 50;
onEnterFrame = function () {
this._rotation = this._rotation - 60;
yinc = yinc + 1;
this._y = this._y - yinc;
if (_parent._parent.man._xscale == 100) {
this._x = this._x + (3 * moveline);
} else {
this._x = this._x - (3 * moveline);
}
};
Symbol 1330 MovieClip Frame 41
onEnterFrame = function () {
if (_parent._parent.man._x < this.getBounds(_parent._parent).xMin) {
this._x = this._x - 10;
} else {
this._x = this._x + 10;
}
if (_parent._parent.man.getBounds(_parent._parent).yMin < this.getBounds(_parent._parent).yMax) {
this._y = this._y - 5;
} else {
this._y = this._y + 5;
}
if (Math.abs(_parent._parent.man._x - this.getBounds(_parent._parent).xMin) < 10) {
this.removeMovieClip();
}
};
play();
Symbol 1330 MovieClip Frame 49
stop();
_parent._parent.score = _parent._parent.score + 50;
_parent._parent.man.getEnemy = true;
Symbol 1331 MovieClip Frame 1
stop();
this.swapDepths(500 + (_parent._parent.dep++));
_parent._parent.item_array.push(this._name);
onEnterFrame = function () {
if (this.hitTest(_parent._parent.man.hitfk)) {
_parent._parent.red = _parent._parent.red - 1;
_parent._parent.score = _parent._parent.score + 20;
_parent._parent.s_point.start();
delete this.onEnterFrame;
this.play();
}
};
Symbol 1331 MovieClip Frame 16
stop();
this.removeMovieClip();
Symbol 1332 MovieClip Frame 1
Symbol 1335 MovieClip Frame 1
_parent._parent.land_array.push(this._name);
var ice = true;
Symbol 1339 MovieClip Frame 1
_parent._parent.land_array.push(this._name);
var ice = true;
Symbol 1340 MovieClip Frame 1
Symbol 1342 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1343 MovieClip Frame 31
onEnterFrame = function () {
if (Key.isDown(32)) {
_parent.play();
delete this.onEnterFrame;
}
};
Symbol 1343 MovieClip Frame 112
_parent.play();
Symbol 1364 MovieClip Frame 1
stop();
_parent._parent.enemy_array.push(this._name);
var dix = false;
var long = 0;
var spd = 4;
this.swapDepths(100 + (_parent._parent.dep++));
onEnterFrame = function () {
if (_parent._parent.pauses == false) {
if (dix == false) {
this._x = this._x - spd;
long = long + spd;
this._xscale = 100;
} else {
this._x = this._x + spd;
long = long + spd;
this._xscale = -100;
}
if (long >= 200) {
long = 0;
if (dix == false) {
dix = true;
} else {
dix = false;
}
}
}
};
Symbol 1364 MovieClip Frame 2
_parent._parent.hiten.start();
Symbol 1364 MovieClip Frame 17
_parent._parent.score = _parent._parent.score + 50;
this.removeMovieClip();
Symbol 1364 MovieClip Frame 18
stop();
var moveline = (random(2) + 3);
var yinc = 0;
_parent._parent.score = _parent._parent.score + 50;
onEnterFrame = function () {
this._rotation = this._rotation - 60;
yinc = yinc + 1;
this._y = this._y - yinc;
if (_parent._parent.man._xscale == 100) {
this._x = this._x + (3 * moveline);
} else {
this._x = this._x - (3 * moveline);
}
};
Symbol 1364 MovieClip Frame 19
onEnterFrame = function () {
if (_parent._parent.man._x < this.getBounds(_parent._parent).xMin) {
this._x = this._x - 10;
} else {
this._x = this._x + 10;
}
if (_parent._parent.man.getBounds(_parent._parent).yMin < this.getBounds(_parent._parent).yMax) {
this._y = this._y - 5;
} else {
this._y = this._y + 5;
}
if (Math.abs(_parent._parent.man._x - this.getBounds(_parent._parent).xMin) < 10) {
this.removeMovieClip();
}
};
Symbol 1364 MovieClip Frame 27
stop();
_parent._parent.man.getEnemy = true;
_parent._parent.score = _parent._parent.score + 50;
Symbol 1365 MovieClip Frame 1
Symbol 1376 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1379 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 1384 MovieClip Frame 1
_parent._parent.enemy_array.push(this._name);
this.swapDepths(100 + (_parent._parent.dep++));
var inAir = true;
var yinc = 0;
var g = 1;
Symbol 1384 MovieClip Frame 2
stop();
onEnterFrame = function () {
if (_parent._parent.pauses == false) {
if (this._y >= 600) {
this.removeMovieClip();
}
this._x = this._x + 4;
if (inAir) {
if (yinc < 10) {
yinc = yinc + g;
}
this._y = this._y + yinc;
var _local3 = 0;
while (_local3 < _parent._parent.land_array.length) {
landObject = _parent[_parent._parent.land_array[_local3]];
var _local4 = landObject.getBounds(_parent).yMin;
if (this.dfk.hitTest(landObject)) {
if ((this._y - yinc) < _local4) {
inAir = false;
this._y = _local4;
yinc = 0;
break;
}
}
_local3++;
}
} else if (!this.dfk.hitTest(landObject)) {
yinc = 1;
inAir = true;
}
}
};
Symbol 1385 MovieClip Frame 1
Symbol 1387 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1388 MovieClip Frame 31
onEnterFrame = function () {
if (Key.isDown(32)) {
_parent.play();
delete this.onEnterFrame;
}
};
Symbol 1388 MovieClip Frame 117
_parent.play();
Symbol 1391 MovieClip Frame 1
Symbol 1396 MovieClip Frame 1
stop();
var yinc = 3;
var down = false;
_parent._parent.enemy_array.push(this._name);
this.swapDepths(100 + (_parent._parent.dep++));
onEnterFrame = function () {
if (Math.abs(_parent._parent.man._x - this.getBounds(_parent._parent).xMin) <= 20) {
down = true;
}
if (down == true) {
this._y = this._y + yinc;
yinc = yinc + 0.5;
}
if (this.getBounds(_parent._parent).yMin > 450) {
this.removeMovieClip();
}
};
Symbol 1396 MovieClip Frame 17
this.removeMovieClip();
Symbol 1396 MovieClip Frame 18
gotoAndPlay ("bomb");
Symbol 1396 MovieClip Frame 19
gotoAndPlay ("bomb");
Symbol 1397 MovieClip Frame 1
Symbol 1409 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1410 MovieClip Frame 31
onEnterFrame = function () {
if (Key.isDown(32)) {
_parent.play();
delete this.onEnterFrame;
}
};
Symbol 1410 MovieClip Frame 111
_parent.play();
Symbol 1413 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 1420 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 1430 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 1432 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 1433 MovieClip Frame 1
_parent._parent.enemy_array.push(this._name);
this.swapDepths(100 + (_parent._parent.dep++));
var dix = false;
var long = 0;
var spd = 3;
var atking = false;
var acted = false;
var act_i = 0;
var behit = false;
Symbol 1433 MovieClip Frame 2
stop();
onEnterFrame = function () {
if (_parent._parent.pauses == false) {
if ((acted == false) and (behit == false)) {
this.gotoAndPlay("attack");
acted = true;
}
if (acted == true) {
act_i++;
if (act_i >= 90) {
act_i = 0;
acted = false;
}
}
if ((dix == false) and (atking == false)) {
this._x = this._x - spd;
long = long + spd;
this._xscale = 100;
} else if ((dix == true) and (atking == false)) {
this._x = this._x + spd;
long = long + spd;
this._xscale = -100;
}
if (long >= 150) {
long = 0;
if (dix == false) {
dix = true;
} else {
dix = false;
}
}
}
};
Symbol 1433 MovieClip Frame 4
atking = true;
Symbol 1433 MovieClip Frame 13
if (Math.abs(_parent._parent.man._x - this.getBounds(_parent._parent).xMin) <= 290) {
_parent._parent.fire_s.start();
}
var di = (2000 + _parent._parent.dep);
_parent.attachMovie("\u5BFC\u5F39", "daodan" + di, _parent._parent.dep++);
_parent["daodan" + di]._y = (atkfk.getBounds(_parent).yMin + atkfk.getBounds(_parent).yMax) / 2;
if (this._xscale == 100) {
_parent["daodan" + di]._x = atkfk.getBounds(_parent).xMin;
} else {
_parent["daodan" + di]._x = atkfk.getBounds(_parent).xMax;
}
_parent["daodan" + di]._xscale = this._xscale;
Symbol 1433 MovieClip Frame 25
atking = false;
gotoAndPlay (2);
Symbol 1433 MovieClip Frame 27
_parent._parent.hiten.start();
behit = true;
delete this.onEnterFrame;
play();
Symbol 1433 MovieClip Frame 42
_parent._parent.score = _parent._parent.score + 50;
this.removeMovieClip();
Symbol 1433 MovieClip Frame 43
stop();
var moveline = (random(2) + 3);
var yinc = 0;
_parent._parent.score = _parent._parent.score + 50;
onEnterFrame = function () {
this._rotation = this._rotation - 60;
yinc = yinc + 1;
this._y = this._y - yinc;
if (_parent._parent.man._xscale == 100) {
this._x = this._x + (3 * moveline);
} else {
this._x = this._x - (3 * moveline);
}
};
Symbol 1433 MovieClip Frame 44
onEnterFrame = function () {
if (_parent._parent.man._x < this.getBounds(_parent._parent).xMin) {
this._x = this._x - 10;
} else {
this._x = this._x + 10;
}
if (_parent._parent.man.getBounds(_parent._parent).yMin < this.getBounds(_parent._parent).yMax) {
this._y = this._y - 5;
} else {
this._y = this._y + 5;
}
if (Math.abs(_parent._parent.man._x - this.getBounds(_parent._parent).xMin) < 10) {
this.removeMovieClip();
}
};
Symbol 1433 MovieClip Frame 52
stop();
_parent._parent.man.getEnemy = true;
_parent._parent.score = _parent._parent.score + 50;
Symbol 1434 MovieClip Frame 1
stop();
this.swapDepths(500 + (_parent._parent.dep++));
_parent._parent.item_array.push(this._name);
onEnterFrame = function () {
if (this.hitTest(_parent._parent.man.hitfk)) {
_parent._parent.yellow = _parent._parent.yellow - 1;
_parent._parent.score = _parent._parent.score + 20;
_parent._parent.s_point.start();
delete this.onEnterFrame;
this.play();
}
};
Symbol 1434 MovieClip Frame 16
stop();
this.removeMovieClip();
Symbol 1435 MovieClip Frame 1
Symbol 1457 MovieClip Frame 1
function getTime(num) {
if (vars == true) {
time++;
if (time >= num) {
time = 0;
vars = false;
}
}
}
function faces() {
if (_parent._parent.man._x < this.getBounds(_parent._parent).xMin) {
this._xscale = 100;
} else if (_parent._parent.man._x > this.getBounds(_parent._parent).xMax) {
this._xscale = -100;
}
}
stop();
_parent._parent.enemy_array.push(this._name);
var dix = false;
var long = 0;
var spd = 5;
var time = 0;
var vars = false;
this.swapDepths(100 + (_parent._parent.dep++));
onEnterFrame = function () {
if (_parent._parent.pauses == false) {
if (dix == false) {
this._x = this._x - spd;
long = long + spd;
this._xscale = 100;
} else {
this._x = this._x + spd;
long = long + spd;
this._xscale = -100;
}
if (long >= 350) {
long = 0;
if (dix == false) {
dix = true;
} else {
dix = false;
}
}
}
};
Symbol 1457 MovieClip Frame 2
_parent._parent.hiten.start();
Symbol 1457 MovieClip Frame 17
_parent._parent.score = _parent._parent.score + 50;
this.removeMovieClip();
Symbol 1457 MovieClip Frame 18
stop();
var moveline = (random(2) + 3);
var yinc = 0;
_parent._parent.score = _parent._parent.score + 50;
onEnterFrame = function () {
this._rotation = this._rotation - 60;
yinc = yinc + 1;
this._y = this._y - yinc;
if (_parent._parent.man._xscale == 100) {
this._x = this._x + (3 * moveline);
} else {
this._x = this._x - (3 * moveline);
}
};
Symbol 1457 MovieClip Frame 19
onEnterFrame = function () {
if (_parent._parent.man._x < this.getBounds(_parent._parent).xMin) {
this._x = this._x - 10;
} else {
this._x = this._x + 10;
}
if (_parent._parent.man.getBounds(_parent._parent).yMin < this.getBounds(_parent._parent).yMax) {
this._y = this._y - 5;
} else {
this._y = this._y + 5;
}
if (Math.abs(_parent._parent.man._x - this.getBounds(_parent._parent).xMin) < 10) {
this.removeMovieClip();
}
};
Symbol 1457 MovieClip Frame 27
stop();
_parent._parent.man.getEnemy = true;
_parent._parent.score = _parent._parent.score + 50;
Symbol 1461 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1462 MovieClip Frame 31
onEnterFrame = function () {
if (Key.isDown(32)) {
_parent.play();
delete this.onEnterFrame;
}
};
Symbol 1462 MovieClip Frame 112
_parent.play();
Symbol 1478 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 1480 MovieClip Frame 1
this.cacheAsBitmap = true;
_parent._parent.land_array.push(this._name);
var noWalk = true;
Symbol 1482 MovieClip Frame 1
function getTime(num) {
if (vars == true) {
time++;
if (time >= num) {
time = 0;
vars = false;
}
}
}
function faces() {
if (_parent._parent.man._x < this.getBounds(_parent._parent).xMin) {
this._xscale = 100;
} else if (_parent._parent.man._x > this.getBounds(_parent._parent).xMax) {
this._xscale = -100;
}
}
stop();
_parent._parent.land_array.push(this._name);
_parent._parent.enemy_array.push(this._name);
var noLife = true;
var dix = false;
var long = 0;
var time = 0;
var vars = false;
var noWalk = true;
this.swapDepths(100 + (_parent._parent.dep++));
onEnterFrame = function () {
if (dix == false) {
this._x = this._x - 10;
long = long + 10;
if (this.fk.hitTest(_parent._parent.man.fk)) {
_parent._parent.land._x = _parent._parent.land._x + 10;
_parent._parent.bg._x = _parent._parent.bg._x + 5;
}
} else {
this._x = this._x + 3;
long = long + 3;
if (this.fk.hitTest(_parent._parent.man.fk)) {
_parent._parent.land._x = _parent._parent.land._x - 3;
_parent._parent.bg._x = _parent._parent.bg._x - 1.5;
} else if (this.hfk.hitTest(_parent._parent.man.qfk)) {
_parent._parent.land._x = _parent._parent.land._x - 3;
_parent._parent.bg._x = _parent._parent.bg._x - 1.5;
}
}
if (long >= 150) {
long = 0;
if (dix == false) {
dix = true;
} else {
dix = false;
}
}
};
Symbol 1484 MovieClip Frame 1
function getTime(num) {
if (vars == true) {
time++;
if (time >= num) {
time = 0;
vars = false;
}
}
}
function faces() {
if (_parent._parent.man._x < this.getBounds(_parent._parent).xMin) {
this._xscale = 100;
} else if (_parent._parent.man._x > this.getBounds(_parent._parent).xMax) {
this._xscale = -100;
}
}
stop();
_parent._parent.land_array.push(this._name);
_parent._parent.enemy_array.push(this._name);
var dix = true;
var noLife = true;
var long = 0;
var time = 0;
var vars = false;
var noWalk = true;
this.swapDepths(100 + (_parent._parent.dep++));
onEnterFrame = function () {
if (dix == false) {
this._x = this._x - 3;
long = long + 3;
if (this.fk.hitTest(_parent._parent.man.fk)) {
_parent._parent.land._x = _parent._parent.land._x + 3;
_parent._parent.bg._x = _parent._parent.bg._x + 1.5;
} else if (this.hfk.hitTest(_parent._parent.man.qfk)) {
_parent._parent.land._x = _parent._parent.land._x + 3;
_parent._parent.bg._x = _parent._parent.bg._x + 1.5;
}
} else {
this._x = this._x + 10;
long = long + 10;
if (this.fk.hitTest(_parent._parent.man.fk)) {
_parent._parent.land._x = _parent._parent.land._x - 10;
_parent._parent.bg._x = _parent._parent.bg._x - 5;
}
}
if (long >= 150) {
long = 0;
if (dix == false) {
dix = true;
} else {
dix = false;
}
}
};
Symbol 1487 MovieClip Frame 1
this.cacheAsBitmap = true;
_parent._parent.land_array.push(this._name);
var noWalk = true;
Symbol 1500 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1501 MovieClip Frame 31
onEnterFrame = function () {
if (Key.isDown(32)) {
_parent.play();
delete this.onEnterFrame;
}
};
Symbol 1501 MovieClip Frame 111
_parent.play();
Symbol 1509 MovieClip Frame 1
var now = 100;
var justnow = now;
var target;
onEnterFrame = function () {
target = _parent.boss.hp * 5;
if (target != now) {
bar._xscale = bar._xscale - 1;
now = now - 1;
} else {
justnow = now;
}
if (bar._xscale <= 0) {
bar._xscale = 0;
}
};
Symbol 1514 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1601 MovieClip Frame 1
var hp = 20;
var movspd = 12;
_parent._parent.enemy_array.push(this._name);
var stoped = true;
var maxhp = 20;
var aa = 0.6;
var ei = 0;
var namess = "boss";
var behit = false;
var shakeNow = false;
var zhaohuan = false;
var ofen_zhao = false;
Symbol 1601 MovieClip Frame 2
function zhao() {
zi++;
if (zi >= 75) {
zi = 0;
acted = true;
this.gotoAndPlay("\u53EC\u5524");
}
}
function shakechong() {
if (this._x > 0) {
_parent.play();
this.gotoAndStop("\u9707\u52A8");
this._xscale = 100;
this._x = this._x - (movspd * 1.2);
} else {
this.gotoAndStop("\u9884\u5907");
this._xscale = -100;
}
}
function chong() {
if (dix == false) {
if (this._x > 50) {
ii++;
if (ii > 40) {
this._x = this._x - movspd;
}
this.gotoAndStop("\u51B2");
this._xscale = 100;
} else {
ii = 0;
this.gotoAndStop("\u7AD9");
this._xscale = -100;
dix = true;
acted = false;
stoped = true;
}
} else if (dix == true) {
if (this._x < 530) {
ii++;
if (ii > 40) {
this._x = this._x + movspd;
}
this.gotoAndStop("\u51B2");
this._xscale = -100;
} else {
ii = 0;
this.gotoAndStop("\u7AD9");
this._xscale = 100;
dix = false;
acted = false;
stoped = true;
}
}
}
function zoul() {
if ((long >= -150) and (this._x > 60)) {
this._x = this._x - (movspd / 4);
long = long - (movspd / 4);
this._xscale = 100;
this.gotoAndStop("\u8D70");
} else {
long = 0;
acted = false;
}
}
function zour() {
if ((long <= 150) and (this._x < 520)) {
this._x = this._x + (movspd / 4);
long = long + (movspd / 4);
this._xscale = -100;
this.gotoAndStop("\u8D70");
} else {
long = 0;
acted = false;
}
}
function penhuo() {
if (fired == false) {
this.gotoAndPlay("\u55B7\u706B");
fired = true;
}
}
stop();
var dix = false;
var acted = false;
var i = 0;
var ii = 0;
var actnum = null;
var long = 0;
var fired = false;
var zi = 0;
onEnterFrame = function () {
if ((_parent._parent.pauses == false) and (shakeNow == true)) {
acted = true;
shakechong();
}
if (behit == false) {
if (ofen_zhao == true) {
zhao();
}
if ((((zhaohuan == true) and (acted == false)) and (stoped == false)) and (hp > 4)) {
this.gotoAndPlay("\u53EC\u5524");
acted = true;
zhaohuan = false;
}
if (((hp <= (maxhp * aa)) and (acted == false)) and (stoped == false)) {
aa = aa - 0.2;
this.gotoAndPlay("\u53EC\u5524");
acted = true;
}
if (((acted == false) and (stoped == false)) and (_parent.flywar == false)) {
actnum = random(4);
acted = true;
}
if (stoped == true) {
i++;
if (i >= 60) {
i = 0;
stoped = false;
}
}
if (ofen_zhao == false) {
switch (actnum) {
case 0 :
chong();
break;
case 1 :
zoul();
break;
case 2 :
zour();
break;
case 3 :
penhuo();
}
}
}
};
Symbol 1601 MovieClip Frame 3
stop();
Symbol 1601 MovieClip Frame 12
fired = true;
Symbol 1601 MovieClip Frame 35
acted = false;
fired = false;
gotoAndPlay ("\u9884\u5907");
Symbol 1601 MovieClip Frame 37
behit = true;
if (hp <= 0) {
gotoAndPlay ("dead");
}
_parent._parent.hiten.start();
hp = hp - 1;
play();
Symbol 1601 MovieClip Frame 47
if (_parent.halfland == true) {
this._x = this._x - 100;
}
Symbol 1601 MovieClip Frame 89
stoped = false;
behit = false;
gotoAndPlay (2);
Symbol 1601 MovieClip Frame 91
if (this.getBounds(_parent._parent).xMin < _parent._parent.man._x) {
this._xscale = -100;
} else {
this._xscale = 100;
}
Symbol 1601 MovieClip Frame 101
if (hp <= (0.2 * maxhp)) {
_parent.attachMovie("en10", "en10" + ei, ei++);
_parent["en10" + ei]._x = this._x;
_parent["en10" + ei]._y = this._y;
} else if (hp <= (0.4 * maxhp)) {
_parent.attachMovie("en7", "en7" + ei, ei++);
_parent["en7" + ei]._x = this._x;
_parent["en7" + ei]._y = this._y;
} else if (hp <= (0.6 * maxhp)) {
_parent.attachMovie("en1", "en1" + ei, ei++);
_parent["en1" + ei]._x = this._x;
_parent["en1" + ei]._y = this._y;
_parent.attachMovie("en4", "en4" + ei, ei++);
_parent["en4" + ei]._x = this._x + 10;
_parent["en4" + ei]._y = this._y;
}
Symbol 1601 MovieClip Frame 129
acted = false;
this.gotoAndPlay(2);
Symbol 1601 MovieClip Frame 131
this._xscale = -100;
Symbol 1601 MovieClip Frame 137
var di = (2000 + _parent._parent.dep);
_parent.attachMovie("BOSS\u5BFC\u5F39", "daodan" + di, _parent._parent.dep++);
_parent["daodan" + di]._y = 200 + random(50);
_parent["daodan" + di]._x = -20;
_parent["daodan" + di]._xscale = -100;
Symbol 1601 MovieClip Frame 193
var di = (2000 + _parent._parent.dep);
_parent.attachMovie("BOSS\u5BFC\u5F39", "daodan" + di, _parent._parent.dep++);
_parent["daodan" + di]._y = 100 + random(50);
_parent["daodan" + di]._x = -20;
_parent["daodan" + di]._xscale = -100;
Symbol 1601 MovieClip Frame 194
stop();
Symbol 1601 MovieClip Frame 196
if (_parent._parent.inAir == true) {
_parent._parent.man.finish = true;
} else {
_parent._parent.man.finish = true;
_parent._parent.movlock = true;
_parent._parent.end = true;
_parent._parent.man.gotoAndPlay("finish");
}
_parent._parent.mp3.gotoAndStop("ss");
delete this.onEnterFrame;
Symbol 1601 MovieClip Frame 346
stop();
_parent._parent.score = _parent._parent.score + 1000;
Symbol 1603 MovieClip Frame 1
_parent._parent.enemy_array.push(this._name);
Symbol 1604 MovieClip Frame 1
_parent._parent.enemy_array.push(this._name);
Symbol 1605 MovieClip Frame 1
var i = 0;
var loaded = false;
var flywar = false;
Symbol 1605 MovieClip Frame 2
stop();
halfland = false;
onEnterFrame = function () {
if (boss.hp < 13) {
flywar = false;
if (halfland == true) {
this.play();
}
}
if ((boss.hp == 20) and (loaded == false)) {
this.attachMovie("bigyellow", "bigyellow" + i, i++);
this["bigyellow" + i]._x = 290;
this["bigyellow" + i]._y = 190;
loaded = true;
} else if ((boss.hp == 16) and (loaded == true)) {
flywar = true;
play();
this["bigyellow" + i].removeMovieClip();
this.attachMovie("bigblue", "bigblue" + i, i++);
this["bigblue" + i]._x = 290;
this["bigblue" + i]._y = 190;
this.attachMovie("moredog", "moredog" + i, i++);
this["moredog" + i]._x = 470;
this["moredog" + i]._y = 190;
loaded = false;
} else if ((boss.hp == 12) and (loaded == false)) {
this["bigblue" + i].removeMovieClip();
flywar = false;
boss.shakeNow = false;
boss.stoped = false;
boss.behit = false;
boss.gotoAndPlay(2);
if (halfland == true) {
play();
}
boss.gotoAndStop("\u7AD9");
this.attachMovie("bigred", "bigred" + i, i++);
this["bigred" + i]._x = 290;
this["bigred" + i]._y = 190;
loaded = true;
} else if ((boss.hp == 8) and (loaded == true)) {
boss.ofen_zhao = true;
this.attachMovie("moredog", "moredog" + i, i++);
this["moredog" + i]._x = 470;
this["moredog" + i]._y = 190;
this["bigred" + i].removeMovieClip();
this.attachMovie("bigpurple", "bigpurple" + i, i++);
this["bigpurple" + i]._x = 290;
this["bigpurple" + i]._y = 190;
loaded = false;
} else if ((boss.hp == 4) and (loaded == false)) {
boss.ofen_zhao = false;
this["bigpurple" + i].removeMovieClip();
this.attachMovie("biggreen", "biggreen" + i, i++);
this["biggreen" + i]._x = 290;
this["biggreen" + i]._y = 190;
loaded = true;
}
};
Symbol 1605 MovieClip Frame 3
_root.mainGame._y = _root.mainGame._y + 1;
boss.shakeNow = true;
Symbol 1605 MovieClip Frame 7
_root.mainGame._y = _root.mainGame._y - 1;
Symbol 1605 MovieClip Frame 11
_root.mainGame._y = _root.mainGame._y + 1;
Symbol 1605 MovieClip Frame 15
_root.mainGame._y = _root.mainGame._y - 1;
Symbol 1605 MovieClip Frame 19
_root.mainGame._y = _root.mainGame._y + 1;
Symbol 1605 MovieClip Frame 23
_root.mainGame._y = _root.mainGame._y - 1;
Symbol 1605 MovieClip Frame 27
_root.mainGame._y = _root.mainGame._y + 1;
Symbol 1605 MovieClip Frame 31
_root.mainGame._y = _root.mainGame._y - 1;
Symbol 1605 MovieClip Frame 90
stop();
halfland = true;
Symbol 1605 MovieClip Frame 91
if (flywar == true) {
boss.gotoAndPlay("\u9884\u5907");
}
Symbol 1605 MovieClip Frame 135
if (boss._x < -50) {
boss._x = boss._x + 100;
}
gotoAndPlay (2);
Symbol 1623 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1637 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1647 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1648 MovieClip Frame 284
stop();
onEnterFrame = function () {
if (Key.isDown(32)) {
delete onEnterFrame;
_root.winover.play();
}
};
Symbol 1649 MovieClip Frame 1
stop();
var s_point = new Sound();
s_point.attachSound("s_point");
var hiten = new Sound();
hiten.attachSound("hiten");
var jg = new Sound();
jg.attachSound("jg");
var wm1 = new Sound();
wm1.attachSound("w1");
var wm2 = new Sound();
wm2.attachSound("w2");
var wm3 = new Sound();
wm3.attachSound("w3");
var wm4 = new Sound();
wm4.attachSound("w4");
var js = new Sound();
js.attachSound("jump_s");
var d_s = new Sound();
d_s.attachSound("die_s");
var hit_s = new Sound();
hit_s.attachSound("hit_s");
var bomb_s = new Sound();
bomb_s.attachSound("bomb_s");
var fire_s = new Sound();
fire_s.attachSound("fire_s");
var quake_s = new Sound();
quake_s.attachSound("quake_s");
var s_hit = new Sound();
s_hit.attachSound("superHit");
Symbol 1649 MovieClip Frame 2
function times() {
if ((tNum++) >= 40) {
gameTime = gameTime - 1;
tNum = 0;
}
if (gameTime <= 0) {
manHp = 0;
gameTime = 200;
}
}
function superPower() {
if (green <= 0) {
powerTime.gotoAndStop("str");
ability = "power";
green = 20;
man.prs._visible = true;
powIco._alpha = 100;
pTime = 0;
tMax = 20;
flyNow = false;
spdNow = false;
movspd = 5;
} else if (blue <= 0) {
powerTime.gotoAndStop("fly");
ability = "fly";
blue = 20;
flyIco._alpha = 100;
pTime = 0;
tMax = 10;
flyNow = false;
spdNow = false;
movspd = 5;
} else if (red <= 0) {
powerTime.gotoAndStop("eye");
ability = "eye";
red = 20;
man.prs._visible = true;
eyeIco._alpha = 100;
pTime = 0;
tMax = 10;
flyNow = false;
spdNow = false;
movspd = 5;
} else if (yellow <= 0) {
powerTime.gotoAndStop("spd");
ability = "speed";
yellow = 20;
speIco._alpha = 100;
pTime = 0;
tMax = 10;
flyNow = false;
spdNow = false;
movspd = 5;
}
if (purple <= 0) {
powerTime.gotoAndStop("bre");
ability = "breath";
purple = 20;
man.prs._visible = true;
breIco._alpha = 100;
pTime = 0;
tMax = 10;
flyNow = false;
spdNow = false;
movspd = 5;
}
}
function powTimeLeft() {
if (tMax > 3) {
dog_blink(8);
} else {
dog_blink(4);
}
pTime++;
if (pTime >= 30) {
pTime = 0;
tMax = tMax - 1;
}
if ((tMax == 3) and (land.flywar == true)) {
land.play();
}
if (((tMax == 7) and (land.flywar == true)) and (land.boss.behit == false)) {
land.boss.gotoAndPlay("\u53D1\u5C04");
land.boss.shakeNow = false;
}
if (tMax <= 0) {
a = 0;
pTime = 0;
powIco._alpha = 50;
eyeIco._alpha = 50;
speIco._alpha = 50;
breIco._alpha = 50;
flyIco._alpha = 50;
man.xiaoguo.gotoAndStop(1);
powerTime.gotoAndStop(1);
man.prs._visible = false;
movlock = false;
ability = null;
man.breathed = false;
movspd = 5;
}
}
function inairNow() {
if (inAir == true) {
if (yinc < 15) {
yinc = yinc + g;
}
if (yinc > 0) {
if (man._y >= 600) {
manHp = 0;
}
if (((land._y > 0) && (man._y >= 300)) && (nojump == false)) {
land._y = land._y - yinc;
enemy._y = enemy._y - yinc;
bg._y = bg._y - yinc;
if (land._y <= 0) {
land._y = 0;
}
if (enemy._y <= 0) {
enemy._y = 0;
}
if (bg._y <= 0) {
bg._y = 0;
}
} else {
man._y = man._y + yinc;
}
}
if (yinc < 0) {
if ((man._y < 300) && (nojump == false)) {
land._y = land._y - yinc;
enemy._y = enemy._y - yinc;
bg._y = bg._y - yinc;
} else {
man._y = man._y + yinc;
}
}
var _local3 = 0;
while (_local3 < land_array.length) {
landObject = this.land[land_array[_local3]];
var _local4 = landObject.getBounds(_root).yMin;
if (man.fk.hitTest(landObject) and (landObject.noHit != true)) {
if (((landObject.ice == true) and man.fk.hitTest(landObject.fk)) and (yinc >= -2)) {
ice = true;
} else {
ice = false;
}
if ((man._y - yinc) < _local4) {
inAir = false;
canjump = true;
man._y = _local4;
if ((spdNow == false) and (movlock == false)) {
man.gotoAndStop("\u7AD9");
if (man.finish == true) {
end = true;
movlock = true;
man.gotoAndPlay("finish");
}
} else if ((spdNow == true) and (movlock == false)) {
man.gotoAndStop("\u52A0\u901F");
}
yinc = 0;
break;
}
}
_local3++;
}
} else if (!this.man.fk.hitTest(landObject)) {
yinc = 1;
inAir = true;
}
}
function jump_Ob() {
if (jLock == false) {
if (Key.isDown(38) or Key.isDown(65)) {
if (((canjump == true) and (movlock == false)) and (inAir == false)) {
man.gotoAndStop("\u8DF3");
js.start();
inAir = true;
if (spdNow == false) {
yinc = -15;
} else {
yinc = -18;
}
canjump = false;
}
}
}
if (Key.isDown(38) or Key.isDown(65)) {
jLock = true;
} else {
jLock = false;
}
}
function moveFunc() {
if (ice == false) {
icespdl = 0;
icespdr = 0;
if ((man.lDown == false) and (man.rDown == false)) {
moveL = false;
moveR = false;
}
if (man.lDown == true) {
if ((land._x < 0) and (man._x <= 290)) {
land._x = land._x + movspd;
bg._x = bg._x + (movspd / 2);
moveR = true;
moveL = false;
} else if (man._x > 0) {
man._x = man._x - movspd;
}
} else if (man.rDown == true) {
if (((man._x >= 290) and (land._x > ((580 - land._width) + 50))) and (scrlock == false)) {
land._x = land._x - movspd;
bg._x = bg._x - (movspd / 2);
moveL = true;
moveR = false;
} else if (man._x < 550) {
man._x = man._x + movspd;
}
}
} else {
if ((man.lDown == true) and (icespdl < 10)) {
icespdl = icespdl + 1;
} else if ((man.rDown == true) and (icespdr < 10)) {
icespdr = icespdr + 1;
}
if (icespdl > 0) {
icespdl = icespdl - 0.2;
}
if (icespdr > 0) {
icespdr = icespdr - 0.2;
}
if (icespdl > icespdr) {
if ((land._x < 0) and (man._x <= 290)) {
land._x = land._x + icespdl;
land._x = land._x - icespdr;
bg._x = bg._x + (icespdl / 2);
bg._x = bg._x - (icespdr / 2);
} else if (man._x > 0) {
man._x = man._x - icespdl;
man._x = man._x + icespdr;
}
} else if (((man._x >= 290) and (land._x > ((580 - land._width) + 50))) and (scrlock == false)) {
land._x = land._x + icespdl;
land._x = land._x - icespdr;
bg._x = bg._x + (icespdl / 2);
bg._x = bg._x - (icespdr / 2);
} else if (man._x < 550) {
man._x = man._x + icespdr;
man._x = man._x - icespdl;
}
}
var _local3 = 0;
while (_local3 < land_array.length) {
var _local2 = this.land[land_array[_local3]];
if (man.fk.hitTest(_local2) and (man.dDown == true)) {
man._y = man._y - 5;
}
if (man.qfk.hitTest(_local2) and (_local2.noWalk == true)) {
if (man.rDown == true) {
land._x = land._x + movspd;
bg._x = bg._x + (movspd / 2);
moveR = true;
}
if (man.lDown == true) {
land._x = land._x - movspd;
bg._x = bg._x - (movspd / 2);
moveL = true;
}
}
_local3++;
}
}
function dog_blink(a_time) {
if (a_i <= a_time) {
a_i++;
}
if ((a_i >= a_time) and (a_sta == true)) {
a = 150;
a_i = 0;
a_sta = false;
}
if ((a_i >= a_time) and (a_sta == false)) {
a_sta = true;
a = 0;
a_i = 0;
}
}
var pauses = false;
var manHp = 3;
var maxHp = 3;
var coHp = 0;
var life = 2;
var movspd = 5;
var gameTime = 200;
var score = 0;
var nowLevel = "level111";
var green = 20;
var blue = 20;
var red = 20;
var yellow = 20;
var purple = 20;
var scrlock = false;
var end = false;
bluNum.gotoAndStop(2);
bluIco._alpha = 50;
redNum.gotoAndStop(2);
redIco._alpha = 50;
yelNum.gotoAndStop(2);
yelIco._alpha = 50;
purNum.gotoAndStop(2);
purIco._alpha = 50;
var ability = null;
var flyNow = false;
var spdNow = false;
var land_array = [];
var enemy_array = [];
var item_array = [];
var dep = 1;
var canjump = true;
var movlock = false;
var inAir = false;
var yinc = 0;
var nojump = true;
var g = 1;
var pLock = false;
onEnterFrame = function () {
if (dep >= 80) {
dep = 0;
}
if (coHp == 2) {
maxHp = 4;
} else if (coHp == 4) {
maxHp = 5;
}
if (end == false) {
if (Key.isDown(80) and (pLock == false)) {
if ((_parent.menus._visible == false) and (pauses == false)) {
_parent.menus._visible = true;
pauses = true;
} else {
_parent.menus._visible = false;
pauses = false;
}
}
}
if ((pauses == false) and (end == false)) {
if (flyNow == true) {
ice = false;
}
times();
if ((flyNow == false) or (man.stopFly == true)) {
inairNow();
}
if (ability != null) {
powTimeLeft();
}
if ((movlock == false) and (end == false)) {
jump_Ob();
superPower();
moveFunc();
}
}
if (Key.isDown(80)) {
pLock = true;
} else {
pLock = false;
}
};
var icespdl = 0;
var icespdr = 0;
var ice = false;
var tNum = 0;
var pTime = 0;
var tMax;
var jLock = false;
MovieClip.prototype.setBrightOffset = function (offset) {
var This = new Color(this);
var trans = This.getTransform();
with (trans) {
rb = (gb = (bb = offset));
}
This.setTransform(trans);
};
var a = 0;
var a_i = 0;
var a_sta = true;
Symbol 1649 MovieClip Frame 3
stop();
man._x = 50;
man._y = 250;
stopAllSounds();
mp3.gotoAndPlay("w1");
Symbol 1649 MovieClip Frame 4
end = true;
Symbol 1649 MovieClip Frame 5
stop();
end = false;
man._x = 50;
man._y = 250;
nowLevel = "level112";
Symbol 1649 MovieClip Frame 6
end = true;
stopAllSounds();
Symbol 1649 MovieClip Frame 7
map.i = 0;
Symbol 1649 MovieClip Frame 8
land_array = [];
enemy_array = [];
item_array = [];
dep = 1;
gameTime = 200;
Symbol 1649 MovieClip Frame 9
stop();
man._x = 50;
man._y = 250;
end = false;
nowLevel = "level121";
stopAllSounds();
mp3.gotoAndPlay("w1");
Symbol 1649 MovieClip Frame 10
end = true;
Symbol 1649 MovieClip Frame 11
stop();
man._x = 50;
man._y = 250;
end = false;
nowLevel = "level122";
Symbol 1649 MovieClip Frame 12
end = true;
stopAllSounds();
Symbol 1649 MovieClip Frame 13
map.i = 1;
Symbol 1649 MovieClip Frame 14
land_array = [];
enemy_array = [];
item_array = [];
dep = 1;
gameTime = 200;
Symbol 1649 MovieClip Frame 15
stop();
man._x = 50;
man._y = 250;
end = false;
purNum.gotoAndStop(1);
purIco._alpha = 100;
nowLevel = "level131";
stopAllSounds();
mp3.gotoAndPlay("w1");
Symbol 1649 MovieClip Frame 16
end = true;
Symbol 1649 MovieClip Frame 17
stop();
man._x = 50;
man._y = 250;
end = false;
nowLevel = "level132";
Symbol 1649 MovieClip Frame 18
end = true;
stopAllSounds();
Symbol 1649 MovieClip Frame 19
map.i = 2;
Symbol 1649 MovieClip Frame 20
land_array = [];
enemy_array = [];
item_array = [];
dep = 1;
gameTime = 200;
Symbol 1649 MovieClip Frame 21
stop();
man._x = 50;
man._y = 250;
end = false;
bluNum.gotoAndStop(1);
bluIco._alpha = 100;
nowLevel = "level211";
stopAllSounds();
mp3.gotoAndPlay("w2");
Symbol 1649 MovieClip Frame 22
end = true;
Symbol 1649 MovieClip Frame 23
stop();
man._x = 50;
man._y = 250;
end = false;
nowLevel = "level212";
Symbol 1649 MovieClip Frame 24
end = true;
stopAllSounds();
Symbol 1649 MovieClip Frame 25
map.i = 3;
Symbol 1649 MovieClip Frame 26
land_array = [];
enemy_array = [];
item_array = [];
dep = 1;
gameTime = 200;
Symbol 1649 MovieClip Frame 27
stop();
man._x = 50;
man._y = 250;
end = false;
nowLevel = "level221";
stopAllSounds();
mp3.gotoAndPlay("w2");
Symbol 1649 MovieClip Frame 28
end = true;
Symbol 1649 MovieClip Frame 29
stop();
man._x = 50;
man._y = 250;
end = false;
nowLevel = "level222";
Symbol 1649 MovieClip Frame 30
end = true;
stopAllSounds();
Symbol 1649 MovieClip Frame 31
map.i = 4;
Symbol 1649 MovieClip Frame 32
land_array = [];
enemy_array = [];
item_array = [];
dep = 1;
gameTime = 200;
Symbol 1649 MovieClip Frame 33
stop();
man._x = 50;
man._y = 250;
end = false;
nowLevel = "level231";
stopAllSounds();
mp3.gotoAndPlay("w2");
Symbol 1649 MovieClip Frame 34
end = true;
Symbol 1649 MovieClip Frame 35
stop();
man._x = 50;
man._y = 250;
end = false;
nowLevel = "level232";
Symbol 1649 MovieClip Frame 36
end = true;
stopAllSounds();
Symbol 1649 MovieClip Frame 37
map.i = 5;
Symbol 1649 MovieClip Frame 38
land_array = [];
enemy_array = [];
item_array = [];
dep = 1;
gameTime = 200;
Symbol 1649 MovieClip Frame 39
stop();
man._x = 50;
man._y = 250;
end = false;
redNum.gotoAndStop(1);
redIco._alpha = 100;
nowLevel = "level311";
stopAllSounds();
mp3.gotoAndPlay("w3");
Symbol 1649 MovieClip Frame 40
end = true;
Symbol 1649 MovieClip Frame 41
stop();
man._x = 50;
man._y = 250;
end = false;
nowLevel = "level312";
Symbol 1649 MovieClip Frame 42
end = true;
stopAllSounds();
Symbol 1649 MovieClip Frame 43
map.i = 6;
Symbol 1649 MovieClip Frame 44
land_array = [];
enemy_array = [];
item_array = [];
dep = 1;
gameTime = 200;
Symbol 1649 MovieClip Frame 45
stop();
man._x = 50;
man._y = 250;
end = false;
nowLevel = "level321";
stopAllSounds();
mp3.gotoAndPlay("w3");
Symbol 1649 MovieClip Frame 46
end = true;
Symbol 1649 MovieClip Frame 47
stop();
man._x = 50;
man._y = 250;
end = false;
nowLevel = "level322";
Symbol 1649 MovieClip Frame 48
end = true;
stopAllSounds();
Symbol 1649 MovieClip Frame 49
map.i = 7;
Symbol 1649 MovieClip Frame 50
land_array = [];
enemy_array = [];
item_array = [];
dep = 1;
gameTime = 200;
Symbol 1649 MovieClip Frame 51
stop();
man._x = 50;
man._y = 250;
end = false;
nowLevel = "level331";
stopAllSounds();
mp3.gotoAndPlay("w3");
Symbol 1649 MovieClip Frame 52
end = true;
Symbol 1649 MovieClip Frame 53
stop();
man._x = 50;
man._y = 250;
end = false;
nowLevel = "level332";
Symbol 1649 MovieClip Frame 54
end = true;
stopAllSounds();
Symbol 1649 MovieClip Frame 55
map.i = 8;
Symbol 1649 MovieClip Frame 56
land_array = [];
enemy_array = [];
item_array = [];
dep = 1;
gameTime = 200;
Symbol 1649 MovieClip Frame 57
stop();
man._x = 50;
man._y = 250;
end = false;
yelNum.gotoAndStop(1);
yelIco._alpha = 100;
nowLevel = "level411";
stopAllSounds();
mp3.gotoAndPlay("w4");
Symbol 1649 MovieClip Frame 58
end = true;
Symbol 1649 MovieClip Frame 59
stop();
man._x = 50;
man._y = 250;
end = false;
nowLevel = "level421";
Symbol 1649 MovieClip Frame 60
end = true;
stopAllSounds();
Symbol 1649 MovieClip Frame 61
map.i = 9;
var cx = map.char._xscale;
map.char._xscale = -cx;
Symbol 1649 MovieClip Frame 62
land_array = [];
enemy_array = [];
item_array = [];
dep = 1;
gameTime = 200;
Symbol 1649 MovieClip Frame 63
stop();
man._x = 50;
man._y = 250;
end = false;
nowLevel = "level421";
stopAllSounds();
mp3.gotoAndPlay("w4");
Symbol 1649 MovieClip Frame 64
end = true;
Symbol 1649 MovieClip Frame 65
stop();
man._x = 50;
man._y = 250;
end = false;
nowLevel = "level422";
Symbol 1649 MovieClip Frame 66
end = true;
stopAllSounds();
Symbol 1649 MovieClip Frame 67
map.i = 10;
Symbol 1649 MovieClip Frame 68
land_array = [];
enemy_array = [];
item_array = [];
dep = 1;
gameTime = 200;
Symbol 1649 MovieClip Frame 69
stop();
man._x = 50;
man._y = 250;
end = false;
nowLevel = "level43";
scrlock = true;
stopAllSounds();
mp3.gotoAndPlay("w4");
Symbol 1649 MovieClip Frame 70
end = true;
stopAllSounds();
Symbol 1649 MovieClip Frame 71
stop();
_root.myMusic();
Symbol 1660 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1667 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1678 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1691 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1695 MovieClip Frame 1
stop();
Symbol 1695 MovieClip Frame 2
_parent.mainGame.mp3.gotoAndStop("ss");
Symbol 1695 MovieClip Frame 3
function scoreplus1() {
if (lb < 1000) {
lb = lb + 10;
}
if (lb >= 1000) {
lb = 1000;
clearInterval(intervalID1);
_root.lc.play();
}
}
stop();
_parent.lc_music.start();
lb = 0;
var intervalID1;
intervalID1 = setInterval(scoreplus1, 8);
onEnterFrame = function () {
if (Key.isDown(32)) {
gotoAndStop (15);
delete this.onEnterFrame;
}
};
Symbol 1695 MovieClip Frame 5
function scoreplus2() {
if (tbn < tb) {
tbn = tbn + 10;
}
if (tbn >= tb) {
tbn = tb;
clearInterval(intervalID2);
_root.lc.play();
}
}
stop();
tbn = 0;
tb = _parent.mainGame.gameTime * 10;
var intervalID2;
intervalID2 = setInterval(scoreplus2, 8);
Symbol 1695 MovieClip Frame 10
function scoreplus3() {
if (fsn < fs) {
fsn = fsn + 10;
}
if (fsn >= fs) {
fsn = fs;
clearInterval(intervalID3);
_root.lc.play();
}
}
stop();
fsn = 0;
fs = (_parent.mainGame.score + tb) + 1000;
var intervalID3;
intervalID3 = setInterval(scoreplus3, 8);
Symbol 1695 MovieClip Frame 15
lb = 1000;
tb = _parent.mainGame.gameTime * 10;
fs = (_parent.mainGame.score + tb) + 1000;
clearInterval(intervalID1);
clearInterval(intervalID2);
clearInterval(intervalID3);
play();
Symbol 1695 MovieClip Frame 31
stop();
_parent.mainGame.score = fs;
onEnterFrame = function () {
if (Key.isDown(32)) {
_parent.lc_musci.stop();
_root.mainGame.man.play();
this.gotoAndStop(1);
_root.mainGame.nextFrame();
delete this.onEnterFrame;
}
};
Symbol 1699 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1709 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1721 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1733 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1744 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1745 MovieClip Frame 1
function GETDAY() {
a = new Date();
Month = a.getMonth() + 1;
if (Month < 10) {
Month = "0" + Month;
}
Day = a.getDate();
if (Day < 10) {
Day = "0" + Day;
}
Hour = a.getHours();
if (Hour < 10) {
Hour = "0" + Hour;
}
Minutes = a.getMinutes();
if (Minutes < 10) {
Minutes = "0" + Minutes;
}
Time = (((((Month + "/") + Day) + "/") + Hour) + ":") + Minutes;
}
var myname = "";
var mySave = SharedObject.getLocal("scoremap");
var scores = mySave.data.score;
var s = _root.mainGame.score;
var scoreID = 10;
GETDAY();
var i = 0;
while (i < scores.length) {
if (s >= scores[i][1]) {
scoreID = i;
_visible = true;
break;
}
i++;
}
inname.onRelease = function () {
if (myname == "") {
myname = "Player";
}
mytemp = [myname, s, Time, "new"];
scores.splice(scoreID, 0, mytemp);
scores.splice(10, scores.length - 10);
mySave = SharedObject.getLocal("scoremap");
mySave.data.score = scores;
_parent._parent.gotoAndPlay("highscores2");
};
inname.onRollOver = function () {
_parent._parent.s_select.start();
};
inname.onPress = function () {
_parent._parent.btn.start();
};
Symbol 1755 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1756 Button
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 1757 MovieClip Frame 1
stop();
Symbol 1757 MovieClip Frame 2
_parent.menus._visible = false;
_parent.mainGame.pauses = true;
Symbol 1757 MovieClip Frame 10
var blurX = 0;
var blurY = 0;
var quality = 1;
onEnterFrame = function () {
blurX++;
blurY++;
if (blurX && (blurY >= 10)) {
delete onEnterFrame;
}
var _local3 = new flash.filters.BlurFilter(blurX, blurY, quality);
var _local2 = new Array();
_local2.push(_local3);
_parent.mainGame.filters = _local2;
};
Symbol 1757 MovieClip Frame 13
replay.onRelease = function () {
_parent.gotoAndPlay("mainGame");
};
replay.onRollOver = function () {
_parent.noBullet.start();
};
replay.onPress = function () {
_parent.chaGun.start();
};
vh.onRelease = function () {
_parent.gotoAndPlay("highscores2");
};
vh.onRollOver = function () {
_parent.noBullet.start();
};
vh.onPress = function () {
_parent.chaGun.start();
};
mg.onRollOver = function () {
_parent.noBullet.start();
};
mg.onPress = function () {
_parent.chaGun.start();
};
Symbol 1757 MovieClip Frame 200
stop();
Symbol 1765 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1766 Button
on (release) {
getURL (_root.localization_url1, "_blank");
}
Symbol 1767 MovieClip Frame 1
stop();
Symbol 1767 MovieClip Frame 2
stopAllSounds();
_parent.menus._visible = false;
_parent.mainGame.pauses = true;
_parent.lf_music.start();
Symbol 1767 MovieClip Frame 10
var blurX = 0;
var blurY = 0;
var quality = 1;
onEnterFrame = function () {
blurX++;
blurY++;
if (blurX && (blurY >= 10)) {
delete onEnterFrame;
}
var _local3 = new flash.filters.BlurFilter(blurX, blurY, quality);
var _local2 = new Array();
_local2.push(_local3);
_parent.mainGame.filters = _local2;
};
Symbol 1767 MovieClip Frame 13
replay.onRelease = function () {
_parent.gotoAndPlay("mainGame");
};
replay.onRollOver = function () {
_parent.s_select.start();
};
replay.onPress = function () {
_parent.btn.start();
};
vh.onRelease = function () {
_root.titlescore = false;
_root.gotoAndPlay("highscores2");
};
vh.onRollOver = function () {
_parent.s_select.start();
};
vh.onPress = function () {
_parent.btn.start();
};
mg.onRollOver = function () {
_parent.s_select.start();
};
mg.onPress = function () {
_parent.btn.start();
};
Symbol 1767 MovieClip Frame 200
stop();
Symbol 1775 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1780 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1785 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1788 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1793 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1804 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1813 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1814 MovieClip Frame 1
this._visible = false;
low.onPress = function () {
_parent.picQ = 2;
_quality = "LOW";
_parent.btn.start();
};
low.onRollOver = function () {
_parent.s_select.start();
};
med.onPress = function () {
_parent.picQ = 1;
_quality = "MEDIUM";
_parent.btn.start();
};
med.onRollOver = function () {
_parent.s_select.start();
};
hig.onPress = function () {
_parent.picQ = 0;
_quality = "HIGH";
_parent.btn.start();
};
hig.onRollOver = function () {
_parent.s_select.start();
};
son.onPress = function () {
_parent.soundV = 0;
_parent.btn.setVolume(100);
_parent.btn.start();
};
son.onRollOver = function () {
_parent.s_select.start();
};
sof.onPress = function () {
_parent.soundV = 1;
_parent.btn.setVolume(0);
_parent.btn.start();
};
sof.onRollOver = function () {
_parent.s_select.start();
};
bac.onPress = function () {
_parent.menus._visible = false;
_parent.mainGame.pauses = false;
};
bac.onRollOver = function () {
};
qui.onPress = function () {
stopAllSounds();
_parent.gotoAndStop("title");
__parent.btn.start();
};
qui.onRollOver = function () {
_parent.s_select.start();
};
Symbol 1825 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1835 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1844 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1852 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1877 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1885 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 1886 MovieClip Frame 1
stop();
Symbol 1887 MovieClip Frame 1
stop();
newscore.gotoAndStop(1);
var mySave = SharedObject.getLocal("scoremap");
var scores = mySave.data.score;
var i = 0;
while (i < scores.length) {
this["n" + i] = scores[i][0];
this["s" + i] = scores[i][1];
this["t" + i] = scores[i][2];
if (scores[i][3] == "new") {
newscore.gotoAndStop(i + 2);
}
i++;
}
bac.onRelease = function () {
if (_parent.ms_play == false) {
_parent.gotoAndPlay("title");
} else {
_parent.ms_play = false;
_parent.gotoAndPlay("title");
}
};
ga.onRelease = function () {
_parent.btn.start();
getURL (_root.localization_url1, "_blank");
};
ga.onRollOver = function () {
_parent.s_select.start();
};
Symbol 1887 MovieClip Frame 2
stop();
newscore.gotoAndStop(1);
var mySave = SharedObject.getLocal("scoremap");
var scores = mySave.data.score;
var i = 0;
while (i < scores.length) {
this["n" + i] = scores[i][0];
this["s" + i] = scores[i][1];
this["t" + i] = scores[i][2];
if (scores[i][3] == "new") {
newscore.gotoAndStop(i + 2);
}
i++;
}
bac.onRelease = function () {
_parent.gotoAndPlay("title");
};