Combined Code
frame 1 {
function soundOn() {
SoundObj.setVolume(100);
}
function soundOff() {
SoundObj.setVolume(0);
}
this.stop();
this.volume_controler.gotoAndStop(soundFrame);
SoundObj = new Sound(this);
SoundObj.attachSound('bgm');
SoundObj1 = new Sound(this);
SoundObj1.attachSound('intro');
if (soundFrame == undefined) {
soundFrame = 1;
SoundObj1.start(0, 9999);
}
this.onEnterFrame = function () {
if (this.vol == 1) {
soundOn();
this.vol = 2;
}
if (this.vol == 0) {
soundOff();
this.vol = 2;
}
};
}
movieClip 6 {
frame 1 {
this.stop();
}
}
instance of movieClip 6 {
onClipEvent (rollOver) {
this.nextFrame();
}
onClipEvent (rollOut) {
this.prevFrame();
}
onClipEvent (press) {
_parent.SoundObj1.stop();
_parent.gotoAndStop('game');
}
}
movieClip 9 {
frame 1 {
this.stop();
}
}
instance of movieClip 9 {
onClipEvent (rollOver) {
this.nextFrame();
}
onClipEvent (rollOut) {
this.prevFrame();
}
onClipEvent (press) {
_parent.gotoAndStop('help');
}
}
movieClip 13 {
frame 1 {
this.stop();
}
}
button 15 {
on (rollOver) {
this.mc.nextFrame();
}
on (rollOut) {
this.mc.prevFrame();
}
on (release) {
_parent.soundFrame = 2;
_root.vol = 0;
this.nextFrame();
}
}
movieClip 18 {
frame 1 {
this.stop();
}
}
button 19 {
on (rollOver) {
this.mc.nextFrame();
}
on (rollOut) {
this.mc.prevFrame();
}
on (release) {
_parent.soundFrame = 1;
_root.vol = 1;
this.prevFrame();
}
}
movieClip 20 {
frame 1 {
this.stop();
}
}
movieClip 23 {
frame 1 {
this.stop();
}
}
button 24 {
on (rollOver) {
this.mc.nextFrame();
}
on (rollOut) {
this.mc.prevFrame();
}
on (release) {
_root.vol = 0;
_root.FN_Gamestop();
_parent.stop_window.nextFrame();
}
}
movieClip 25 {
frame 1 {
this.stop();
}
}
movieClip 31 {
}
movieClip 38 {
}
movieClip 40 {
frame 18 {
gotoAndPlay(2);
}
}
button 41 {
on (rollOver) {
this.mc.nextFrame();
}
on (rollOut) {
this.mc.prevFrame();
}
on (release) {
_parent._parent.soundFrame = 2;
_root.volume_controler.nextFrame();
this.nextFrame();
}
}
button 42 {
on (rollOver) {
this.mc.nextFrame();
}
on (rollOut) {
this.mc.prevFrame();
}
on (release) {
_parent._parent.soundFrame = 1;
_root.volume_controler.prevFrame();
this.prevFrame();
}
}
movieClip 43 {
frame 1 {
this.stop();
}
}
movieClip 46 {
frame 1 {
this.stop();
}
}
button 47 {
on (rollOver) {
this.mc.nextFrame();
}
on (rollOut) {
this.mc.prevFrame();
}
on (release) {
if (_parent._parent.soundFrame == 1) {
_root.vol = 1;
} else {
_root.vol = 0;
}
_root.FN_Gameplay();
_parent.prevFrame();
}
}
movieClip 48 {
frame 1 {
this.stop();
}
}
movieClip 49 {
frame 1 {
this.stop();
}
frame 2 {
this.volume_controler.gotoAndStop(_parent.soundFrame);
this.gara_btn.useHandCursor = false;
}
}
movieClip 54 {
frame 1 {
stop();
}
}
instance of movieClip 54 {
onClipEvent (rollOver) {
this.nextFrame();
}
onClipEvent (rollOut) {
this.prevFrame();
}
onClipEvent (press) {
_parent.gotoAndStop('first');
}
}
frame 3 {
function FN_Array() {
mun = new Array();
i = 0;
while (i <= 7) {
_root.mun[i] = i + 1;
++i;
}
i = 1;
while (i < 50) {
var temp1 = random(8);
var temp2 = random(8);
var temp3 = mun[temp1];
mun[temp1] = mun[temp2];
mun[temp2] = temp3;
var temp4 = _root['mun' + level_num][temp1];
_root['mun' + level_num][temp1] = _root['mun' + level_num][temp2];
_root['mun' + level_num][temp2] = temp4;
++i;
}
}
function FN_Gamego() {
var i = 1;
while (i <= 4) {
this['back_mc' + i].play();
++i;
}
this.m9.gotoAndPlay('first');
this.timer_mc.play();
this.control_mc.play();
this.line_mc.play();
this.side_mc.nextFrame();
this.bg_mc.nextFrame();
this.distance_mc.play();
game_ok = true;
realgame_ok = true;
}
function life_up() {
if (this.interface.time_mc._xscale <= 75) {
this.interface.time_mc._xscale += 20;
} else {
this.interface.time_mc._xscale = 100;
}
}
function life_smallminus() {
if (this.interface.time_mc._xscale >= 5) {
this.interface.time_mc._xscale -= 5;
} else {
this.interface.time_mc._xscale = 0;
}
}
function life_largeminus() {
if (this.interface.time_mc._xscale >= 20) {
this.interface.time_mc._xscale -= 15;
} else {
this.interface.time_mc._xscale = 0;
}
}
function FN_left_smallCrash() {
this.char.l_crash.play();
}
function FN_right_smallCrash() {
this.char.r_crash.play();
}
function FN_right_largeCrash() {
key_ok = false;
this.char.gotoAndStop('crash1');
}
function FN_Gamestop() {
if (realgame_ok) {
game_ok = false;
var i = 1;
while (i <= 8) {
this['m' + i].m_in.stop();
++i;
}
this.control_mc.stop();
this.distance_mc.stop();
this.timer_mc.stop();
if (this.text_mc._currentframe != 1) {
this.text_mc.stop();
}
if (this.bottom_line_mc._currentframe != 1) {
this.bottom_line_mc.stop();
}
if (this.m9._currentframe < 10) {
this.m9.m.m_in.stop();
} else {
this.m9.stop();
}
} else {
this.text_mc.mc.stop();
}
}
function FN_Gameplay() {
if (realgame_ok) {
game_ok = true;
var i = 1;
while (i <= 8) {
this['m' + i].m_in.play();
++i;
}
this.control_mc.play();
this.distance_mc.play();
this.timer_mc.play();
if (this.text_mc._currentframe != 1) {
this.text_mc.play();
}
if (this.bottom_line_mc._currentframe != 1) {
this.bottom_line_mc.play();
}
if (this.m9._currentframe < 10) {
this.m9.m.m_in.play();
} else {
this.m9.play();
}
} else {
this.text_mc.mc.play();
}
}
function FN_Score() {
s_num1 = int(score / 100000) + 1;
s_num11 = score % 100000;
s_num2 = int(s_num11 / 10000) + 1;
s_num22 = s_num11 % 10000;
s_num3 = int(s_num22 / 1000) + 1;
s_num33 = s_num22 % 1000;
s_num4 = int(s_num33 / 100) + 1;
s_num44 = s_num33 % 100;
s_num5 = int(s_num44 / 10) + 1;
s_num6 = s_num44 % 10;
if (score >= 10 && score < 100) {
++s_num5;
} else {
if (score >= 100 && score < 1000) {
++s_num4;
++s_num5;
} else {
if (score >= 1000 && score < 10000) {
++s_num3;
++s_num4;
++s_num5;
} else {
if (score >= 10000 && score < 100000) {
++s_num2;
++s_num3;
++s_num4;
++s_num5;
} else {
if (score >= 100000) {
++s_num1;
++s_num2;
++s_num3;
++s_num4;
++s_num5;
}
}
}
}
}
this.interface.score_mc.mc2.gotoAndStop(s_num5);
this.interface.score_mc.mc3.gotoAndStop(s_num4);
this.interface.score_mc.mc4.gotoAndStop(s_num3);
this.interface.score_mc.mc5.gotoAndStop(s_num2);
this.interface.score_mc.mc6.gotoAndStop(s_num1);
}
this.stop();
var xpos = this.char._x;
this.char.gotoAndStop('f_doing');
this.char._x = xpos;
this.target_mc._x = 316;
this.interface.time_mc._xscale = 100;
this.volume_controler.gotoAndStop(soundFrame);
var i = 1;
while (i <= 4) {
this['back_mc' + i].stop();
++i;
}
this.timer_mc.stop();
this.line_mc.stop();
this.distance_mc.stop();
this.text_mc.gotoAndStop('start');
this.bottom_line_mc.gotoAndStop('start');
this.control_mc.stop();
this.interface.level_mc.mc1.nextFrame();
var keypress_num = 3;
var level_count = 6;
var level_num = 1;
var score = 0;
var total_time = 0;
var num = 1;
var yspeed = 0.3;
var yspeed1 = 0.1;
var key_ok = true;
var game_ok = false;
var realgame_ok = false;
var jump_ok = false;
var i = 1;
while (i <= 8) {
this['m' + i].Depth = this['m' + i].getDepth();
++i;
}
mun1 = [true, true, false, false, false, false, false, false];
mun2 = [true, true, true, false, false, false, false, false];
mun3 = [true, true, true, true, false, false, false, false];
mun4 = [true, true, true, true, true, false, false, false];
mun5 = [true, true, true, true, true, true, false, false];
mun6 = [true, true, true, true, true, true, false, false];
FN_Array();
Press_key = new Object();
Press_key.onKeyDown = function () {
if (game_ok) {
if (key_ok) {
if (Key.getCode() == 39) {
keypress_num = 1;
}
if (Key.getCode() == 37) {
keypress_num = 2;
}
}
}
};
Press_key.onKeyUp = function () {
if (game_ok) {
keypress_num = 3;
}
};
Key.addListener(Press_key);
this.onEnterFrame = function () {
if (this.vol == 1) {
soundOn();
this.vol = 2;
}
if (this.vol == 0) {
soundOff();
this.vol = 2;
}
if (game_ok) {
if (char._currentframe == 1 || char._currentframe == 5 || char._currentframe == 9) {
if (target_mc._x < 266) {
this.char.gotoAndStop('l_doing');
} else {
if (target_mc._x >= 266 && target_mc._x < 416) {
this.char.gotoAndStop('f_doing');
} else {
this.char.gotoAndStop('r_doing');
}
}
} else {
if (char._currentframe == 2 || char._currentframe == 6 || char._currentframe == 10) {
if (target_mc._x < 266) {
this.char.gotoAndStop('l_right');
} else {
if (target_mc._x >= 266 && target_mc._x < 416) {
this.char.gotoAndStop('f_right');
} else {
this.char.gotoAndStop('r_right');
}
}
} else {
if (char._currentframe == 3 || char._currentframe == 7 || char._currentframe == 11) {
if (target_mc._x < 266) {
this.char.gotoAndStop('l_left');
} else {
if (target_mc._x >= 266 && target_mc._x < 416) {
this.char.gotoAndStop('f_left');
} else {
this.char.gotoAndStop('r_left');
}
}
}
}
}
if (keypress_num == 1) {
if (target_mc._x < 616) {
target_mc._x += 50;
target_mc1._x -= 2;
}
if (char._currentframe == 1 || char._currentframe == 5 || char._currentframe == 9) {
char.gotoAndStop(char._currentframe + 1);
} else {
if (char._currentframe == 3 || char._currentframe == 7 || char._currentframe == 11) {
char.gotoAndStop(char._currentframe - 1);
}
}
} else {
if (keypress_num == 2) {
if (target_mc._x > 16) {
target_mc._x -= 50;
target_mc1._x += 2;
}
if (char._currentframe == 1 || char._currentframe == 5 || char._currentframe == 9) {
char.gotoAndStop(char._currentframe + 2);
} else {
if (char._currentframe == 2 || char._currentframe == 6 || char._currentframe == 10) {
char.gotoAndStop(char._currentframe + 1);
}
}
} else {
char.mc.play();
}
}
tgx = this.target_mc._x;
tgx1 = this.target_mc1._x;
this.front_back._x += yspeed1 * (tgx1 - this.front_back._x);
this.char._x += yspeed * (tgx - this.char._x);
if (key_ok) {
if (Key.isDown(32)) {
jump_ok = true;
if (this.char._currentframe < 4) {
this.char.gotoAndStop('f_jump');
} else {
if (this.char._currentframe > 4 && this.char._currentframe < 10) {
this.char.gotoAndStop('l_jump');
} else {
this.char.gotoAndStop('r_jump');
}
}
}
}
if (this.interface.time_mc._xscale > 0) {
this.interface.time_mc._xscale -= 0.05;
} else {
delete this.onEnterFrame;
delete this.onKeyDown;
delete this.onKeyUp;
stopAllSounds();
game_ok = false;
this.timer_mc.stop();
this.line_mc.stop();
this.control_mc.stop();
this.distance_mc.stop();
this.side_mc.prevFrame();
this.bg_mc.prevFrame();
if (this.text_mc._currentframe != 1) {
this.text_mc.stop();
}
if (this.bottom_line_mc._currentframe != 1) {
this.bottom_line_mc.stop();
}
var i = 1;
while (i <= 8) {
if (i < 5) {
this['back_mc' + i].stop();
}
this['m' + i].swapDepths(this['m' + i].Depth);
this['m' + i].gotoAndStop(1);
++i;
}
this.m9.gotoAndStop(1);
if (this.char._x <= xpos) {
this.char.gotoAndStop('end1');
} else {
this.char.gotoAndStop('end2');
}
}
}
};
}
movieClip 62 {
}
movieClip 63 {
frame 1 {
this.stop();
}
}
movieClip 65 {
}
movieClip 67 {
}
movieClip 70 {
}
movieClip 74 {
}
movieClip 75 {
frame 1 {
this.stop();
}
frame 29 {
gotoAndStop(1);
}
}
movieClip 77 {
}
movieClip 90 {
}
movieClip 92 {
}
movieClip 94 {
}
movieClip 96 {
}
movieClip 97 {
}
movieClip 99 {
}
movieClip 101 {
}
movieClip 103 {
}
movieClip 104 {
}
movieClip 106 {
}
movieClip 107 {
}
movieClip 112 {
frame 1 {
this.stop();
}
}
movieClip 113 {
frame 34 {
var ran = random(3) + 1;
this.mc.gotoAndStop(ran);
}
}
movieClip 120 {
}
movieClip 121 {
frame 1 {
this.stop();
}
}
movieClip 124 {
}
movieClip 125 {
}
movieClip 130 {
}
movieClip 136 {
}
movieClip 140 {
frame 81 {
this.stop();
_parent.play();
_parent._parent.bottom_line_mc.gotoAndPlay('start');
_parent._parent.chargo_mc.play();
_root.FN_Gamego();
_root.SoundObj.start(0, 9999);
}
}
movieClip 141 {
frame 1 {
this.stop();
}
frame 2 {
_parent.control_mc.stop();
_parent.bottom_line_mc.play();
}
frame 26 {
_parent.distance_mc.gotoAndPlay(1);
_parent.interface.level_mc.mc1.nextFrame();
if (_parent.interface.time_mc._xscale < 50) {
_parent.interface.time_mc._xscale += 50;
} else {
_parent.interface.time_mc._xscale = 100;
}
if (_parent.level_num < 6) {
++_parent.level_num;
}
_parent.level_count = 2;
_parent.control_mc.play();
_parent.score += 1000;
}
frame 29 {
this.gotoAndStop(1);
}
}
movieClip 143 {
frame 1 {
this.stop();
}
}
movieClip 144 {
frame 1 {
var crash_ok = true;
}
frame 29 {
function FN_Crash() {
if (_root.jump_ok == false) {
if (crash_ok) {
if (_root.char._x < 210) {
crash_ok = false;
_root.FN_right_largeCrash();
_root.target_mc._x += 200;
}
}
}
}
FN_Crash();
}
frame 30 {
FN_Crash();
}
frame 31 {
FN_Crash();
}
frame 32 {
FN_Crash();
}
frame 33 {
FN_Crash();
}
frame 34 {
FN_Crash();
}
frame 42 {
this.stop();
_parent._parent.gotoAndPlay('ran');
}
}
movieClip 145 {
}
movieClip 146 {
frame 1 {
this.stop();
}
}
movieClip 147 {
frame 1 {
var crash_ok = true;
}
frame 26 {
function FN_Crash() {
if (_root.jump_ok == false) {
if (crash_ok) {
if (_root.char._x < 265) {
crash_ok = false;
_root.FN_right_largeCrash();
_root.target_mc._x += 200;
}
}
}
}
FN_Crash();
}
frame 27 {
FN_Crash();
}
frame 28 {
FN_Crash();
}
frame 29 {
FN_Crash();
}
frame 30 {
FN_Crash();
}
frame 31 {
FN_Crash();
}
frame 42 {
this.stop();
_parent._parent.gotoAndPlay('ran');
}
}
movieClip 148 {
}
movieClip 150 {
frame 1 {
this.stop();
}
}
movieClip 151 {
frame 1 {
var crash_ok = true;
}
frame 25 {
function FN_Crash() {
if (_root.jump_ok == false) {
if (crash_ok) {
if (_root.char._x < 365) {
crash_ok = false;
_root.FN_right_largeCrash();
_root.target_mc._x += 200;
}
}
}
}
FN_Crash();
}
frame 26 {
FN_Crash();
}
frame 27 {
FN_Crash();
}
frame 28 {
FN_Crash();
}
frame 29 {
FN_Crash();
}
frame 30 {
FN_Crash();
}
frame 31 {
FN_Crash();
}
frame 42 {
this.stop();
_parent._parent.gotoAndPlay('ran');
}
}
movieClip 152 {
}
movieClip 153 {
frame 1 {
this.stop();
}
}
movieClip 154 {
frame 1 {
var crash_ok = true;
}
frame 26 {
function FN_Crash() {
if (_root.jump_ok == false) {
if (crash_ok) {
if (_root.char._x < 460 && _root.char._x > 20) {
crash_ok = false;
_root.FN_right_largeCrash();
_root.target_mc._x += 200;
}
}
}
}
FN_Crash();
}
frame 27 {
FN_Crash();
}
frame 28 {
FN_Crash();
}
frame 29 {
FN_Crash();
}
frame 30 {
FN_Crash();
}
frame 31 {
FN_Crash();
}
frame 32 {
FN_Crash();
}
frame 33 {
FN_Crash();
}
frame 42 {
this.stop();
_parent._parent.gotoAndPlay('ran');
}
}
movieClip 155 {
}
movieClip 156 {
frame 1 {
this.stop();
}
}
movieClip 157 {
frame 1 {
var crash_ok = true;
}
frame 27 {
function FN_Crash() {
if (_root.jump_ok == false) {
if (crash_ok) {
if (_root.char._x > 220) {
crash_ok = false;
_root.FN_right_largeCrash();
_root.target_mc._x -= 200;
}
}
}
}
FN_Crash();
}
frame 28 {
_parent.swapDepths(_parent.name);
}
frame 29 {
_parent.swapDepths(_parent.name);
}
frame 30 {
_parent.swapDepths(_parent.name);
}
frame 31 {
FN_Crash();
}
frame 32 {
FN_Crash();
}
frame 33 {
FN_Crash();
}
frame 42 {
this.stop();
_parent._parent.gotoAndPlay('ran');
}
}
movieClip 158 {
}
movieClip 159 {
frame 1 {
this.stop();
}
}
movieClip 160 {
frame 1 {
var crash_ok = true;
}
frame 26 {
function FN_Crash() {
if (_root.jump_ok == false) {
if (crash_ok) {
if (_root.char._x > 220) {
crash_ok = false;
_root.FN_right_largeCrash();
_root.target_mc._x -= 200;
}
}
}
}
FN_Crash();
}
frame 27 {
FN_Crash();
}
frame 28 {
FN_Crash();
}
frame 29 {
FN_Crash();
}
frame 30 {
FN_Crash();
}
frame 31 {
FN_Crash();
}
frame 32 {
FN_Crash();
}
frame 42 {
this.stop();
_parent._parent.gotoAndPlay('ran');
}
}
movieClip 161 {
}
movieClip 162 {
frame 1 {
this.stop();
}
}
movieClip 163 {
frame 1 {
var crash_ok = true;
}
frame 27 {
function FN_Crash() {
if (_root.jump_ok == false) {
if (crash_ok) {
if (_root.char._x > 270) {
crash_ok = false;
_root.FN_right_largeCrash();
_root.target_mc._x -= 200;
}
}
}
}
FN_Crash();
}
frame 28 {
FN_Crash();
}
frame 29 {
FN_Crash();
}
frame 30 {
FN_Crash();
}
frame 31 {
FN_Crash();
}
frame 32 {
FN_Crash();
}
frame 42 {
this.stop();
_parent._parent.gotoAndPlay('ran');
}
}
movieClip 164 {
}
movieClip 165 {
frame 1 {
var crash_ok = true;
}
frame 2 {
var ran = random(2) + 1;
this.mc.gotoAndStop(ran);
}
frame 28 {
function FN_Crash() {
if (_root.jump_ok == false) {
if (crash_ok) {
if (_root.char._x > 420) {
crash_ok = false;
_root.FN_right_largeCrash();
_root.target_mc._x -= 200;
}
}
}
}
FN_Crash();
}
frame 29 {
FN_Crash();
}
frame 30 {
FN_Crash();
}
frame 31 {
FN_Crash();
}
frame 32 {
FN_Crash();
}
frame 33 {
FN_Crash();
}
frame 34 {
FN_Crash();
}
frame 42 {
this.stop();
_parent._parent.gotoAndPlay('ran');
}
}
movieClip 166 {
}
movieClip 167 {
frame 1 {
this.stop();
}
frame 20 {
var ran = _parent.num + 1;
this.gotoAndStop(ran);
}
}
movieClip 171 {
}
movieClip 173 {
frame 16 {
_parent._parent._parent.play();
this.stop();
}
}
movieClip 174 {
frame 1 {
this.stop();
}
frame 2 {
_root.score += 50;
_root.FN_Score();
}
}
movieClip 177 {
}
movieClip 178 {
frame 16 {
this.stop();
_parent._parent._parent.play();
}
}
movieClip 179 {
frame 1 {
this.stop();
}
frame 2 {
_root.score += 100;
_root.FN_Score();
}
}
movieClip 182 {
}
movieClip 183 {
frame 16 {
this.stop();
_parent._parent._parent.play();
}
}
movieClip 184 {
frame 1 {
this.stop();
}
frame 2 {
_root.score += 500;
_root.FN_Score();
}
}
movieClip 191 {
}
movieClip 192 {
}
movieClip 193 {
}
movieClip 194 {
}
movieClip 197 {
}
movieClip 198 {
frame 16 {
this.stop();
_parent._parent._parent.play();
}
}
movieClip 199 {
frame 1 {
this.stop();
}
frame 2 {
_root.life_up();
}
}
movieClip 200 {
frame 1 {
this.stop();
}
}
movieClip 201 {
frame 1 {
var crash_ok = true;
}
frame 2 {
if (_parent.item_ok == false) {
var ran = random(3) + 4;
this.mc.gotoAndStop(ran);
}
}
frame 13 {
if (_parent.item_ok) {
if (_parent._parent.sound_mc1._currentframe == 1) {
_parent._parent.sound_mc1.gotoAndPlay('m1');
}
}
}
frame 28 {
function FN_Crash() {
if (_parent.item_ok) {
if (crash_ok) {
if (_root.char._x >= 110 && _root.char._x <= 120) {
_root.FN_left_smallCrash();
} else {
if (_root.char._x < 120) {
crash_ok = false;
_root.FN_right_largeCrash();
_root.target_mc._x += 200;
}
}
}
} else {
if (this.mc.mc_in._currentframe == 1) {
if (_root.char._x <= 40) {
this.stop();
this.mc.mc_in.nextFrame();
}
}
}
}
FN_Crash();
}
frame 29 {
FN_Crash();
}
frame 30 {
FN_Crash();
}
frame 31 {
FN_Crash();
}
frame 32 {
FN_Crash();
}
frame 33 {
FN_Crash();
}
frame 34 {
FN_Crash();
}
frame 35 {
FN_Crash();
}
frame 42 {
this.stop();
_parent.swapDepths(_parent.Depth);
_parent.gotoAndStop(1);
}
}
movieClip 202 {
frame 1 {
this.stop();
var name = Number(this._name.substring(1, 2));
}
frame 3 {
this.gotoAndStop(2);
}
}
movieClip 204 {
frame 1 {
this.stop();
}
}
movieClip 205 {
frame 1 {
var crash_ok = true;
}
frame 2 {
if (_parent.item_ok == false) {
var ran = random(3) + 4;
this.mc.gotoAndStop(ran);
}
}
frame 14 {
if (_parent.item_ok) {
if (_parent._parent.sound_mc1._currentframe == 1) {
_parent._parent.sound_mc1.gotoAndPlay('m1');
}
}
}
frame 25 {
function FN_Crash() {
if (_parent.item_ok) {
if (crash_ok) {
if (_root.char._x >= 210 && _root.char._x <= 220) {
_root.FN_left_smallCrash();
} else {
if (_root.char._x >= 60 && _root.char._x <= 70) {
_root.FN_right_smallCrash();
} else {
if (_root.char._x < 210 && _root.char._x > 70) {
crash_ok = false;
_root.FN_right_largeCrash();
_root.target_mc._x += 200;
}
}
}
}
} else {
if (this.mc.mc_in._currentframe == 1) {
if (_root.char._x <= 210 && _root.char._x >= 100) {
this.stop();
this.mc.mc_in.nextFrame();
}
}
}
}
FN_Crash();
}
frame 26 {
FN_Crash();
}
frame 27 {
FN_Crash();
}
frame 28 {
FN_Crash();
}
frame 29 {
FN_Crash();
_parent.swapDepths(_parent.name);
}
frame 30 {
FN_Crash();
}
frame 31 {
FN_Crash();
}
frame 42 {
this.stop();
_parent.swapDepths(_parent.Depth);
_parent.gotoAndStop(1);
}
}
movieClip 206 {
frame 1 {
this.stop();
var name = Number(this._name.substring(1, 2));
}
frame 3 {
this.gotoAndStop(2);
}
}
movieClip 208 {
frame 1 {
this.stop();
}
}
movieClip 209 {
frame 1 {
var crash_ok = true;
}
frame 2 {
if (_parent.item_ok == false) {
var ran = random(3) + 4;
this.mc.gotoAndStop(ran);
}
}
frame 14 {
if (_parent.item_ok) {
if (_parent._parent.sound_mc1._currentframe == 1) {
_parent._parent.sound_mc1.gotoAndPlay('m1');
}
}
}
frame 24 {
function FN_Crash() {
if (_parent.item_ok) {
if (crash_ok) {
if (_root.char._x >= 260 && _root.char._x <= 270) {
_root.FN_left_smallCrash();
} else {
if (_root.char._x >= 110 && _root.char._x <= 120) {
_root.FN_right_smallCrash();
} else {
if (_root.char._x < 260 && _root.char._x > 110) {
crash_ok = false;
_root.FN_right_largeCrash();
_root.target_mc._x += 200;
}
}
}
}
} else {
if (this.mc.mc_in._currentframe == 1) {
if (_root.char._x <= 240 && _root.char._x >= 120) {
this.stop();
this.mc.mc_in.nextFrame();
}
}
}
}
FN_Crash();
}
frame 25 {
FN_Crash();
}
frame 26 {
FN_Crash();
}
frame 27 {
FN_Crash();
}
frame 28 {
FN_Crash();
_parent.swapDepths(_parent.name);
}
frame 29 {
FN_Crash();
}
frame 30 {
FN_Crash();
}
frame 42 {
this.stop();
_parent.swapDepths(_parent.Depth);
_parent.gotoAndStop(1);
}
}
movieClip 210 {
frame 1 {
this.stop();
var name = Number(this._name.substring(1, 2));
}
frame 3 {
this.gotoAndStop(2);
}
}
movieClip 213 {
frame 1 {
this.stop();
}
}
movieClip 214 {
frame 1 {
var crash_ok = true;
}
frame 2 {
if (_parent.item_ok == false) {
var ran = random(3) + 4;
this.mc.gotoAndStop(ran);
} else {
var ran = random(2) + 1;
this.mc.gotoAndStop(ran);
}
}
frame 25 {
function FN_Crash() {
if (_parent.item_ok) {
if (crash_ok) {
if (_root.char._x >= 360 && _root.char._x <= 370) {
_root.FN_left_smallCrash();
} else {
if (_root.char._x >= 160 && _root.char._x <= 170) {
_root.FN_right_smallCrash();
} else {
if (_root.char._x < 370 && _root.char._x > 160) {
crash_ok = false;
_root.FN_right_largeCrash();
_root.target_mc._x += 200;
}
}
}
}
} else {
if (this.mc.mc_in._currentframe == 1) {
if (_root.char._x <= 350 && _root.char._x >= 210) {
this.stop();
this.mc.mc_in.nextFrame();
}
}
}
}
FN_Crash();
}
frame 26 {
FN_Crash();
}
frame 27 {
FN_Crash();
}
frame 28 {
FN_Crash();
}
frame 29 {
_parent.swapDepths(_parent.name);
}
frame 42 {
this.stop();
_parent.swapDepths(_parent.Depth);
_parent.gotoAndStop(1);
}
}
movieClip 215 {
frame 1 {
this.stop();
var name = Number(this._name.substring(1, 2));
}
frame 3 {
this.gotoAndStop(2);
}
}
movieClip 217 {
frame 1 {
this.stop();
}
}
movieClip 218 {
frame 1 {
var crash_ok = true;
}
frame 2 {
if (_parent.item_ok == false) {
var ran = random(3) + 4;
this.mc.gotoAndStop(ran);
}
}
frame 14 {
if (_parent.item_ok) {
if (_parent._parent.sound_mc1._currentframe == 1) {
_parent._parent.sound_mc1.gotoAndPlay('m1');
}
}
}
frame 27 {
function FN_Crash() {
if (_parent.item_ok) {
if (crash_ok) {
if (_root.char._x >= 510 && _root.char._x <= 520) {
_root.FN_right_smallCrash();
} else {
if (_root.char._x > 520) {
crash_ok = false;
_root.FN_right_largeCrash();
_root.target_mc._x -= 200;
}
}
}
} else {
if (this.mc.mc_in._currentframe == 1) {
if (_root.char._x >= 510) {
this.stop();
this.mc.mc_in.nextFrame();
}
}
}
}
FN_Crash();
}
frame 28 {
FN_Crash();
}
frame 29 {
FN_Crash();
}
frame 30 {
FN_Crash();
}
frame 31 {
FN_Crash();
}
frame 32 {
FN_Crash();
}
frame 33 {
FN_Crash();
}
frame 34 {
FN_Crash();
}
frame 35 {
FN_Crash();
}
frame 42 {
this.stop();
_parent.swapDepths(_parent.Depth);
_parent.gotoAndStop(1);
}
}
movieClip 219 {
frame 1 {
this.stop();
var name = Number(this._name.substring(1, 2));
}
frame 3 {
this.gotoAndStop(2);
}
}
movieClip 221 {
frame 1 {
this.stop();
}
}
movieClip 222 {
frame 1 {
var crash_ok = true;
}
frame 2 {
if (_parent.item_ok == false) {
var ran = random(3) + 4;
this.mc.gotoAndStop(ran);
}
}
frame 13 {
if (_parent.item_ok) {
if (_parent._parent.sound_mc1._currentframe == 1) {
_parent._parent.sound_mc1.gotoAndPlay('m1');
}
}
}
frame 24 {
function FN_Crash() {
if (_parent.item_ok) {
if (crash_ok) {
if (_root.char._x >= 560 && _root.char._x <= 570) {
_root.FN_left_smallCrash();
} else {
if (_root.char._x >= 410 && _root.char._x <= 420) {
_root.FN_right_smallCrash();
} else {
if (_root.char._x < 570 && _root.char._x > 420) {
crash_ok = false;
_root.FN_right_largeCrash();
_root.target_mc._x -= 200;
}
}
}
}
} else {
if (this.mc.mc_in._currentframe == 1) {
if (_root.char._x <= 560 && _root.char._x >= 420) {
this.stop();
this.mc.mc_in.nextFrame();
}
}
}
}
FN_Crash();
}
frame 25 {
FN_Crash();
}
frame 26 {
FN_Crash();
}
frame 27 {
FN_Crash();
}
frame 28 {
FN_Crash();
}
frame 29 {
_parent.swapDepths(_parent.name);
FN_Crash();
}
frame 30 {
FN_Crash();
}
frame 31 {
FN_Crash();
}
frame 42 {
this.stop();
_parent.swapDepths(_parent.Depth);
_parent.gotoAndStop(1);
}
}
movieClip 223 {
frame 1 {
this.stop();
var name = Number(this._name.substring(1, 2));
}
frame 3 {
this.gotoAndStop(2);
}
}
movieClip 226 {
}
movieClip 228 {
}
movieClip 231 {
}
movieClip 233 {
frame 1 {
this.stop();
}
}
movieClip 234 {
frame 1 {
var crash_ok = true;
}
frame 2 {
if (_parent.item_ok == false) {
var ran = random(3) + 4;
this.mc.gotoAndStop(ran);
}
}
frame 13 {
if (_parent.item_ok) {
if (_parent._parent.sound_mc1._currentframe == 1) {
_parent._parent.sound_mc1.gotoAndPlay('m1');
}
}
}
frame 23 {
function FN_Crash() {
if (_parent.item_ok) {
if (crash_ok) {
if (_root.char._x >= 510 && _root.char._x <= 520) {
_root.FN_left_smallCrash();
} else {
if (_root.char._x >= 310 && _root.char._x <= 320) {
_root.FN_right_smallCrash();
} else {
if (_root.char._x < 520 && _root.char._x > 320) {
crash_ok = false;
_root.FN_right_largeCrash();
_root.target_mc._x -= 200;
}
}
}
}
} else {
if (this.mc.mc_in._currentframe == 1) {
if (_root.char._x <= 465 && _root.char._x >= 330) {
this.stop();
this.mc.mc_in.nextFrame();
}
}
}
}
FN_Crash();
}
frame 24 {
FN_Crash();
}
frame 25 {
FN_Crash();
}
frame 26 {
FN_Crash();
}
frame 27 {
FN_Crash();
}
frame 28 {
_parent.swapDepths(_parent.name);
FN_Crash();
}
frame 29 {
FN_Crash();
}
frame 30 {
FN_Crash();
}
frame 42 {
this.stop();
_parent.swapDepths(_parent.Depth);
_parent.gotoAndStop(1);
}
}
movieClip 235 {
frame 1 {
this.stop();
var name = Number(this._name.substring(1, 2));
}
frame 3 {
this.gotoAndStop(2);
}
}
movieClip 236 {
frame 1 {
var crash_ok = true;
}
frame 2 {
if (_parent.item_ok == false) {
var ran = random(3) + 4;
this.mc.gotoAndStop(ran);
} else {
var ran = random(2) + 1;
this.mc.gotoAndStop(ran);
}
}
frame 23 {
function FN_Crash() {
if (_parent.item_ok) {
if (crash_ok) {
if (_root.char._x >= 460 && _root.char._x <= 470) {
_root.FN_left_smallCrash();
} else {
if (_root.char._x >= 260 && _root.char._x <= 270) {
_root.FN_right_smallCrash();
} else {
if (_root.char._x < 460 && _root.char._x > 270) {
crash_ok = false;
_root.FN_right_largeCrash();
_root.target_mc._x -= 200;
}
}
}
}
} else {
if (this.mc.mc_in._currentframe == 1) {
if (_root.char._x <= 430 && _root.char._x >= 300) {
this.stop();
this.mc.mc_in.nextFrame();
}
}
}
}
FN_Crash();
}
frame 24 {
FN_Crash();
}
frame 25 {
FN_Crash();
}
frame 26 {
FN_Crash();
}
frame 27 {
FN_Crash();
}
frame 28 {
_parent.swapDepths(_parent.name);
}
frame 42 {
this.stop();
_parent.swapDepths(_parent.Depth);
_parent.gotoAndStop(1);
}
}
movieClip 237 {
frame 1 {
this.stop();
var name = Number(this._name.substring(1, 2));
}
frame 3 {
this.gotoAndStop(2);
}
}
movieClip 240 {
}
movieClip 244 {
frame 1 {
this.stop();
}
frame 2 {
_parent._parent.life_smallminus();
}
}
movieClip 246 {
}
movieClip 248 {
}
movieClip 251 {
frame 1 {
stop();
}
}
movieClip 253 {
}
movieClip 254 {
}
movieClip 258 {
frame 1 {
this.stop();
}
frame 14 {
this.stop();
_parent.gotoAndStop('f_doing');
}
}
movieClip 259 {
frame 1 {
this.stop();
}
frame 14 {
this.stop();
_parent.gotoAndStop('f_doing');
}
}
movieClip 261 {
frame 13 {
_root.jump_ok = false;
}
frame 19 {
_parent.gotoAndStop(_parent._currentframe - 3);
}
}
movieClip 263 {
}
movieClip 265 {
}
movieClip 267 {
}
movieClip 268 {
}
movieClip 269 {
frame 1 {
this.stop();
}
frame 14 {
this.stop();
_parent.gotoAndStop('l_doing');
}
}
movieClip 270 {
frame 1 {
this.stop();
}
frame 14 {
this.stop();
_parent.gotoAndStop('l_doing');
}
}
movieClip 272 {
}
movieClip 273 {
}
movieClip 274 {
frame 1 {
this.stop();
}
frame 14 {
this.stop();
_parent.gotoAndStop('r_doing');
}
}
movieClip 275 {
frame 1 {
this.stop();
}
frame 14 {
this.stop();
_parent.gotoAndStop('r_doing');
}
}
movieClip 280 {
frame 5 {
stop();
}
}
movieClip 282 {
}
movieClip 284 {
frame 18 {
_parent.gotoAndStop(1);
}
}
movieClip 285 {
frame 18 {
_parent.gotoAndStop(1);
}
}
movieClip 287 {
}
movieClip 290 {
}
movieClip 292 {
}
movieClip 295 {
}
movieClip 297 {
}
movieClip 299 {
}
movieClip 301 {
}
movieClip 309 {
frame 36 {
this.stop();
_root.gameover_mc.nextFrame();
}
}
movieClip 310 {
frame 36 {
this.stop();
_root.gameover_mc.nextFrame();
}
}
movieClip 311 {
frame 1 {
this.stop();
_root.key_ok = true;
}
frame 2 {
if (_parent.sound_mc._currentframe == 1) {
_parent.sound_mc.play();
}
}
frame 3 {
if (_parent.sound_mc._currentframe == 1) {
_parent.sound_mc.play();
}
}
frame 6 {
if (_parent.sound_mc._currentframe == 1) {
_parent.sound_mc.play();
}
}
frame 7 {
if (_parent.sound_mc._currentframe == 1) {
_parent.sound_mc.play();
}
}
frame 10 {
if (_parent.sound_mc._currentframe == 1) {
_parent.sound_mc.play();
}
}
frame 11 {
if (_parent.sound_mc._currentframe == 1) {
_parent.sound_mc.play();
}
}
frame 13 {
_root.key_ok = false;
_parent.life_largeminus();
}
frame 14 {
_root.key_ok = false;
_parent.life_largeminus();
}
}
movieClip 313 {
}
movieClip 314 {
frame 1 {
this.stop();
}
}
movieClip 326 {
frame 1 {
this.stop();
}
frame 11 {
}
}
movieClip 327 {
frame 1 {
this.stop();
}
frame 11 {
_parent.mc2.nextFrame();
this.gotoAndStop(1);
}
}
movieClip 328 {
}
movieClip 330 {
frame 1 {
this.stop();
var name = Number(this._name.substring(2, 3));
}
}
movieClip 331 {
frame 1 {
this.stop();
var name = Number(this._name.substring(2, 3));
}
}
movieClip 332 {
}
movieClip 334 {
}
movieClip 335 {
}
instance interface of movieClip 335 {
onClipEvent (load) {
var Depth = this.getDepth();
this.swapDepths(10);
}
}
movieClip 339 {
}
movieClip 340 {
frame 720 {
this.stop();
_parent.text_mc.gotoAndPlay('first');
}
}
movieClip 342 {
frame 14 {
if (_parent['m' + _parent.mun[_parent.num]]._currentframe == 1) {
_parent['m' + _parent.mun[_parent.num]].gotoAndStop('ran');
_parent['m' + _parent.mun[_parent.num]].item_ok = _parent['mun' + _parent.level_num][_parent.num - 1];
}
++_parent.num;
if (_parent.num == 8) {
_parent.num = 1;
_parent.FN_Array();
}
}
}
movieClip 344 {
frame 24 {
++_parent.total_time;
_parent.score += 10;
_parent.FN_Score();
}
}
movieClip 346 {
frame 1 {
this.stop();
}
}
movieClip 348 {
frame 1 {
this.stop();
}
}
movieClip 350 {
}
movieClip 352 {
frame 49 {
this.stop();
_parent._parent.gotoAndStop('gameover');
}
}
movieClip 353 {
frame 1 {
this.stop();
}
}
movieClip 354 {
frame 1 {
this.stop();
}
frame 2 {
this.volume_controler.gotoAndStop(_parent.soundFrame);
this.gara_btn.useHandCursor = false;
}
}
instance stop_window of movieClip 354 {
onClipEvent (load) {
var Depth = this.getDepth();
this.swapDepths(11);
}
}
frame 7 {
function FNsend() {
LVwrite = new LoadVars();
LVwrite.uid = _root.uid;
LVwrite.pt = _root.pt;
LVwrite.rt = _root.rt;
LVwrite.ot1 = _root.ot1;
LVwrite.ot2 = _root.ot2;
LVwrite.ot3 = _root.ot3;
LVwrite.ot4 = _root.ot4;
LVwrite.ot5 = _root.ot5;
LVwrite.onLoad = function () {
_root.rank = LVwrite.rank;
_root.nick = LVwrite.nick;
delete LVwrite;
};
// An attempt to read a value from empty stack
// An attempt to read a value from empty stack
LVwrite.sendAndLoad('POST' + random(LVwrite) + '&uid=' + _root.uid, undefined, undefined);
}
this.interface.swapDepths(this.interface.Depth);
this.stop_window.swapDepths(this.stop_window.Depth);
Key.removeListener(Press_key);
this.gara_btn.useHandCursor = false;
System.useCodepage = true;
_root.pt = this.score;
_root.rt = this.total_time;
_root.FNsend();
}
movieClip 365 {
frame 1 {
this.stop();
}
}
instance of movieClip 365 {
onClipEvent (rollOver) {
this.nextFrame();
}
onClipEvent (rollOut) {
this.prevFrame();
}
onClipEvent (release) {
_parent.gotoAndStop('regame');
}
}
movieClip 368 {
frame 1 {
stop();
}
}
instance of movieClip 368 {
onClipEvent (rollOver) {
this.nextFrame();
}
onClipEvent (rollOut) {
this.prevFrame();
}
onClipEvent (release) {
_parent.gotoAndStop('first');
}
}
frame 8 {
this.gotoAndStop('game');
}