Frame 1
function addtopten(prna, prsc) {
var _local1 = prsc;
var _local2 = prna;
if (_local1 >= toptena[9].sc) {
toptena.push({na:_local2, sc:_local1});
toptena.sortOn("sc", 18);
toptena.pop();
i = 9;
while (i >= 0) {
if ((toptena[i].na == _local2) && (toptena[i].sc == _local1)) {
return(i + 1);
}
i--;
}
} else {
return(-1);
}
return(undefined);
}
stop();
_root.sound_flag = true;
flying = 1;
user = "Player";
newat = 11;
toptena = [{na:"CPU", sc:20000}, {na:"CPU", sc:16000}, {na:"CPU", sc:14000}, {na:"CPU", sc:11000}, {na:"CPU", sc:9500}, {na:"CPU", sc:8000}, {na:"CPU", sc:6500}, {na:"CPU", sc:4500}, {na:"CPU", sc:3000}, {na:"CPU", sc:1500}];
Instance of Symbol 15 MovieClip "loadbar" in Frame 1
onClipEvent (enterFrame) {
byteloaded = _root.getBytesLoaded();
bytetotal = _root.getBytesTotal();
percent = Math.round((byteloaded / bytetotal) * 100);
_root.percents = percent + "%";
if (percent > 1) {
gotoAndStop(percent);
} else {
gotoAndStop (1);
}
if (percent >= 100) {
_root.gotoAndStop("title");
}
}
Frame 10
life = 4;
bullets = 4;
score = 0;
flying = 1;
Frame 15
stop();
Frame 20
function mheroentf() {
var _local1 = this;
if (keylock && (notpause)) {
if (_local1.xspd != 0) {
_local1._x = _local1._x + _local1.xspd;
if ((_local1.xspd > 0) && (_local1.xspd < stepx)) {
_local1.xspd = _local1.xspd + 2;
} else if ((_local1.xspd < 0) && (_local1.xspd > (-stepx))) {
_local1.xspd = _local1.xspd - 2;
}
if (_local1._x < stgl) {
_local1._x = stgl;
} else if (_local1._x > stgr) {
_local1._x = stgr;
}
if (!_local1.jump) {
_local1.gotoAndStop(2);
}
} else if (!_local1.jump) {
_local1.gotoAndStop(1);
}
if (_local1.yspd != 0) {
_local1._y = _local1._y + _local1.yspd;
if ((!keyup) || (keyup < 0)) {
if (_local1.yspd < -6) {
_local1.yspd = _local1.yspd + 5;
keyup--;
}
}
if ((_local1._y > 328) && (map._y > 328)) {
map._y = map._y - (_local1._y - 328);
_local1._y = 328;
} else if (_local1._y < 164) {
map._y = map._y + (164 - _local1._y);
_local1._y = 164;
}
}
if (_local1.fall) {
_local1.gotoAndPlay("fall");
if (_local1._y > 350) {
_local1._y = map.mland._y + map._y;
_local1.yspd = 0;
_local1.jump = true;
_local1.standmc = map.mland;
_local1._x = _root.startx;
_local1._y = _root.starty;
_local1.fall = false;
_local1.gotoAndStop(1);
}
_local1._y = _local1._y + _local1.yspd;
if (_local1.yspd < maxspd) {
_local1.yspd = _local1.yspd + g;
}
} else if (_local1.jump) {
_local1.standmc.gethero = false;
if (_local1.yspd < maxspd) {
_local1.yspd = _local1.yspd + g;
}
if (_local1.hitTest(map.mland)) {
_local1._y = map.mland._y + map._y;
_local1.yspd = 0;
_local1.jump = false;
_local1.standmc = map.mland;
}
if (_local1.yspd > 0) {
i = 1;
while (i < 10) {
if ((_local1._y < ((map["pt" + i]._y + map._y) + _local1.yspd)) && (_local1.hitin.hitTest(map["pt" + i]))) {
_local1._y = map["pt" + i]._y + map._y;
_local1.yspd = 0;
_local1.jump = false;
_local1.standmc = map["pt" + i];
break;
}
i++;
}
i = 1;
while (i < 10) {
if ((_local1._y < ((map["yt" + i]._y + map._y) + _local1.yspd)) && (_local1.hitin.hitTest(map["yt" + i]))) {
_local1._y = map["yt" + i]._y + map._y;
_local1.yspd = 0;
_local1.jump = false;
map["yt" + i].gethero = true;
_local1.standmc = map["yt" + i];
break;
}
i++;
}
}
} else if (!_local1.hitin.hitTest(_local1.standmc)) {
_local1.jump = true;
_local1.standmc.gethero = false;
}
}
}
mhero.jump = true;
maxspd = 18;
stepx = 6;
stgl = 25;
stgr = 525;
mhero.yspd = 2;
mhero.xspd = 0;
mhero.fall = false;
mhero.standmc = new Object();
g = 1.5;
wctrlx = 2;
keyup = false;
score1 = 100;
score2 = 200;
score3 = 300;
score4 = 500;
score = 0;
notpause = true;
life = 4;
bullets = 4;
startx = 68;
starty = 325;
keylock = true;
mhero.onEnterFrame = mheroentf;
mykey = new Object();
mykey.onKeyDown = function () {
if (keylock && (notpause)) {
if (Key.isDown(38)) {
if (mhero.jump == false) {
mhero.jump = true;
mhero.gotoAndPlay("jump");
mhero.yspd = -18;
mhero._y = mhero._y - 1;
keyup = 1;
}
}
if (Key.isDown(37)) {
if (mhero.xspd == 0) {
mhero.xspd = -wctrlx;
mhero._xscale = -100;
}
} else if (Key.isDown(39)) {
if (mhero.xspd == 0) {
mhero.xspd = wctrlx;
mhero._xscale = 100;
}
}
}
};
mykey.onKeyUp = function () {
if (Key.getCode() == 37) {
if (mhero.xspd < 0) {
mhero.xspd = 0;
wctrlx = 1;
}
}
if (Key.getCode() == 39) {
if (mhero.xspd > 0) {
mhero.xspd = 0;
wctrlx = 1;
}
}
if (Key.getCode() == 38) {
keyup = false;
}
};
Key.addListener(mykey);
map.gotoAndStop(1);
Frame 21
function fwin() {
keylock = false;
_root.gotoAndPlay("win");
mhero.gotoAndPlay("win");
_root.msound.gotoAndPlay("pass");
}
function hitdi() {
if (mhero.fall == false) {
mhero.fall = true;
_root.msound.gotoAndPlay("lifedown");
mhero.gotoAndPlay("fall");
life--;
if (life > 0) {
mlifes.gotoAndStop(life + 1);
} else {
mlifes.gotoAndStop(1);
gotoAndPlay ("lose");
}
}
}
function hitdao() {
if (mhero.fall == false) {
mhero.fall = true;
_root.msound.gotoAndPlay("lifedown");
mhero.gotoAndPlay("fall");
life--;
if (life > 0) {
mlifes.gotoAndStop(life + 1);
} else {
mlifes.gotoAndStop(1);
gotoAndPlay ("lose");
}
}
}
function fshot() {
var _local1 = this;
if ((zidannum < 2) && (bullets > 0)) {
zidannum++;
bullets--;
_root.msound.gotoAndPlay("hitobj");
mbullets.gotoAndStop(bullets + 1);
mc = map.attachMovie("mzidan", "zidan" + zidanp, zidanp);
if (mhero._xscale > 0) {
mc._x = mhero._x + 30;
mc.xspd = 8;
mc.dir = 1;
} else {
mc._x = mhero._x - 30;
mc.xspd = 8;
mc.dir = -1;
}
mc._y = (mhero._y - 20) - map._y;
mc.onEnterFrame = function () {
var _local1 = this;
_local1._x = _local1._x + (_local1.dir * _local1.xspd);
if ((_local1._x > 550) || (_local1._x < 0)) {
_root.zidannum--;
_local1.removeMovieClip();
}
};
}
if (zidanp == 0) {
zidanp = 1;
} else {
zidanp = 0;
}
}
function timesdown() {
if (_root.notpause) {
_root.times--;
}
}
if (_root.sound_flag) {
_root.attachMovie("ysound", "msound", 1);
msound._x = -100;
}
Frame 25
zidannum = 0;
zidanp = 0;
mlifes.gotoAndStop(life + 1);
mbullets.gotoAndStop(bullets + 1);
map.gotoAndStop(flying);
keylock = true;
notshotlock = true;
mhero.jump = true;
mhero._x = startx;
mhero._y = starty;
mhero.yspd = 2;
mhero.xspd = 0;
mhero.fall = false;
keyup = false;
clearInterval(intid);
times = 300 - (flying * 10);
intid = setInterval(timesdown, 1000);
mhero.standmc = new Object();
mhero.onEnterFrame = mheroentf;
stop();
Frame 35
clearInterval(intid);
Frame 52
gotoAndPlay ("lose2");
Frame 64
clearInterval(intid);
keylock = false;
winlopi = 1;
flying++;
score = score + times;
Frame 70
winlopi++;
Frame 80
if (winlopi < 7) {
gotoAndPlay ("winlop");
}
Frame 81
if (flying > 15) {
gotoAndPlay ("end");
}
Frame 89
stop();
Frame 90
stop();
Frame 99
stop();
Frame 111
stop();
Symbol 20 Button
on (release) {
getURL ("http://www.agame.com", "_blank");
}
Symbol 24 Button
on (release) {
_quality = "MEDIUM";
nextFrame();
}
Symbol 27 Button
on (release) {
_quality = "LOW";
nextFrame();
}
Symbol 29 Button
on (release) {
_quality = "HIGH";
gotoAndStop (1);
}
Symbol 30 MovieClip Frame 1
stop();
Symbol 33 Button
on (release) {
_root.sound_flag = false;
_root.msound.removeMovieClip();
stopAllSounds();
nextFrame();
}
Symbol 36 Button
on (release) {
_root.attachMovie("ysound", "msound", 1);
_root.msound._x = -100;
_root.sound_flag = true;
prevFrame();
}
Symbol 37 MovieClip Frame 1
if (_root.sound_flag) {
stop();
} else {
stopAllSounds();
gotoAndStop (2);
}
Symbol 60 MovieClip [ysound] Frame 1
stop();
Symbol 60 MovieClip [ysound] Frame 24
gotoAndStop (1);
Symbol 60 MovieClip [ysound] Frame 45
gotoAndStop (1);
Symbol 60 MovieClip [ysound] Frame 60
gotoAndStop (1);
Symbol 60 MovieClip [ysound] Frame 80
gotoAndStop (1);
Symbol 60 MovieClip [ysound] Frame 98
gotoAndStop (1);
Symbol 60 MovieClip [ysound] Frame 116
gotoAndStop (1);
Symbol 60 MovieClip [ysound] Frame 127
gotoAndStop (1);
Symbol 65 Button
on (release) {
gotoAndPlay ("inits");
}
Symbol 67 Button
on (release) {
gotoAndStop ("help");
}
Symbol 69 Button
on (release) {
gotoAndStop ("highscores");
}
Symbol 71 Button
on (release) {
getURL ("http://www.agame.com", "_blank");
}
Symbol 74 Button
on (release) {
getURL ("http://en.agame.com/downloads/gamedownloads.html", "_blank");
}
Symbol 89 Button
on (release) {
gotoAndStop ("title");
}
Symbol 97 MovieClip Frame 1
score = _root.score4;
stop();
Instance of Symbol 93 MovieClip in Symbol 97 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((!_root.mhero.fall) && (_root.mhero.hitTest(_parent._x, _parent._y + _root.map._y, false))) {
_parent.play();
_root.score = _root.score + _parent.score;
}
}
Symbol 97 MovieClip Frame 7
_root.fwin();
_root.mhero._x = this._x;
_root.mhero._y = _y + _root.map._y;
if (_root.map._y > 800) {
}
trace((((_root.map._y + "ssss") + _y) + " ") + _root.mhero._y);
Symbol 97 MovieClip Frame 29
stop();
Symbol 108 MovieClip Frame 1
score = _root.score2;
stop();
Instance of Symbol 93 MovieClip in Symbol 108 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((!_root.mhero.fall) && (_root.mhero.hitTest(_parent._x, _parent._y + _root.map._y, false))) {
_parent.play();
_root.score = _root.score + _parent.score;
}
}
Symbol 108 MovieClip Frame 2
_root.msound.gotoAndPlay("getobj");
Symbol 108 MovieClip Frame 25
stop();
Symbol 112 MovieClip Frame 1
score = _root.score3;
stop();
Instance of Symbol 93 MovieClip in Symbol 112 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((!_root.mhero.fall) && (_root.mhero.hitTest(_parent._x, _parent._y + _root.map._y, false))) {
_parent.play();
_root.score = _root.score + _parent.score;
}
}
Symbol 112 MovieClip Frame 2
_root.msound.gotoAndPlay("getobj");
Symbol 112 MovieClip Frame 26
stop();
Symbol 116 MovieClip Frame 1
score = _root.score1;
stop();
Instance of Symbol 93 MovieClip in Symbol 116 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((!_root.mhero.fall) && (_root.mhero.hitTest(_parent._x, _parent._y + _root.map._y, false))) {
_parent.play();
_root.score = _root.score + _parent.score;
}
}
Symbol 116 MovieClip Frame 2
_root.msound.gotoAndPlay("getobj");
Symbol 116 MovieClip Frame 25
stop();
Symbol 147 MovieClip Frame 1
stop();
Symbol 147 MovieClip Frame 16
stop();
Symbol 148 MovieClip Frame 1
step = 0;
gethero = false;
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
if (_local1.notpause) {
if (step < maxstep) {
_x = (_x + (dx * dir));
step++;
if (gethero) {
_local1.mhero._x = _local1.mhero._x + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
_xscale = ((-dir) * 100);
}
if (_local2.hitTest(_local1.mhero)) {
trace("hitmc");
_local1.hitdi();
} else if (_local2.hitTest(_local1.map.zidan1)) {
_local1.map.zidan1.removeMovieClip();
_local1.zidannum--;
_local2.gotoAndStop(2);
} else if (_local2.hitTest(_local1.map.zidan0)) {
_local1.map.zidan0.removeMovieClip();
_local1.zidannum--;
_local2.gotoAndStop(2);
}
}
};
stop();
Symbol 148 MovieClip Frame 2
_root.msound.gotoAndPlay("die");
mc.play();
delete this.onEnterFrame;
stop();
Symbol 150 MovieClip Frame 1
stop();
score = 0;
Instance of Symbol 93 MovieClip in Symbol 150 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((!_root.mhero.fall) && (_root.mhero.hitTest(_parent._x, _parent._y + _root.map._y, false))) {
_parent.play();
_root.score = _root.score + _parent.score;
}
}
Symbol 150 MovieClip Frame 2
_root.bullets++;
_root.mbullets.gotoAndStop(_root.bullets + 1);
_root.msound.gotoAndPlay("getbut");
Symbol 150 MovieClip Frame 9
stop();
Symbol 154 MovieClip Frame 1
this.onEnterFrame = function () {
var _local1 = _root;
if ((_local1.mhero.yspd > 5) && (this.hitTest(_local1.mhero))) {
_local1.hitdao();
}
};
Symbol 156 MovieClip Frame 1
stop();
Symbol 156 MovieClip Frame 16
stop();
Symbol 157 MovieClip Frame 1
step = 0;
gethero = false;
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
if (step < maxstep) {
_x = (_x + (dx * dir));
step++;
if (gethero) {
_local1.mhero._x = _local1.mhero._x + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
_xscale = ((-dir) * 100);
}
if (_local2.hitTest(_local1.mhero)) {
trace("hitmc");
_local1.hitdi();
} else if (_local2.hitTest(_local1.map.zidan1)) {
_local1.map.zidan1.removeMovieClip();
_local2.gotoAndStop(2);
} else if (_local2.hitTest(_local1.map.zidan0)) {
_local1.map.zidan0.removeMovieClip();
_local2.gotoAndStop(2);
}
};
stop();
Symbol 157 MovieClip Frame 2
_root.msound.gotoAndPlay("die");
mc.play();
delete this.onEnterFrame;
stop();
Symbol 158 MovieClip Frame 1
stop();
Symbol 158 MovieClip Frame 16
stop();
Symbol 159 MovieClip Frame 1
step = 0;
gethero = false;
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
if (_local1.notpause) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_local1.mhero._y = _local1.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
if (_local2.hitTest(_local1.mhero)) {
trace("hitmc");
_local1.hitdi();
}
if (_local2.hitTest(_local1.map.zidan1)) {
_local1.map.zidan1.removeMovieClip();
_local1.zidannum--;
_local2.gotoAndStop(2);
} else if (_local2.hitTest(_local1.map.zidan0)) {
_local1.map.zidan0.removeMovieClip();
_local1.zidannum--;
_local2.gotoAndStop(2);
}
}
};
stop();
Symbol 159 MovieClip Frame 2
_root.msound.gotoAndPlay("die");
mc.play();
delete this.onEnterFrame;
stop();
Symbol 162 MovieClip Frame 1
stop();
Symbol 162 MovieClip Frame 16
stop();
Symbol 163 MovieClip Frame 1
step = 0;
gethero = false;
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
if (_local1.notpause) {
if (step < maxstep) {
_x = (_x + (dx * dir));
step++;
if (gethero) {
_local1.mhero._x = _local1.mhero._x + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
_xscale = ((-dir) * 100);
}
if (_local2.hitTest(_local1.mhero)) {
trace("hitmc");
_local1.hitdi();
} else if (_local2.hitTest(_local1.map.zidan1)) {
_local1.map.zidan1.removeMovieClip();
_local1.zidannum--;
_local2.gotoAndStop(2);
} else if (_local2.hitTest(_local1.map.zidan0)) {
_local1.map.zidan0.removeMovieClip();
_local1.zidannum--;
_local2.gotoAndStop(2);
}
}
};
stop();
Symbol 163 MovieClip Frame 2
_root.msound.gotoAndPlay("die");
mc.play();
delete this.onEnterFrame;
stop();
Symbol 166 MovieClip Frame 1
stop();
Symbol 166 MovieClip Frame 16
stop();
Symbol 167 MovieClip Frame 1
step = 0;
gethero = false;
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
if (step < maxstep) {
_x = (_x + (dx * dir));
step++;
if (gethero) {
_local1.mhero._x = _local1.mhero._x + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
_xscale = ((-dir) * 100);
}
if (_local2.hitTest(_local1.mhero)) {
trace("hitmc");
_local1.hitdi();
} else if (_local2.hitTest(_local1.map.zidan1)) {
_local1.map.zidan1.removeMovieClip();
_local2.gotoAndStop(2);
} else if (_local2.hitTest(_local1.map.zidan0)) {
_local1.map.zidan0.removeMovieClip();
_local2.gotoAndStop(2);
}
};
stop();
Symbol 167 MovieClip Frame 2
_root.msound.gotoAndPlay("die");
mc.play();
delete this.onEnterFrame;
stop();
Symbol 173 MovieClip Frame 1
dir = 1;
dx = 3;
step = 0;
maxstep = 30;
gethero = false;
this.onEnterFrame = function () {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
};
Symbol 174 MovieClip Frame 1
dir = 1;
dx = 3;
step = 0;
maxstep = 30;
gethero = false;
this.onEnterFrame = function () {
if (step < maxstep) {
_x = (_x + (dx * dir));
step++;
if (gethero) {
_root.mhero._x = _root.mhero._x + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
};
Symbol 175 MovieClip Frame 1
stop();
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 2
onClipEvent (load) {
dir = 1;
dx = 1;
maxstep = 50;
}
Instance of Symbol 146 MovieClip "yt1" in Symbol 175 MovieClip Frame 3
onClipEvent (load) {
dir = 1;
dx = 2;
step = 0;
maxstep = 150;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt2" in Symbol 175 MovieClip Frame 3
onClipEvent (load) {
dir = 1;
dx = 2;
step = 0;
maxstep = 70;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 3
onClipEvent (load) {
dir = 1;
dx = 1;
maxstep = 50;
}
Instance of Symbol 146 MovieClip "yt1" in Symbol 175 MovieClip Frame 4
onClipEvent (load) {
dir = 1;
dx = 2;
step = 0;
maxstep = 50;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt2" in Symbol 175 MovieClip Frame 4
onClipEvent (load) {
dir = -1;
dx = 2;
step = 0;
maxstep = 60;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt3" in Symbol 175 MovieClip Frame 4
onClipEvent (load) {
dir = -1;
dx = 2;
step = 0;
maxstep = 60;
gethero = false;
}
onClipEvent (enterFrame) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
Instance of Symbol 157 MovieClip in Symbol 175 MovieClip Frame 4
onClipEvent (load) {
dir = 1;
dx = 2;
maxstep = 150;
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 4
onClipEvent (load) {
dir = -1;
dx = 2;
maxstep = 140;
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 4
onClipEvent (load) {
dir = -1;
dx = 2;
maxstep = 140;
}
Instance of Symbol 146 MovieClip "yt1" in Symbol 175 MovieClip Frame 5
onClipEvent (load) {
dir = -1;
dx = 2;
step = 0;
maxstep = 40;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt2" in Symbol 175 MovieClip Frame 5
onClipEvent (load) {
dir = -1;
dx = 2;
step = 0;
maxstep = 40;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt3" in Symbol 175 MovieClip Frame 5
onClipEvent (load) {
dir = -1;
dx = 2;
step = 0;
maxstep = 50;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt4" in Symbol 175 MovieClip Frame 5
onClipEvent (load) {
dir = -1;
dx = 2;
step = 0;
maxstep = 50;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 157 MovieClip in Symbol 175 MovieClip Frame 5
onClipEvent (load) {
dir = 1;
dx = 2;
maxstep = 80;
}
Instance of Symbol 157 MovieClip in Symbol 175 MovieClip Frame 5
onClipEvent (load) {
dir = 1;
dx = 2;
maxstep = 105;
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 5
onClipEvent (load) {
dir = -1;
dx = 2;
maxstep = 105;
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 5
onClipEvent (load) {
dir = -1;
dx = 2;
maxstep = 105;
}
Instance of Symbol 146 MovieClip "yt1" in Symbol 175 MovieClip Frame 6
onClipEvent (load) {
dir = -1;
dx = 3;
step = 0;
maxstep = 30;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt3" in Symbol 175 MovieClip Frame 6
onClipEvent (load) {
dir = -1;
dx = 3;
step = 0;
maxstep = 30;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt2" in Symbol 175 MovieClip Frame 6
onClipEvent (load) {
dir = -1;
dx = 3;
step = 0;
maxstep = 30;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt4" in Symbol 175 MovieClip Frame 6
onClipEvent (load) {
dir = -1;
dx = 3;
step = 0;
maxstep = 30;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt5" in Symbol 175 MovieClip Frame 6
onClipEvent (load) {
dir = -1;
dx = 3;
step = 0;
maxstep = 30;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 6
onClipEvent (load) {
dir = -1;
dx = 3;
maxstep = 40;
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 6
onClipEvent (load) {
dir = -1;
dx = 3;
maxstep = 99;
}
Instance of Symbol 157 MovieClip in Symbol 175 MovieClip Frame 6
onClipEvent (load) {
dir = 1;
dx = 3;
maxstep = 39;
}
Instance of Symbol 146 MovieClip "yt1" in Symbol 175 MovieClip Frame 7
onClipEvent (load) {
dir = 1;
dx = 2;
step = 0;
maxstep = 40;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_x = (_x + (dx * dir));
step++;
if (gethero) {
_root.mhero._x = _root.mhero._x + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt2" in Symbol 175 MovieClip Frame 7
onClipEvent (load) {
dir = 1;
dx = 2;
step = 0;
maxstep = 40;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_x = (_x + (dx * dir));
step++;
if (gethero) {
_root.mhero._x = _root.mhero._x + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt3" in Symbol 175 MovieClip Frame 7
onClipEvent (load) {
dir = 1;
dx = 2;
step = 0;
maxstep = 90;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_x = (_x + (dx * dir));
step++;
if (gethero) {
_root.mhero._x = _root.mhero._x + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt4" in Symbol 175 MovieClip Frame 7
onClipEvent (load) {
dir = 1;
dx = 2;
step = 0;
maxstep = 90;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_x = (_x + (dx * dir));
step++;
if (gethero) {
_root.mhero._x = _root.mhero._x + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 7
onClipEvent (load) {
dir = -1;
dx = 2;
maxstep = 20;
}
Instance of Symbol 159 MovieClip in Symbol 175 MovieClip Frame 7
onClipEvent (load) {
dir = 1;
dx = 2;
maxstep = 50;
}
Instance of Symbol 159 MovieClip in Symbol 175 MovieClip Frame 7
onClipEvent (load) {
dir = 1;
dx = 2;
maxstep = 50;
}
Instance of Symbol 146 MovieClip "yt1" in Symbol 175 MovieClip Frame 8
onClipEvent (load) {
dir = -1;
dx = 3;
step = 0;
maxstep = 30;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt2" in Symbol 175 MovieClip Frame 8
onClipEvent (load) {
dir = -1;
dx = 2;
step = 0;
maxstep = 40;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_x = (_x + (dx * dir));
step++;
if (gethero) {
_root.mhero._x = _root.mhero._x + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt3" in Symbol 175 MovieClip Frame 8
onClipEvent (load) {
dir = 1;
dx = 2;
step = 0;
maxstep = 40;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_x = (_x + (dx * dir));
step++;
if (gethero) {
_root.mhero._x = _root.mhero._x + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt5" in Symbol 175 MovieClip Frame 8
onClipEvent (load) {
dir = -1;
dx = 2;
step = 0;
maxstep = 40;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_x = (_x + (dx * dir));
step++;
if (gethero) {
_root.mhero._x = _root.mhero._x + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt4" in Symbol 175 MovieClip Frame 8
onClipEvent (load) {
dir = 1;
dx = 2;
step = 0;
maxstep = 40;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_x = (_x + (dx * dir));
step++;
if (gethero) {
_root.mhero._x = _root.mhero._x + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt6" in Symbol 175 MovieClip Frame 8
onClipEvent (load) {
dir = 1;
dx = 3;
step = 0;
maxstep = 28;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_x = (_x + (dx * dir));
step++;
if (gethero) {
_root.mhero._x = _root.mhero._x + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt7" in Symbol 175 MovieClip Frame 8
onClipEvent (load) {
dir = 1;
dx = 3;
step = 0;
maxstep = 30;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_x = (_x + (dx * dir));
step++;
if (gethero) {
_root.mhero._x = _root.mhero._x + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt8" in Symbol 175 MovieClip Frame 8
onClipEvent (load) {
dir = -1;
dx = 3;
step = 0;
maxstep = 30;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt9" in Symbol 175 MovieClip Frame 8
onClipEvent (load) {
dir = -1;
dx = 3;
step = 0;
maxstep = 60;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 159 MovieClip in Symbol 175 MovieClip Frame 8
onClipEvent (load) {
dir = 1;
dx = 2;
maxstep = 50;
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 8
onClipEvent (load) {
dir = -1;
dx = 2;
maxstep = 25;
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 8
onClipEvent (load) {
dir = -1;
dx = 2;
maxstep = 25;
}
Instance of Symbol 146 MovieClip "yt1" in Symbol 175 MovieClip Frame 9
onClipEvent (load) {
dir = -1;
dx = 3;
step = 0;
maxstep = 30;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt3" in Symbol 175 MovieClip Frame 9
onClipEvent (load) {
dir = -1;
dx = 3;
step = 0;
maxstep = 33;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt2" in Symbol 175 MovieClip Frame 9
onClipEvent (load) {
dir = -1;
dx = 3;
step = 0;
maxstep = 33;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt4" in Symbol 175 MovieClip Frame 9
onClipEvent (load) {
dir = -1;
dx = 3;
step = 0;
maxstep = 33;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt5" in Symbol 175 MovieClip Frame 9
onClipEvent (load) {
dir = -1;
dx = 3;
step = 0;
maxstep = 33;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 9
onClipEvent (load) {
dir = -1;
dx = 3;
maxstep = 40;
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 9
onClipEvent (load) {
dir = -1;
dx = 3;
maxstep = 30;
}
Instance of Symbol 157 MovieClip in Symbol 175 MovieClip Frame 9
onClipEvent (load) {
dir = 1;
dx = 3;
maxstep = 39;
}
Instance of Symbol 146 MovieClip "yt1" in Symbol 175 MovieClip Frame 10
onClipEvent (load) {
dir = -1;
dx = 3;
step = 0;
maxstep = 40;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt2" in Symbol 175 MovieClip Frame 10
onClipEvent (load) {
dir = -1;
dx = 3;
step = 0;
maxstep = 30;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt3" in Symbol 175 MovieClip Frame 10
onClipEvent (load) {
dir = -1;
dx = 3;
step = 0;
maxstep = 41;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt4" in Symbol 175 MovieClip Frame 10
onClipEvent (load) {
dir = -1;
dx = 3;
step = 0;
maxstep = 85;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 159 MovieClip in Symbol 175 MovieClip Frame 10
onClipEvent (load) {
dir = 1;
dx = 2;
maxstep = 59;
}
Instance of Symbol 157 MovieClip in Symbol 175 MovieClip Frame 10
onClipEvent (load) {
dir = 1;
dx = 3;
maxstep = 80;
}
Instance of Symbol 163 MovieClip in Symbol 175 MovieClip Frame 10
onClipEvent (load) {
dir = -1;
dx = 3;
maxstep = 18;
}
Instance of Symbol 163 MovieClip in Symbol 175 MovieClip Frame 10
onClipEvent (load) {
dir = -1;
dx = 2;
maxstep = 50;
}
Instance of Symbol 163 MovieClip in Symbol 175 MovieClip Frame 10
onClipEvent (load) {
dir = -1;
dx = 3;
maxstep = 18;
}
Instance of Symbol 163 MovieClip in Symbol 175 MovieClip Frame 10
onClipEvent (load) {
dir = -1;
dx = 3;
maxstep = 18;
}
Instance of Symbol 146 MovieClip "yt1" in Symbol 175 MovieClip Frame 11
onClipEvent (load) {
dir = -1;
dx = 3;
step = 0;
maxstep = 30;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt3" in Symbol 175 MovieClip Frame 11
onClipEvent (load) {
dir = -1;
dx = 3;
step = 0;
maxstep = 33;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt2" in Symbol 175 MovieClip Frame 11
onClipEvent (load) {
dir = -1;
dx = 3;
step = 0;
maxstep = 33;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt4" in Symbol 175 MovieClip Frame 11
onClipEvent (load) {
dir = -1;
dx = 3;
step = 0;
maxstep = 33;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt5" in Symbol 175 MovieClip Frame 11
onClipEvent (load) {
dir = -1;
dx = 3;
step = 0;
maxstep = 33;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 11
onClipEvent (load) {
dir = -1;
dx = 3;
maxstep = 33;
}
Instance of Symbol 146 MovieClip "yt1" in Symbol 175 MovieClip Frame 12
onClipEvent (load) {
dir = -1;
dx = 3;
step = 0;
maxstep = 41;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt2" in Symbol 175 MovieClip Frame 12
onClipEvent (load) {
dir = -1;
dx = 3;
step = 0;
maxstep = 80;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 163 MovieClip in Symbol 175 MovieClip Frame 12
onClipEvent (load) {
dir = -1;
dx = 3;
maxstep = 30;
}
Instance of Symbol 163 MovieClip in Symbol 175 MovieClip Frame 12
onClipEvent (load) {
dir = -1;
dx = 3;
maxstep = 30;
}
Instance of Symbol 163 MovieClip in Symbol 175 MovieClip Frame 12
onClipEvent (load) {
dir = -1;
dx = 3;
maxstep = 30;
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 12
onClipEvent (load) {
dir = -1;
dx = 3;
maxstep = 33;
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 12
onClipEvent (load) {
dir = -1;
dx = 3;
maxstep = 33;
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 12
onClipEvent (load) {
dir = -1;
dx = 3;
maxstep = 33;
}
Instance of Symbol 159 MovieClip in Symbol 175 MovieClip Frame 12
onClipEvent (load) {
dir = 1;
dx = 2;
maxstep = 50;
}
Instance of Symbol 146 MovieClip "yt1" in Symbol 175 MovieClip Frame 13
onClipEvent (load) {
dir = -1;
dx = 3;
step = 0;
maxstep = 40;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt2" in Symbol 175 MovieClip Frame 13
onClipEvent (load) {
dir = -1;
dx = 3;
step = 0;
maxstep = 40;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt3" in Symbol 175 MovieClip Frame 13
onClipEvent (load) {
dir = -1;
dx = 3;
step = 0;
maxstep = 40;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt4" in Symbol 175 MovieClip Frame 13
onClipEvent (load) {
dir = -1;
dx = 3;
step = 0;
maxstep = 40;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt5" in Symbol 175 MovieClip Frame 13
onClipEvent (load) {
dir = -1;
dx = 1;
step = 0;
maxstep = 10;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "pt5" in Symbol 175 MovieClip Frame 13
onClipEvent (load) {
dir = -1;
dx = 3;
step = 0;
maxstep = 40;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 167 MovieClip in Symbol 175 MovieClip Frame 13
onClipEvent (load) {
dir = 1;
dx = 2;
maxstep = 50;
}
Instance of Symbol 167 MovieClip in Symbol 175 MovieClip Frame 13
onClipEvent (load) {
dir = 1;
dx = 2;
maxstep = 50;
}
Instance of Symbol 167 MovieClip in Symbol 175 MovieClip Frame 13
onClipEvent (load) {
dir = 1;
dx = 2;
maxstep = 50;
}
Instance of Symbol 163 MovieClip in Symbol 175 MovieClip Frame 13
onClipEvent (load) {
dir = -1;
dx = 3;
maxstep = 18;
}
Instance of Symbol 146 MovieClip "yt1" in Symbol 175 MovieClip Frame 14
onClipEvent (load) {
dir = 1;
dx = 3;
step = 0;
maxstep = 100;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_x = (_x + (dx * dir));
step++;
if (gethero) {
_root.mhero._x = _root.mhero._x + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt2" in Symbol 175 MovieClip Frame 14
onClipEvent (load) {
dir = 1;
dx = 1;
step = 0;
maxstep = 300;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_x = (_x + (dx * dir));
step++;
if (gethero) {
_root.mhero._x = _root.mhero._x + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt3" in Symbol 175 MovieClip Frame 14
onClipEvent (load) {
dir = 1;
dx = 2;
step = 0;
maxstep = 150;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_x = (_x + (dx * dir));
step++;
if (gethero) {
_root.mhero._x = _root.mhero._x + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt4" in Symbol 175 MovieClip Frame 14
onClipEvent (load) {
dir = 1;
dx = 2;
step = 0;
maxstep = 40;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_x = (_x + (dx * dir));
step++;
if (gethero) {
_root.mhero._x = _root.mhero._x + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt5" in Symbol 175 MovieClip Frame 14
onClipEvent (load) {
dir = 1;
dx = 2;
step = 0;
maxstep = 150;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_x = (_x + (dx * dir));
step++;
if (gethero) {
_root.mhero._x = _root.mhero._x + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt6" in Symbol 175 MovieClip Frame 14
onClipEvent (load) {
dir = 1;
dx = 1;
step = 0;
maxstep = 200;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_x = (_x + (dx * dir));
step++;
if (gethero) {
_root.mhero._x = _root.mhero._x + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt7" in Symbol 175 MovieClip Frame 14
onClipEvent (load) {
dir = 1;
dx = 2;
step = 0;
maxstep = 150;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_x = (_x + (dx * dir));
step++;
if (gethero) {
_root.mhero._x = _root.mhero._x + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt8" in Symbol 175 MovieClip Frame 14
onClipEvent (load) {
dir = 1;
dx = 2;
step = 0;
maxstep = 40;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_x = (_x + (dx * dir));
step++;
if (gethero) {
_root.mhero._x = _root.mhero._x + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt9" in Symbol 175 MovieClip Frame 14
onClipEvent (load) {
dir = 1;
dx = 3;
step = 0;
maxstep = 100;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_x = (_x + (dx * dir));
step++;
if (gethero) {
_root.mhero._x = _root.mhero._x + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "pt6" in Symbol 175 MovieClip Frame 14
onClipEvent (load) {
dir = -1;
dx = 3;
step = 0;
maxstep = 40;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 163 MovieClip in Symbol 175 MovieClip Frame 14
onClipEvent (load) {
dir = -1;
dx = 1;
maxstep = 75;
}
Instance of Symbol 167 MovieClip in Symbol 175 MovieClip Frame 14
onClipEvent (load) {
dir = 1;
dx = 3;
maxstep = 50;
}
Instance of Symbol 167 MovieClip in Symbol 175 MovieClip Frame 14
onClipEvent (load) {
dir = 1;
dx = 3;
maxstep = 50;
}
Instance of Symbol 167 MovieClip in Symbol 175 MovieClip Frame 14
onClipEvent (load) {
dir = 1;
dx = 3;
maxstep = 50;
}
Instance of Symbol 167 MovieClip in Symbol 175 MovieClip Frame 14
onClipEvent (load) {
dir = 1;
dx = 3;
maxstep = 50;
}
Instance of Symbol 163 MovieClip in Symbol 175 MovieClip Frame 14
onClipEvent (load) {
dir = -1;
dx = 1;
maxstep = 75;
}
Instance of Symbol 146 MovieClip "yt3" in Symbol 175 MovieClip Frame 15
onClipEvent (load) {
dir = -1;
dx = 3;
step = 0;
maxstep = 40;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_x = (_x + (dx * dir));
step++;
if (gethero) {
_root.mhero._x = _root.mhero._x + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt3" in Symbol 175 MovieClip Frame 15
onClipEvent (load) {
dir = -1;
dx = 4;
step = 0;
maxstep = 31;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_x = (_x + (dx * dir));
step++;
if (gethero) {
_root.mhero._x = _root.mhero._x + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt3" in Symbol 175 MovieClip Frame 15
onClipEvent (load) {
dir = -1;
dx = 4;
step = 0;
maxstep = 50;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_y = (_y + (dx * dir));
step++;
if (gethero) {
_root.mhero._y = _root.mhero._y + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt3" in Symbol 175 MovieClip Frame 15
onClipEvent (load) {
dir = -1;
dx = 4;
step = 0;
maxstep = 50;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_x = (_x + (dx * dir));
step++;
if (gethero) {
_root.mhero._x = _root.mhero._x + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 146 MovieClip "yt3" in Symbol 175 MovieClip Frame 15
onClipEvent (load) {
dir = -1;
dx = 4;
step = 0;
maxstep = 50;
gethero = false;
}
onClipEvent (enterFrame) {
if (_root.notpause) {
if (step < maxstep) {
_x = (_x + (dx * dir));
step++;
if (gethero) {
_root.mhero._x = _root.mhero._x + (dx * dir);
}
} else {
step = 0;
dir = dir * -1;
}
}
}
Instance of Symbol 167 MovieClip in Symbol 175 MovieClip Frame 15
onClipEvent (load) {
dir = 1;
dx = 5;
maxstep = 30;
}
Instance of Symbol 163 MovieClip in Symbol 175 MovieClip Frame 15
onClipEvent (load) {
dir = -1;
dx = 3;
maxstep = 33;
}
Instance of Symbol 167 MovieClip in Symbol 175 MovieClip Frame 15
onClipEvent (load) {
dir = 1;
dx = 5;
maxstep = 30;
}
Instance of Symbol 167 MovieClip in Symbol 175 MovieClip Frame 15
onClipEvent (load) {
dir = 1;
dx = 5;
maxstep = 30;
}
Instance of Symbol 167 MovieClip in Symbol 175 MovieClip Frame 15
onClipEvent (load) {
dir = 1;
dx = 5;
maxstep = 30;
}
Instance of Symbol 167 MovieClip in Symbol 175 MovieClip Frame 15
onClipEvent (load) {
dir = 1;
dx = 5;
maxstep = 30;
}
Instance of Symbol 167 MovieClip in Symbol 175 MovieClip Frame 15
onClipEvent (load) {
dir = 1;
dx = 5;
maxstep = 30;
}
Instance of Symbol 167 MovieClip in Symbol 175 MovieClip Frame 15
onClipEvent (load) {
dir = 1;
dx = 5;
maxstep = 30;
}
Instance of Symbol 163 MovieClip in Symbol 175 MovieClip Frame 15
onClipEvent (load) {
dir = -1;
dx = 4;
maxstep = 25;
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 15
onClipEvent (load) {
dir = -1;
dx = 5;
maxstep = 20;
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 15
onClipEvent (load) {
dir = -1;
dx = 5;
maxstep = 20;
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 17
onClipEvent (load) {
dir = -1;
dx = 2;
maxstep = 105;
}
Instance of Symbol 157 MovieClip in Symbol 175 MovieClip Frame 17
onClipEvent (load) {
dir = 1;
dx = 2;
maxstep = 80;
}
Symbol 183 MovieClip Frame 16
stop();
Symbol 203 MovieClip Frame 1
stop();
Symbol 203 MovieClip Frame 3
_root.msound.gotoAndPlay("jump");
Symbol 203 MovieClip Frame 7
gotoAndStop (1);
Symbol 203 MovieClip Frame 8
stop();
Symbol 203 MovieClip Frame 19
stop();
Symbol 203 MovieClip Frame 73
stop();
Symbol 204 Button
on (keyPress "<Space>") {
if (notshotlock) {
fshot();
notshotlock = false;
mshotlock.play();
}
}
Symbol 206 MovieClip Frame 1
_root.notshotlock = true;
stop();
Symbol 213 MovieClip Frame 1
stop();
Symbol 220 MovieClip Frame 1
stop();
Symbol 224 Button
on (release) {
gotoAndStop ("title");
}
Symbol 227 Button
on (release) {
_root.notpause = false;
gotoAndStop (5);
}
Symbol 230 Button
on (release) {
_root.notpause = true;
gotoAndStop (1);
}
Symbol 231 MovieClip Frame 1
stop();
Symbol 231 MovieClip Frame 5
stop();
Symbol 234 Button
on (release) {
_root.msound.removeMovieClip();
stopAllSounds();
gotoAndStop (2);
}
Symbol 236 Button
on (release) {
_root.attachMovie("ysound", "msound", 1);
_root.msound._x = -100;
_root.sound_flag = true;
gotoAndStop (1);
}
Symbol 238 MovieClip Frame 1
if (_root.sound_flag) {
stop();
} else {
_root.msound.removeMovieClip();
stopAllSounds();
gotoAndStop (2);
}
Symbol 244 Button
on (release) {
gotoAndPlay ("game");
}
Symbol 246 Button
on (release) {
life = 4;
bullets = 4;
score = 0;
flying = 1;
gotoAndPlay ("game");
}
Symbol 249 Button
on (release) {
life = 4;
bullets = 4;
score = 0;
flying = 1;
gotoAndStop ("title");
}
Symbol 256 Button
on (release) {
newat = addtopten(user, score);
life = 4;
bullets = 4;
score = 0;
flying = 1;
gotoAndStop ("highscores");
}
Symbol 260 Button
on (release) {
getURL ("http://www.youxi.cn", "_blank");
}
Symbol 265 MovieClip Frame 15
stop();
Symbol 267 MovieClip Frame 1
stop();
Symbol 301 MovieClip Frame 1
i = 0;
while (i < 10) {
this["name" + (i + 1)] = _root.toptena[i].na;
this["sc" + (i + 1)] = _root.toptena[i].sc;
i++;
}
Instance of Symbol 267 MovieClip "topnew" in Symbol 301 MovieClip Frame 1
onClipEvent (load) {
if (_root.newat == -1) {
gotoAndStop (11);
} else {
gotoAndStop(_root.newat);
}
}
Symbol 302 Button
on (release) {
newat = 11;
gotoAndStop ("title");
}