Frame 1
fscommand ("showmenu", "false");
stop();
Frame 2
stop();
Frame 3
stop();
Frame 4
stop();
Frame 5
stop();
Frame 6
_root.score = 0;
_root.begin_score = _root.score;
_root.lives = 10;
_root.difficulty = _root.chosen_difficulty;
curLevel = 1;
curLevel_frame = 5 + curLevel;
curLevel_display.text = curLevel;
jump_count_counter.text = 0;
jump_count_level.text = 100;
stop();
Instance of Symbol 183 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 195 MovieClip "char" in Frame 6
onClipEvent (load) {
var start_level = true;
var playable = false;
var speed = 7;
var jumping = false;
var falling = false;
var jump = 0;
var jump_count = 0;
var jump_count_level = 100;
var moveable = false;
var gotweapon1 = false;
var gotweapon2 = false;
var weapon2_speed = 5;
var dir = "right";
var selectedweapon = 0;
var dead = false;
}
onClipEvent (enterFrame) {
if (dead == true) {
_root.lives = _root.lives - 1;
unloadMovie (_root.weapon1fire);
unloadMovie (_root.weapon2fire);
unloadMovie (_root.weapon3fire);
_root.gotoAndPlay("dead");
}
if (Key.isDown(37) && (moveable == true)) {
if (this._x <= 15) {
} else {
_root.char._x = _root.char._x - speed;
dir = "left";
gotoAndStop(dir);
}
}
if (Key.isDown(39) && (moveable == true)) {
if (this._x >= 530) {
} else {
_root.char._x = _root.char._x + speed;
gotoAndStop ("right");
dir = "right";
}
}
if ((Key.isDown(32) && (!jumping)) && (start_level == true)) {
_root.start_point.gotoAndPlay("open");
jumping = true;
moveable = true;
playable = true;
start_level = false;
}
if (jumping) {
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
falling = true;
}
}
if ((_root.ground.hitTest(this._x, this._y, true) && (falling)) || (_root.weapon3fire.hitTest(this._x, this._y, true) && (falling))) {
jump = 8;
jumping = true;
jump_count = jump_count + 1;
_root.jump_count_counter.text++;
falling = false;
play_sound = new Sound();
play_sound.attachSound("jump_sound");
play_sound.start(0, 1);
}
if (_root.booster.hitTest(this._x, this._y, true) && (falling)) {
jump = 12;
jumping = true;
jump_count = jump_count + 1;
_root.jump_count_counter.text++;
falling = false;
play_sound = new Sound();
play_sound.attachSound("booster_sound");
play_sound.start(0, 1);
}
if (jump_count == jump_count_level) {
dead = true;
}
if (Key.isDown(49)) {
selectedweapon = 1;
} else if (Key.isDown(50)) {
selectedweapon = 2;
unloadMovie (_root.weapon1fire);
} else if (Key.isDown(51)) {
selectedweapon = 3;
unloadMovie (_root.weapon1fire);
}
if (((Key.isDown(17) && (gotweapon1 == true)) && (dir == "left")) && (selectedweapon == 1)) {
_root.attachMovie("weapon1", "weapon1fire", 1, {_x:_root.char._x - 20, _y:_root.char._y - 14});
} else if (((Key.isDown(17) && (gotweapon1 == true)) && (dir == "right")) && (selectedweapon == 1)) {
_root.attachMovie("weapon1", "weapon1fire", 1, {_x:_root.char._x + 20, _y:_root.char._y - 14});
} else {
unloadMovie (_root.weapon1fire);
}
if ((Key.isDown(17) && (gotweapon2 == true)) && (selectedweapon == 2)) {
firedirection = _root.char.dir;
_root.attachMovie("weapon2_bullet", "weapon2fire", 1, {_x:_root.char._x, _y:_root.char._y - 14});
with (_root.weapon2fire) {
onEnterFrame = function () {
if (_root.char.firedirection == "left") {
_root.weapon2fire._x = _root.weapon2fire._x - _root.char.weapon2_speed;
_root.weapon2fire._xscale = -100;
} else {
_root.weapon2fire._x = _root.weapon2fire._x + _root.char.weapon2_speed;
_root.weapon2fire._xscale = 100;
}
};
}
}
if (((Key.isDown(17) && (gotweapon3 == true)) && (dir == "left")) && (selectedweapon == 3)) {
_root.attachMovie("weapon3", "weapon3fire", 1, {_x:_root.char._x - 30, _y:_root.char._y - 40});
} else if (((Key.isDown(17) && (gotweapon3 == true)) && (dir == "right")) && (selectedweapon == 3)) {
_root.attachMovie("weapon3", "weapon3fire", 1, {_x:_root.char._x + 30, _y:_root.char._y - 40});
}
}
Instance of Symbol 198 MovieClip "instruction" in Frame 6
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
unloadMovie (this);
}
}
Instance of Symbol 202 MovieClip "pausedclip" in Frame 6
onClipEvent (load) {
function __f_load(eventObj) {
check_paused = false;
}
this.addEventListener("load", __f_load);
}
onClipEvent (enterFrame) {
if (check_paused == true) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Frame 7
_root.begin_score = _root.score;
curLevel = 2;
curLevel_frame = 5 + curLevel;
curLevel_display.text = curLevel;
jump_count_counter.text = 0;
jump_count_level.text = 9 + _root.difficulty;
stop();
Instance of Symbol 195 MovieClip "char" in Frame 7
onClipEvent (load) {
var start_level = true;
var playable = false;
var speed = 7;
var jumping = false;
var falling = false;
var jump = 0;
var jump_count = 0;
var jump_count_level = (9 + _root.difficulty);
var moveable = false;
var gotweapon1 = false;
var gotweapon2 = false;
var weapon2_speed = 5;
var dir = "right";
var selectedweapon = 0;
var dead = false;
}
onClipEvent (enterFrame) {
if (dead == true) {
_root.lives = _root.lives - 1;
unloadMovie (_root.weapon1fire);
unloadMovie (_root.weapon2fire);
unloadMovie (_root.weapon3fire);
_root.gotoAndPlay("dead");
}
if (Key.isDown(37) && (moveable == true)) {
if (this._x <= 15) {
} else {
_root.char._x = _root.char._x - speed;
dir = "left";
gotoAndStop(dir);
}
}
if (Key.isDown(39) && (moveable == true)) {
if (this._x >= 530) {
} else {
_root.char._x = _root.char._x + speed;
gotoAndStop ("right");
dir = "right";
}
}
if ((Key.isDown(32) && (!jumping)) && (start_level == true)) {
_root.start_point.gotoAndPlay("open");
jumping = true;
moveable = true;
playable = true;
start_level = false;
}
if (jumping) {
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
falling = true;
}
}
if ((_root.ground.hitTest(this._x, this._y, true) && (falling)) || (_root.weapon3fire.hitTest(this._x, this._y, true) && (falling))) {
jump = 8;
jumping = true;
jump_count = jump_count + 1;
_root.jump_count_counter.text++;
falling = false;
play_sound = new Sound();
play_sound.attachSound("jump_sound");
play_sound.start(0, 1);
}
if (_root.booster.hitTest(this._x, this._y, true) && (falling)) {
jump = 12;
jumping = true;
jump_count = jump_count + 1;
_root.jump_count_counter.text++;
falling = false;
play_sound = new Sound();
play_sound.attachSound("booster_sound");
play_sound.start(0, 1);
}
if (jump_count == jump_count_level) {
dead = true;
}
if (Key.isDown(49)) {
selectedweapon = 1;
} else if (Key.isDown(50)) {
selectedweapon = 2;
unloadMovie (_root.weapon1fire);
} else if (Key.isDown(51)) {
selectedweapon = 3;
unloadMovie (_root.weapon1fire);
}
if (((Key.isDown(17) && (gotweapon1 == true)) && (dir == "left")) && (selectedweapon == 1)) {
_root.attachMovie("weapon1", "weapon1fire", 1, {_x:_root.char._x - 20, _y:_root.char._y - 14});
} else if (((Key.isDown(17) && (gotweapon1 == true)) && (dir == "right")) && (selectedweapon == 1)) {
_root.attachMovie("weapon1", "weapon1fire", 1, {_x:_root.char._x + 20, _y:_root.char._y - 14});
} else {
unloadMovie (_root.weapon1fire);
}
if ((Key.isDown(17) && (gotweapon2 == true)) && (selectedweapon == 2)) {
firedirection = _root.char.dir;
_root.attachMovie("weapon2_bullet", "weapon2fire", 1, {_x:_root.char._x, _y:_root.char._y - 14});
with (_root.weapon2fire) {
onEnterFrame = function () {
if (_root.char.firedirection == "left") {
_root.weapon2fire._x = _root.weapon2fire._x - _root.char.weapon2_speed;
_root.weapon2fire._xscale = -100;
} else {
_root.weapon2fire._x = _root.weapon2fire._x + _root.char.weapon2_speed;
_root.weapon2fire._xscale = 100;
}
};
}
}
if (((Key.isDown(17) && (gotweapon3 == true)) && (dir == "left")) && (selectedweapon == 3)) {
_root.attachMovie("weapon3", "weapon3fire", 1, {_x:_root.char._x - 30, _y:_root.char._y - 40});
} else if (((Key.isDown(17) && (gotweapon3 == true)) && (dir == "right")) && (selectedweapon == 3)) {
_root.attachMovie("weapon3", "weapon3fire", 1, {_x:_root.char._x + 30, _y:_root.char._y - 40});
}
}
Instance of Symbol 223 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 50;
play_sound = new Sound();
play_sound.attachSound("item2_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Frame 8
_root.begin_score = _root.score;
curLevel = 3;
curLevel_frame = 5 + curLevel;
curLevel_display.text = curLevel;
jump_count_counter.text = 0;
jump_count_level.text = 9 + _root.difficulty;
stop();
Instance of Symbol 183 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 230 MovieClip in Frame 8
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
ass = 1;
}
onClipEvent (enterFrame) {
if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._x = this._x - enemyspeed;
} else if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._x = this._x + enemyspeed;
}
if (enemystepsleft == 45) {
enemydir = "right";
enemystepsleft = 0;
} else if (enemystepsright == 45) {
enemydir = "left";
enemystepsright = 0;
}
if (this.hitTest(_root.weapon1fire || (_root.weapon2fire))) {
_root.score = _root.score + 100;
play_sound = new Sound();
play_sound.attachSound("enemy1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
if (this.hitTest(_root.char)) {
_root.char.dead = true;
}
}
Instance of Symbol 195 MovieClip "char" in Frame 8
onClipEvent (load) {
var start_level = true;
var playable = false;
var speed = 7;
var jumping = false;
var falling = false;
var jump = 0;
var jump_count = 0;
var jump_count_level = (9 + _root.difficulty);
var moveable = false;
var gotweapon1 = false;
var gotweapon2 = false;
var weapon2_speed = 5;
var dir = "right";
var selectedweapon = 0;
var dead = false;
}
onClipEvent (enterFrame) {
if (dead == true) {
_root.lives = _root.lives - 1;
unloadMovie (_root.weapon1fire);
unloadMovie (_root.weapon2fire);
unloadMovie (_root.weapon3fire);
_root.gotoAndPlay("dead");
}
if (Key.isDown(37) && (moveable == true)) {
if (this._x <= 15) {
} else {
_root.char._x = _root.char._x - speed;
dir = "left";
gotoAndStop(dir);
}
}
if (Key.isDown(39) && (moveable == true)) {
if (this._x >= 530) {
} else {
_root.char._x = _root.char._x + speed;
gotoAndStop ("right");
dir = "right";
}
}
if ((Key.isDown(32) && (!jumping)) && (start_level == true)) {
_root.start_point.gotoAndPlay("open");
jumping = true;
moveable = true;
playable = true;
start_level = false;
}
if (jumping) {
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
falling = true;
}
}
if ((_root.ground.hitTest(this._x, this._y, true) && (falling)) || (_root.weapon3fire.hitTest(this._x, this._y, true) && (falling))) {
jump = 8;
jumping = true;
jump_count = jump_count + 1;
_root.jump_count_counter.text++;
falling = false;
play_sound = new Sound();
play_sound.attachSound("jump_sound");
play_sound.start(0, 1);
}
if (_root.booster.hitTest(this._x, this._y, true) && (falling)) {
jump = 12;
jumping = true;
jump_count = jump_count + 1;
_root.jump_count_counter.text++;
falling = false;
play_sound = new Sound();
play_sound.attachSound("booster_sound");
play_sound.start(0, 1);
}
if (jump_count == jump_count_level) {
dead = true;
}
if (Key.isDown(49)) {
selectedweapon = 1;
} else if (Key.isDown(50)) {
selectedweapon = 2;
unloadMovie (_root.weapon1fire);
} else if (Key.isDown(51)) {
selectedweapon = 3;
unloadMovie (_root.weapon1fire);
}
if (((Key.isDown(17) && (gotweapon1 == true)) && (dir == "left")) && (selectedweapon == 1)) {
_root.attachMovie("weapon1", "weapon1fire", 1, {_x:_root.char._x - 20, _y:_root.char._y - 14});
} else if (((Key.isDown(17) && (gotweapon1 == true)) && (dir == "right")) && (selectedweapon == 1)) {
_root.attachMovie("weapon1", "weapon1fire", 1, {_x:_root.char._x + 20, _y:_root.char._y - 14});
} else {
unloadMovie (_root.weapon1fire);
}
if ((Key.isDown(17) && (gotweapon2 == true)) && (selectedweapon == 2)) {
firedirection = _root.char.dir;
_root.attachMovie("weapon2_bullet", "weapon2fire", 1, {_x:_root.char._x, _y:_root.char._y - 14});
with (_root.weapon2fire) {
onEnterFrame = function () {
if (_root.char.firedirection == "left") {
_root.weapon2fire._x = _root.weapon2fire._x - _root.char.weapon2_speed;
_root.weapon2fire._xscale = -100;
} else {
_root.weapon2fire._x = _root.weapon2fire._x + _root.char.weapon2_speed;
_root.weapon2fire._xscale = 100;
}
};
}
}
if (((Key.isDown(17) && (gotweapon3 == true)) && (dir == "left")) && (selectedweapon == 3)) {
_root.attachMovie("weapon3", "weapon3fire", 1, {_x:_root.char._x - 30, _y:_root.char._y - 40});
} else if (((Key.isDown(17) && (gotweapon3 == true)) && (dir == "right")) && (selectedweapon == 3)) {
_root.attachMovie("weapon3", "weapon3fire", 1, {_x:_root.char._x + 30, _y:_root.char._y - 40});
}
}
Instance of Symbol 223 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 50;
play_sound = new Sound();
play_sound.attachSound("item2_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Frame 9
_root.begin_score = _root.score;
curLevel = 4;
curLevel_frame = 5 + curLevel;
curLevel_display.text = curLevel;
jump_count_counter.text = 0;
jump_count_level.text = 9 + _root.difficulty;
stop();
Instance of Symbol 230 MovieClip in Frame 9
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
ass = 1;
}
onClipEvent (enterFrame) {
if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._x = this._x - enemyspeed;
} else if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._x = this._x + enemyspeed;
}
if (enemystepsleft == 25) {
enemydir = "right";
enemystepsleft = 0;
} else if (enemystepsright == 25) {
enemydir = "left";
enemystepsright = 0;
}
if (this.hitTest(_root.weapon1fire || (_root.weapon2fire))) {
_root.score = _root.score + 100;
play_sound = new Sound();
play_sound.attachSound("enemy1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
if (this.hitTest(_root.char)) {
_root.char.dead = true;
}
}
Instance of Symbol 18 MovieClip [weapon1] in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.char.gotweapon1 = true;
play_sound = new Sound();
play_sound.attachSound("item_pickup");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 230 MovieClip in Frame 9
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
ass = 1;
}
onClipEvent (enterFrame) {
if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._x = this._x - enemyspeed;
} else if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._x = this._x + enemyspeed;
}
if (enemystepsleft == 25) {
enemydir = "right";
enemystepsleft = 0;
} else if (enemystepsright == 25) {
enemydir = "left";
enemystepsright = 0;
}
if (this.hitTest(_root.weapon1fire || (_root.weapon2fire))) {
_root.score = _root.score + 100;
play_sound = new Sound();
play_sound.attachSound("enemy1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
if (this.hitTest(_root.char)) {
_root.char.dead = true;
}
}
Frame 10
_root.begin_score = _root.score;
curLevel = 5;
curLevel_frame = 5 + curLevel;
curLevel_display.text = curLevel;
jump_count_counter.text = 0;
jump_count_level.text = 13 + _root.difficulty;
stop();
Instance of Symbol 195 MovieClip "char" in Frame 10
onClipEvent (load) {
var start_level = true;
var playable = false;
var speed = 7;
var jumping = false;
var falling = false;
var jump = 0;
var jump_count = 0;
var jump_count_level = (13 + _root.difficulty);
var moveable = false;
var gotweapon1 = false;
var gotweapon2 = false;
var weapon2_speed = 5;
var dir = "right";
var selectedweapon = 0;
var dead = false;
}
onClipEvent (enterFrame) {
if (dead == true) {
_root.lives = _root.lives - 1;
unloadMovie (_root.weapon1fire);
unloadMovie (_root.weapon2fire);
unloadMovie (_root.weapon3fire);
_root.gotoAndPlay("dead");
}
if (Key.isDown(37) && (moveable == true)) {
if (this._x <= 15) {
} else {
_root.char._x = _root.char._x - speed;
dir = "left";
gotoAndStop(dir);
}
}
if (Key.isDown(39) && (moveable == true)) {
if (this._x >= 530) {
} else {
_root.char._x = _root.char._x + speed;
gotoAndStop ("right");
dir = "right";
}
}
if ((Key.isDown(32) && (!jumping)) && (start_level == true)) {
_root.start_point.gotoAndPlay("open");
jumping = true;
moveable = true;
playable = true;
start_level = false;
}
if (jumping) {
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
falling = true;
}
}
if ((_root.ground.hitTest(this._x, this._y, true) && (falling)) || (_root.weapon3fire.hitTest(this._x, this._y, true) && (falling))) {
jump = 8;
jumping = true;
jump_count = jump_count + 1;
_root.jump_count_counter.text++;
falling = false;
play_sound = new Sound();
play_sound.attachSound("jump_sound");
play_sound.start(0, 1);
}
if (_root.booster.hitTest(this._x, this._y, true) && (falling)) {
jump = 12;
jumping = true;
jump_count = jump_count + 1;
_root.jump_count_counter.text++;
falling = false;
play_sound = new Sound();
play_sound.attachSound("booster_sound");
play_sound.start(0, 1);
}
if (jump_count == jump_count_level) {
dead = true;
}
if (Key.isDown(49)) {
selectedweapon = 1;
} else if (Key.isDown(50)) {
selectedweapon = 2;
unloadMovie (_root.weapon1fire);
} else if (Key.isDown(51)) {
selectedweapon = 3;
unloadMovie (_root.weapon1fire);
}
if (((Key.isDown(17) && (gotweapon1 == true)) && (dir == "left")) && (selectedweapon == 1)) {
_root.attachMovie("weapon1", "weapon1fire", 1, {_x:_root.char._x - 20, _y:_root.char._y - 14});
} else if (((Key.isDown(17) && (gotweapon1 == true)) && (dir == "right")) && (selectedweapon == 1)) {
_root.attachMovie("weapon1", "weapon1fire", 1, {_x:_root.char._x + 20, _y:_root.char._y - 14});
} else {
unloadMovie (_root.weapon1fire);
}
if ((Key.isDown(17) && (gotweapon2 == true)) && (selectedweapon == 2)) {
firedirection = _root.char.dir;
_root.attachMovie("weapon2_bullet", "weapon2fire", 1, {_x:_root.char._x, _y:_root.char._y - 14});
with (_root.weapon2fire) {
onEnterFrame = function () {
if (_root.char.firedirection == "left") {
_root.weapon2fire._x = _root.weapon2fire._x - _root.char.weapon2_speed;
_root.weapon2fire._xscale = -100;
} else {
_root.weapon2fire._x = _root.weapon2fire._x + _root.char.weapon2_speed;
_root.weapon2fire._xscale = 100;
}
};
}
}
if (((Key.isDown(17) && (gotweapon3 == true)) && (dir == "left")) && (selectedweapon == 3)) {
_root.attachMovie("weapon3", "weapon3fire", 1, {_x:_root.char._x - 30, _y:_root.char._y - 40});
} else if (((Key.isDown(17) && (gotweapon3 == true)) && (dir == "right")) && (selectedweapon == 3)) {
_root.attachMovie("weapon3", "weapon3fire", 1, {_x:_root.char._x + 30, _y:_root.char._y - 40});
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Frame 11
_root.begin_score = _root.score;
curLevel = 6;
curLevel_frame = 5 + curLevel;
curLevel_display.text = curLevel;
jump_count_counter.text = 0;
jump_count_level.text = 10 + _root.difficulty;
stop();
Instance of Symbol 195 MovieClip "char" in Frame 11
onClipEvent (load) {
var start_level = true;
var playable = false;
var speed = 7;
var jumping = false;
var falling = false;
var jump = 0;
var jump_count = 0;
var jump_count_level = (10 + _root.difficulty);
var moveable = false;
var gotweapon1 = false;
var gotweapon2 = false;
var weapon2_speed = 5;
var dir = "right";
var selectedweapon = 0;
var dead = false;
}
onClipEvent (enterFrame) {
if (dead == true) {
_root.lives = _root.lives - 1;
unloadMovie (_root.weapon1fire);
unloadMovie (_root.weapon2fire);
unloadMovie (_root.weapon3fire);
_root.gotoAndPlay("dead");
}
if (Key.isDown(37) && (moveable == true)) {
if (this._x <= 15) {
} else {
_root.char._x = _root.char._x - speed;
dir = "left";
gotoAndStop(dir);
}
}
if (Key.isDown(39) && (moveable == true)) {
if (this._x >= 530) {
} else {
_root.char._x = _root.char._x + speed;
gotoAndStop ("right");
dir = "right";
}
}
if ((Key.isDown(32) && (!jumping)) && (start_level == true)) {
_root.start_point.gotoAndPlay("open");
jumping = true;
moveable = true;
playable = true;
start_level = false;
}
if (jumping) {
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
falling = true;
}
}
if ((_root.ground.hitTest(this._x, this._y, true) && (falling)) || (_root.weapon3fire.hitTest(this._x, this._y, true) && (falling))) {
jump = 8;
jumping = true;
jump_count = jump_count + 1;
_root.jump_count_counter.text++;
falling = false;
play_sound = new Sound();
play_sound.attachSound("jump_sound");
play_sound.start(0, 1);
}
if (_root.booster.hitTest(this._x, this._y, true) && (falling)) {
jump = 12;
jumping = true;
jump_count = jump_count + 1;
_root.jump_count_counter.text++;
falling = false;
play_sound = new Sound();
play_sound.attachSound("booster_sound");
play_sound.start(0, 1);
}
if (jump_count == jump_count_level) {
dead = true;
}
if (Key.isDown(49)) {
selectedweapon = 1;
} else if (Key.isDown(50)) {
selectedweapon = 2;
unloadMovie (_root.weapon1fire);
} else if (Key.isDown(51)) {
selectedweapon = 3;
unloadMovie (_root.weapon1fire);
}
if (((Key.isDown(17) && (gotweapon1 == true)) && (dir == "left")) && (selectedweapon == 1)) {
_root.attachMovie("weapon1", "weapon1fire", 1, {_x:_root.char._x - 20, _y:_root.char._y - 14});
} else if (((Key.isDown(17) && (gotweapon1 == true)) && (dir == "right")) && (selectedweapon == 1)) {
_root.attachMovie("weapon1", "weapon1fire", 1, {_x:_root.char._x + 20, _y:_root.char._y - 14});
} else {
unloadMovie (_root.weapon1fire);
}
if ((Key.isDown(17) && (gotweapon2 == true)) && (selectedweapon == 2)) {
firedirection = _root.char.dir;
_root.attachMovie("weapon2_bullet", "weapon2fire", 1, {_x:_root.char._x, _y:_root.char._y - 14});
with (_root.weapon2fire) {
onEnterFrame = function () {
if (_root.char.firedirection == "left") {
_root.weapon2fire._x = _root.weapon2fire._x - _root.char.weapon2_speed;
_root.weapon2fire._xscale = -100;
} else {
_root.weapon2fire._x = _root.weapon2fire._x + _root.char.weapon2_speed;
_root.weapon2fire._xscale = 100;
}
};
}
}
if (((Key.isDown(17) && (gotweapon3 == true)) && (dir == "left")) && (selectedweapon == 3)) {
_root.attachMovie("weapon3", "weapon3fire", 1, {_x:_root.char._x - 30, _y:_root.char._y - 40});
} else if (((Key.isDown(17) && (gotweapon3 == true)) && (dir == "right")) && (selectedweapon == 3)) {
_root.attachMovie("weapon3", "weapon3fire", 1, {_x:_root.char._x + 30, _y:_root.char._y - 40});
}
}
Instance of Symbol 223 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 50;
play_sound = new Sound();
play_sound.attachSound("item2_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 230 MovieClip in Frame 11
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
ass = 1;
}
onClipEvent (enterFrame) {
if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._x = this._x - enemyspeed;
} else if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._x = this._x + enemyspeed;
}
if (enemystepsleft == 150) {
enemydir = "right";
enemystepsleft = 0;
} else if (enemystepsright == 150) {
enemydir = "left";
enemystepsright = 0;
}
if (this.hitTest(_root.weapon1fire || (_root.weapon2fire))) {
_root.score = _root.score + 100;
play_sound = new Sound();
play_sound.attachSound("enemy1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
if (this.hitTest(_root.char)) {
_root.char.dead = true;
}
}
Instance of Symbol 18 MovieClip [weapon1] in Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.char.gotweapon1 = true;
play_sound = new Sound();
play_sound.attachSound("item_pickup");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 230 MovieClip in Frame 11
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
ass = 1;
}
onClipEvent (enterFrame) {
if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._x = this._x - enemyspeed;
} else if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._x = this._x + enemyspeed;
}
if (enemystepsleft == 25) {
enemydir = "right";
enemystepsleft = 0;
} else if (enemystepsright == 25) {
enemydir = "left";
enemystepsright = 0;
}
if (this.hitTest(_root.weapon1fire || (_root.weapon2fire))) {
_root.score = _root.score + 100;
play_sound = new Sound();
play_sound.attachSound("enemy1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
if (this.hitTest(_root.char)) {
_root.char.dead = true;
}
}
Frame 12
_root.begin_score = _root.score;
curLevel = 7;
curLevel_frame = 5 + curLevel;
curLevel_display.text = curLevel;
jump_count_counter.text = 0;
jump_count_level.text = 14 + _root.difficulty;
stop();
Instance of Symbol 230 MovieClip in Frame 12
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
ass = 1;
}
onClipEvent (enterFrame) {
if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._x = this._x - enemyspeed;
} else if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._x = this._x + enemyspeed;
}
if (enemystepsleft == 25) {
enemydir = "right";
enemystepsleft = 0;
} else if (enemystepsright == 25) {
enemydir = "left";
enemystepsright = 0;
}
if (this.hitTest(_root.weapon1fire || (_root.weapon2fire))) {
_root.score = _root.score + 100;
play_sound = new Sound();
play_sound.attachSound("enemy1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
if (this.hitTest(_root.char)) {
_root.char.dead = true;
}
}
Instance of Symbol 195 MovieClip "char" in Frame 12
onClipEvent (load) {
var start_level = true;
var playable = false;
var speed = 7;
var jumping = false;
var falling = false;
var jump = 0;
var jump_count = 0;
var jump_count_level = (14 + _root.difficulty);
var moveable = false;
var gotweapon1 = false;
var gotweapon2 = false;
var weapon2_speed = 5;
var dir = "right";
var selectedweapon = 0;
var dead = false;
}
onClipEvent (enterFrame) {
if (dead == true) {
_root.lives = _root.lives - 1;
unloadMovie (_root.weapon1fire);
unloadMovie (_root.weapon2fire);
unloadMovie (_root.weapon3fire);
_root.gotoAndPlay("dead");
}
if (Key.isDown(37) && (moveable == true)) {
if (this._x <= 15) {
} else {
_root.char._x = _root.char._x - speed;
dir = "left";
gotoAndStop(dir);
}
}
if (Key.isDown(39) && (moveable == true)) {
if (this._x >= 530) {
} else {
_root.char._x = _root.char._x + speed;
gotoAndStop ("right");
dir = "right";
}
}
if ((Key.isDown(32) && (!jumping)) && (start_level == true)) {
_root.start_point.gotoAndPlay("open");
jumping = true;
moveable = true;
playable = true;
start_level = false;
}
if (jumping) {
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
falling = true;
}
}
if ((_root.ground.hitTest(this._x, this._y, true) && (falling)) || (_root.weapon3fire.weapon3fire_hit.hitTest(this._x, this._y, true) && (falling))) {
jump = 8;
jumping = true;
jump_count = jump_count + 1;
_root.jump_count_counter.text++;
falling = false;
play_sound = new Sound();
play_sound.attachSound("jump_sound");
play_sound.start(0, 1);
}
if (_root.booster.hitTest(this._x, this._y, true) && (falling)) {
jump = 12;
jumping = true;
jump_count = jump_count + 1;
_root.jump_count_counter.text++;
falling = false;
play_sound = new Sound();
play_sound.attachSound("booster_sound");
play_sound.start(0, 1);
}
if (jump_count == jump_count_level) {
dead = true;
}
if (Key.isDown(49)) {
selectedweapon = 1;
} else if (Key.isDown(50)) {
selectedweapon = 2;
unloadMovie (_root.weapon1fire);
} else if (Key.isDown(51)) {
selectedweapon = 3;
unloadMovie (_root.weapon1fire);
}
if (((Key.isDown(17) && (gotweapon1 == true)) && (dir == "left")) && (selectedweapon == 1)) {
_root.attachMovie("weapon1", "weapon1fire", 1, {_x:_root.char._x - 20, _y:_root.char._y - 14});
} else if (((Key.isDown(17) && (gotweapon1 == true)) && (dir == "right")) && (selectedweapon == 1)) {
_root.attachMovie("weapon1", "weapon1fire", 1, {_x:_root.char._x + 20, _y:_root.char._y - 14});
} else {
unloadMovie (_root.weapon1fire);
}
if ((Key.isDown(17) && (gotweapon2 == true)) && (selectedweapon == 2)) {
firedirection = _root.char.dir;
_root.attachMovie("weapon2_bullet", "weapon2fire", 1, {_x:_root.char._x, _y:_root.char._y - 14});
with (_root.weapon2fire) {
onEnterFrame = function () {
if (_root.char.firedirection == "left") {
_root.weapon2fire._x = _root.weapon2fire._x - _root.char.weapon2_speed;
_root.weapon2fire._xscale = -100;
} else {
_root.weapon2fire._x = _root.weapon2fire._x + _root.char.weapon2_speed;
_root.weapon2fire._xscale = 100;
}
};
}
}
if (((Key.isDown(17) && (gotweapon3 == true)) && (dir == "left")) && (selectedweapon == 3)) {
_root.attachMovie("weapon3", "weapon3fire", 1, {_x:_root.char._x - 30, _y:_root.char._y - 40});
} else if (((Key.isDown(17) && (gotweapon3 == true)) && (dir == "right")) && (selectedweapon == 3)) {
_root.attachMovie("weapon3", "weapon3fire", 1, {_x:_root.char._x + 30, _y:_root.char._y - 40});
}
}
Instance of Symbol 15 MovieClip [weapon3] in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.char.gotweapon3 = true;
unloadMovie (this);
}
}
Frame 13
_root.begin_score = _root.score;
curLevel = 8;
curLevel_frame = 5 + curLevel;
curLevel_display.text = curLevel;
jump_count_counter.text = 0;
jump_count_level.text = 13 + _root.difficulty;
stop();
Instance of Symbol 195 MovieClip "char" in Frame 13
onClipEvent (load) {
var start_level = true;
var playable = false;
var speed = 7;
var jumping = false;
var falling = false;
var jump = 0;
var jump_count = 0;
var jump_count_level = (13 + _root.difficulty);
var moveable = false;
var gotweapon1 = false;
var gotweapon2 = false;
var weapon2_speed = 5;
var dir = "right";
var selectedweapon = 0;
var dead = false;
}
onClipEvent (enterFrame) {
if (dead == true) {
_root.lives = _root.lives - 1;
unloadMovie (_root.weapon1fire);
unloadMovie (_root.weapon2fire);
unloadMovie (_root.weapon3fire);
_root.gotoAndPlay("dead");
}
if (Key.isDown(37) && (moveable == true)) {
if (this._x <= 15) {
} else {
_root.char._x = _root.char._x - speed;
dir = "left";
gotoAndStop(dir);
}
}
if (Key.isDown(39) && (moveable == true)) {
if (this._x >= 530) {
} else {
_root.char._x = _root.char._x + speed;
gotoAndStop ("right");
dir = "right";
}
}
if ((Key.isDown(32) && (!jumping)) && (start_level == true)) {
_root.start_point.gotoAndPlay("open");
jumping = true;
moveable = true;
playable = true;
start_level = false;
}
if (jumping) {
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
falling = true;
}
}
if ((_root.ground.hitTest(this._x, this._y, true) && (falling)) || (_root.weapon3fire.weapon3fire_hit.hitTest(this._x, this._y, true) && (falling))) {
jump = 8;
jumping = true;
jump_count = jump_count + 1;
_root.jump_count_counter.text++;
falling = false;
play_sound = new Sound();
play_sound.attachSound("jump_sound");
play_sound.start(0, 1);
}
if (_root.booster.hitTest(this._x, this._y, true) && (falling)) {
jump = 12;
jumping = true;
jump_count = jump_count + 1;
_root.jump_count_counter.text++;
falling = false;
play_sound = new Sound();
play_sound.attachSound("booster_sound");
play_sound.start(0, 1);
}
if (jump_count == jump_count_level) {
dead = true;
}
if (Key.isDown(49)) {
selectedweapon = 1;
} else if (Key.isDown(50)) {
selectedweapon = 2;
unloadMovie (_root.weapon1fire);
} else if (Key.isDown(51)) {
selectedweapon = 3;
unloadMovie (_root.weapon1fire);
}
if (((Key.isDown(17) && (gotweapon1 == true)) && (dir == "left")) && (selectedweapon == 1)) {
_root.attachMovie("weapon1", "weapon1fire", 1, {_x:_root.char._x - 20, _y:_root.char._y - 14});
} else if (((Key.isDown(17) && (gotweapon1 == true)) && (dir == "right")) && (selectedweapon == 1)) {
_root.attachMovie("weapon1", "weapon1fire", 1, {_x:_root.char._x + 20, _y:_root.char._y - 14});
} else {
unloadMovie (_root.weapon1fire);
}
if ((Key.isDown(17) && (gotweapon2 == true)) && (selectedweapon == 2)) {
firedirection = _root.char.dir;
_root.attachMovie("weapon2_bullet", "weapon2fire", 1, {_x:_root.char._x, _y:_root.char._y - 14});
with (_root.weapon2fire) {
onEnterFrame = function () {
if (_root.char.firedirection == "left") {
_root.weapon2fire._x = _root.weapon2fire._x - _root.char.weapon2_speed;
_root.weapon2fire._xscale = -100;
} else {
_root.weapon2fire._x = _root.weapon2fire._x + _root.char.weapon2_speed;
_root.weapon2fire._xscale = 100;
}
};
}
}
if (((Key.isDown(17) && (gotweapon3 == true)) && (dir == "left")) && (selectedweapon == 3)) {
_root.attachMovie("weapon3", "weapon3fire", 1, {_x:_root.char._x - 30, _y:_root.char._y - 40});
} else if (((Key.isDown(17) && (gotweapon3 == true)) && (dir == "right")) && (selectedweapon == 3)) {
_root.attachMovie("weapon3", "weapon3fire", 1, {_x:_root.char._x + 30, _y:_root.char._y - 40});
}
}
Instance of Symbol 15 MovieClip [weapon3] in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.char.gotweapon3 = true;
unloadMovie (this);
}
}
Instance of Symbol 230 MovieClip in Frame 13
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
ass = 1;
}
onClipEvent (enterFrame) {
if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._x = this._x - enemyspeed;
} else if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._x = this._x + enemyspeed;
}
if (enemystepsleft == 100) {
enemydir = "right";
enemystepsleft = 0;
} else if (enemystepsright == 100) {
enemydir = "left";
enemystepsright = 0;
}
if (this.hitTest(_root.weapon1fire || (_root.weapon2fire))) {
_root.score = _root.score + 100;
play_sound = new Sound();
play_sound.attachSound("enemy1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
if (this.hitTest(_root.char)) {
_root.char.dead = true;
}
}
Instance of Symbol 183 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Frame 14
_root.begin_score = _root.score;
curLevel = 9;
curLevel_frame = 5 + curLevel;
curLevel_display.text = curLevel;
jump_count_counter.text = 0;
jump_count_level.text = 17 + _root.difficulty;
stop();
Instance of Symbol 195 MovieClip "char" in Frame 14
onClipEvent (load) {
var start_level = true;
var playable = false;
var speed = 7;
var jumping = false;
var falling = false;
var jump = 0;
var jump_count = 0;
var jump_count_level = (17 + _root.difficulty);
var moveable = false;
var gotweapon1 = false;
var gotweapon2 = false;
var weapon2_speed = 5;
var dir = "right";
var selectedweapon = 0;
var dead = false;
}
onClipEvent (enterFrame) {
if (dead == true) {
_root.lives = _root.lives - 1;
unloadMovie (_root.weapon1fire);
unloadMovie (_root.weapon2fire);
unloadMovie (_root.weapon3fire);
_root.gotoAndPlay("dead");
}
if (Key.isDown(37) && (moveable == true)) {
if (this._x <= 15) {
} else {
_root.char._x = _root.char._x - speed;
dir = "left";
gotoAndStop(dir);
}
}
if (Key.isDown(39) && (moveable == true)) {
if (this._x >= 530) {
} else {
_root.char._x = _root.char._x + speed;
gotoAndStop ("right");
dir = "right";
}
}
if ((Key.isDown(32) && (!jumping)) && (start_level == true)) {
_root.start_point.gotoAndPlay("open");
jumping = true;
moveable = true;
playable = true;
start_level = false;
}
if (jumping) {
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
falling = true;
}
}
if ((_root.ground.hitTest(this._x, this._y, true) && (falling)) || (_root.weapon3fire.weapon3fire_hit.hitTest(this._x, this._y, true) && (falling))) {
jump = 8;
jumping = true;
jump_count = jump_count + 1;
_root.jump_count_counter.text++;
falling = false;
play_sound = new Sound();
play_sound.attachSound("jump_sound");
play_sound.start(0, 1);
}
if (_root.booster.hitTest(this._x, this._y, true) && (falling)) {
jump = 12;
jumping = true;
jump_count = jump_count + 1;
_root.jump_count_counter.text++;
falling = false;
play_sound = new Sound();
play_sound.attachSound("booster_sound");
play_sound.start(0, 1);
}
if (jump_count == jump_count_level) {
dead = true;
}
if (Key.isDown(49)) {
selectedweapon = 1;
} else if (Key.isDown(50)) {
selectedweapon = 2;
unloadMovie (_root.weapon1fire);
} else if (Key.isDown(51)) {
selectedweapon = 3;
unloadMovie (_root.weapon1fire);
}
if (((Key.isDown(17) && (gotweapon1 == true)) && (dir == "left")) && (selectedweapon == 1)) {
_root.attachMovie("weapon1", "weapon1fire", 1, {_x:_root.char._x - 20, _y:_root.char._y - 14});
} else if (((Key.isDown(17) && (gotweapon1 == true)) && (dir == "right")) && (selectedweapon == 1)) {
_root.attachMovie("weapon1", "weapon1fire", 1, {_x:_root.char._x + 20, _y:_root.char._y - 14});
} else {
unloadMovie (_root.weapon1fire);
}
if ((Key.isDown(17) && (gotweapon2 == true)) && (selectedweapon == 2)) {
firedirection = _root.char.dir;
_root.attachMovie("weapon2_bullet", "weapon2fire", 1, {_x:_root.char._x, _y:_root.char._y - 14});
with (_root.weapon2fire) {
onEnterFrame = function () {
if (_root.char.firedirection == "left") {
_root.weapon2fire._x = _root.weapon2fire._x - _root.char.weapon2_speed;
_root.weapon2fire._xscale = -100;
} else {
_root.weapon2fire._x = _root.weapon2fire._x + _root.char.weapon2_speed;
_root.weapon2fire._xscale = 100;
}
};
}
}
if (((Key.isDown(17) && (gotweapon3 == true)) && (dir == "left")) && (selectedweapon == 3)) {
_root.attachMovie("weapon3", "weapon3fire", 1, {_x:_root.char._x - 30, _y:_root.char._y - 40});
} else if (((Key.isDown(17) && (gotweapon3 == true)) && (dir == "right")) && (selectedweapon == 3)) {
_root.attachMovie("weapon3", "weapon3fire", 1, {_x:_root.char._x + 30, _y:_root.char._y - 40});
}
}
Instance of Symbol 18 MovieClip [weapon1] in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.char.gotweapon1 = true;
play_sound = new Sound();
play_sound.attachSound("item_pickup");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 223 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 50;
play_sound = new Sound();
play_sound.attachSound("item2_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 230 MovieClip in Frame 14
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
ass = 1;
}
onClipEvent (enterFrame) {
if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._x = this._x - enemyspeed;
} else if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._x = this._x + enemyspeed;
}
if (enemystepsleft == 25) {
enemydir = "right";
enemystepsleft = 0;
} else if (enemystepsright == 25) {
enemydir = "left";
enemystepsright = 0;
}
if (this.hitTest(_root.weapon1fire || (_root.weapon2fire))) {
_root.score = _root.score + 100;
play_sound = new Sound();
play_sound.attachSound("enemy1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
if (this.hitTest(_root.char)) {
_root.char.dead = true;
}
}
Instance of Symbol 230 MovieClip in Frame 14
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
ass = 1;
}
onClipEvent (enterFrame) {
if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._x = this._x - enemyspeed;
} else if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._x = this._x + enemyspeed;
}
if (enemystepsleft == 5) {
enemydir = "right";
enemystepsleft = 0;
} else if (enemystepsright == 5) {
enemydir = "left";
enemystepsright = 0;
}
if (this.hitTest(_root.weapon1fire || (_root.weapon2fire))) {
_root.score = _root.score + 100;
play_sound = new Sound();
play_sound.attachSound("enemy1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
if (this.hitTest(_root.char)) {
_root.char.dead = true;
}
}
Instance of Symbol 230 MovieClip in Frame 14
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
ass = 1;
}
onClipEvent (enterFrame) {
if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._x = this._x - enemyspeed;
} else if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._x = this._x + enemyspeed;
}
if (enemystepsleft == 25) {
enemydir = "right";
enemystepsleft = 0;
} else if (enemystepsright == 25) {
enemydir = "left";
enemystepsright = 0;
}
if (this.hitTest(_root.weapon1fire || (_root.weapon2fire))) {
_root.score = _root.score + 100;
play_sound = new Sound();
play_sound.attachSound("enemy1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
if (this.hitTest(_root.char)) {
_root.char.dead = true;
}
}
Instance of Symbol 230 MovieClip in Frame 14
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
ass = 1;
}
onClipEvent (enterFrame) {
if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._x = this._x - enemyspeed;
} else if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._x = this._x + enemyspeed;
}
if (enemystepsleft == 25) {
enemydir = "right";
enemystepsleft = 0;
} else if (enemystepsright == 25) {
enemydir = "left";
enemystepsright = 0;
}
if (this.hitTest(_root.weapon1fire || (_root.weapon2fire))) {
_root.score = _root.score + 100;
play_sound = new Sound();
play_sound.attachSound("enemy1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
if (this.hitTest(_root.char)) {
_root.char.dead = true;
}
}
Instance of Symbol 230 MovieClip in Frame 14
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
ass = 1;
}
onClipEvent (enterFrame) {
if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._x = this._x - enemyspeed;
} else if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._x = this._x + enemyspeed;
}
if (enemystepsleft == 5) {
enemydir = "right";
enemystepsleft = 0;
} else if (enemystepsright == 5) {
enemydir = "left";
enemystepsright = 0;
}
if (this.hitTest(_root.weapon1fire || (_root.weapon2fire))) {
_root.score = _root.score + 100;
play_sound = new Sound();
play_sound.attachSound("enemy1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
if (this.hitTest(_root.char)) {
_root.char.dead = true;
}
}
Frame 15
_root.begin_score = _root.score;
curLevel = 10;
curLevel_frame = 5 + curLevel;
curLevel_display.text = curLevel;
jump_count_counter.text = 0;
jump_count_level.text = 13 + _root.difficulty;
stop();
Instance of Symbol 195 MovieClip "char" in Frame 15
onClipEvent (load) {
var start_level = true;
var playable = false;
var speed = 7;
var jumping = false;
var falling = false;
var jump = 0;
var jump_count = 0;
var jump_count_level = (13 + _root.difficulty);
var moveable = false;
var gotweapon1 = false;
var gotweapon2 = false;
var weapon2_speed = 5;
var dir = "right";
var selectedweapon = 0;
var dead = false;
}
onClipEvent (enterFrame) {
if (dead == true) {
_root.lives = _root.lives - 1;
unloadMovie (_root.weapon1fire);
unloadMovie (_root.weapon2fire);
unloadMovie (_root.weapon3fire);
_root.gotoAndPlay("dead");
}
if (Key.isDown(37) && (moveable == true)) {
if (this._x <= 15) {
} else {
_root.char._x = _root.char._x - speed;
dir = "left";
gotoAndStop(dir);
}
}
if (Key.isDown(39) && (moveable == true)) {
if (this._x >= 530) {
} else {
_root.char._x = _root.char._x + speed;
gotoAndStop ("right");
dir = "right";
}
}
if ((Key.isDown(32) && (!jumping)) && (start_level == true)) {
_root.start_point.gotoAndPlay("open");
jumping = true;
moveable = true;
playable = true;
start_level = false;
}
if (jumping) {
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
falling = true;
}
}
if ((_root.ground.hitTest(this._x, this._y, true) && (falling)) || (_root.weapon3fire.weapon3fire_hit.hitTest(this._x, this._y, true) && (falling))) {
jump = 8;
jumping = true;
jump_count = jump_count + 1;
_root.jump_count_counter.text++;
falling = false;
play_sound = new Sound();
play_sound.attachSound("jump_sound");
play_sound.start(0, 1);
}
if (_root.booster.hitTest(this._x, this._y, true) && (falling)) {
jump = 12;
jumping = true;
jump_count = jump_count + 1;
_root.jump_count_counter.text++;
falling = false;
play_sound = new Sound();
play_sound.attachSound("booster_sound");
play_sound.start(0, 1);
}
if (jump_count == jump_count_level) {
dead = true;
}
if (Key.isDown(49)) {
selectedweapon = 1;
} else if (Key.isDown(50)) {
selectedweapon = 2;
unloadMovie (_root.weapon1fire);
} else if (Key.isDown(51)) {
selectedweapon = 3;
unloadMovie (_root.weapon1fire);
}
if (((Key.isDown(17) && (gotweapon1 == true)) && (dir == "left")) && (selectedweapon == 1)) {
_root.attachMovie("weapon1", "weapon1fire", 1, {_x:_root.char._x - 20, _y:_root.char._y - 14});
} else if (((Key.isDown(17) && (gotweapon1 == true)) && (dir == "right")) && (selectedweapon == 1)) {
_root.attachMovie("weapon1", "weapon1fire", 1, {_x:_root.char._x + 20, _y:_root.char._y - 14});
} else {
unloadMovie (_root.weapon1fire);
}
if ((Key.isDown(17) && (gotweapon2 == true)) && (selectedweapon == 2)) {
firedirection = _root.char.dir;
_root.attachMovie("weapon2_bullet", "weapon2fire", 1, {_x:_root.char._x, _y:_root.char._y - 14});
with (_root.weapon2fire) {
onEnterFrame = function () {
if (_root.char.firedirection == "left") {
_root.weapon2fire._x = _root.weapon2fire._x - _root.char.weapon2_speed;
_root.weapon2fire._xscale = -100;
} else {
_root.weapon2fire._x = _root.weapon2fire._x + _root.char.weapon2_speed;
_root.weapon2fire._xscale = 100;
}
};
}
}
if (((Key.isDown(17) && (gotweapon3 == true)) && (dir == "left")) && (selectedweapon == 3)) {
_root.attachMovie("weapon3", "weapon3fire", 1, {_x:_root.char._x - 30, _y:_root.char._y - 40});
} else if (((Key.isDown(17) && (gotweapon3 == true)) && (dir == "right")) && (selectedweapon == 3)) {
_root.attachMovie("weapon3", "weapon3fire", 1, {_x:_root.char._x + 30, _y:_root.char._y - 40});
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Frame 16
_root.begin_score = _root.score;
curLevel = 11;
curLevel_frame = 5 + curLevel;
curLevel_display.text = curLevel;
jump_count_counter.text = 0;
jump_count_level.text = 12 + _root.difficulty;
stop();
Instance of Symbol 195 MovieClip "char" in Frame 16
onClipEvent (load) {
var start_level = true;
var playable = false;
var speed = 7;
var jumping = false;
var falling = false;
var jump = 0;
var jump_count = 0;
var jump_count_level = (12 + _root.difficulty);
var moveable = false;
var gotweapon1 = false;
var gotweapon2 = false;
var weapon2_speed = 5;
var dir = "right";
var selectedweapon = 0;
var dead = false;
}
onClipEvent (enterFrame) {
if (dead == true) {
_root.lives = _root.lives - 1;
unloadMovie (_root.weapon1fire);
unloadMovie (_root.weapon2fire);
unloadMovie (_root.weapon3fire);
_root.gotoAndPlay("dead");
}
if (Key.isDown(37) && (moveable == true)) {
if (this._x <= 15) {
} else {
_root.char._x = _root.char._x - speed;
dir = "left";
gotoAndStop(dir);
}
}
if (Key.isDown(39) && (moveable == true)) {
if (this._x >= 530) {
} else {
_root.char._x = _root.char._x + speed;
gotoAndStop ("right");
dir = "right";
}
}
if ((Key.isDown(32) && (!jumping)) && (start_level == true)) {
_root.start_point.gotoAndPlay("open");
jumping = true;
moveable = true;
playable = true;
start_level = false;
}
if (jumping) {
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
falling = true;
}
}
if ((_root.ground.hitTest(this._x, this._y, true) && (falling)) || (_root.weapon3fire.hitTest(this._x, this._y, true) && (falling))) {
jump = 8;
jumping = true;
jump_count = jump_count + 1;
_root.jump_count_counter.text++;
falling = false;
play_sound = new Sound();
play_sound.attachSound("jump_sound");
play_sound.start(0, 1);
}
if (_root.booster.hitTest(this._x, this._y, true) && (falling)) {
jump = 12;
jumping = true;
jump_count = jump_count + 1;
_root.jump_count_counter.text++;
falling = false;
play_sound = new Sound();
play_sound.attachSound("booster_sound");
play_sound.start(0, 1);
}
if (jump_count == jump_count_level) {
dead = true;
}
if (Key.isDown(49)) {
selectedweapon = 1;
} else if (Key.isDown(50)) {
selectedweapon = 2;
unloadMovie (_root.weapon1fire);
} else if (Key.isDown(51)) {
selectedweapon = 3;
unloadMovie (_root.weapon1fire);
}
if (((Key.isDown(17) && (gotweapon1 == true)) && (dir == "left")) && (selectedweapon == 1)) {
_root.attachMovie("weapon1", "weapon1fire", 1, {_x:_root.char._x - 20, _y:_root.char._y - 14});
} else if (((Key.isDown(17) && (gotweapon1 == true)) && (dir == "right")) && (selectedweapon == 1)) {
_root.attachMovie("weapon1", "weapon1fire", 1, {_x:_root.char._x + 20, _y:_root.char._y - 14});
} else {
unloadMovie (_root.weapon1fire);
}
if ((Key.isDown(17) && (gotweapon2 == true)) && (selectedweapon == 2)) {
firedirection = _root.char.dir;
_root.attachMovie("weapon2_bullet", "weapon2fire", 1, {_x:_root.char._x, _y:_root.char._y - 14});
with (_root.weapon2fire) {
onEnterFrame = function () {
if (_root.char.firedirection == "left") {
_root.weapon2fire._x = _root.weapon2fire._x - _root.char.weapon2_speed;
_root.weapon2fire._xscale = -100;
} else {
_root.weapon2fire._x = _root.weapon2fire._x + _root.char.weapon2_speed;
_root.weapon2fire._xscale = 100;
}
};
}
}
if (((Key.isDown(17) && (gotweapon3 == true)) && (dir == "left")) && (selectedweapon == 3)) {
_root.attachMovie("weapon3", "weapon3fire", 1, {_x:_root.char._x - 30, _y:_root.char._y - 40});
} else if (((Key.isDown(17) && (gotweapon3 == true)) && (dir == "right")) && (selectedweapon == 3)) {
_root.attachMovie("weapon3", "weapon3fire", 1, {_x:_root.char._x + 30, _y:_root.char._y - 40});
}
}
Instance of Symbol 230 MovieClip in Frame 16
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
ass = 1;
}
onClipEvent (enterFrame) {
if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._x = this._x - enemyspeed;
} else if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._x = this._x + enemyspeed;
}
if (enemystepsleft == 25) {
enemydir = "right";
enemystepsleft = 0;
} else if (enemystepsright == 25) {
enemydir = "left";
enemystepsright = 0;
}
if (this.hitTest(_root.weapon1fire || (_root.weapon2fire))) {
_root.score = _root.score + 100;
play_sound = new Sound();
play_sound.attachSound("enemy1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
if (this.hitTest(_root.char)) {
_root.char.dead = true;
}
}
Instance of Symbol 263 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.char.gotweapon2 = true;
play_sound = new Sound();
play_sound.attachSound("item_pickup");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 230 MovieClip in Frame 16
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
ass = 1;
}
onClipEvent (enterFrame) {
if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._x = this._x - enemyspeed;
} else if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._x = this._x + enemyspeed;
}
if (enemystepsleft == 30) {
enemydir = "right";
enemystepsleft = 0;
} else if (enemystepsright == 30) {
enemydir = "left";
enemystepsright = 0;
}
if (this.hitTest(_root.weapon1fire || (_root.weapon2fire))) {
_root.score = _root.score + 100;
play_sound = new Sound();
play_sound.attachSound("enemy1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
if (this.hitTest(_root.char)) {
_root.char.dead = true;
}
}
Instance of Symbol 266 MovieClip "lava" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.char.dead = true;
}
}
Frame 17
_root.begin_score = _root.score;
curLevel = 12;
curLevel_frame = 5 + curLevel;
curLevel_display.text = curLevel;
jump_count_counter.text = 0;
jump_count_level.text = 10 + _root.difficulty;
stop();
Instance of Symbol 195 MovieClip "char" in Frame 17
onClipEvent (load) {
var start_level = true;
var playable = false;
var speed = 7;
var jumping = false;
var falling = false;
var jump = 0;
var jump_count = 0;
var jump_count_level = (10 + _root.difficulty);
var moveable = false;
var gotweapon1 = false;
var gotweapon2 = false;
var weapon2_speed = 5;
var dir = "right";
var selectedweapon = 0;
var dead = false;
}
onClipEvent (enterFrame) {
if (dead == true) {
_root.lives = _root.lives - 1;
unloadMovie (_root.weapon1fire);
unloadMovie (_root.weapon2fire);
unloadMovie (_root.weapon3fire);
_root.gotoAndPlay("dead");
}
if (Key.isDown(37) && (moveable == true)) {
if (this._x <= 15) {
} else {
_root.char._x = _root.char._x - speed;
dir = "left";
gotoAndStop(dir);
}
}
if (Key.isDown(39) && (moveable == true)) {
if (this._x >= 530) {
} else {
_root.char._x = _root.char._x + speed;
gotoAndStop ("right");
dir = "right";
}
}
if ((Key.isDown(32) && (!jumping)) && (start_level == true)) {
_root.start_point.gotoAndPlay("open");
jumping = true;
moveable = true;
playable = true;
start_level = false;
}
if (jumping) {
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
falling = true;
}
}
if ((_root.ground.hitTest(this._x, this._y, true) && (falling)) || (_root.weapon3fire.hitTest(this._x, this._y, true) && (falling))) {
jump = 8;
jumping = true;
jump_count = jump_count + 1;
_root.jump_count_counter.text++;
falling = false;
play_sound = new Sound();
play_sound.attachSound("jump_sound");
play_sound.start(0, 1);
}
if (_root.booster.hitTest(this._x, this._y, true) && (falling)) {
jump = 12;
jumping = true;
jump_count = jump_count + 1;
_root.jump_count_counter.text++;
falling = false;
play_sound = new Sound();
play_sound.attachSound("booster_sound");
play_sound.start(0, 1);
}
if (jump_count == jump_count_level) {
dead = true;
}
if (Key.isDown(49)) {
selectedweapon = 1;
} else if (Key.isDown(50)) {
selectedweapon = 2;
unloadMovie (_root.weapon1fire);
} else if (Key.isDown(51)) {
selectedweapon = 3;
unloadMovie (_root.weapon1fire);
}
if (((Key.isDown(17) && (gotweapon1 == true)) && (dir == "left")) && (selectedweapon == 1)) {
_root.attachMovie("weapon1", "weapon1fire", 1, {_x:_root.char._x - 20, _y:_root.char._y - 14});
} else if (((Key.isDown(17) && (gotweapon1 == true)) && (dir == "right")) && (selectedweapon == 1)) {
_root.attachMovie("weapon1", "weapon1fire", 1, {_x:_root.char._x + 20, _y:_root.char._y - 14});
} else {
unloadMovie (_root.weapon1fire);
}
if ((Key.isDown(17) && (gotweapon2 == true)) && (selectedweapon == 2)) {
firedirection = _root.char.dir;
_root.attachMovie("weapon2_bullet", "weapon2fire", 1, {_x:_root.char._x, _y:_root.char._y - 14});
with (_root.weapon2fire) {
onEnterFrame = function () {
if (_root.char.firedirection == "left") {
_root.weapon2fire._x = _root.weapon2fire._x - _root.char.weapon2_speed;
_root.weapon2fire._xscale = -100;
} else {
_root.weapon2fire._x = _root.weapon2fire._x + _root.char.weapon2_speed;
_root.weapon2fire._xscale = 100;
}
};
}
}
if (((Key.isDown(17) && (gotweapon3 == true)) && (dir == "left")) && (selectedweapon == 3)) {
_root.attachMovie("weapon3", "weapon3fire", 1, {_x:_root.char._x - 30, _y:_root.char._y - 40});
} else if (((Key.isDown(17) && (gotweapon3 == true)) && (dir == "right")) && (selectedweapon == 3)) {
_root.attachMovie("weapon3", "weapon3fire", 1, {_x:_root.char._x + 30, _y:_root.char._y - 40});
}
}
Instance of Symbol 223 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 50;
play_sound = new Sound();
play_sound.attachSound("item2_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 263 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.char.gotweapon2 = true;
play_sound = new Sound();
play_sound.attachSound("item_pickup");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 266 MovieClip "lava" in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.char.dead = true;
}
}
Instance of Symbol 230 MovieClip in Frame 17
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
ass = 1;
}
onClipEvent (enterFrame) {
if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._x = this._x - enemyspeed;
} else if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._x = this._x + enemyspeed;
}
if (enemystepsleft == 10) {
enemydir = "right";
enemystepsleft = 0;
} else if (enemystepsright == 10) {
enemydir = "left";
enemystepsright = 0;
}
if (this.hitTest(_root.weapon1fire || (_root.weapon2fire))) {
_root.score = _root.score + 100;
play_sound = new Sound();
play_sound.attachSound("enemy1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
if (this.hitTest(_root.char)) {
_root.char.dead = true;
}
}
Instance of Symbol 230 MovieClip in Frame 17
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
ass = 1;
}
onClipEvent (enterFrame) {
if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._x = this._x - enemyspeed;
} else if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._x = this._x + enemyspeed;
}
if (enemystepsleft == 10) {
enemydir = "right";
enemystepsleft = 0;
} else if (enemystepsright == 10) {
enemydir = "left";
enemystepsright = 0;
}
if (this.hitTest(_root.weapon1fire || (_root.weapon2fire))) {
_root.score = _root.score + 100;
play_sound = new Sound();
play_sound.attachSound("enemy1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
if (this.hitTest(_root.char)) {
_root.char.dead = true;
}
}
Instance of Symbol 183 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Frame 18
_root.begin_score = _root.score;
curLevel = 13;
curLevel_frame = 5 + curLevel;
curLevel_display.text = curLevel;
jump_count_counter.text = 0;
jump_count_level.text = 7 + _root.difficulty;
stop();
Instance of Symbol 195 MovieClip "char" in Frame 18
onClipEvent (load) {
var start_level = true;
var playable = false;
var speed = 7;
var jumping = false;
var falling = false;
var jump = 0;
var jump_count = 0;
var jump_count_level = (7 + _root.difficulty);
var moveable = false;
var gotweapon1 = false;
var gotweapon2 = false;
var weapon2_speed = 5;
var dir = "right";
var selectedweapon = 0;
var dead = false;
}
onClipEvent (enterFrame) {
if (dead == true) {
_root.lives = _root.lives - 1;
unloadMovie (_root.weapon1fire);
unloadMovie (_root.weapon2fire);
unloadMovie (_root.weapon3fire);
_root.gotoAndPlay("dead");
}
if (Key.isDown(37) && (moveable == true)) {
if (this._x <= 15) {
} else {
_root.char._x = _root.char._x - speed;
dir = "left";
gotoAndStop(dir);
}
}
if (Key.isDown(39) && (moveable == true)) {
if (this._x >= 530) {
} else {
_root.char._x = _root.char._x + speed;
gotoAndStop ("right");
dir = "right";
}
}
if ((Key.isDown(32) && (!jumping)) && (start_level == true)) {
_root.start_point.gotoAndPlay("open");
jumping = true;
moveable = true;
playable = true;
start_level = false;
}
if (jumping) {
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
falling = true;
}
}
if ((_root.ground.hitTest(this._x, this._y, true) && (falling)) || (_root.weapon3fire.hitTest(this._x, this._y, true) && (falling))) {
jump = 8;
jumping = true;
jump_count = jump_count + 1;
_root.jump_count_counter.text++;
falling = false;
play_sound = new Sound();
play_sound.attachSound("jump_sound");
play_sound.start(0, 1);
}
if (_root.booster.hitTest(this._x, this._y, true) && (falling)) {
jump = 12;
jumping = true;
jump_count = jump_count + 1;
_root.jump_count_counter.text++;
falling = false;
play_sound = new Sound();
play_sound.attachSound("booster_sound");
play_sound.start(0, 1);
}
if (jump_count == jump_count_level) {
dead = true;
}
if (Key.isDown(49)) {
selectedweapon = 1;
} else if (Key.isDown(50)) {
selectedweapon = 2;
unloadMovie (_root.weapon1fire);
} else if (Key.isDown(51)) {
selectedweapon = 3;
unloadMovie (_root.weapon1fire);
}
if (((Key.isDown(17) && (gotweapon1 == true)) && (dir == "left")) && (selectedweapon == 1)) {
_root.attachMovie("weapon1", "weapon1fire", 1, {_x:_root.char._x - 20, _y:_root.char._y - 14});
} else if (((Key.isDown(17) && (gotweapon1 == true)) && (dir == "right")) && (selectedweapon == 1)) {
_root.attachMovie("weapon1", "weapon1fire", 1, {_x:_root.char._x + 20, _y:_root.char._y - 14});
} else {
unloadMovie (_root.weapon1fire);
}
if ((Key.isDown(17) && (gotweapon2 == true)) && (selectedweapon == 2)) {
firedirection = _root.char.dir;
_root.attachMovie("weapon2_bullet", "weapon2fire", 1, {_x:_root.char._x, _y:_root.char._y - 14});
with (_root.weapon2fire) {
onEnterFrame = function () {
if (_root.char.firedirection == "left") {
_root.weapon2fire._x = _root.weapon2fire._x - _root.char.weapon2_speed;
_root.weapon2fire._xscale = -100;
} else {
_root.weapon2fire._x = _root.weapon2fire._x + _root.char.weapon2_speed;
_root.weapon2fire._xscale = 100;
}
};
}
}
if (((Key.isDown(17) && (gotweapon3 == true)) && (dir == "left")) && (selectedweapon == 3)) {
_root.attachMovie("weapon3", "weapon3fire", 1, {_x:_root.char._x - 30, _y:_root.char._y - 40});
} else if (((Key.isDown(17) && (gotweapon3 == true)) && (dir == "right")) && (selectedweapon == 3)) {
_root.attachMovie("weapon3", "weapon3fire", 1, {_x:_root.char._x + 30, _y:_root.char._y - 40});
}
}
Instance of Symbol 266 MovieClip "lava" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.char.dead = true;
}
}
Instance of Symbol 263 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.char.gotweapon2 = true;
play_sound = new Sound();
play_sound.attachSound("item_pickup");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 230 MovieClip in Frame 18
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
ass = 1;
}
onClipEvent (enterFrame) {
if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._x = this._x - enemyspeed;
} else if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._x = this._x + enemyspeed;
}
if (enemystepsleft == 25) {
enemydir = "right";
enemystepsleft = 0;
} else if (enemystepsright == 25) {
enemydir = "left";
enemystepsright = 0;
}
if (this.hitTest(_root.weapon1fire || (_root.weapon2fire))) {
_root.score = _root.score + 100;
play_sound = new Sound();
play_sound.attachSound("enemy1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
if (this.hitTest(_root.char)) {
_root.char.dead = true;
}
}
Instance of Symbol 230 MovieClip in Frame 18
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
ass = 1;
}
onClipEvent (enterFrame) {
if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._x = this._x - enemyspeed;
} else if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._x = this._x + enemyspeed;
}
if (enemystepsleft == 25) {
enemydir = "right";
enemystepsleft = 0;
} else if (enemystepsright == 25) {
enemydir = "left";
enemystepsright = 0;
}
if (this.hitTest(_root.weapon1fire || (_root.weapon2fire))) {
_root.score = _root.score + 100;
play_sound = new Sound();
play_sound.attachSound("enemy1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
if (this.hitTest(_root.char)) {
_root.char.dead = true;
}
}
Instance of Symbol 183 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 223 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 50;
play_sound = new Sound();
play_sound.attachSound("item2_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Frame 19
_root.begin_score = _root.score;
curLevel = 14;
curLevel_frame = 5 + curLevel;
curLevel_display.text = curLevel;
jump_count_counter.text = 0;
jump_count_level.text = 15 + _root.difficulty;
stop();
Instance of Symbol 195 MovieClip "char" in Frame 19
onClipEvent (load) {
var start_level = true;
var playable = false;
var speed = 7;
var jumping = false;
var falling = false;
var jump = 0;
var jump_count = 0;
var jump_count_level = (15 + _root.difficulty);
var moveable = false;
var gotweapon1 = false;
var gotweapon2 = false;
var weapon2_speed = 5;
var dir = "right";
var selectedweapon = 0;
var dead = false;
}
onClipEvent (enterFrame) {
if (dead == true) {
_root.lives = _root.lives - 1;
unloadMovie (_root.weapon1fire);
unloadMovie (_root.weapon2fire);
unloadMovie (_root.weapon3fire);
_root.gotoAndPlay("dead");
}
if (Key.isDown(37) && (moveable == true)) {
if (this._x <= 15) {
} else {
_root.char._x = _root.char._x - speed;
dir = "left";
gotoAndStop(dir);
}
}
if (Key.isDown(39) && (moveable == true)) {
if (this._x >= 530) {
} else {
_root.char._x = _root.char._x + speed;
gotoAndStop ("right");
dir = "right";
}
}
if ((Key.isDown(32) && (!jumping)) && (start_level == true)) {
_root.start_point.gotoAndPlay("open");
jumping = true;
moveable = true;
playable = true;
start_level = false;
}
if (jumping) {
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
falling = true;
}
}
if ((_root.ground.hitTest(this._x, this._y, true) && (falling)) || (_root.weapon3fire.hitTest(this._x, this._y, true) && (falling))) {
jump = 8;
jumping = true;
jump_count = jump_count + 1;
_root.jump_count_counter.text++;
falling = false;
play_sound = new Sound();
play_sound.attachSound("jump_sound");
play_sound.start(0, 1);
}
if (_root.booster.hitTest(this._x, this._y, true) && (falling)) {
jump = 12;
jumping = true;
jump_count = jump_count + 1;
_root.jump_count_counter.text++;
falling = false;
play_sound = new Sound();
play_sound.attachSound("booster_sound");
play_sound.start(0, 1);
}
if (jump_count == jump_count_level) {
dead = true;
}
if (Key.isDown(49)) {
selectedweapon = 1;
} else if (Key.isDown(50)) {
selectedweapon = 2;
unloadMovie (_root.weapon1fire);
} else if (Key.isDown(51)) {
selectedweapon = 3;
unloadMovie (_root.weapon1fire);
}
if (((Key.isDown(17) && (gotweapon1 == true)) && (dir == "left")) && (selectedweapon == 1)) {
_root.attachMovie("weapon1", "weapon1fire", 1, {_x:_root.char._x - 20, _y:_root.char._y - 14});
} else if (((Key.isDown(17) && (gotweapon1 == true)) && (dir == "right")) && (selectedweapon == 1)) {
_root.attachMovie("weapon1", "weapon1fire", 1, {_x:_root.char._x + 20, _y:_root.char._y - 14});
} else {
unloadMovie (_root.weapon1fire);
}
if ((Key.isDown(17) && (gotweapon2 == true)) && (selectedweapon == 2)) {
firedirection = _root.char.dir;
_root.attachMovie("weapon2_bullet", "weapon2fire", 1, {_x:_root.char._x, _y:_root.char._y - 14});
with (_root.weapon2fire) {
onEnterFrame = function () {
if (_root.char.firedirection == "left") {
_root.weapon2fire._x = _root.weapon2fire._x - _root.char.weapon2_speed;
_root.weapon2fire._xscale = -100;
} else {
_root.weapon2fire._x = _root.weapon2fire._x + _root.char.weapon2_speed;
_root.weapon2fire._xscale = 100;
}
};
}
}
if (((Key.isDown(17) && (gotweapon3 == true)) && (dir == "left")) && (selectedweapon == 3)) {
_root.attachMovie("weapon3", "weapon3fire", 1, {_x:_root.char._x - 30, _y:_root.char._y - 40});
} else if (((Key.isDown(17) && (gotweapon3 == true)) && (dir == "right")) && (selectedweapon == 3)) {
_root.attachMovie("weapon3", "weapon3fire", 1, {_x:_root.char._x + 30, _y:_root.char._y - 40});
}
}
Instance of Symbol 230 MovieClip in Frame 19
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
ass = 1;
}
onClipEvent (enterFrame) {
if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._x = this._x - enemyspeed;
} else if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._x = this._x + enemyspeed;
}
if (enemystepsleft == 5) {
enemydir = "right";
enemystepsleft = 0;
} else if (enemystepsright == 5) {
enemydir = "left";
enemystepsright = 0;
}
if (this.hitTest(_root.weapon1fire || (_root.weapon2fire))) {
_root.score = _root.score + 100;
play_sound = new Sound();
play_sound.attachSound("enemy1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
if (this.hitTest(_root.char)) {
_root.char.dead = true;
}
}
Instance of Symbol 230 MovieClip in Frame 19
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
ass = 1;
}
onClipEvent (enterFrame) {
if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._x = this._x - enemyspeed;
} else if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._x = this._x + enemyspeed;
}
if (enemystepsleft == 5) {
enemydir = "right";
enemystepsleft = 0;
} else if (enemystepsright == 5) {
enemydir = "left";
enemystepsright = 0;
}
if (this.hitTest(_root.weapon1fire || (_root.weapon2fire))) {
_root.score = _root.score + 100;
play_sound = new Sound();
play_sound.attachSound("enemy1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
if (this.hitTest(_root.char)) {
_root.char.dead = true;
}
}
Instance of Symbol 230 MovieClip in Frame 19
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
ass = 1;
}
onClipEvent (enterFrame) {
if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._x = this._x - enemyspeed;
} else if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._x = this._x + enemyspeed;
}
if (enemystepsleft == 5) {
enemydir = "right";
enemystepsleft = 0;
} else if (enemystepsright == 5) {
enemydir = "left";
enemystepsright = 0;
}
if (this.hitTest(_root.weapon1fire || (_root.weapon2fire))) {
_root.score = _root.score + 100;
play_sound = new Sound();
play_sound.attachSound("enemy1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
if (this.hitTest(_root.char)) {
_root.char.dead = true;
}
}
Instance of Symbol 230 MovieClip in Frame 19
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
ass = 1;
}
onClipEvent (enterFrame) {
if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._x = this._x - enemyspeed;
} else if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._x = this._x + enemyspeed;
}
if (enemystepsleft == 5) {
enemydir = "right";
enemystepsleft = 0;
} else if (enemystepsright == 5) {
enemydir = "left";
enemystepsright = 0;
}
if (this.hitTest(_root.weapon1fire || (_root.weapon2fire))) {
_root.score = _root.score + 100;
play_sound = new Sound();
play_sound.attachSound("enemy1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
if (this.hitTest(_root.char)) {
_root.char.dead = true;
}
}
Instance of Symbol 183 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 15 MovieClip [weapon3] in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.char.gotweapon3 = true;
unloadMovie (this);
}
}
Frame 20
_root.begin_score = _root.score;
curLevel = 15;
curLevel_frame = 5 + curLevel;
curLevel_display.text = curLevel;
jump_count_counter.text = 0;
jump_count_level.text = 10 + _root.difficulty;
stop();
Instance of Symbol 195 MovieClip "char" in Frame 20
onClipEvent (load) {
var start_level = true;
var playable = false;
var speed = 7;
var jumping = false;
var falling = false;
var jump = 0;
var jump_count = 0;
var jump_count_level = (10 + _root.difficulty);
var moveable = false;
var gotweapon1 = false;
var gotweapon2 = false;
var weapon2_speed = 5;
var dir = "right";
var selectedweapon = 0;
var dead = false;
}
onClipEvent (enterFrame) {
if (dead == true) {
_root.lives = _root.lives - 1;
unloadMovie (_root.weapon1fire);
unloadMovie (_root.weapon2fire);
unloadMovie (_root.weapon3fire);
_root.gotoAndPlay("dead");
}
if (Key.isDown(37) && (moveable == true)) {
if (this._x <= 15) {
} else {
_root.char._x = _root.char._x - speed;
dir = "left";
gotoAndStop(dir);
}
}
if (Key.isDown(39) && (moveable == true)) {
if (this._x >= 530) {
} else {
_root.char._x = _root.char._x + speed;
gotoAndStop ("right");
dir = "right";
}
}
if ((Key.isDown(32) && (!jumping)) && (start_level == true)) {
_root.start_point.gotoAndPlay("open");
jumping = true;
moveable = true;
playable = true;
start_level = false;
}
if (jumping) {
this._y = this._y - jump;
jump = jump - 0.5;
if (jump < 0) {
falling = true;
}
}
if ((_root.ground.hitTest(this._x, this._y, true) && (falling)) || (_root.weapon3fire.hitTest(this._x, this._y, true) && (falling))) {
jump = 8;
jumping = true;
jump_count = jump_count + 1;
_root.jump_count_counter.text++;
falling = false;
play_sound = new Sound();
play_sound.attachSound("jump_sound");
play_sound.start(0, 1);
}
if (_root.booster.hitTest(this._x, this._y, true) && (falling)) {
jump = 12;
jumping = true;
jump_count = jump_count + 1;
_root.jump_count_counter.text++;
falling = false;
play_sound = new Sound();
play_sound.attachSound("booster_sound");
play_sound.start(0, 1);
}
if (jump_count == jump_count_level) {
dead = true;
}
if (Key.isDown(49)) {
selectedweapon = 1;
} else if (Key.isDown(50)) {
selectedweapon = 2;
unloadMovie (_root.weapon1fire);
} else if (Key.isDown(51)) {
selectedweapon = 3;
unloadMovie (_root.weapon1fire);
}
if (((Key.isDown(17) && (gotweapon1 == true)) && (dir == "left")) && (selectedweapon == 1)) {
_root.attachMovie("weapon1", "weapon1fire", 1, {_x:_root.char._x - 20, _y:_root.char._y - 14});
} else if (((Key.isDown(17) && (gotweapon1 == true)) && (dir == "right")) && (selectedweapon == 1)) {
_root.attachMovie("weapon1", "weapon1fire", 1, {_x:_root.char._x + 20, _y:_root.char._y - 14});
} else {
unloadMovie (_root.weapon1fire);
}
if ((Key.isDown(17) && (gotweapon2 == true)) && (selectedweapon == 2)) {
firedirection = _root.char.dir;
_root.attachMovie("weapon2_bullet", "weapon2fire", 1, {_x:_root.char._x, _y:_root.char._y - 14});
with (_root.weapon2fire) {
onEnterFrame = function () {
if (_root.char.firedirection == "left") {
_root.weapon2fire._x = _root.weapon2fire._x - _root.char.weapon2_speed;
_root.weapon2fire._xscale = -100;
} else {
_root.weapon2fire._x = _root.weapon2fire._x + _root.char.weapon2_speed;
_root.weapon2fire._xscale = 100;
}
};
}
}
if (((Key.isDown(17) && (gotweapon3 == true)) && (dir == "left")) && (selectedweapon == 3)) {
_root.attachMovie("weapon3", "weapon3fire", 1, {_x:_root.char._x - 30, _y:_root.char._y - 40});
} else if (((Key.isDown(17) && (gotweapon3 == true)) && (dir == "right")) && (selectedweapon == 3)) {
_root.attachMovie("weapon3", "weapon3fire", 1, {_x:_root.char._x + 30, _y:_root.char._y - 40});
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score = _root.score + 5;
play_sound = new Sound();
play_sound.attachSound("item1_sound");
play_sound.start(0, 1);
unloadMovie (this);
}
}
Frame 21
stop();
if (lives <= 0) {
gotoAndPlay ("gameover");
}
_root.score = _root.begin_score;
Frame 22
stop();
Frame 23
stop();
Frame 24
stop();
Frame 25
stop();
gotoAndPlay(_root.curLevel_frame);
Symbol 65 Button
on (release) {
getURL ("http://www.muchgames.com", "_blank");
}
Symbol 72 MovieClip Frame 221
stop();
_root.gotoAndPlay("menu");
Symbol 80 Button
on (press) {
gotoAndPlay ("instrucions");
}
Symbol 84 Button
on (press) {
gotoAndPlay ("credits");
}
Symbol 88 Button
on (press) {
gotoAndPlay ("instructions");
}
Symbol 90 Button
on (press) {
getURL ("http://www.muchgames.com");
}
Symbol 97 Button
on (press) {
gotoAndPlay ("menu");
}
Symbol 102 Button
on (press) {
gotoAndPlay ("choose_difficulty");
}
Symbol 106 Button
on (press) {
nextFrame();
}
Symbol 112 Button
on (press) {
prevFrame();
}
Symbol 118 MovieClip Frame 1
stop();
Symbol 118 MovieClip Frame 2
stop();
Symbol 118 MovieClip Frame 3
stop();
Symbol 133 Button
on (press) {
_root.chosen_difficulty = 5;
gotoAndPlay ("level_1");
}
Symbol 136 Button
on (press) {
_root.chosen_difficulty = 0;
gotoAndPlay ("level_1");
}
Instance of Symbol 141 MovieClip in Symbol 148 MovieClip Frame 1
onClipEvent (enterFrame) {
this._alpha = 0;
if (_root.char.gotweapon1 == true) {
this._alpha = 50;
}
if ((_root.char.selectedweapon == 1) && (_root.char.gotweapon1 == true)) {
this._alpha = 100;
}
}
Instance of Symbol 142 MovieClip in Symbol 148 MovieClip Frame 1
onClipEvent (enterFrame) {
this._alpha = 0;
if (_root.char.gotweapon2 == true) {
this._alpha = 50;
}
if ((_root.char.selectedweapon == 2) && (_root.char.gotweapon2 == true)) {
this._alpha = 100;
}
}
Instance of Symbol 147 MovieClip in Symbol 148 MovieClip Frame 1
onClipEvent (enterFrame) {
this._alpha = 0;
if (_root.char.gotweapon3 == true) {
this._alpha = 50;
}
if ((_root.char.selectedweapon == 3) && (_root.char.gotweapon3 == true)) {
this._alpha = 100;
}
}
Symbol 174 MovieClip Frame 1
stop();
Symbol 174 MovieClip Frame 2
stop();
Symbol 188 MovieClip Frame 1
stop();
Instance of Symbol 185 MovieClip "door_open" in Symbol 188 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
unloadMovie (_root.weapon1fire);
unloadMovie (_root.weapon2fire);
unloadMovie (_root.weapon3fire);
_root.gotoAndPlay("between_level");
}
}
Symbol 188 MovieClip Frame 2
stop();
Symbol 195 MovieClip Frame 1
stop();
Symbol 195 MovieClip Frame 2
stop();
Symbol 195 MovieClip Frame 3
stop();
Symbol 204 Button
on (press) {
if (_root.char.playable == true) {
_root.char.moveable = false;
_root.char.jumping = false;
_root.char.falling = false;
_root.pausedclip.check_paused = true;
}
}
on (keyPress "<Enter>") {
if (_root.char.playable == true) {
_root.char.moveable = true;
_root.char.jumping = true;
_root.char.falling = true;
_root.pausedclip.check_paused = false;
}
}
Symbol 206 Button
on (press) {
if (_root.char.playable == true) {
gotoAndPlay ("restart_level");
unloadMovie (_root.weapon1fire);
unloadMovie (_root.weapon2fire);
unloadMovie (_root.weapon3fire);
_root.score = _root.begin_score;
}
}
Symbol 219 MovieClip Frame 1
stop();
Instance of Symbol 216 MovieClip in Symbol 219 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
play_sound = new Sound();
play_sound.attachSound("switch_sound");
play_sound.start(0, 0);
_root.door.gotoAndPlay("door_open");
_root.switchbutton.gotoAndPlay("switch_open");
}
}
Symbol 219 MovieClip Frame 2
stop();
Symbol 220 MovieClip Frame 1
stop();
Symbol 220 MovieClip Frame 2
stop();
Instance of Symbol 185 MovieClip "door_open" in Symbol 220 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
unloadMovie (_root.weapon1fire);
unloadMovie (_root.weapon2fire);
unloadMovie (_root.weapon3fire);
_root.gotoAndPlay("between_level");
begin_score = _root.score;
}
}
Symbol 280 MovieClip Frame 1
stop();
Instance of Symbol 185 MovieClip in Symbol 280 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
unloadMovie (_root.weapon1fire);
unloadMovie (_root.weapon2fire);
unloadMovie (_root.weapon3fire);
_root.gotoAndPlay("beat_game");
}
}
Symbol 280 MovieClip Frame 2
stop();
Symbol 284 Button
on (press) {
gotoAndPlay(_root.curLevel_frame);
}
Symbol 288 Button
on (release) {
getURL ("http://www.muchgames.com", "_blank");
}
Symbol 293 Button
on (press) {
gotoAndPlay ("menu");
}
Symbol 302 Button
on (press) {
gotoAndPlay(_root.curLevel_frame + 1);
}
Symbol 307 Button
on (press) {
gotoAndPlay(_root.curLevel_frame);
_root.score = _root.begin_score;
}