Frame 1
MochiAd.showPreGameAd({id:"9017d798d1651cf4", res:"500x550"});
Frame 2
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("92395733", this, 10301, true);
Frame 68
stop();
cha_ching = false;
damage = 100;
fire_suit = false;
gas = 150;
gas_price = 4;
going_down = false;
score = 0;
shop_count = 0;
speed = 15;
turbo = false;
turbo_ramp_set = false;
bike_speed = 15;
buying_gas = false;
money = 0;
double_jump_counter = 0;
triple_jump_counter = 0;
jumping = false;
_root.jump_height = 0;
level = 1;
_root.no_arrow = false;
in_air = false;
single_jumping = false;
jump_counter = 0;
triple_jumping = false;
double_jumping = false;
supermaning = false;
heel_klickering = false;
no_handsing = false;
coffining = false;
landing_ramping = false;
tricks_counter = 0;
A = 1;
W = 1;
S = 1;
D = 1;
A_status = 1;
W_status = 1;
S_status = 1;
D_status = 1;
Instance of Symbol 60 MovieClip in Frame 68
on (release) {
_root.gotoAndStop("controls");
}
Frame 69
stop();
Instance of Symbol 49 MovieClip [helmet] in Frame 69
onClipEvent (enterFrame) {
if ((((_root.jump_height < 0) || (Key.isDown(87))) || (Key.isDown(83))) || (Key.isDown(65))) {
_root.hero.guts.no_hands2.play();
}
}
Instance of Symbol 60 MovieClip in Frame 69
on (release) {
_root.gotoAndStop("controls2");
}
Frame 74
stop();
Instance of Symbol 60 MovieClip in Frame 74
on (release) {
_root.gotoAndStop("game");
}
Frame 81
function level_up() {
if (speed < 20) {
level = 1;
}
if ((speed > 19) && (speed < 25)) {
level = 2;
}
if ((speed > 24) && (speed < 30)) {
level = 3;
}
}
function MoveHero() {
_root.hero_shadow._x = _root.hero._x + ((_root.hero._xscale - 100) * 0.9);
_root.hero_shadow._y = _root.hero._y + ((_root.hero._yscale - 100) * 0.9);
if ((paused == 1) && (!tackled)) {
if (!tackled) {
if (Key.isDown(38) && (_root.hero._y > 250)) {
_root.hero._y = _root.hero._y - (bike_speed / 4);
}
if (Key.isDown(40) & (_root.hero._y < 400)) {
_root.hero._y = _root.hero._y + (bike_speed / 2);
}
if (Key.isDown(39) && (_root.hero._x < 475)) {
_root.hero._x = _root.hero._x + (bike_speed / 2);
if (!jumping) {
_root.hero.gotoAndPlay("right");
}
}
if (Key.isDown(37) && (_root.hero._x > 0)) {
_root.hero._x = _root.hero._x - (bike_speed / 2);
if (!jumping) {
_root.hero.gotoAndPlay("left");
}
}
}
}
}
function jump() {
if ((((((_root.hero.hitTest(_root.ramp1.block) || (_root.hero.hitTest(_root.ramp2.block))) || (_root.hero.hitTest(_root.ramp2.block2))) || (_root.hero.hitTest(_root.ramp3.block))) || (_root.hero.hitTest(_root.ramp3.block2))) || (_root.hero.hitTest(_root.ramp3.block3))) && (!jumping)) {
_root.jumping = true;
if ((!hero.hitTest(_root.ramp2)) || (!hero.hitTest(_root.ramp3))) {
_root.jump_height = _root.speed;
temp_height = _root.speed;
need_landing = true;
}
if (hero.hitTest(_root.ramp2) || (hero.hitTest(_root.ramp3))) {
_root.jump_height = 19;
temp_height = 19;
need_landing = false;
}
}
if (jumping) {
_root.hero.gotoAndStop("jump");
_root.jump_height = _root.jump_height - 1;
_root.hero._xscale = _root.hero._xscale + _root.jump_height;
_root.hero._yscale = _root.hero._yscale + _root.jump_height;
_root.hero_shadow._x = _root.hero_shadow._x + (_root.hero._xscale * 0.1);
_root.hero_shadow._y = _root.hero_shadow._y + (_root.hero._yscale * 0.1);
if (_root.jump_height == (temp_height * -1)) {
_root.hero.gotoAndStop(1);
_root.hero._xscale = 100;
_root.hero._yscale = 100;
_root.jumping = false;
_root.supermaning = false;
_root.heel_klickering = false;
tricks_counter = 0;
_root.damage = _root.damage - Math.round(temp_height / 20);
_root.jump_height = _root.speed;
}
if (_root.jump_height < 0) {
in_air = false;
}
}
}
function tricks() {
if (((((in_air && (Key.isDown(87))) && (!supermaning)) && (!heel_klickering)) && (!no_handsing)) && (!coffining)) {
_root.hero.guts.gotoAndStop("superman" + _root.W);
}
if (((((in_air && (Key.isDown(83))) && (!supermaning)) && (!heel_klickering)) && (!no_handsing)) && (!coffining)) {
_root.hero.guts.gotoAndStop("heel_klicker" + _root.S);
}
if (((((in_air && (Key.isDown(68))) && (!supermaning)) && (!heel_klickering)) && (!no_handsing)) && (!coffining)) {
_root.hero.guts.gotoAndStop("no_hands" + _root.D);
}
if (((((in_air && (Key.isDown(65))) && (!supermaning)) && (!heel_klickering)) && (!no_handsing)) && (!coffining)) {
_root.hero.guts.gotoAndStop("coffin" + _root.A);
}
}
function arrow_location() {
if (_root.ramp1._y < -150) {
_root.arrow._x = _root.ramp1._x;
} else {
_root.arrow._x = -100;
}
if (_root.ramp2._y < -150) {
_root.arrow2._x = _root.ramp2._x;
} else {
_root.arrow2._x = -100;
}
if (_root.ramp3._y < -150) {
_root.arrow3._x = _root.ramp3._x;
} else {
_root.arrow3._x = -100;
}
}
function ramps() {
if (((((((((_root.jump_counter == 0) || (_root.jump_counter == 1)) || (_root.jump_counter == 2)) || (_root.jump_counter == 4)) || (_root.jump_counter == 5)) || (_root.jump_counter == 6)) || (_root.jump_counter == 8)) || (_root.jump_counter == 9)) || (_root.jump_counter == 10)) {
single_jump();
}
if (((_root.jump_counter == 3) || (_root.jump_counter == 7)) && (!_root.landing_ramping)) {
double_jump();
}
if (((_root.jump_counter == 11) || (_root.jump_counter == 12)) && (!_root.landing_ramping)) {
triple_jump();
}
if ((_root.jump_counter == 13) && (!_root.turbo)) {
shop();
}
if ((_root.jump_counter == 13) && (_root.turbo)) {
turbo_jump();
}
}
function single_jump() {
if ((((_root.paused == 1) && (!_root.single_jumping)) && (!_root.double_jumping)) && (!jumping)) {
_root.ramp1._x = random(250) + 100;
_root.ramp1._y = -800;
_root.ramp1.gotoAndStop(_root.level);
single_jumping = true;
}
}
function move_ramp() {
if ((_root.ramp1._y < 800) && (single_jumping)) {
_root.ramp1._y = _root.ramp1._y + _root.speed;
}
if (((_root.ramp1._y > 700) && (!jumping)) && (single_jumping)) {
_root.single_jumping = false;
_root.jump_counter = _root.jump_counter + 1;
_root.gas = _root.gas - Math.round(_root.speed / 4);
if (_root.speed < 41) {
_root.speed = _root.speed + 1;
}
}
}
function double_jump() {
if ((((_root.paused == 1) && (!_root.single_jumping)) && (!_root.double_jumping)) && (!jumping)) {
_root.ramp2._x = random(250) + 100;
_root.ramp2._y = -600;
_root.ramp2.gotoAndStop(_root.level);
double_jumping = true;
}
}
function move_ramp2() {
if ((_root.ramp2._y < 3000) && (double_jumping)) {
_root.ramp2._y = _root.ramp2._y + _root.speed;
}
if (((_root.ramp2._y > 2900) && (!jumping)) && (double_jumping)) {
_root.dollar._y = -70;
_root.dollar._x = random(250) + 100;
_root.dollar.gotoAndStop(1);
cha_ching = true;
_root.double_jumping = false;
_root.double_jump_counter = 0;
_root.jump_counter = _root.jump_counter + 1;
if (_root.speed < 41) {
_root.speed = _root.speed + 1;
}
}
}
function triple_jump() {
if (((((_root.paused == 1) && (!_root.single_jumping)) && (!_root.double_jumping)) && (!jumping)) && (!_root.triple_jumping)) {
_root.ramp3._x = random(250) + 100;
_root.ramp3._y = -600;
_root.ramp3.gotoAndStop(_root.level);
triple_jumping = true;
}
}
function move_ramp3() {
if ((_root.ramp3._y < 4000) && (triple_jumping)) {
_root.ramp3._y = _root.ramp3._y + _root.speed;
}
if (((_root.ramp3._y > 3900) && (!jumping)) && (triple_jumping)) {
_root.triple_jumping = false;
_root.triple_jump_counter = 0;
_root.jump_counter = _root.jump_counter + 1;
if (_root.speed < 41) {
_root.speed = _root.speed + 1;
}
}
}
function coin() {
if (cha_ching) {
_root.dollar._y = _root.dollar._y + speed;
if (_root.dollar.hitTest(_root.hero)) {
_root.dollar.gotoAndStop(2);
_root.money = _root.money + 150;
}
if (_root.dollar._y > 550) {
cha_ching = false;
}
}
}
function turbo_jump() {
if (!turbo_ramp_set) {
_root.speed = 50;
_root.ramp1._x = 250;
_root.ramp1._y = -2100;
_root.ramp1.gotoAndStop("turbo");
turbo_ramp_set = true;
}
if (turbo_ramp_set) {
if ((_root.ramp1._y < 800) && (turbo)) {
_root.turbo_pad.gotoAndStop(2);
_root.ramp1._y = _root.ramp1._y + _root.speed;
}
if (((_root.ramp1._y > 700) && (!jumping)) && (turbo)) {
_root.speed = 40;
turbo_ramp_set = false;
_root.turbo_pad.gotoAndStop(1);
shop_count = 0;
_root.jump_counter = 14;
if (fire_suit) {
going_down = true;
}
if (!fire_suit) {
shop();
}
}
}
}
function dirt_bike_heaven() {
if (going_down) {
_root.hell_canyon.gotoAndStop(2);
if (_root.hell_canyon._y < 2000) {
_root.hell_canyon._y = _root.hell_canyon._y + _root.speed;
}
_root.evil_biker.swapDepths(99999);
_root.evil_biker.removeMovieClip();
_root.evil_biker2.swapDepths(99999);
_root.evil_biker2.removeMovieClip();
_root.evil_biker3.swapDepths(99999);
_root.evil_biker3.removeMovieClip();
_root.bush1.swapDepths(99999);
_root.bush1.removeMovieClip();
_root.bush2.swapDepths(99999);
_root.bush2.removeMovieClip();
_root.hero_shadow.swapDepths(99999);
_root.hero_shadow.removeMovieClip();
_root.hero._xscale = _root.hero._xscale - 1;
_root.hero._yscale = _root.hero._yscale - 1;
_root.hero._alpha = _root.hero._alpha - 1;
if (_root.hero._xscale < 2) {
_root.hero.swapDepths(99999);
_root.hero.removeMovieClip();
_root.gotoAndStop("win");
}
}
}
function combo_bonus() {
if (_root.double_jump_counter == 2) {
_root.score = _root.score + 200;
_root.double_jump_counter = 0;
_root.display.gotoAndPlay("double");
_root.money = _root.money + 5;
}
if (_root.triple_jump_counter == 3) {
_root.score = _root.score + 300;
_root.triple_jump_counter = 0;
_root.display.gotoAndPlay("triple");
_root.money = _root.money + 10;
}
if (_root.tricks_counter == 2) {
_root.trophies.double_combo.gotoAndStop(2);
}
if (_root.tricks_counter == 3) {
_root.trophies.triple_combo.gotoAndStop(2);
}
if (_root.tricks_counter == 4) {
_root.trophies.quadruple_combo.gotoAndStop(2);
}
}
function shop() {
_root.store.gotoAndStop(2);
}
function game_over() {
if (gas < 1) {
gameover = true;
_root.gotoAndStop("lose");
}
if (damage < 1) {
gameover = true;
_root.gotoAndStop("lose_damage");
}
}
stop();
paused = 1;
cha_ching = false;
damage = 100;
fire_suit = false;
gas = 150;
gas_price = 4;
going_down = false;
score = 0;
shop_count = 0;
speed = 15;
turbo = false;
turbo_ramp_set = false;
bike_speed = 15;
buying_gas = false;
money = 0;
double_jump_counter = 0;
triple_jump_counter = 0;
jumping = false;
_root.jump_height = 0;
level = 1;
_root.no_arrow = false;
in_air = false;
single_jumping = false;
jump_counter = 0;
triple_jumping = false;
double_jumping = false;
supermaning = false;
heel_klickering = false;
no_handsing = false;
coffining = false;
landing_ramping = false;
tricks_counter = 0;
A = 1;
W = 1;
S = 1;
D = 1;
A_status = 1;
W_status = 1;
S_status = 1;
D_status = 1;
_root.onEnterFrame = function () {
Pause();
MoveHero();
moveEnemy();
tackle();
blast();
shadow();
arrow_location();
movePowerUps();
level_up();
jump();
tricks();
ramps();
move_ramp();
move_ramp2();
move_ramp3();
combo_bonus();
game_over();
dirt_bike_heaven();
coin();
};
Instance of Symbol 66 MovieClip in Frame 81
onClipEvent (enterFrame) {
if ((_root.paused == 1) && (!_root.tackled)) {
if (_root.speed < 26) {
this._y = this._y + _root.speed;
}
if (_root.speed > 25) {
this._y = this._y + 25;
}
if (this._y > -30) {
this._y = -550;
}
}
}
Instance of Symbol 139 MovieClip "landing_ramp" in Frame 81
onClipEvent (enterFrame) {
if (((_root.jumping || ((this._y > -100) && (this._y < 650))) && (!_root.double_jumping)) && (!_root.triple_jumping)) {
this.gotoAndStop(_root.level);
this._y = this._y + _root.speed;
_root.landing_ramping = true;
} else {
this._y = (-(_root.speed * (_root.speed * 2))) + 300;
this.gotoAndStop("gone");
_root.landing_ramping = false;
}
}
Instance of Symbol 158 MovieClip "bush2" in Frame 81
onClipEvent (enterFrame) {
if ((_root.paused == 1) && (!_root.tackled)) {
this._y = this._y + _root.speed;
if (this._y > 600) {
this._y = -600;
_root.arrow._x = this._x;
_root.arrow.gotoAndStop(1);
}
}
}
Instance of Symbol 158 MovieClip "bush1" in Frame 81
onClipEvent (enterFrame) {
if ((_root.paused == 1) && (!_root.tackled)) {
this._y = this._y + _root.speed;
if (this._y > 600) {
this._y = -600 + random(500);
_root.arrow._x = this._x;
_root.arrow.gotoAndStop(1);
}
}
}
Instance of Symbol 43 MovieClip [ski_trail] "trail" in Frame 81
onClipEvent (load) {
trailMoveSpeed = _root.speed;
this._y = _root.hero._y + 60;
this._x = _root.hero._x;
}
onClipEvent (enterFrame) {
this.visible = false;
this._y = this._y + trailMoveSpeed;
if (this._y > 550) {
this.removeMovieClip();
}
}
Instance of Symbol 273 MovieClip "hero" in Frame 81
onClipEvent (load) {
depthCounter = 1;
}
onClipEvent (enterFrame) {
this.swapDepths(900000);
if (!_root.jumping) {
_root.trail.duplicateMovieClip("trail" + depthCounter, depthCounter);
_root["trail" + depthCounter]._visible = true;
_root["trail" + depthCounter]._y = this._y;
depthCounter++;
if (depthCounter >= 24) {
depthCounter = 1;
}
}
}
Instance of Symbol 291 MovieClip "evil_biker" in Frame 81
onClipEvent (load) {
vert_speed = 3;
horz_speed = 3;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.store)) {
this.gotoAndStop("blank");
}
if (!_root.jumping) {
this.swapDepths(900001);
}
if (_root.jumping) {
this.swapDepths(666);
}
if (this._y > 200) {
this._y = this._y - vert_speed;
}
if (this._y < 300) {
this._x = this._x + horz_speed;
}
if ((this._x > 550) || (this._x < -50)) {
horz_speed = horz_speed * -1;
this._y = 600;
this._x = random(250) + 100;
if (_root.jump_counter == 13) {
this.gotoAndStop("blank");
} else {
this.gotoAndStop(1);
}
}
if (_root.jump_counter == 13) {
this.gotoAndStop("blank");
}
if (this.hitArea.hitTest(_root.landing_ramp)) {
this.gotoAndPlay("gone");
_root.score = _root.score + 100;
_root.money = _root.money + 10;
}
if (this.hitArea.hitTest(_root.hero) && (!_root.jumping)) {
this.gotoAndPlay("gone");
_root.damage = _root.damage - 15;
}
if (((((this.hitTest(_root.ramp1.block) || (this.hitTest(_root.ramp2.block))) || (this.hitTest(_root.ramp2.block2))) || (this.hitTest(_root.ramp3.block))) || (this.hitTest(_root.ramp3.block2))) || (this.hitTest(_root.ramp3.block3))) {
this.gotoAndPlay("jump");
}
}
Instance of Symbol 291 MovieClip "evil_biker2" in Frame 81
onClipEvent (load) {
vert_speed = 1.5;
horz_speed = 5;
}
onClipEvent (enterFrame) {
if (_root.level > 1) {
if (this.hitTest(_root.store)) {
this.gotoAndStop("blank");
}
if (!_root.jumping) {
this.swapDepths(900002);
}
if (_root.jumping) {
this.swapDepths(667);
}
if (this._x > -100) {
this._x = this._x - horz_speed;
}
if (this._x < 270) {
this._y = this._y + vert_speed;
}
if ((this._x > 600) || (this._x < -90)) {
horz_speed = horz_speed * -1;
vert_speed = vert_speed * -1;
this._y = random(200) + 300;
if (_root.jump_counter == 13) {
this.gotoAndStop("blank");
} else {
this.gotoAndStop(1);
}
}
if (_root.jump_counter == 13) {
this.gotoAndStop("blank");
}
if (this.hitArea.hitTest(_root.landing_ramp)) {
this.gotoAndPlay("gone");
_root.score = _root.score + 100;
_root.money = _root.money + 10;
}
if (this.hitArea.hitTest(_root.hero) && (!_root.jumping)) {
this.gotoAndPlay("gone");
_root.damage = _root.damage - 15;
}
if (this.hitArea.hitTest(_root.evil_biker)) {
this.gotoAndPlay("gone");
_root.score = _root.score + 25;
_root.money = _root.money + 10;
}
if (this.hitArea.hitTest(_root.evil_biker3)) {
this.gotoAndPlay("gone");
_root.score = _root.score + 25;
_root.money = _root.money + 10;
}
if (((((this.hitTest(_root.ramp1.block) || (this.hitTest(_root.ramp2.block))) || (this.hitTest(_root.ramp2.block2))) || (this.hitTest(_root.ramp3.block))) || (this.hitTest(_root.ramp3.block2))) || (this.hitTest(_root.ramp3.block3))) {
this.gotoAndPlay("jump");
}
}
}
Instance of Symbol 291 MovieClip "evil_biker3" in Frame 81
onClipEvent (load) {
vert_speed = -7;
horz_speed = 3;
}
onClipEvent (enterFrame) {
if (_root.level > 2) {
if (this.hitTest(_root.store)) {
this.gotoAndStop("blank");
}
if (!_root.jumping) {
this.swapDepths(900003);
}
if (_root.jumping) {
this.swapDepths(668);
}
if (this._y < 600) {
this._y = this._y - vert_speed;
}
if (this._y > 300) {
this._x = this._x + horz_speed;
}
if ((this._x > 550) || (this._x < -50)) {
horz_speed = horz_speed * -1;
this._y = -90;
this._x = random(250) + 100;
if (_root.jump_counter == 13) {
this.gotoAndStop("blank");
} else {
this.gotoAndStop(1);
}
}
if (_root.jump_counter == 13) {
this.gotoAndStop("blank");
}
if (this.hitArea.hitTest(_root.landing_ramp)) {
this.gotoAndPlay("gone");
_root.score = _root.score + 100;
_root.money = _root.money + 10;
}
if (this.hitArea.hitTest(_root.hero) && (!_root.jumping)) {
this.gotoAndPlay("gone");
_root.damage = _root.damage - 15;
}
if (this.hitArea.hitTest(_root.evil_biker)) {
this.gotoAndPlay("gone");
_root.score = _root.score + 25;
_root.money = _root.money + 10;
}
if (((((this.hitTest(_root.ramp1.block) || (this.hitTest(_root.ramp2.block))) || (this.hitTest(_root.ramp2.block2))) || (this.hitTest(_root.ramp3.block))) || (this.hitTest(_root.ramp3.block2))) || (this.hitTest(_root.ramp3.block3))) {
this.gotoAndPlay("jump");
}
}
}
Instance of Symbol 300 MovieClip "speedometer" in Frame 81
onClipEvent (enterFrame) {
this.speed = _root.speed * 4;
}
Instance of Symbol 382 MovieClip "store" in Frame 81
onClipEvent (enterFrame) {
this.swapDepths(900009);
this.money = _root.money;
this.buy_gas.price = _root.gas_price;
}
Instance of Symbol 376 MovieClip in Frame 81
onClipEvent (enterFrame) {
if (_root.damage > 100) {
_root.damage = 100;
}
}
Frame 82
stop();
_root.hero.swapDepths(99999);
_root.hero.removeMovieClip();
_root.store.swapDepths(99999);
_root.store.removeMovieClip();
_root.evil_biker.swapDepths(99999);
_root.evil_biker.removeMovieClip();
_root.evil_biker2.swapDepths(99999);
_root.evil_biker2.removeMovieClip();
_root.evil_biker3.swapDepths(99999);
_root.evil_biker3.removeMovieClip();
Instance of Symbol 60 MovieClip in Frame 82
on (release) {
paused = 1;
cha_ching = false;
damage = 100;
fire_suit = false;
gas = 150;
gas_price = 4;
going_down = false;
score = 0;
shop_count = 0;
speed = 15;
turbo = false;
turbo_ramp_set = false;
bike_speed = 15;
buying_gas = false;
money = 0;
double_jump_counter = 0;
triple_jump_counter = 0;
jumping = false;
_root.jump_height = 0;
level = 1;
_root.no_arrow = false;
in_air = false;
single_jumping = false;
jump_counter = 0;
triple_jumping = false;
double_jumping = false;
supermaning = false;
heel_klickering = false;
no_handsing = false;
coffining = false;
landing_ramping = false;
tricks_counter = 0;
A = 1;
W = 1;
S = 1;
D = 1;
A_status = 1;
W_status = 1;
S_status = 1;
D_status = 1;
_root.gotoAndStop("menu");
}
Instance of Symbol 60 MovieClip in Frame 82
on (release) {
getURL ("http://www.glowmonkey.com", "_blank");
}
Frame 86
stop();
_root.hero.swapDepths(99999);
_root.hero.removeMovieClip();
_root.store.swapDepths(99999);
_root.store.removeMovieClip();
_root.evil_biker.swapDepths(99999);
_root.evil_biker.removeMovieClip();
_root.evil_biker2.swapDepths(99999);
_root.evil_biker2.removeMovieClip();
_root.evil_biker3.swapDepths(99999);
_root.evil_biker3.removeMovieClip();
Frame 98
stop();
_root.store.swapDepths(99999);
_root.store.removeMovieClip();
_root.evil_biker.swapDepths(99999);
_root.evil_biker.removeMovieClip();
_root.evil_biker2.swapDepths(99999);
_root.evil_biker2.removeMovieClip();
_root.evil_biker3.swapDepths(99999);
_root.evil_biker3.removeMovieClip();
Instance of Symbol 461 MovieClip in Frame 98
onClipEvent (enterFrame) {
this.score = _root.score;
}
Symbol 12 Button
on (release) {
pname_result = validate_name(playername);
if (pname_result.length > 0) {
name_result = pname_result;
return(undefined);
}
name_result = "";
pemail = validate_mail(player_email);
if (pemail.length > 0) {
email_result = pemail;
return(undefined);
}
email_result = "";
myData = new LoadVars();
myData.game_id = 491;
myData.add_pass = "b3n885fu";
myData.name = playername;
myData.email = player_email;
myData.score = score;
returnData = new LoadVars();
myData.sendAndLoad("http://www.glowmonkeygames.com/highscores/add_game_score.php", returnData, "POST");
returnData.onLoad = function () {
for (var _local3 in this) {
trace([_local3, this[_local3]]);
}
if (returnData.output == "success") {
_root.scoreboard.gotoAndStop("months_scores");
} else {
_root.scoreboard.gotoAndStop("months_scores");
}
};
}
Symbol 41 MovieClip [HIghscoreBoard] Frame 1
stop();
function validate_mail(mail) {
primo = new String();
primo = mail.toLowerCase();
primo_array = new Array();
primo_array = primo.split("@");
if (primo_array.length == "2") {
trace("First test passed");
prefix = new String();
prefix = primo_array[0];
if (((prefix.length > 0) && (prefix.charAt(0) != ".")) && (prefix.charAt(prefix.length - 1) != ".")) {
trace("Second test passed");
suffix = new String();
suffix = primo_array[1];
suffix_array = new Array();
suffix_array = suffix.split(".");
if (suffix_array.length > 1) {
trace("Third test passed");
index_of_suffix_array = suffix_array.length - 1;
TLD = new String();
TLD = suffix_array[index_of_suffix_array];
trace((("TLD =" + TLD) + "// TLD.length =") + TLD.length);
if ((TLD.length > 1) && (TLD.length < 5)) {
trace("Fourth test passed");
suffix_particle = new String();
i = 0;
while (i <= (suffix_array.length - 1)) {
suffix_particle = suffix_array[i];
if (suffix_particle.length > 0) {
trace("Fifth test passed");
if (i == (suffix_array.length - 1)) {
char = new Array();
k = 0;
while (k <= (primo.length - 1)) {
char = primo.slice(k, k + 1);
trace(char);
if ((((((((((((((((((((((((((((((((((((((((char == "a") || (char == "b")) || (char == "c")) || (char == "d")) || (char == "e")) || (char == "f")) || (char == "g")) || (char == "h")) || (char == "i")) || (char == "j")) || (char == "k")) || (char == "l")) || (char == "m")) || (char == "n")) || (char == "o")) || (char == "p")) || (char == "q")) || (char == "r")) || (char == "s")) || (char == "t")) || (char == "u")) || (char == "v")) || (char == "w")) || (char == "x")) || (char == "y")) || (char == "z")) || (char == "0")) || (char == "1")) || (char == "2")) || (char == "3")) || (char == "4")) || (char == "5")) || (char == "6")) || (char == "7")) || (char == "8")) || (char == "9")) || (char == ".")) || (char == "@")) || (char == "_")) || (char == "-")) {
if (k == (primo.length - 1)) {
return("");
}
} else {
trace("Unauthorised character " + char);
return("Unauthorised character " + char);
}
k++;
}
}
} else {
trace("Error in delimiters (.)");
return("Error in delimiters (.)");
}
i++;
}
// unexpected jump
}
trace("Error in TLD");
return("Error in TLD");
} else {
trace("Error in the suffix");
return("Error in the suffix");
}
// unexpected jump
}
trace("Malformed Prefix or Missing Prefix");
return("Malformed Prefix or Missing Prefix");
}
trace("Mail must contain one @");
return("Mail must contain one @");
}
function validate_name(name) {
primo = new String();
primo = name.toLowerCase();
if (primo.length > 0) {
char = new Array();
k = 0;
while (k <= (primo.length - 1)) {
char = primo.slice(k, k + 1);
trace(char);
if ((((((((((((((((((((((((((((char == "a") || (char == "b")) || (char == "c")) || (char == "d")) || (char == "e")) || (char == "f")) || (char == "g")) || (char == "h")) || (char == "i")) || (char == "j")) || (char == "k")) || (char == "l")) || (char == "m")) || (char == "n")) || (char == "o")) || (char == "p")) || (char == "q")) || (char == "r")) || (char == "s")) || (char == "t")) || (char == "u")) || (char == "v")) || (char == "w")) || (char == "x")) || (char == "y")) || (char == "z")) || (char == " ")) || (char == "-")) {
if (k == (primo.length - 1)) {
return("");
}
} else {
trace("Unauthorised character " + char);
return("Unauthorised character " + char);
}
k++;
}
} else {
trace("Please enter a name.");
return("Please enter a name.");
}
}
Symbol 41 MovieClip [HIghscoreBoard] Frame 2
stop();
myData = new LoadVars();
myData.onLoad = function () {
placeTheDataIntoTheRightPlace();
};
myData.game_id = 491;
myData.add_pass = "b3n885fu";
myData.flash = 1;
if (score) {
myData.score = score;
}
myData.sendAndLoad("http://www.glowmonkeygames.com/highscores/get_game_scores.php", myData, "POST");
placeTheDataIntoTheRightPlace = function () {
name1 = myData.name1;
score1 = myData.score1;
name2 = myData.name2;
score2 = myData.score2;
name3 = myData.name3;
score3 = myData.score3;
name4 = myData.name4;
score4 = myData.score4;
name5 = myData.name5;
score5 = myData.score5;
name6 = myData.name6;
score6 = myData.score6;
name7 = myData.name7;
score7 = myData.score7;
name8 = myData.name8;
score8 = myData.score8;
name9 = myData.name9;
score9 = myData.score9;
name10 = myData.name10;
score10 = myData.score10;
name11 = myData.name11;
score11 = myData.score11;
name12 = myData.name12;
score12 = myData.score12;
_root.ranking = myData.ranking;
};
Symbol 43 MovieClip [ski_trail] Frame 1
stop();
Symbol 53 Button
on (release) {
getURL ("http://www.glowmonkey.com", "_blank");
}
Symbol 462 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd
{
function MochiAd () {
}
static function getVersion() {
return("2.3");
}
static function showPreGameAd(options) {
var _local27 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}};
options = _parseOptions(options, _local27);
if ("5cc6f7dfb67f2f08341c831480f7c2a7".length == 0) {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var _local23 = 11000;
var _local26 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local14 = _getRes(options);
var _local4 = _local14[0];
var _local13 = _local14[1];
mc._x = _local4 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local4 * -0.5;
chk._y = _local13 * -0.5;
var _local7 = chk.createEmptyMovieClip("_mochiad_bar", 4);
_local7._x = 10;
_local7._y = _local13 - 20;
var _local22 = options.color;
delete options.color;
var _local19 = options.background;
delete options.background;
var _local24 = options.outline;
delete options.outline;
var _local5 = _local7.createEmptyMovieClip("_outline", 1);
_local5.beginFill(_local19);
_local5.moveTo(0, 0);
_local5.lineTo(_local4 - 20, 0);
_local5.lineTo(_local4 - 20, 10);
_local5.lineTo(0, 10);
_local5.lineTo(0, 0);
_local5.endFill();
var _local3 = _local7.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local22);
_local3.moveTo(0, 0);
_local3.lineTo(_local4 - 20, 0);
_local3.lineTo(_local4 - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var _local6 = _local7.createEmptyMovieClip("_outline", 3);
_local6.lineStyle(0, _local24, 100);
_local6.moveTo(0, 0);
_local6.lineTo(_local4 - 20, 0);
_local6.lineTo(_local4 - 20, 10);
_local6.lineTo(0, 10);
_local6.lineTo(0, 0);
chk.ad_msec = _local23;
chk.ad_timeout = _local26;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local12 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local10 = (100 * _local8) / _local4;
var _local11 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local2 = Math.min(100, Math.min(_local10 || 0, _local11));
_local2 = Math.max(this.last_pcnt, _local2);
this.last_pcnt = _local2;
_local9._xscale = _local2;
if (!chk.showing) {
var _local7 = _local12.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local5 > chk.ad_timeout) {
options.ad_failed();
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showInterLevelAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showTimedAd(options) {
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
showInterLevelAd(options);
}
static function showPreloaderAd(options) {
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
showPreGameAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function _loadCommunicator(options) {
var _local26 = {clip:_root, com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"};
options = _parseOptions(options, _local26);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local18 = options.clip;
var _local20 = "_mochiad_com_" + options.id;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local18[_local20]) {
return(_local18[_local20].lc);
}
var _local21 = options.com_server + options.id;
_allowDomains(_local21);
delete options.id;
delete options.com_server;
var _local25 = options.depth;
delete options.depth;
var _local17 = _local18.createEmptyMovieClip(_local20, _local25);
var _local11 = _local17.createEmptyMovieClip("_mochiad_com", 1);
for (var _local15 in options) {
_local11[_local15] = options[_local15];
}
var _local6 = new LocalConnection();
var _local16 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local6.mc = _local17;
_local6.name = _local16;
_local6.allowDomain = function (d) {
return(true);
};
_local6.allowInsecureDomain = _local6.allowDomain;
_local6.connect(_local16);
_local17.lc = _local6;
_local11.lc = _local16;
_local6._id = 0;
_local6._queue = [];
_local6.rpcResult = function (cb_arg) {
var _local8 = parseInt(cb_arg);
var _local4 = this._callbacks[_local8];
if (!_local4) {
return(undefined);
}
delete this._callbacks[_local8];
var _local5 = [];
var _local3 = 2;
while (_local3 < _local4.length) {
_local5.push(_local4[_local3]);
_local3++;
}
_local3 = 1;
while (_local3 < arguments.length) {
_local5.push(arguments[_local3]);
_local3++;
}
var _local6 = _local4[1];
var _local7 = _local4[0];
if (_local7 && (typeof(_local6) == "string")) {
_local6 = _local7[_local6];
}
if (_local6) {
_local6.apply(_local7, _local5);
}
};
_local6._didConnect = function (endpoint) {
this._endpoint = endpoint;
var _local4 = this._queue;
delete this._queue;
var _local5 = this.doSend;
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2];
_local5.apply(this, _local3);
_local2++;
}
};
_local6.doSend = function (args, cbobj, cbfn) {
if (this._endpoint == null) {
var _local4 = [];
var _local3 = 0;
while (_local3 < arguments.length) {
_local4.push(arguments[_local3]);
_local3++;
}
this._queue.push(_local4);
return(undefined);
}
this._id = this._id + 1;
var _local5 = this._id;
if ((cbfn === undefined) || (cbfn === null)) {
cbfn = cbobj;
}
this._callbacks[_local5] = [cbobj, cbfn];
var _local7 = new LocalConnection();
var _local9 = _local7.send(this._endpoint, "rpc", _local5, args);
};
_local6._callbacks = {};
_local6._callbacks[0] = [_local6, "_didConnect"];
_local11.st = getTimer();
_local11.loadMovie(_local21 + ".swf", "POST");
return(_local6);
}
static function fetchHighScores(options, callbackObj, callbackMethod) {
var _local1 = _loadCommunicator({id:options.id});
if (!_local1) {
return(false);
}
var _local4 = ["fetchHighScores", options];
_local1.doSend(["fetchHighScores", options], callbackObj, callbackMethod);
return(true);
}
static function sendHighScore(options, callbackObj, callbackMethod) {
var _local1 = _loadCommunicator({id:options.id});
if (!_local1) {
return(false);
}
var _local4 = ["sendHighScore", options];
_local1.doSend(["sendHighScore", options], callbackObj, callbackMethod);
return(true);
}
static function load(options) {
var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local9 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local9._mochiad_loaded) {
return(null);
}
var _local12 = options.depth;
delete options.depth;
var _local6 = _local9.createEmptyMovieClip("_mochiad", _local12);
var _local11 = _getRes(options);
options.res = (_local11[0] + "x") + _local11[1];
options.server = options.server + options.id;
delete options.id;
_local9._mochiad_loaded = true;
var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local7 in options) {
_local4[_local7] = options[_local7];
}
var _local10 = _local4.server;
delete _local4.server;
var _local14 = _allowDomains(_local10);
_local6.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new LocalConnection();
var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = _local6;
_local5.name = _local8;
_local5.hostname = _local14;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local8);
_local6.lc = _local5;
_local4.lc = _local8;
_local4.st = getTimer();
_local4.loadMovie(_local10 + ".swf", "POST");
return(_local6);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
if (_local4.id == "test") {
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
}
return(_local4);
}
}
Symbol 63 Button
on (release) {
getURL ("http://www.glowmonkey.com", "_blank");
}
Symbol 125 Button
on (release) {
gotoAndStop ("off");
}
Symbol 129 Button
on (release) {
gotoAndPlay ("on");
}
Symbol 132 MovieClip Frame 2
gotoAndPlay (1);
Symbol 132 MovieClip Frame 5
stop();
stopAllSounds();
Symbol 139 MovieClip Frame 1
stop();
Symbol 139 MovieClip Frame 2
stop();
Symbol 139 MovieClip Frame 3
stop();
Symbol 139 MovieClip Frame 5
stop();
Symbol 154 MovieClip Frame 1
stop();
_root.no_arrow = false;
Symbol 154 MovieClip Frame 2
stop();
_root.no_arrow = false;
Symbol 154 MovieClip Frame 3
stop();
_root.no_arrow = false;
Symbol 154 MovieClip Frame 4
stop();
_root.no_arrow = false;
Symbol 154 MovieClip Frame 10
_root.no_arrow = true;
Symbol 154 MovieClip Frame 15
stop();
_root.no_arrow = false;
Symbol 154 MovieClip Frame 20
stop();
_root.no_arrow = false;
Symbol 156 MovieClip Frame 1
stop();
Symbol 156 MovieClip Frame 5
stop();
Symbol 162 MovieClip Frame 1
stop();
_root.no_arrow = false;
Symbol 162 MovieClip Frame 2
stop();
_root.no_arrow = false;
Symbol 162 MovieClip Frame 3
stop();
_root.no_arrow = false;
Symbol 162 MovieClip Frame 10
_root.no_arrow = true;
Symbol 170 MovieClip Frame 1
stop();
_root.no_arrow = false;
Symbol 170 MovieClip Frame 2
stop();
_root.no_arrow = false;
Symbol 170 MovieClip Frame 3
stop();
_root.no_arrow = false;
Symbol 170 MovieClip Frame 10
_root.no_arrow = true;
Symbol 177 MovieClip Frame 1
stop();
Symbol 177 MovieClip Frame 2
stop();
Symbol 189 MovieClip Frame 5
_root.tricks_counter = _root.tricks_counter + 1;
_root.score = _root.score + 300;
_root.tricks_display.superman.gotoAndStop(1 + _root.W);
Symbol 189 MovieClip Frame 6
stop();
Instance of Symbol 111 MovieClip in Symbol 189 MovieClip Frame 6
onClipEvent (enterFrame) {
if ((((_root.jump_height < 0) || (Key.isDown(83))) || (Key.isDown(68))) || (Key.isDown(65))) {
_root.hero.guts.superman.play();
}
}
Symbol 189 MovieClip Frame 9
_root.hero.guts.gotoAndStop(1);
Symbol 190 MovieClip Frame 1
stop();
_root.supermaning = false;
_root.heel_klickering = false;
_root.no_handsing = false;
_root.coffining = false;
Symbol 206 MovieClip Frame 4
_root.tricks_counter = _root.tricks_counter + 1;
_root.score = _root.score + 300;
_root.tricks_display.heel_klicker.gotoAndStop(1 + _root.S);
Symbol 206 MovieClip Frame 5
stop();
Instance of Symbol 49 MovieClip [helmet] in Symbol 206 MovieClip Frame 5
onClipEvent (enterFrame) {
if ((((_root.jump_height < 0) || (Key.isDown(87))) || (Key.isDown(68))) || (Key.isDown(65))) {
_root.hero.guts.heel_klicker.play();
}
}
Symbol 206 MovieClip Frame 9
_root.hero.guts.gotoAndStop(1);
Symbol 218 MovieClip Frame 5
_root.tricks_counter = _root.tricks_counter + 1;
_root.score = _root.score + 600;
_root.tricks_display.superman.gotoAndStop(1 + _root.W);
Symbol 218 MovieClip Frame 6
stop();
Instance of Symbol 99 MovieClip in Symbol 218 MovieClip Frame 6
onClipEvent (enterFrame) {
if ((((_root.jump_height < 0) || (Key.isDown(83))) || (Key.isDown(68))) || (Key.isDown(65))) {
_root.hero.guts.superman2.play();
}
}
Symbol 218 MovieClip Frame 10
_root.hero.guts.gotoAndStop(1);
Symbol 224 MovieClip Frame 6
_root.tricks_counter = _root.tricks_counter + 1;
_root.score = _root.score + 300;
_root.tricks_display.no_hands.gotoAndStop(1 + _root.D);
Instance of Symbol 49 MovieClip [helmet] in Symbol 224 MovieClip Frame 6
onClipEvent (enterFrame) {
if ((((_root.jump_height < 0) || (Key.isDown(87))) || (Key.isDown(83))) || (Key.isDown(65))) {
_root.hero.guts.no_hands.play();
}
}
Symbol 224 MovieClip Frame 7
stop();
Symbol 224 MovieClip Frame 9
_root.hero.guts.gotoAndStop(1);
Symbol 233 MovieClip Frame 6
_root.tricks_counter = _root.tricks_counter + 1;
_root.score = _root.score + 600;
_root.tricks_display.no_hands.gotoAndStop(1 + _root.D);
Instance of Symbol 49 MovieClip [helmet] in Symbol 233 MovieClip Frame 6
onClipEvent (enterFrame) {
if ((((_root.jump_height < 0) || (Key.isDown(87))) || (Key.isDown(83))) || (Key.isDown(65))) {
_root.hero.guts.no_hands2.play();
}
}
Symbol 233 MovieClip Frame 7
stop();
Symbol 233 MovieClip Frame 10
_root.hero.guts.gotoAndStop(1);
Symbol 243 MovieClip Frame 6
_root.tricks_counter = _root.tricks_counter + 1;
_root.score = _root.score + 300;
_root.tricks_display.coffin.gotoAndStop(1 + _root.A);
Instance of Symbol 49 MovieClip [helmet] in Symbol 243 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.jump_height < 0) {
_root.hero.guts.heel_klicker.play();
}
}
Symbol 243 MovieClip Frame 7
stop();
Instance of Symbol 99 MovieClip in Symbol 243 MovieClip Frame 7
onClipEvent (enterFrame) {
if ((((_root.jump_height < 0) || (Key.isDown(87))) || (Key.isDown(83))) || (Key.isDown(68))) {
_root.hero.guts.coffin.play();
}
}
Symbol 243 MovieClip Frame 10
_root.hero.guts.gotoAndStop(1);
Symbol 252 MovieClip Frame 6
_root.tricks_counter = _root.tricks_counter + 1;
_root.score = _root.score + 600;
_root.tricks_display.coffin.gotoAndStop(1 + _root.A);
Instance of Symbol 49 MovieClip [helmet] in Symbol 252 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.jump_height < 0) {
_root.hero.guts.heel_klicker.play();
}
}
Symbol 252 MovieClip Frame 7
stop();
Instance of Symbol 99 MovieClip in Symbol 252 MovieClip Frame 7
onClipEvent (enterFrame) {
if ((((_root.jump_height < 0) || (Key.isDown(87))) || (Key.isDown(83))) || (Key.isDown(68))) {
_root.hero.guts.coffin2.play();
}
}
Symbol 252 MovieClip Frame 10
_root.hero.guts.gotoAndStop(1);
Symbol 261 MovieClip Frame 5
_root.tricks_counter = _root.tricks_counter + 1;
_root.score = _root.score + 600;
_root.tricks_display.heel_klicker.gotoAndStop(1 + _root.S);
Symbol 261 MovieClip Frame 6
stop();
Instance of Symbol 111 MovieClip in Symbol 261 MovieClip Frame 6
onClipEvent (enterFrame) {
if ((((_root.jump_height < 0) || (Key.isDown(87))) || (Key.isDown(68))) || (Key.isDown(65))) {
_root.hero.guts.heel_klicker2.play();
}
}
Symbol 261 MovieClip Frame 10
_root.hero.guts.gotoAndStop(1);
Instance of Symbol 190 MovieClip "guts" in Symbol 262 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == 1) {
if (Key.isDown(65) && (Key.isDown(37))) {
_root.spinning = true;
_parent.gotoAndStop("spin");
}
if (Key.isDown(65) && (Key.isDown(39))) {
_root.spinning = true;
_parent.gotoAndStop("spin2");
}
if (Key.isDown(83) && (Key.isDown(37))) {
_root.hero._y = _root.hero._y + 6;
_root.sidestepping = true;
_parent.gotoAndStop("side2");
}
if (Key.isDown(83) && (Key.isDown(39))) {
_root.hero._y = _root.hero._y + 6;
_root.sidestepping = true;
_parent.gotoAndStop("side");
}
if ((Key.isDown(38) || (Key.isDown(87))) && (_root.blastReady)) {
_root.blasting = true;
_parent.gotoAndStop("blast");
}
}
}
Symbol 262 MovieClip Frame 9
stop();
_root.in_air = true;
Instance of Symbol 190 MovieClip "guts" in Symbol 262 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_root.paused == 1) {
if (Key.isDown(65) && (Key.isDown(37))) {
_root.spinning = true;
_parent.gotoAndStop("spin");
}
if (Key.isDown(65) && (Key.isDown(39))) {
_root.spinning = true;
_parent.gotoAndStop("spin2");
}
if (Key.isDown(83) && (Key.isDown(37))) {
_root.hero._y = _root.hero._y + 6;
_root.sidestepping = true;
_parent.gotoAndStop("side2");
}
if (Key.isDown(83) && (Key.isDown(39))) {
_root.hero._y = _root.hero._y + 6;
_root.sidestepping = true;
_parent.gotoAndStop("side");
}
if ((Key.isDown(38) || (Key.isDown(87))) && (_root.blastReady)) {
_root.blasting = true;
_parent.gotoAndStop("blast");
}
}
}
Symbol 262 MovieClip Frame 10
_root.supermaning = true;
_root.W_status = 2;
Symbol 262 MovieClip Frame 18
_root.heel_klickering = true;
_root.S_status = 2;
Symbol 262 MovieClip Frame 27
_root.supermaning = true;
Instance of Symbol 190 MovieClip "guts" in Symbol 262 MovieClip Frame 35
onClipEvent (enterFrame) {
if (_root.paused == 1) {
if (Key.isDown(65) && (Key.isDown(37))) {
_root.spinning = true;
_parent.gotoAndStop("spin");
}
if (Key.isDown(65) && (Key.isDown(39))) {
_root.spinning = true;
_parent.gotoAndStop("spin2");
}
if (Key.isDown(83) && (Key.isDown(37))) {
_root.hero._y = _root.hero._y + 6;
_root.sidestepping = true;
_parent.gotoAndStop("side2");
}
if (Key.isDown(83) && (Key.isDown(39))) {
_root.hero._y = _root.hero._y + 6;
_root.sidestepping = true;
_parent.gotoAndStop("side");
}
if ((Key.isDown(38) || (Key.isDown(87))) && (_root.blastReady)) {
_root.blasting = true;
_parent.gotoAndStop("blast");
}
}
}
Symbol 262 MovieClip Frame 40
_root.nohandsing = true;
_root.D_status = 2;
Symbol 262 MovieClip Frame 47
_root.nohandsing = true;
Symbol 262 MovieClip Frame 58
_root.coffining = true;
_root.A_status = 2;
Symbol 262 MovieClip Frame 63
_root.coffining = true;
Symbol 262 MovieClip Frame 88
_root.heel_klickering = true;
Symbol 273 MovieClip Frame 1
stop();
Instance of Symbol 190 MovieClip "guts" in Symbol 273 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == 1) {
if (Key.isDown(65) && (Key.isDown(37))) {
_root.spinning = true;
_parent.gotoAndStop("spin");
}
if (Key.isDown(65) && (Key.isDown(39))) {
_root.spinning = true;
_parent.gotoAndStop("spin2");
}
if (Key.isDown(83) && (Key.isDown(37))) {
_root.hero._y = _root.hero._y + 6;
_root.sidestepping = true;
_parent.gotoAndStop("side2");
}
if (Key.isDown(83) && (Key.isDown(39))) {
_root.hero._y = _root.hero._y + 6;
_root.sidestepping = true;
_parent.gotoAndStop("side");
}
if ((Key.isDown(38) || (Key.isDown(87))) && (_root.blastReady)) {
_root.blasting = true;
_parent.gotoAndStop("blast");
}
}
}
Symbol 273 MovieClip Frame 6
stop();
_root.score = _root.score + 100;
_root.money = _root.money + 2;
if (_root.double_jumping) {
_root.double_jump_counter = _root.double_jump_counter + 1;
}
if (_root.triple_jumping) {
_root.triple_jump_counter = _root.triple_jump_counter + 1;
}
if (_root.double_jumping || (_root.triple_jumping)) {
_root.bike_sound.gotoAndPlay("short");
}
if (_root.single_jumping) {
_root.bike_sound.gotoAndPlay("long");
}
Instance of Symbol 190 MovieClip "guts" in Symbol 273 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.paused == 1) {
if (Key.isDown(65) && (Key.isDown(37))) {
_root.spinning = true;
_parent.gotoAndStop("spin");
}
if (Key.isDown(65) && (Key.isDown(39))) {
_root.spinning = true;
_parent.gotoAndStop("spin2");
}
if (Key.isDown(83) && (Key.isDown(37))) {
_root.hero._y = _root.hero._y + 6;
_root.sidestepping = true;
_parent.gotoAndStop("side2");
}
if (Key.isDown(83) && (Key.isDown(39))) {
_root.hero._y = _root.hero._y + 6;
_root.sidestepping = true;
_parent.gotoAndStop("side");
}
if ((Key.isDown(38) || (Key.isDown(87))) && (_root.blastReady)) {
_root.blasting = true;
_parent.gotoAndStop("blast");
}
}
}
Symbol 273 MovieClip Frame 13
gotoAndStop (1);
Symbol 273 MovieClip Frame 16
gotoAndStop (1);
Symbol 291 MovieClip Frame 1
stop();
Instance of Symbol 284 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(5);
}
Instance of Symbol 284 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(6);
}
Instance of Symbol 284 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(2);
}
Symbol 291 MovieClip Frame 37
gotoAndStop (1);
Instance of Symbol 284 MovieClip in Symbol 291 MovieClip Frame 39
onClipEvent (load) {
this.gotoAndPlay(5);
}
Instance of Symbol 284 MovieClip in Symbol 291 MovieClip Frame 39
onClipEvent (load) {
this.gotoAndPlay(6);
}
Instance of Symbol 284 MovieClip in Symbol 291 MovieClip Frame 39
onClipEvent (load) {
this.gotoAndPlay(2);
}
Instance of Symbol 284 MovieClip in Symbol 291 MovieClip Frame 45
onClipEvent (load) {
this.gotoAndPlay(5);
}
Instance of Symbol 284 MovieClip in Symbol 291 MovieClip Frame 45
onClipEvent (load) {
this.gotoAndPlay(6);
}
Instance of Symbol 284 MovieClip in Symbol 291 MovieClip Frame 45
onClipEvent (load) {
this.gotoAndPlay(2);
}
Instance of Symbol 284 MovieClip in Symbol 291 MovieClip Frame 46
onClipEvent (load) {
this.gotoAndPlay(5);
}
Instance of Symbol 284 MovieClip in Symbol 291 MovieClip Frame 46
onClipEvent (load) {
this.gotoAndPlay(6);
}
Instance of Symbol 284 MovieClip in Symbol 291 MovieClip Frame 46
onClipEvent (load) {
this.gotoAndPlay(2);
}
Symbol 291 MovieClip Frame 51
stop();
Symbol 293 MovieClip Frame 1
stop();
Symbol 293 MovieClip Frame 2
stop();
Symbol 296 MovieClip Frame 1
stop();
Symbol 296 MovieClip Frame 8
gotoAndStop (1);
Symbol 296 MovieClip Frame 17
gotoAndStop (1);
Instance of Symbol 45 MovieClip [hitArea] in Symbol 300 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = _root.speed + 150;
}
Symbol 309 Button
on (release) {
if (_root.money > 249) {
_root.money = _root.money - 250;
_root.D = _root.D + 1;
_root.D_status = _root.D_status + 1;
}
}
Symbol 314 MovieClip Frame 1
stop();
Symbol 314 MovieClip Frame 3
stop();
Symbol 317 Button
on (release) {
if (_root.money > 249) {
_root.money = _root.money - 250;
_root.A = _root.A + 1;
_root.A_status = _root.A_status + 1;
}
}
Symbol 320 MovieClip Frame 1
stop();
Symbol 320 MovieClip Frame 2
stop();
Symbol 320 MovieClip Frame 3
stop();
Symbol 324 MovieClip Frame 1
stop();
Symbol 327 Button
on (release) {
if (_root.money > 249) {
_root.money = _root.money - 250;
_root.W = _root.W + 1;
_root.W_status = _root.W_status + 1;
}
}
Symbol 330 MovieClip Frame 1
stop();
Symbol 333 Button
on (release) {
if (_root.money > 249) {
_root.money = _root.money - 250;
_root.S = _root.S + 1;
_root.S_status = _root.S_status + 1;
}
}
Symbol 337 MovieClip Frame 1
stop();
Symbol 337 MovieClip Frame 2
stop();
Symbol 340 Button
on (release) {
if (_root.money > 1249) {
_root.jump_counter = 0;
_root.money = _root.money - 1250;
_root.jump_counter = 14;
_root.turbo = true;
}
}
Symbol 344 MovieClip Frame 1
stop();
Symbol 344 MovieClip Frame 2
stop();
Symbol 345 Button
on (release) {
if (_root.money > 1999) {
_root.jump_counter = 0;
_root.money = _root.money - 2000;
_root.jump_counter = 14;
_root.fire_suit = true;
}
}
Symbol 352 MovieClip Frame 1
stop();
Symbol 352 MovieClip Frame 2
stop();
Symbol 353 MovieClip Frame 1
stop();
Instance of Symbol 314 MovieClip in Symbol 353 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.D_status);
}
Instance of Symbol 320 MovieClip in Symbol 353 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.A_status);
}
Instance of Symbol 330 MovieClip in Symbol 353 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.W_status);
}
Instance of Symbol 337 MovieClip in Symbol 353 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.S_status);
}
Symbol 353 MovieClip Frame 2
stop();
Instance of Symbol 344 MovieClip "buy_turbo" in Symbol 353 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.turbo) {
this.gotoAndStop(2);
}
}
Instance of Symbol 352 MovieClip "buy_fire_suit" in Symbol 353 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.fire_suit) {
this.gotoAndStop(2);
}
}
Symbol 354 Button
on (press) {
_root.buying_gas = true;
}
on (release) {
_root.buying_gas = false;
}
Symbol 363 MovieClip Frame 1
stop();
Symbol 363 MovieClip Frame 2
stop();
Instance of Symbol 355 MovieClip "gas" in Symbol 364 MovieClip Frame 1
onClipEvent (enterFrame) {
this._xscale = (_root.gas / 150) * 100;
}
Instance of Symbol 363 MovieClip "skull_gas" in Symbol 364 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gas < 15) {
this.gotoAndStop(2);
} else if (_root.gas > 14) {
this.gotoAndStop(1);
}
}
Symbol 372 Button
on (release) {
if ((_root.damage < 100) && (_root.money > 24)) {
_root.damage = _root.damage + 10;
_root.money = _root.money - 25;
}
}
Instance of Symbol 355 MovieClip "damage" in Symbol 376 MovieClip Frame 1
onClipEvent (enterFrame) {
this._xscale = _root.damage;
}
Instance of Symbol 363 MovieClip in Symbol 376 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.damage < 15) {
this.gotoAndStop(2);
} else if (_root.damage > 14) {
this.gotoAndStop(1);
}
}
Symbol 378 Button
on (release) {
if ((_root.damage < 100) && (_root.money > 99)) {
_root.damage = _root.damage + 10;
_root.money = _root.money - 100;
}
}
Symbol 379 MovieClip Frame 1
stop();
Instance of Symbol 376 MovieClip in Symbol 379 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.damage > 100) {
_root.damage = 100;
}
}
Symbol 379 MovieClip Frame 2
stop();
Symbol 382 MovieClip Frame 1
stop();
Symbol 382 MovieClip Frame 2
stop();
Instance of Symbol 60 MovieClip in Symbol 382 MovieClip Frame 2
on (release) {
_root.jump_counter = 0;
_root.gas_price = _root.gas_price + 1;
_root.store.gotoAndStop(1);
_root.shop_count = _root.shop_count + 1;
}
Instance of Symbol 353 MovieClip "buy_tricks" in Symbol 382 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((((_root.A_status == 3) && (_root.S_status == 3)) && (_root.D_status == 3)) && (_root.W_status == 3)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 370 MovieClip "buy_gas" in Symbol 382 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.buying_gas) {
if ((_root.gas < 150) && (_root.money > _root.gas_price)) {
_root.money = _root.money - _root.gas_price;
_root.gas = _root.gas + 15;
}
if (_root.gas > 150) {
_root.gas = 150;
}
}
}
Symbol 391 MovieClip Frame 1
stop();
Symbol 391 MovieClip Frame 16
_root.trophies.double_jump.gotoAndStop(2);
Symbol 391 MovieClip Frame 30
gotoAndStop (1);
Symbol 391 MovieClip Frame 45
_root.trophies.triple_jump.gotoAndStop(2);
Symbol 391 MovieClip Frame 61
gotoAndStop (1);
Symbol 396 MovieClip Frame 30
_parent.gotoAndStop(1);
Symbol 399 MovieClip Frame 1
stop();
Symbol 399 MovieClip Frame 2
_root.money = _root.money + 10;
Symbol 399 MovieClip Frame 3
_root.money = _root.money + 20;
Symbol 401 MovieClip Frame 30
_parent.gotoAndStop(1);
Symbol 403 MovieClip Frame 1
stop();
Symbol 403 MovieClip Frame 2
_root.money = _root.money + 10;
Symbol 403 MovieClip Frame 3
_root.money = _root.money + 20;
Symbol 405 MovieClip Frame 30
_parent.gotoAndStop(1);
Symbol 407 MovieClip Frame 1
stop();
Symbol 407 MovieClip Frame 2
_root.money = _root.money + 10;
Symbol 407 MovieClip Frame 3
_root.money = _root.money + 20;
Symbol 409 MovieClip Frame 30
_parent.gotoAndStop(1);
Symbol 411 MovieClip Frame 1
stop();
Symbol 411 MovieClip Frame 2
_root.money = _root.money + 10;
Symbol 411 MovieClip Frame 3
_root.money = _root.money + 20;
Symbol 420 MovieClip Frame 1
stop();
Symbol 423 MovieClip Frame 1
stop();
Symbol 423 MovieClip Frame 2
stop();
Symbol 427 MovieClip Frame 1
stop();
Symbol 430 MovieClip Frame 1
stop();
Symbol 433 MovieClip Frame 1
stop();
Symbol 438 MovieClip Frame 1
stop();
Instance of Symbol 190 MovieClip "guts" in Symbol 461 MovieClip Frame 108
onClipEvent (enterFrame) {
if (_root.paused == 1) {
if (Key.isDown(65) && (Key.isDown(37))) {
_root.spinning = true;
_parent.gotoAndStop("spin");
}
if (Key.isDown(65) && (Key.isDown(39))) {
_root.spinning = true;
_parent.gotoAndStop("spin2");
}
if (Key.isDown(83) && (Key.isDown(37))) {
_root.hero._y = _root.hero._y + 6;
_root.sidestepping = true;
_parent.gotoAndStop("side2");
}
if (Key.isDown(83) && (Key.isDown(39))) {
_root.hero._y = _root.hero._y + 6;
_root.sidestepping = true;
_parent.gotoAndStop("side");
}
if ((Key.isDown(38) || (Key.isDown(87))) && (_root.blastReady)) {
_root.blasting = true;
_parent.gotoAndStop("blast");
}
}
}
Symbol 461 MovieClip Frame 140
stop();
Instance of Symbol 60 MovieClip in Symbol 461 MovieClip Frame 140
on (release) {
paused = 1;
cha_ching = false;
damage = 100;
fire_suit = false;
gas = 150;
gas_price = 4;
going_down = false;
score = 0;
shop_count = 0;
speed = 15;
turbo = false;
turbo_ramp_set = false;
bike_speed = 15;
buying_gas = false;
money = 0;
double_jump_counter = 0;
triple_jump_counter = 0;
jumping = false;
_root.jump_height = 0;
level = 1;
_root.no_arrow = false;
in_air = false;
single_jumping = false;
jump_counter = 0;
triple_jumping = false;
double_jumping = false;
supermaning = false;
heel_klickering = false;
no_handsing = false;
coffining = false;
landing_ramping = false;
tricks_counter = 0;
A = 1;
W = 1;
S = 1;
D = 1;
A_status = 1;
W_status = 1;
S_status = 1;
D_status = 1;
_root.gotoAndStop("menu");
}
Instance of Symbol 60 MovieClip in Symbol 461 MovieClip Frame 140
on (release) {
getURL ("http://www.glowmonkey.com", "_blank");
}