Frame 1
function doSomething() {
getURL ("http://www.eggysgames.com/", "_blank");
}
function doSomething2() {
getURL ("http://www.armorgames.com/", "blank");
}
_root.soundson = true;
_root.song = 1;
_root.musicon = true;
_root.busymenu = false;
_root.secretone = false;
_root.secrettwo = false;
_root.secretthree = false;
_root.once = false;
_root.once2 = false;
_root.hat = false;
_root.reset = false;
MENU.customItems.push(Functioned2);
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned = new ContextMenuItem("Made by Eggy", doSomething);
Functioned2 = new ContextMenuItem("Sponsored by ArmorGames", doSomething2);
MENU.customItems.push(Functioned);
MENU.customItems.push(Functioned2);
MENU.customItems.push(Functioned3);
MENU.builtInItems.quality = true;
_root.menu = MENU;
Frame 2
stop();
Frame 3
stop();
Instance of Symbol 75 MovieClip in Frame 3
on (press) {
getURL ("http://www.eggysgames.com", "blank");
}
Frame 4
stop();
_root.myBmp.dispose();
_root.clearscreen();
_root.soundson = true;
Instance of Symbol 125 MovieClip "settings" in Frame 4
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
this.swapDepths(_root.getNextHighestDepth());
}
Frame 5
function unpack(levelstring) {
var _local7 = levelstring.split("@");
var _local8 = _local7.length - 1;
var _local1 = 0;
while (_local1 < _local8) {
var _local3 = _local7[_local1].split("#");
var _local6 = _local3[0];
var _local2 = _local3[1].split("%");
var _local5 = _local2[0];
var _local4 = _local2[1];
addobject(_local6, _local5, _local4);
_local1++;
}
}
function pack(objtype, x, y) {
return(((((objtype + "#") + x) + "%") + y) + "@");
}
function spawn(type) {
_root.e++;
switch (type) {
case "B" :
duplicateMovieClip ("flag", "clip_b" + e, _root.getNextHighestDepth());
break;
case "C" :
duplicateMovieClip ("horspike", "clip_c" + e, _root.getNextHighestDepth());
break;
case "D" :
duplicateMovieClip ("verspike", "clip_d" + e, _root.getNextHighestDepth());
break;
case "E" :
duplicateMovieClip ("spinner", "clip_e" + e, _root.getNextHighestDepth());
break;
case "F" :
duplicateMovieClip ("faucet", "clip_f" + e, _root.getNextHighestDepth());
break;
case "G" :
duplicateMovieClip ("chaingun", "clip_G" + e, _root.getNextHighestDepth());
break;
case "H" :
duplicateMovieClip ("dispenser", "clip_H" + e, _root.getNextHighestDepth());
break;
case "I" :
duplicateMovieClip ("launcher", "clip_I" + e, _root.getNextHighestDepth());
break;
case "J" :
duplicateMovieClip ("pyromaker", "clip_J" + e, _root.getNextHighestDepth());
}
}
function addobject(objtype, x, y) {
_root.e++;
switch (objtype) {
case "A" :
_root.attachMovie("staticA", "staticA" + e, _root.getNextHighestDepth(), {_x:x, _y:y});
break;
case "B" :
_root.attachMovie("staticB", "staticB" + e, _root.getNextHighestDepth(), {_x:x, _y:y});
break;
case "C" :
_root.attachMovie("staticC", "staticC" + e, _root.getNextHighestDepth(), {_x:x, _y:y});
}
}
function savelevel() {
var _local3 = new String();
for (var _local4 in _root) {
if (_root[_local4].isObj == "yes") {
var _local2 = _root[_local4];
_local3 = _local3 + pack(_local2.objtype, _local2._x, _local2._y);
}
}
return(_local3);
}
function clearscreen() {
for (var _local2 in _root) {
if ((_root[_local2].isObj == "yes") || (_root[_local2].isObj == "yesn")) {
removeMovieClip(_root[_local2]);
}
}
}
e = 0;
_root.i = 0;
Instance of Symbol 129 MovieClip "flag" in Frame 5
on (press) {
startDrag (this, true, 10, 390, 490, 10);
}
on (release) {
stopDrag();
}
onClipEvent (load) {
if (_name != "flag") {
_x = 250;
_y = 200;
isObj = "yes";
objtype = "B";
}
}
onClipEvent (enterFrame) {
if (_name != "flag") {
if (_root._currentframe == 4) {
removeMovieClip(this);
}
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.gotoAndStop(8);
}
}
}
}
Instance of Symbol 136 MovieClip "ground" in Frame 5
onClipEvent (enterFrame) {
if (_root._currentframe == 9) {
removeMovieClip(this);
}
}
Instance of Symbol 148 MovieClip in Frame 5
onClipEvent (load) {
beenPressed = false;
beenPressed2 = false;
beenPressed3 = false;
beenPressed4 = false;
beenPressed5 = false;
beenPressed6 = false;
beenPressed7 = false;
beenPressed8 = false;
beenPressed9 = false;
beenPressed10 = false;
_root.lasercounter = 1;
}
onClipEvent (enterFrame) {
if ((Key.isDown(66) && (!beenPressed)) and (!Key.isDown(17))) {
beenPressed = true;
_root.spawn("B");
}
if (!Key.isDown(66)) {
beenPressed = false;
}
if ((Key.isDown(67) && (!beenPressed2)) and (!Key.isDown(17))) {
beenPressed2 = true;
_root.spawn("C");
}
if (!Key.isDown(67)) {
beenPressed2 = false;
}
if (Key.isDown(68) && (!beenPressed3)) {
beenPressed3 = true;
_root.spawn("D");
}
if (!Key.isDown(68)) {
beenPressed3 = false;
}
if (Key.isDown(69) && (!beenPressed4)) {
beenPressed4 = true;
_root.spawn("E");
}
if (!Key.isDown(69)) {
beenPressed4 = false;
}
if (Key.isDown(70) && (!beenPressed5)) {
beenPressed5 = true;
_root.spawn("F");
}
if (!Key.isDown(70)) {
beenPressed5 = false;
}
if (Key.isDown(71) && (!beenPressed6)) {
beenPressed6 = true;
_root.spawn("G");
}
if (!Key.isDown(71)) {
beenPressed6 = false;
}
if (Key.isDown(72) && (!beenPressed7)) {
beenPressed7 = true;
_root.spawn("H");
}
if (!Key.isDown(72)) {
beenPressed7 = false;
}
if (Key.isDown(73) && (!beenPressed8)) {
beenPressed8 = true;
_root.spawn("I");
}
if (!Key.isDown(73)) {
beenPressed8 = false;
}
if (Key.isDown(74) && (!beenPressed9)) {
beenPressed9 = true;
_root.spawn("J");
}
if (!Key.isDown(74)) {
beenPressed9 = false;
}
if (Key.isDown(75) && (!beenPressed10)) {
beenPressed10 = true;
if (_root.lasercounter == 1) {
_root.lasercounter = 2;
_root.lasergun._x = 250;
_root.lasergun._y = 200;
}
}
if (!Key.isDown(75)) {
beenPressed10 = false;
}
}
Instance of Symbol 21 MovieClip [clip_a] "horspike" in Frame 5
onClipEvent (load) {
if (_name != "horspike") {
_x = 250;
_y = 200;
isObj = "yes";
objtype = "C";
drag = false;
}
}
onClipEvent (enterFrame) {
if (_name != "horspike") {
if (_root._currentframe == 4) {
removeMovieClip(this);
}
if (drag) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
}
Instance of Symbol 156 MovieClip "spinner" in Frame 5
on (press) {
startDrag (this, true, 10, 390, 490, 10);
}
on (release) {
stopDrag();
}
onClipEvent (load) {
if (_name != "spinner") {
_x = 250;
_y = 200;
isObj = "yes";
objtype = "E";
drag = false;
}
}
onClipEvent (enterFrame) {
if (_name != "spinner") {
if (_root._currentframe == 4) {
removeMovieClip(this);
}
if (drag) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
}
Instance of Symbol 21 MovieClip [clip_a] "verspike" in Frame 5
onClipEvent (load) {
if (_name != "verspike") {
_x = 250;
_y = 200;
isObj = "yes";
objtype = "D";
drag = false;
}
}
onClipEvent (enterFrame) {
if (_name != "verspike") {
if (_root._currentframe == 4) {
removeMovieClip(this);
}
if (drag) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
}
Instance of Symbol 160 MovieClip "faucet" in Frame 5
onClipEvent (load) {
if (_name != "faucet") {
_x = 250;
_y = 200;
isObj = "yes";
objtype = "F";
}
}
onClipEvent (enterFrame) {
if (_name != "faucet") {
if (_root._currentframe == 4) {
removeMovieClip(this);
}
}
}
on (press) {
startDrag (this, true, 10, 390, 490, 10);
}
on (release) {
stopDrag();
}
Instance of Symbol 164 MovieClip "chaingun" in Frame 5
onClipEvent (load) {
if (_name != "chaingun") {
_x = 250;
_y = 200;
isObj = "yes";
objtype = "G";
}
}
onClipEvent (enterFrame) {
if (_name != "chaingun") {
if (_root._currentframe == 4) {
removeMovieClip(this);
}
}
}
on (press) {
startDrag (this, true, 10, 390, 490, 10);
}
on (release) {
stopDrag();
}
Instance of Symbol 166 MovieClip "dispenser" in Frame 5
onClipEvent (load) {
if (_name != "dispenser") {
_x = 250;
_y = 200;
isObj = "yes";
objtype = "H";
}
}
onClipEvent (enterFrame) {
if (_name != "dispenser") {
if (_root._currentframe == 4) {
removeMovieClip(this);
}
}
}
on (press) {
startDrag (this, true, 10, 390, 490, 10);
}
on (release) {
stopDrag();
}
Instance of Symbol 171 MovieClip "launcher" in Frame 5
onClipEvent (load) {
if (_name != "launcher") {
_x = 250;
_y = 200;
isObj = "yes";
objtype = "I";
}
}
onClipEvent (enterFrame) {
if (_name != "launcher") {
if (_root._currentframe == 4) {
removeMovieClip(this);
}
}
}
on (press) {
startDrag (this, true, 10, 390, 490, 10);
}
on (release) {
stopDrag();
}
Instance of Symbol 175 MovieClip "pyromaker" in Frame 5
onClipEvent (load) {
if (_name != "pyromaker") {
_x = 250;
_y = 200;
isObj = "yes";
objtype = "J";
}
}
onClipEvent (enterFrame) {
if (_name != "pyromaker") {
if (_root._currentframe == 4) {
removeMovieClip(this);
}
}
}
on (press) {
startDrag (this, true, 10, 390, 490, 10);
}
on (release) {
stopDrag();
}
Instance of Symbol 183 MovieClip "lasergun" in Frame 5
onClipEvent (enterFrame) {
if (_x > 0) {
isObj = "yes";
objtype = "K";
} else {
isObj = "no";
}
if (_root._currentframe == 4) {
removeMovieClip(this);
}
}
on (press) {
startDrag (this, true, 10, 390, 490, 10);
}
on (release) {
stopDrag();
}
Frame 6
stop();
Frame 7
function unpack(levelstring) {
var _local7 = levelstring.split("@");
var _local8 = _local7.length - 1;
var _local1 = 0;
while (_local1 < _local8) {
var _local3 = _local7[_local1].split("#");
var _local6 = _local3[0];
var _local2 = _local3[1].split("%");
var _local5 = _local2[0];
var _local4 = _local2[1];
addobject(_local6, _local5, _local4);
_local1++;
}
}
function pack(objtype, x, y) {
return(((((objtype + "#") + x) + "%") + y) + "@");
}
function spawn(type) {
_root.e++;
switch (type) {
case "A" :
duplicateMovieClip ("spike", "clip_a" + e, _root.getNextHighestDepth());
break;
case "B" :
_root.attachMovie("clip_b", "clip_b" + e, _root.getNextHighestDepth(), {_x:275, _y:200});
break;
case "C" :
_root.attachMovie("clip_c", "clip_c" + e, _root.getNextHighestDepth(), {_x:275, _y:200});
}
}
function addobject(objtype, x, y) {
_root.e++;
switch (objtype) {
case "B" :
duplicateMovieClip ("flag", "staticB" + e, _root.getNextHighestDepth());
tempname = "staticB" + e;
_root[tempname]._x = x;
_root[tempname]._y = y;
break;
case "C" :
duplicateMovieClip ("horspike", "staticC" + e, _root.getNextHighestDepth());
tempname = "staticC" + e;
_root[tempname]._x = x;
_root[tempname]._y = y;
break;
case "D" :
duplicateMovieClip ("verspike", "staticD" + e, _root.getNextHighestDepth());
tempname = "staticD" + e;
_root[tempname]._x = x;
_root[tempname]._y = y;
break;
case "E" :
duplicateMovieClip ("spinner", "staticE" + e, _root.getNextHighestDepth());
tempname = "staticE" + e;
_root[tempname]._x = x;
_root[tempname]._y = y;
break;
case "F" :
duplicateMovieClip ("faucet", "staticF" + e, _root.getNextHighestDepth());
tempname = "staticF" + e;
_root[tempname]._x = x;
_root[tempname]._y = y;
break;
case "G" :
duplicateMovieClip ("chaingun", "staticG" + e, _root.getNextHighestDepth());
tempname = "staticG" + e;
_root[tempname]._x = x;
_root[tempname]._y = y;
break;
case "H" :
duplicateMovieClip ("dispenser", "staticH" + e, _root.getNextHighestDepth());
tempname = "staticH" + e;
_root[tempname]._x = x;
_root[tempname]._y = y;
break;
case "I" :
duplicateMovieClip ("launcher", "staticI" + e, _root.getNextHighestDepth());
tempname = "staticI" + e;
_root[tempname]._x = x;
_root[tempname]._y = y;
break;
case "J" :
duplicateMovieClip ("pyromaker", "staticJ" + e, _root.getNextHighestDepth());
tempname = "staticJ" + e;
_root[tempname]._x = x;
_root[tempname]._y = y;
break;
case "K" :
_root.lasergun._x = x;
_root.lasergun._y = y;
}
}
function savelevel() {
var _local3 = new String();
for (var _local4 in _root) {
if (_root[_local4].isObj == "yes") {
var _local2 = _root[_local4];
_local3 = _local3 + pack(_local2.objtype, _local2._x, _local2._y);
}
}
return(_local3);
}
function clearscreen() {
for (var _local2 in _root) {
if ((_root[_local2].isObj == "yes") || (_root[_local2].isObj == "yesn")) {
removeMovieClip(_root[_local2]);
}
}
}
e = 0;
_root.i = 0;
_root.firenum = 1;
_root.busymenu = false;
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (((_root.switchone == true) and (_root._ymouse > 60)) and (_root.busymenu == false)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if ((_root._ymouse > 60) and (_root.busymenu == false)) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if (((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) and (_root.busymenu == false)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if ((((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) and (_root.busymenu == false)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
onEnterFrame = function () {
if (Key.isDown(69) or Key.isDown(81)) {
delete this.onMouseMove;
}
};
_root.unpack(_root.holdcode);
Instance of Symbol 252 MovieClip "char" in Frame 7
onClipEvent (load) {
gravity = 0;
scale = _xscale;
_root.bob = false;
_root.stopper = false;
_root.ydiff = 0;
_root.ypos = _root.char._y;
_root.xpos = _root.char._x;
ok = false;
}
onClipEvent (enterFrame) {
if ((_root.busymenu == false) and (_currentframe != 5)) {
gravity++;
_y = (_y + gravity);
while ((_root.myBmp.getPixel32(_x, _y) != 0) and (_root.bob == false)) {
_y = (_y-1);
gravity = 0;
}
if (Key.isDown(39) or Key.isDown(68)) {
_x = (_x + 4);
_xscale = scale;
if (_root.myBmp.getPixel32(_x, _y + 3) != 0) {
this.gotoAndStop(2);
}
} else if (Key.isDown(37) or Key.isDown(65)) {
_x = (_x - 4);
_xscale = (-scale);
if (_root.myBmp.getPixel32(_x, _y + 3) != 0) {
this.gotoAndStop(2);
}
}
if ((Key.isDown(38) and (_root.myBmp.getPixel32(_x, _y + 3) != 0)) or (Key.isDown(87) and (_root.myBmp.getPixel32(_x, _y + 3) != 0))) {
this.gotoAndStop(4);
_y = (_y - 4);
gravity = -10;
} else if (((((_root.myBmp.getPixel32(_x, _y + 3) != 0) and (!Key.isDown(39))) and (!Key.isDown(37))) and (!Key.isDown(68))) and (!Key.isDown(65))) {
this.gotoAndStop(1);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 40) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 30) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 20) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 40) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 30) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 20) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x, _y - 50) != 0) {
gravity = 0;
}
if (_root.myBmp.getPixel32(_x, _y - 40) != 0) {
if (((((_root.char._y - _root._ymouse) > -20) and ((_root.char._y - _root._ymouse) < 40)) and ((_root.char._x - _root._xmouse) > -30)) and ((_root.char._x - _root._xmouse) < 30)) {
_root.stopper = true;
} else {
_root.stopper = false;
}
} else {
_root.stopper = false;
}
if (_y > 1000) {
_root.ydiff = 0;
_root.ypos = 0;
ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
}
_root.ydiff = _root.ypos - _root.char._y;
if (_root.ydiff > 60) {
ok = true;
_root.char._y = _root.ypos;
_root.char._x = _root.xpos;
}
if (ok == false) {
_root.ypos = _root.char._y;
_root.xpos = _root.char._x;
}
if ((!_root.myBmp.getPixel32(_x, _y - 50)) != 0) {
ok = false;
}
}
_root.vcam.camControl();
}
Instance of Symbol 136 MovieClip "ground" in Frame 7
onClipEvent (enterFrame) {
if (_root._currentframe == 9) {
removeMovieClip(this);
}
}
Instance of Symbol 260 MovieClip "grave" in Frame 7
onClipEvent (load) {
if (_name != "grave") {
_x = _root.char._x;
_y = _root.char._y;
gravity = 0;
}
}
onClipEvent (enterFrame) {
if (((_root._currentframe == 9) or (_root._currentframe == 10)) or (_root._currentframe == 4)) {
removeMovieClip(this);
}
if (_root.busymenu == false) {
if (((_name != "grave") and (_root._currentframe != 9)) and (_root._currentframe != 10)) {
gravity++;
_y = (_y + gravity);
while ((_root.myBmp.getPixel32(_x, _y) != 0) and (_root.bob == false)) {
_y = (_y-1);
gravity = 0;
}
if ((_y > 450) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 274 MovieClip in Frame 7
onClipEvent (enterFrame) {
_root.reset = false;
if (_root.busymenu == false) {
if (_root.switchone == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
}
Instance of Symbol 129 MovieClip "flag" in Frame 7
onClipEvent (load) {
if (_name != "flag") {
isObj = "yesn";
}
}
onClipEvent (enterFrame) {
if (_name != "flag") {
if (_root._currentframe == 4) {
removeMovieClip(this);
}
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.nextFrame();
_root.clearscreen();
}
}
}
}
Instance of Symbol 21 MovieClip [clip_a] "horspike" in Frame 7
onClipEvent (load) {
if (_name != "horspike") {
isObj = "yesn";
}
}
onClipEvent (enterFrame) {
if (_name != "horspike") {
if (_root._currentframe == 4) {
removeMovieClip(this);
}
}
if ((((_root.char.hitTest(hit) or _root.char.hitTest(hit2)) or _root.char.hitTest(hit3)) or _root.char.hitTest(hit4)) or _root.char.hitTest(hit5)) {
_root.char.gotoAndStop(5);
}
}
Instance of Symbol 156 MovieClip "spinner" in Frame 7
onClipEvent (load) {
if (_name != "spinner") {
isObj = "yesn";
objtype = "E";
}
}
onClipEvent (enterFrame) {
if (_name != "spinner") {
_rotation = (_rotation + 5);
if (_root._currentframe == 4) {
removeMovieClip(this);
}
}
}
Instance of Symbol 21 MovieClip [clip_a] "verspike" in Frame 7
onClipEvent (load) {
if (_name != "verspike") {
isObj = "yesn";
objtype = "D";
}
}
onClipEvent (enterFrame) {
if (_name != "verspike") {
if (_root._currentframe == 4) {
removeMovieClip(this);
}
}
if ((((_root.char.hitTest(hit) or _root.char.hitTest(hit2)) or _root.char.hitTest(hit3)) or _root.char.hitTest(hit4)) or _root.char.hitTest(hit5)) {
_root.char.gotoAndStop(5);
}
}
Instance of Symbol 276 MovieClip "acid" in Frame 7
onClipEvent (load) {
if (_name != "acid") {
holdframe = _root._currentframe;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if (_root._currentframe != 7) {
removeMovieClip(this);
}
if ((_root.busymenu == false) and (_name != "acid")) {
if (_y > 500) {
removeMovieClip(this);
}
if (_root._currentframe != holdframe) {
removeMovieClip(this);
}
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
if (_name != "acid") {
_y = (_y + 5);
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
removeMovieClip(this);
}
}
}
}
Instance of Symbol 160 MovieClip "faucet" in Frame 7
onClipEvent (load) {
if (_name != "faucet") {
isObj = "yes";
objtype = "F";
}
}
onClipEvent (enterFrame) {
if (_name != "faucet") {
if (_root._currentframe == 4) {
removeMovieClip(this);
}
}
}
Instance of Symbol 164 MovieClip "chaingun" in Frame 7
onClipEvent (load) {
if (_name != "chaingun") {
isObj = "yes";
objtype = "G";
switcher = false;
Y = _y;
}
}
onClipEvent (enterFrame) {
if (_name != "chaingun") {
if (_root._currentframe == 4) {
removeMovieClip(this);
}
}
if (switcher == false) {
_y = (_y + 3);
}
if (switcher == true) {
_y = (_y - 3);
}
if (_y > (Y + 50)) {
switcher = true;
}
if (_y < (Y - 50)) {
switcher = false;
}
}
Instance of Symbol 277 MovieClip "chainbullet" in Frame 7
onClipEvent (load) {
if (_name != "chainbullet") {
speed = 9;
angle = 3;
bob = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if (_root._currentframe != 7) {
removeMovieClip(this);
}
if (_name != "chainbullet") {
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_x = (_x - 10);
if (_x < 0) {
removeMovieClip(this);
}
if (((_root.myBmp.getPixel32(_x, _y) != 0) or (_root.myBmp.getPixel32(_x, _y + 10) != 0)) or (_root.myBmp.getPixel32(_x, _y - 10) != 0)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
removeMovieClip(this);
}
}
}
}
Instance of Symbol 281 MovieClip "star" in Frame 7
onClipEvent (load) {
if (_name != "star") {
gravity = 0;
speed = 5;
roll = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if (_root.busymenu == false) {
if (_root._currentframe != 7) {
removeMovieClip(this);
}
if (_name != "star") {
gravity++;
_y = (_y + gravity);
while ((_root.myBmp.getPixel32(_x, _y + 8) != 0) and (_root.bob == false)) {
_y = (_y-1);
gravity = 0;
}
if (_root.myBmp.getPixel32(_x, _y + 11) != 0) {
if (roll == 0) {
roll = random(2) + 1;
}
if (roll == 1) {
_x = (_x + speed);
_rotation = (_rotation + 8);
}
if (roll == 2) {
_x = (_x - speed);
_rotation = (_rotation - 8);
}
}
if (_root.myBmp.getPixel32(_x + 5, _y - 10) != 0) {
_x = (_x - speed);
}
if (_root.myBmp.getPixel32(_x - 5, _y - 10) != 0) {
_x = (_x + speed);
}
if ((_y > 450) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_root.char.hitTest(hit)) {
_root.char.gotoAndStop(5);
}
}
}
}
Instance of Symbol 166 MovieClip "dispenser" in Frame 7
onClipEvent (load) {
if (_name != "dispenser") {
isObj = "yes";
objtype = "H";
}
}
onClipEvent (enterFrame) {
if (_name != "dispenser") {
if (_root._currentframe == 4) {
removeMovieClip(this);
}
}
}
Instance of Symbol 296 MovieClip "grenade" in Frame 7
onClipEvent (load) {
if (_name != "grenade") {
speed = 9;
gravity = 25;
bob = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if (_root._currentframe != 7) {
removeMovieClip(this);
}
if (_y > 500) {
removeMovieClip(this);
}
if (bang._currentframe == 16) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_name != "grenade") {
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_currentframe == 1)) {
_root.char.gotoAndStop(5);
}
if (_currentframe == 1) {
gravity--;
_y = (_y - gravity);
_rotation = (_rotation + 10);
}
if (_currentframe == 1) {
if (((_root.myBmp.getPixel32(_x, _y) != 0) or (_root.myBmp.getPixel32(_x, _y + 10) != 0)) or (_root.myBmp.getPixel32(_x, _y - 10) != 0)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holethree, myMatrix, 0, "erase");
gotoAndStop (2);
}
}
}
}
}
Instance of Symbol 171 MovieClip "launcher" in Frame 7
onClipEvent (load) {
if (_name != "launcher") {
isObj = "yes";
objtype = "I";
X = _x;
switcher = false;
}
}
onClipEvent (enterFrame) {
if (_name != "launcher") {
if (_root._currentframe == 4) {
removeMovieClip(this);
}
}
if (switcher == false) {
_x = (_x + 3);
}
if (switcher == true) {
_x = (_x - 3);
}
if (_x > (X + 50)) {
switcher = true;
}
if (_x < (X - 50)) {
switcher = false;
}
}
Instance of Symbol 175 MovieClip "pyromaker" in Frame 7
onClipEvent (load) {
if (_name != "pyromaker") {
isObj = "yes";
objtype = "J";
}
}
onClipEvent (enterFrame) {
if (_name != "pyromaker") {
if (_root._currentframe == 4) {
removeMovieClip(this);
}
}
}
Instance of Symbol 315 MovieClip "firedown" in Frame 7
onClipEvent (load) {
if (_name != "firedown") {
speed = 9;
angle = 3;
bob = 0;
timer = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if (((_root._currentframe == 9) or (_root._currentframe == 10)) or (_root._currentframe == 4)) {
removeMovieClip(this);
}
if (_name != "firedown") {
timer++;
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_y = (_y + 2);
if ((((_y > 450) or (_y < -50)) or (_x < -50)) or (_x > 600)) {
removeMovieClip(this);
}
if (timer > 20) {
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.hole, myMatrix, 0, "erase");
timer = 0;
}
}
if (_root.myBmp.getPixel32(_x, _y) != 0) {
_y = (_y - 2);
}
}
}
}
Instance of Symbol 316 MovieClip "fireleft" in Frame 7
onClipEvent (load) {
if (_name != "fireleft") {
speed = 9;
angle = 3;
bob = 0;
timer = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if (((_root._currentframe == 9) or (_root._currentframe == 10)) or (_root._currentframe == 4)) {
removeMovieClip(this);
}
if (_name != "fireleft") {
timer++;
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_x = (_x + 2);
if ((((_y > 450) or (_y < -50)) or (_x < -50)) or (_x > 600)) {
removeMovieClip(this);
}
if (timer > 20) {
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.hole, myMatrix, 0, "erase");
timer = 0;
}
}
if (_root.myBmp.getPixel32(_x, _y) != 0) {
_x = (_x - 2);
}
}
}
}
Instance of Symbol 316 MovieClip "fireright" in Frame 7
onClipEvent (load) {
if (_name != "fireright") {
speed = 9;
angle = 3;
bob = 0;
timer = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if (((_root._currentframe == 9) or (_root._currentframe == 10)) or (_root._currentframe == 4)) {
removeMovieClip(this);
}
if (_name != "fireright") {
timer++;
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_x = (_x - 2);
if ((((_y > 450) or (_y < -50)) or (_x < -50)) or (_x > 600)) {
removeMovieClip(this);
}
if (timer > 20) {
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.hole, myMatrix, 0, "erase");
timer = 0;
}
}
if (_root.myBmp.getPixel32(_x, _y) != 0) {
_x = (_x + 2);
}
}
}
}
Instance of Symbol 315 MovieClip "fireup" in Frame 7
onClipEvent (load) {
if (_name != "fireup") {
speed = 9;
angle = 3;
bob = 0;
timer = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if (((_root._currentframe == 9) or (_root._currentframe == 10)) or (_root._currentframe == 4)) {
removeMovieClip(this);
}
if (_name != "fireup") {
timer++;
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_y = (_y - 2);
if ((((_y > 450) or (_y < -50)) or (_x < -50)) or (_x > 600)) {
removeMovieClip(this);
}
if (timer > 20) {
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.hole, myMatrix, 0, "erase");
timer = 0;
}
}
if (_root.myBmp.getPixel32(_x, _y) != 0) {
_y = (_y + 2);
}
}
}
}
Instance of Symbol 318 MovieClip in Frame 7
/* no clip actions */
Instance of Symbol 321 MovieClip "lasergun" in Frame 7
onClipEvent (load) {
isObj = "yesn";
speed = 4;
_root.hitter._x = _x;
_root.hitter._y = _y;
_root.shoot = false;
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
gotoAndPlay (1);
}
if (_root.shoot == false) {
X = _root.char._x - _x;
Y = _root.char._y - _y;
}
if (_root.shoot == true) {
stop();
} else {
play();
}
if (_root.busymenu == false) {
play();
} else {
stop();
}
angle = Math.atan2(Y, X);
_rotation = (((angle * 180) / Math.PI) - 180);
}
Instance of Symbol 323 MovieClip "hitter" in Frame 7
onClipEvent (load) {
speed = 16;
_x = _root.lasergun._x;
_y = (_root.lasergun._y + 18);
}
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char.gotoAndStop(5);
}
if (_root.shoot == false) {
X = _root.char._x - _x;
Y = _root.char._y - _y;
} else if ((_root.shoot == true) and (_root.busymenu == false)) {
angle = Math.atan2(Y, X);
_rotation = (((angle * 180) / Math.PI) - 180);
_x = (_x + (Math.cos(angle) * speed));
_y = (_y + (Math.sin(angle) * speed));
}
if (_root.myBmp.getPixel32(this)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y - 18);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
removeMovieClip(this);
}
if (((((_x > 550) or (_x < 0)) or (_y > 400)) or (_y < 0)) or (_root.reset == true)) {
_root.myline.clear();
_x = _root.lasergun._x;
_y = (_root.lasergun._y + 18);
_root.shoot = false;
}
}
Instance of Symbol 325 MovieClip in Frame 7
onClipEvent (enterFrame) {
_root.myline.clear();
_root.myline.lineStyle(5, 16711680);
_root.myline2.clear();
_root.myline2.lineStyle(5, 16711680);
if (_root.shoot == true) {
_root.myline.moveTo(_root.lasergun._x, _root.lasergun._y);
_root.myline.lineTo(_root.hitter._x, _root.hitter._y - 20);
}
if (_root.shoot2 == true) {
_root.myline2.moveTo(_root.lasergun2._x, _root.lasergun2._y);
_root.myline2.lineTo(_root.hitter2._x, _root.hitter2._y - 20);
}
}
Instance of Symbol 335 MovieClip "vcam" in Frame 7
onClipEvent (load) {
if (_root.hat == true) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.hat == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 337 MovieClip "settings" in Frame 7
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
this.swapDepths(_root.getNextHighestDepth());
}
Frame 8
stop();
_root.myBmp.dispose();
Instance of Symbol 260 MovieClip "grave" in Frame 8
onClipEvent (load) {
if (_name != "grave") {
_x = _root.char._x;
_y = _root.char._y;
gravity = 0;
}
}
onClipEvent (enterFrame) {
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_root.busymenu == false) {
if (((_name != "grave") and (_root._currentframe != 9)) and (_root._currentframe != 10)) {
gravity++;
_y = (_y + gravity);
while ((_root.myBmp.getPixel32(_x, _y) != 0) and (_root.bob == false)) {
_y = (_y-1);
gravity = 0;
}
if ((_y > 450) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 125 MovieClip "settings" in Frame 8
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
this.swapDepths(_root.getNextHighestDepth());
}
Frame 9
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version));
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
stop();
_root.storage = SharedObject.getLocal("user_data");
_root.busymenu = false;
_root.ground._visible = false;
_root.myBmp.dispose();
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(_root.myBmp, 0, "never", false);
_root.myBmp.draw(_root.ground);
if (_root.musicon == true) {
another = new Sound();
another.attachSound("puzzler", this);
another.start(0, 99999);
}
__com_mochibot__("cdbc7523", this, 10301, true);
Frame 10
stop();
_root.myBmp.dispose();
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(_root.myBmp, 0, "never", false);
_root.myBmp.draw(_root.ground);
_root.busymenu = false;
Instance of Symbol 388 MovieClip in Frame 10
on (press) {
_root.nextFrame();
}
onClipEvent (enterFrame) {
if (_root.levelone == true) {
gotoAndStop (2);
}
}
Instance of Symbol 395 MovieClip in Frame 10
on (press) {
if (_root.levelone == true) {
_root.gotoAndStop(12);
}
}
onClipEvent (enterFrame) {
if (_root.levelone == true) {
gotoAndStop (2);
if (_root.leveltwo == true) {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 398 MovieClip in Frame 10
on (press) {
if (_root.leveltwo == true) {
_root.gotoAndStop(13);
}
}
onClipEvent (enterFrame) {
if (_root.leveltwo == true) {
gotoAndStop (2);
if (_root.levelthree == true) {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 407 MovieClip in Frame 10
on (press) {
if (_root.levelthree == true) {
_root.gotoAndStop(14);
}
}
onClipEvent (enterFrame) {
if (_root.levelthree == true) {
gotoAndStop (2);
if (_root.levelfour == true) {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 409 MovieClip in Frame 10
on (press) {
if (_root.levelfour == true) {
_root.gotoAndStop(15);
}
}
onClipEvent (enterFrame) {
if (_root.levelfour == true) {
gotoAndStop (2);
if (_root.levelfive == true) {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 414 MovieClip in Frame 10
on (press) {
if (_root.levelfive == true) {
_root.gotoAndStop(16);
}
}
onClipEvent (enterFrame) {
if (_root.levelfive == true) {
gotoAndStop (2);
if (_root.levelsix == true) {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 416 MovieClip in Frame 10
on (press) {
if (_root.levelfive == true) {
_root.gotoAndStop(18);
}
}
onClipEvent (enterFrame) {
if (_root.levelfive == true) {
gotoAndStop (2);
if (_root.leveleight == true) {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 418 MovieClip in Frame 10
on (press) {
if (_root.levelsix == true) {
_root.gotoAndStop(17);
}
}
onClipEvent (enterFrame) {
if (_root.levelsix == true) {
gotoAndStop (2);
if (_root.levelseven == true) {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 420 MovieClip in Frame 10
on (press) {
if (_root.leveleight == true) {
_root.gotoAndStop(19);
}
}
onClipEvent (enterFrame) {
if (_root.leveleight == true) {
gotoAndStop (2);
if (_root.levelnine == true) {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 422 MovieClip in Frame 10
on (press) {
if (_root.levelnine == true) {
_root.gotoAndStop(20);
}
}
onClipEvent (enterFrame) {
if (_root.levelnine == true) {
gotoAndStop (2);
if (_root.levelten == true) {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 424 MovieClip in Frame 10
on (press) {
if ((_root.levelten == true) or (_root.levelthirteen == true)) {
_root.gotoAndStop(22);
}
}
onClipEvent (enterFrame) {
if ((_root.levelten == true) or (_root.levelthirteen == true)) {
gotoAndStop (2);
if (_root.leveltwelve == true) {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 426 MovieClip in Frame 10
on (press) {
if (_root.levelten == true) {
_root.gotoAndStop(21);
}
}
onClipEvent (enterFrame) {
if (_root.levelten == true) {
gotoAndStop (2);
if (_root.leveleleven == true) {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 428 MovieClip in Frame 10
on (press) {
if ((_root.leveltwelve == true) or (_root.levelfourteen == true)) {
_root.gotoAndStop(23);
}
}
onClipEvent (enterFrame) {
if ((_root.leveltwelve == true) or (_root.levelfourteen == true)) {
gotoAndStop (2);
if (_root.levelthirteen == true) {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 430 MovieClip in Frame 10
on (press) {
if ((_root.leveleleven == true) or (_root.levelseventeen == true)) {
_root.gotoAndStop(26);
}
}
onClipEvent (enterFrame) {
if ((_root.leveleleven == true) or (_root.levelseventeen == true)) {
gotoAndStop (2);
if (_root.levelsixteen == true) {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 432 MovieClip in Frame 10
on (press) {
if ((_root.levelthirteen == true) or (_root.levelfifteen == true)) {
_root.gotoAndStop(24);
}
}
onClipEvent (enterFrame) {
if ((_root.levelthirteen == true) or (_root.levelfifteen == true)) {
gotoAndStop (2);
if (_root.levelfourteen == true) {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 434 MovieClip in Frame 10
on (press) {
if (_root.levelthirteen == true) {
_root.gotoAndStop(28);
}
}
onClipEvent (enterFrame) {
if (_root.levelthirteen == true) {
gotoAndStop (2);
if (_root.leveleighteen == true) {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 436 MovieClip in Frame 10
on (press) {
if ((_root.levelfourteen == true) or (_root.levelseventeen == true)) {
_root.gotoAndStop(25);
}
}
onClipEvent (enterFrame) {
if ((_root.levelfourteen == true) or (_root.levelseventeen == true)) {
gotoAndStop (2);
if (_root.levelfifteen == true) {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 438 MovieClip in Frame 10
on (press) {
if ((_root.levelsixteen == true) or (_root.levelfifteen == true)) {
_root.gotoAndStop(27);
}
}
onClipEvent (enterFrame) {
if ((_root.levelsixteen == true) or (_root.levelfifteen == true)) {
gotoAndStop (2);
if (_root.levelseventeen == true) {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 441 MovieClip in Frame 10
on (press) {
if (_root.leveleighteen == true) {
_root.gotoAndStop(29);
}
}
onClipEvent (enterFrame) {
if (_root.leveleighteen == true) {
gotoAndStop (2);
if (_root.levelnineteen == true) {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 443 MovieClip in Frame 10
on (press) {
if (_root.levelnineteen == true) {
_root.gotoAndStop(34);
}
}
onClipEvent (enterFrame) {
if (_root.levelnineteen == true) {
gotoAndStop (2);
if (_root.leveltwentyfour == true) {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 445 MovieClip in Frame 10
on (press) {
if (_root.levelnineteen == true) {
_root.gotoAndStop(30);
}
}
onClipEvent (enterFrame) {
if (_root.levelnineteen == true) {
gotoAndStop (2);
if (_root.leveltwenty == true) {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 447 MovieClip in Frame 10
on (press) {
if (_root.leveltwenty == true) {
_root.gotoAndStop(31);
}
}
onClipEvent (enterFrame) {
if (_root.leveltwenty == true) {
gotoAndStop (2);
if (_root.leveltwentyone == true) {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 449 MovieClip in Frame 10
on (press) {
if (_root.leveltwentyfour == true) {
_root.gotoAndStop(35);
}
}
onClipEvent (enterFrame) {
if (_root.leveltwentyfour == true) {
gotoAndStop (2);
if (_root.leveltwentyfive == true) {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 451 MovieClip in Frame 10
on (press) {
if (_root.leveltwentyfive == true) {
_root.gotoAndStop(36);
}
}
onClipEvent (enterFrame) {
if (_root.leveltwentyfive == true) {
gotoAndStop (2);
if (_root.leveltwentysix == true) {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 453 MovieClip in Frame 10
on (press) {
if (_root.leveltwentysix == true) {
_root.gotoAndStop(37);
}
}
onClipEvent (enterFrame) {
if (_root.leveltwentysix == true) {
gotoAndStop (2);
if (_root.leveltwentyseven == true) {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 455 MovieClip in Frame 10
on (press) {
if (_root.leveltwentyseven == true) {
_root.gotoAndStop(39);
}
}
onClipEvent (enterFrame) {
if (_root.leveltwentyseven == true) {
gotoAndStop (2);
if (_root.leveltwentynine == true) {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 457 MovieClip in Frame 10
on (press) {
if (_root.leveltwentyseven == true) {
_root.gotoAndStop(38);
}
}
onClipEvent (enterFrame) {
if (_root.leveltwentyseven == true) {
gotoAndStop (2);
if (_root.leveltwentyeight == true) {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 459 MovieClip in Frame 10
on (press) {
if (_root.leveltwentynine == true) {
_root.gotoAndStop(40);
}
}
onClipEvent (enterFrame) {
if (_root.leveltwentynine == true) {
gotoAndStop (2);
if (_root.levelthirty == true) {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 461 MovieClip in Frame 10
on (press) {
if (_root.levelthirty == true) {
_root.gotoAndStop(41);
}
}
onClipEvent (enterFrame) {
if (_root.levelthirty == true) {
gotoAndStop (2);
if (_root.levelthirtyone == true) {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 463 MovieClip in Frame 10
on (press) {
if (_root.levelthirty == true) {
_root.gotoAndStop(42);
}
}
onClipEvent (enterFrame) {
if (_root.levelthirty == true) {
gotoAndStop (2);
if (_root.levelthirtytwo == true) {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 465 MovieClip in Frame 10
on (press) {
if (_root.levelthirtytwo == true) {
_root.gotoAndStop(43);
}
}
onClipEvent (enterFrame) {
if (_root.levelthirtytwo == true) {
gotoAndStop (2);
if (_root.levelthirtythree == true) {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 467 MovieClip in Frame 10
on (press) {
if (_root.levelthirtythree == true) {
_root.gotoAndStop(44);
}
}
onClipEvent (enterFrame) {
if (_root.levelthirtythree == true) {
gotoAndStop (2);
if (_root.levelthirtyfour == true) {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 469 MovieClip in Frame 10
on (press) {
if (_root.leveltwentyone == true) {
_root.gotoAndStop(32);
}
}
onClipEvent (enterFrame) {
if (_root.leveltwentyone == true) {
gotoAndStop (2);
if (_root.leveltwentytwo == true) {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 471 MovieClip in Frame 10
on (press) {
if (_root.leveltwentyone == true) {
_root.gotoAndStop(33);
}
}
onClipEvent (enterFrame) {
if (_root.leveltwentyone == true) {
gotoAndStop (2);
if (_root.leveltwentythree == true) {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 479 MovieClip in Frame 10
on (press) {
if (_root.levelthirtyfour == true) {
_root.gotoAndStop(45);
}
}
onClipEvent (enterFrame) {
if (_root.levelthirtyfour == true) {
gotoAndStop (2);
if (_root.levelthirtyfive == true) {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 481 MovieClip in Frame 10
on (press) {
if (_root.levelthirtyfive == true) {
_root.gotoAndStop(46);
}
}
onClipEvent (enterFrame) {
if (_root.levelthirtyfive == true) {
gotoAndStop (2);
if (_root.levelthirtysix == true) {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 483 MovieClip in Frame 10
on (press) {
if (_root.levelthirtyfive == true) {
_root.gotoAndStop(47);
}
}
onClipEvent (enterFrame) {
if (_root.levelthirtyfive == true) {
gotoAndStop (2);
if (_root.levelthirtyseven == true) {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 485 MovieClip in Frame 10
on (press) {
if (_root.levelthirtysix == true) {
_root.gotoAndStop(49);
}
}
onClipEvent (enterFrame) {
if (_root.levelthirtysix == true) {
gotoAndStop (2);
if (_root.levelthirtynine == true) {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 487 MovieClip in Frame 10
on (press) {
if (_root.levelthirtyseven == true) {
_root.gotoAndStop(48);
}
}
onClipEvent (enterFrame) {
if (_root.levelthirtyseven == true) {
gotoAndStop (2);
if (_root.levelthirtyeight == true) {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 489 MovieClip in Frame 10
on (press) {
if ((_root.levelthirtyeight == true) or (_root.levelthirtynine == true)) {
_root.gotoAndStop(50);
}
}
onClipEvent (enterFrame) {
if ((_root.levelthirtyeight == true) or (_root.levelthirtynine == true)) {
gotoAndStop (2);
if (_root.levelfourty == true) {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 499 MovieClip "secretmenu" in Frame 10
onClipEvent (enterFrame) {
if ((_root.secrettwo == true) and (_root.once == false)) {
gotoAndStop (2);
} else if ((_root.secretthree == true) and (_root.once2 == false)) {
gotoAndStop (3);
}
}
Frame 11
onEnterFrame = function () {
if (Key.isDown(69) or Key.isDown(81)) {
delete this.onMouseMove;
}
};
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (((_root.switchone == true) and (_root._ymouse > 60)) and (_root.busymenu == false)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if ((_root._ymouse > 60) and (_root.busymenu == false)) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if (((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) and (_root.busymenu == false)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if ((((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) and (_root.busymenu == false)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
onEnterFrame = function () {
if (Key.isDown(69) or Key.isDown(81)) {
delete this.onMouseMove;
}
};
Instance of Symbol 129 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.levelone = true;
_root.storage.data.levelone = _root.levelone;
_root.storage.flush();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 252 MovieClip "char" in Frame 11
onClipEvent (load) {
gravity = 0;
scale = _xscale;
_root.bob = false;
_root.stopper = false;
_root.ydiff = 0;
_root.ypos = _root.char._y;
_root.xpos = _root.char._x;
ok = false;
}
onClipEvent (enterFrame) {
if (_root.busymenu == false) {
gravity++;
_y = (_y + gravity);
while ((_root.myBmp.getPixel32(_x, _y) != 0) and (_root.bob == false)) {
_y = (_y-1);
gravity = 0;
}
if (Key.isDown(39) or Key.isDown(68)) {
_x = (_x + 4);
_xscale = scale;
if (_root.myBmp.getPixel32(_x, _y + 3) != 0) {
this.gotoAndStop(2);
}
} else if (Key.isDown(37) or Key.isDown(65)) {
_x = (_x - 4);
_xscale = (-scale);
if (_root.myBmp.getPixel32(_x, _y + 3) != 0) {
this.gotoAndStop(2);
}
}
if ((Key.isDown(38) and (_root.myBmp.getPixel32(_x, _y + 3) != 0)) or (Key.isDown(87) and (_root.myBmp.getPixel32(_x, _y + 3) != 0))) {
this.gotoAndStop(4);
_y = (_y - 4);
gravity = -10;
} else if (((((_root.myBmp.getPixel32(_x, _y + 3) != 0) and (!Key.isDown(39))) and (!Key.isDown(37))) and (!Key.isDown(68))) and (!Key.isDown(65))) {
this.gotoAndStop(1);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 40) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 30) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 20) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 40) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 30) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 20) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x, _y - 50) != 0) {
gravity = 0;
}
if (_root.myBmp.getPixel32(_x, _y - 40) != 0) {
if (((((_root.char._y - _root._ymouse) > -20) and ((_root.char._y - _root._ymouse) < 40)) and ((_root.char._x - _root._xmouse) > -30)) and ((_root.char._x - _root._xmouse) < 30)) {
_root.stopper = true;
} else {
_root.stopper = false;
}
} else {
_root.stopper = false;
}
if (_y > 1000) {
_root.ydiff = 0;
_root.ypos = 0;
ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
}
_root.ydiff = _root.ypos - _root.char._y;
if (_root.ydiff > 60) {
ok = true;
_root.char._y = _root.ypos;
_root.char._x = _root.xpos;
}
if (ok == false) {
_root.ypos = _root.char._y;
_root.xpos = _root.char._x;
}
if ((!_root.myBmp.getPixel32(_x, _y - 50)) != 0) {
ok = false;
}
}
_root.vcam.camControl();
}
Instance of Symbol 136 MovieClip "ground" in Frame 11
onClipEvent (enterFrame) {
if (_root._currentframe == 9) {
removeMovieClip(this);
}
}
Instance of Symbol 508 MovieClip "grave" in Frame 11
onClipEvent (load) {
if (_name != "grave") {
_x = _root.char._x;
_y = _root.char._y;
gravity = 0;
}
}
onClipEvent (enterFrame) {
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_root.busymenu == false) {
if (((_name != "grave") and (_root._currentframe != 9)) and (_root._currentframe != 10)) {
gravity++;
_y = (_y + gravity);
while ((_root.myBmp.getPixel32(_x, _y) != 0) and (_root.bob == false)) {
_y = (_y-1);
gravity = 0;
}
if ((_y > 450) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 512 MovieClip in Frame 11
onClipEvent (enterFrame) {
_root.reset = false;
if (_root.busymenu == false) {
if (_root.switchone == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
}
onClipEvent (load) {
beenPressed = false;
beenPressed2 = false;
}
onClipEvent (enterFrame) {
if (Key.isDown(69) && (!beenPressed)) {
beenPressed = true;
_root.switchone = true;
}
if (!Key.isDown(69)) {
beenPressed = false;
}
if (Key.isDown(81) && (!beenPressed2)) {
beenPressed2 = true;
_root.switchone = false;
}
if (!Key.isDown(81)) {
beenPressed2 = false;
}
}
Instance of Symbol 335 MovieClip "vcam" in Frame 11
onClipEvent (load) {
if (_root.hat == true) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.hat == true) {
_visible = true;
} else {
_visible = false;
}
}
Frame 12
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (_root.busymenu == false) {
if ((_root.switchone == true) and (_root._ymouse > 60)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if (_root._ymouse > 60) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if ((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if (((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
onEnterFrame = function () {
if (Key.isDown(69) or Key.isDown(81)) {
delete this.onMouseMove;
}
};
Instance of Symbol 252 MovieClip "char" in Frame 12
onClipEvent (load) {
gravity = 0;
scale = _xscale;
_root.bob = false;
_root.stopper = false;
_root.ydiff = 0;
_root.ypos = _root.char._y;
_root.xpos = _root.char._x;
ok = false;
}
onClipEvent (enterFrame) {
if (_root.busymenu == false) {
gravity++;
_y = (_y + gravity);
while ((_root.myBmp.getPixel32(_x, _y) != 0) and (_root.bob == false)) {
_y = (_y-1);
gravity = 0;
}
if (Key.isDown(39) or Key.isDown(68)) {
_x = (_x + 4);
_xscale = scale;
if (_root.myBmp.getPixel32(_x, _y + 3) != 0) {
this.gotoAndStop(2);
}
} else if (Key.isDown(37) or Key.isDown(65)) {
_x = (_x - 4);
_xscale = (-scale);
if (_root.myBmp.getPixel32(_x, _y + 3) != 0) {
this.gotoAndStop(2);
}
}
if ((Key.isDown(38) and (_root.myBmp.getPixel32(_x, _y + 3) != 0)) or (Key.isDown(87) and (_root.myBmp.getPixel32(_x, _y + 3) != 0))) {
this.gotoAndStop(4);
_y = (_y - 4);
gravity = -10;
} else if (((((_root.myBmp.getPixel32(_x, _y + 3) != 0) and (!Key.isDown(39))) and (!Key.isDown(37))) and (!Key.isDown(68))) and (!Key.isDown(65))) {
this.gotoAndStop(1);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 40) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 30) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 20) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 40) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 30) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 20) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x, _y - 50) != 0) {
gravity = 0;
}
if (_root.myBmp.getPixel32(_x, _y - 40) != 0) {
if (((((_root.char._y - _root._ymouse) > -20) and ((_root.char._y - _root._ymouse) < 40)) and ((_root.char._x - _root._xmouse) > -30)) and ((_root.char._x - _root._xmouse) < 30)) {
_root.stopper = true;
} else {
_root.stopper = false;
}
} else {
_root.stopper = false;
}
if (_y > 1000) {
_root.ydiff = 0;
_root.ypos = 0;
ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
}
_root.ydiff = _root.ypos - _root.char._y;
if (_root.ydiff > 60) {
ok = true;
_root.char._y = _root.ypos;
_root.char._x = _root.xpos;
}
if (ok == false) {
_root.ypos = _root.char._y;
_root.xpos = _root.char._x;
}
if ((!_root.myBmp.getPixel32(_x, _y - 50)) != 0) {
ok = false;
}
}
_root.vcam.camControl();
}
Instance of Symbol 129 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.leveltwo = true;
_root.storage.data.leveltwo = _root.leveltwo;
_root.storage.flush();
_root.gotoAndStop(10);
}
}
}
Frame 13
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (_root.busymenu == false) {
if ((_root.switchone == true) and (_root._ymouse > 60)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if (_root._ymouse > 60) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if ((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if (((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
Instance of Symbol 252 MovieClip "char" in Frame 13
onClipEvent (load) {
gravity = 0;
scale = _xscale;
_root.bob = false;
_root.stopper = false;
_root.ydiff = 0;
_root.ypos = _root.char._y;
_root.xpos = _root.char._x;
ok = false;
busy = false;
}
onClipEvent (enterFrame) {
if (_root.busymenu == false) {
if (_currentframe == 5) {
busy = true;
} else {
busy = false;
}
if (busy == false) {
gravity++;
_y = (_y + gravity);
}
while ((_root.myBmp.getPixel32(_x, _y) != 0) and (_root.bob == false)) {
_y = (_y-1);
gravity = 0;
}
if ((Key.isDown(39) and (busy == false)) or (Key.isDown(68) and (busy == false))) {
_x = (_x + 4);
_xscale = scale;
if (_root.myBmp.getPixel32(_x, _y + 3) != 0) {
this.gotoAndStop(2);
}
} else if ((Key.isDown(37) and (busy == false)) or (Key.isDown(65) and (busy == false))) {
_x = (_x - 4);
_xscale = (-scale);
if (_root.myBmp.getPixel32(_x, _y + 3) != 0) {
this.gotoAndStop(2);
}
}
if (((Key.isDown(38) and (_root.myBmp.getPixel32(_x, _y + 3) != 0)) and (busy == false)) or ((Key.isDown(87) and (_root.myBmp.getPixel32(_x, _y + 3) != 0)) and (busy == false))) {
this.gotoAndStop(4);
_y = (_y - 4);
gravity = -10;
} else if ((((((_root.myBmp.getPixel32(_x, _y + 3) != 0) and (!Key.isDown(39))) and (!Key.isDown(37))) and (!Key.isDown(65))) and (!Key.isDown(68))) and (busy == false)) {
this.gotoAndStop(1);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 40) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 30) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 20) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 40) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 30) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 20) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x, _y - 50) != 0) {
gravity = 0;
}
if (_root.myBmp.getPixel32(_x, _y - 40) != 0) {
if (((((_root.char._y - _root._ymouse) > -20) and ((_root.char._y - _root._ymouse) < 40)) and ((_root.char._x - _root._xmouse) > -30)) and ((_root.char._x - _root._xmouse) < 30)) {
_root.stopper = true;
} else {
_root.stopper = false;
}
} else {
_root.stopper = false;
}
if (_y > 1000) {
_root.ydiff = 0;
_root.ypos = 0;
ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
}
_root.ydiff = _root.ypos - _root.char._y;
if (_root.ydiff > 60) {
ok = true;
_root.char._y = _root.ypos;
_root.char._x = _root.xpos;
}
if (ok == false) {
_root.ypos = _root.char._y;
_root.xpos = _root.char._x;
}
if ((!_root.myBmp.getPixel32(_x, _y - 50)) != 0) {
ok = false;
}
}
_root.vcam.camControl();
}
Instance of Symbol 276 MovieClip "acid" in Frame 13
onClipEvent (load) {
if (_name != "acid") {
_x = _root.faucet._x;
_y = (_root.faucet._y + 15);
holdframe = _root._currentframe;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if (_root.busymenu == false) {
if (_y > 500) {
removeMovieClip(this);
}
if (_root._currentframe != holdframe) {
removeMovieClip(this);
}
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
if (_name != "acid") {
_y = (_y + 5);
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
removeMovieClip(this);
}
}
}
}
Instance of Symbol 129 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.levelthree = true;
_root.storage.data.levelthree = _root.levelthree;
_root.storage.flush();
_root.gotoAndStop(10);
}
}
}
Frame 14
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (_root.busymenu == false) {
if ((_root.switchone == true) and (_root._ymouse > 60)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if (_root._ymouse > 60) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if ((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if (((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
Instance of Symbol 252 MovieClip "char" in Frame 14
onClipEvent (load) {
gravity = 0;
scale = _xscale;
_root.bob = false;
_root.stopper = false;
_root.ydiff = 0;
_root.ypos = _root.char._y;
_root.xpos = _root.char._x;
ok = false;
busy = false;
}
onClipEvent (enterFrame) {
if (_root.busymenu == false) {
if (_currentframe == 5) {
busy = true;
} else {
busy = false;
}
if (busy == false) {
gravity++;
_y = (_y + gravity);
}
while ((_root.myBmp.getPixel32(_x, _y) != 0) and (_root.bob == false)) {
_y = (_y-1);
gravity = 0;
}
if ((Key.isDown(39) and (busy == false)) or (Key.isDown(68) and (busy == false))) {
_x = (_x + 4);
_xscale = scale;
if (_root.myBmp.getPixel32(_x, _y + 3) != 0) {
this.gotoAndStop(2);
}
} else if ((Key.isDown(37) and (busy == false)) or (Key.isDown(65) and (busy == false))) {
_x = (_x - 4);
_xscale = (-scale);
if (_root.myBmp.getPixel32(_x, _y + 3) != 0) {
this.gotoAndStop(2);
}
}
if (((Key.isDown(38) and (_root.myBmp.getPixel32(_x, _y + 3) != 0)) and (busy == false)) or ((Key.isDown(87) and (_root.myBmp.getPixel32(_x, _y + 3) != 0)) and (busy == false))) {
this.gotoAndStop(4);
_y = (_y - 4);
gravity = -10;
} else if ((((((_root.myBmp.getPixel32(_x, _y + 3) != 0) and (!Key.isDown(39))) and (!Key.isDown(37))) and (!Key.isDown(65))) and (!Key.isDown(68))) and (busy == false)) {
this.gotoAndStop(1);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 40) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 30) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 20) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 40) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 30) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 20) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x, _y - 50) != 0) {
gravity = 0;
}
if (_root.myBmp.getPixel32(_x, _y - 40) != 0) {
if (((((_root.char._y - _root._ymouse) > -20) and ((_root.char._y - _root._ymouse) < 40)) and ((_root.char._x - _root._xmouse) > -30)) and ((_root.char._x - _root._xmouse) < 30)) {
_root.stopper = true;
} else {
_root.stopper = false;
}
} else {
_root.stopper = false;
}
if (_y > 1000) {
_root.ydiff = 0;
_root.ypos = 0;
ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
}
_root.ydiff = _root.ypos - _root.char._y;
if (_root.ydiff > 60) {
ok = true;
_root.char._y = _root.ypos;
_root.char._x = _root.xpos;
}
if (ok == false) {
_root.ypos = _root.char._y;
_root.xpos = _root.char._x;
}
if ((!_root.myBmp.getPixel32(_x, _y - 50)) != 0) {
ok = false;
}
}
_root.vcam.camControl();
}
Instance of Symbol 532 MovieClip in Frame 14
onClipEvent (load) {
speed = 9;
angle = 3;
bob = 0;
X = _x;
Y = _y;
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
_x = X;
_y = Y;
}
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_x = (_x - 10);
if (_x < -150) {
_x = 500;
}
if (((_root.myBmp.getPixel32(_x, _y) != 0) or (_root.myBmp.getPixel32(_x, _y + 10) != 0)) or (_root.myBmp.getPixel32(_x, _y - 10) != 0)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
}
}
}
Instance of Symbol 532 MovieClip in Frame 14
onClipEvent (load) {
speed = 9;
angle = 3;
bob = 0;
X = _x;
Y = _y;
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
_x = X;
_y = Y;
}
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_x = (_x - 10);
if (_x < -150) {
_x = 500;
}
if (((_root.myBmp.getPixel32(_x, _y) != 0) or (_root.myBmp.getPixel32(_x, _y + 10) != 0)) or (_root.myBmp.getPixel32(_x, _y - 10) != 0)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
}
}
}
Instance of Symbol 129 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.levelfour = true;
_root.storage.data.levelfour = _root.levelfour;
_root.storage.flush();
_root.gotoAndStop(10);
}
}
}
Frame 15
_root.storage.data.levelholder = _root._currentframe - 9;
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (_root.busymenu == false) {
if ((_root.switchone == true) and (_root._ymouse > 60)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if (_root._ymouse > 60) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if ((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if (((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
Instance of Symbol 252 MovieClip "char" in Frame 15
onClipEvent (load) {
gravity = 0;
scale = _xscale;
_root.bob = false;
_root.stopper = false;
_root.ydiff = 0;
_root.ypos = _root.char._y;
_root.xpos = _root.char._x;
ok = false;
busy = false;
}
onClipEvent (enterFrame) {
if (_root.busymenu == false) {
if (_currentframe == 5) {
busy = true;
} else {
busy = false;
}
if (busy == false) {
gravity++;
_y = (_y + gravity);
}
while ((_root.myBmp.getPixel32(_x, _y) != 0) and (_root.bob == false)) {
_y = (_y-1);
gravity = 0;
}
if ((Key.isDown(39) and (busy == false)) or (Key.isDown(68) and (busy == false))) {
_x = (_x + 4);
_xscale = scale;
if (_root.myBmp.getPixel32(_x, _y + 3) != 0) {
this.gotoAndStop(2);
}
} else if ((Key.isDown(37) and (busy == false)) or (Key.isDown(65) and (busy == false))) {
_x = (_x - 4);
_xscale = (-scale);
if (_root.myBmp.getPixel32(_x, _y + 3) != 0) {
this.gotoAndStop(2);
}
}
if (((Key.isDown(38) and (_root.myBmp.getPixel32(_x, _y + 3) != 0)) and (busy == false)) or ((Key.isDown(87) and (_root.myBmp.getPixel32(_x, _y + 3) != 0)) and (busy == false))) {
this.gotoAndStop(4);
_y = (_y - 4);
gravity = -10;
} else if ((((((_root.myBmp.getPixel32(_x, _y + 3) != 0) and (!Key.isDown(39))) and (!Key.isDown(37))) and (!Key.isDown(65))) and (!Key.isDown(68))) and (busy == false)) {
this.gotoAndStop(1);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 40) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 30) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 20) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 40) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 30) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 20) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x, _y - 50) != 0) {
gravity = 0;
}
if (_root.myBmp.getPixel32(_x, _y - 40) != 0) {
if (((((_root.char._y - _root._ymouse) > -20) and ((_root.char._y - _root._ymouse) < 40)) and ((_root.char._x - _root._xmouse) > -30)) and ((_root.char._x - _root._xmouse) < 30)) {
_root.stopper = true;
} else {
_root.stopper = false;
}
} else {
_root.stopper = false;
}
if (_y > 1000) {
_root.ydiff = 0;
_root.ypos = 0;
ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
}
_root.ydiff = _root.ypos - _root.char._y;
if (_root.ydiff > 60) {
ok = true;
_root.char._y = _root.ypos;
_root.char._x = _root.xpos;
}
if (ok == false) {
_root.ypos = _root.char._y;
_root.xpos = _root.char._x;
}
if ((!_root.myBmp.getPixel32(_x, _y - 50)) != 0) {
ok = false;
}
}
_root.vcam.camControl();
}
Instance of Symbol 540 MovieClip in Frame 15
onClipEvent (enterFrame) {
if ((((_root.char.hitTest(hit) or _root.char.hitTest(hit2)) or _root.char.hitTest(hit3)) or _root.char.hitTest(hit4)) or _root.char.hitTest(hit5)) {
_root.char.gotoAndStop(5);
}
}
Instance of Symbol 540 MovieClip in Frame 15
onClipEvent (enterFrame) {
if ((((_root.char.hitTest(hit) or _root.char.hitTest(hit2)) or _root.char.hitTest(hit3)) or _root.char.hitTest(hit4)) or _root.char.hitTest(hit5)) {
_root.char.gotoAndStop(5);
}
}
Instance of Symbol 540 MovieClip in Frame 15
onClipEvent (enterFrame) {
if ((((_root.char.hitTest(hit) or _root.char.hitTest(hit2)) or _root.char.hitTest(hit3)) or _root.char.hitTest(hit4)) or _root.char.hitTest(hit5)) {
_root.char.gotoAndStop(5);
}
}
Instance of Symbol 540 MovieClip in Frame 15
onClipEvent (enterFrame) {
if ((((_root.char.hitTest(hit) or _root.char.hitTest(hit2)) or _root.char.hitTest(hit3)) or _root.char.hitTest(hit4)) or _root.char.hitTest(hit5)) {
_root.char.gotoAndStop(5);
}
}
Instance of Symbol 129 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.levelfive = true;
_root.storage.data.levelfive = _root.levelfive;
_root.storage.flush();
_root.gotoAndStop(10);
}
}
}
Frame 16
_root.storage.data.levelholder = _root._currentframe - 9;
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (_root.busymenu == false) {
if ((_root.switchone == true) and (_root._ymouse > 60)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if (_root._ymouse > 60) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if ((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if (((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
Instance of Symbol 129 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.levelsix = true;
_root.storage.data.levelsix = _root.levelsix;
_root.storage.flush();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 276 MovieClip "acid2" in Frame 16
onClipEvent (load) {
if (_name != "acid2") {
_x = _root.faucet2._x;
_y = (_root.faucet2._y + 15);
holdframe = _root._currentframe;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if (_root.busymenu == false) {
if (_y > 500) {
removeMovieClip(this);
}
if (_root._currentframe != holdframe) {
removeMovieClip(this);
}
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
if (_name != "acid2") {
_y = (_y + 5);
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
removeMovieClip(this);
}
}
}
}
Instance of Symbol 545 MovieClip "faucet2" in Frame 16
onClipEvent (load) {
gotoAndPlay (15);
}
Instance of Symbol 276 MovieClip "acid" in Frame 16
onClipEvent (load) {
if (_name != "acid") {
_x = _root.faucet._x;
_y = (_root.faucet._y + 15);
holdframe = _root._currentframe;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if (_root.busymenu == false) {
if (_y > 500) {
removeMovieClip(this);
}
if (_root._currentframe != holdframe) {
removeMovieClip(this);
}
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
if (_name != "acid") {
_y = (_y + 5);
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
removeMovieClip(this);
}
}
}
}
Frame 17
_root.storage.data.levelholder = _root._currentframe - 9;
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (_root.busymenu == false) {
if ((_root.switchone == true) and (_root._ymouse > 60)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if (_root._ymouse > 60) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if ((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if (((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
Instance of Symbol 129 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.levelseven = true;
_root.storage.data.levelseven = _root.levelseven;
_root.storage.flush();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 276 MovieClip "acid2" in Frame 17
onClipEvent (load) {
if (_name != "acid2") {
_x = _root.faucet2._x;
_y = (_root.faucet2._y + 15);
holdframe = _root._currentframe;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if (_root.busymenu == false) {
if (_y > 500) {
removeMovieClip(this);
}
if (_root._currentframe != holdframe) {
removeMovieClip(this);
}
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
if (_name != "acid2") {
_y = (_y + 5);
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
removeMovieClip(this);
}
}
}
}
Instance of Symbol 545 MovieClip "faucet2" in Frame 17
onClipEvent (load) {
gotoAndPlay (15);
}
Instance of Symbol 276 MovieClip "acid" in Frame 17
onClipEvent (load) {
if (_name != "acid") {
_x = _root.faucet._x;
_y = (_root.faucet._y + 15);
holdframe = _root._currentframe;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if (_root.busymenu == false) {
if (_y > 500) {
removeMovieClip(this);
}
if (_root._currentframe != holdframe) {
removeMovieClip(this);
}
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
if (_name != "acid") {
_y = (_y + 5);
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
removeMovieClip(this);
}
}
}
}
Instance of Symbol 540 MovieClip in Frame 17
onClipEvent (enterFrame) {
if ((((_root.char.hitTest(hit) or _root.char.hitTest(hit2)) or _root.char.hitTest(hit3)) or _root.char.hitTest(hit4)) or _root.char.hitTest(hit5)) {
_root.char.gotoAndStop(5);
}
}
Frame 18
_root.shoot = false;
_root.storage.data.levelholder = _root._currentframe - 9;
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (_root.busymenu == false) {
if ((_root.switchone == true) and (_root._ymouse > 60)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if (_root._ymouse > 60) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if ((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if (((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
Instance of Symbol 252 MovieClip "char" in Frame 18
onClipEvent (load) {
gravity = 0;
scale = _xscale;
_root.bob = false;
_root.stopper = false;
_root.ydiff = 0;
_root.ypos = _root.char._y;
_root.xpos = _root.char._x;
ok = false;
busy = false;
}
onClipEvent (enterFrame) {
if (_root.busymenu == false) {
if (_currentframe == 5) {
busy = true;
} else {
busy = false;
}
if (busy == false) {
gravity++;
_y = (_y + gravity);
}
while ((_root.myBmp.getPixel32(_x, _y) != 0) and (_root.bob == false)) {
_y = (_y-1);
gravity = 0;
}
if ((Key.isDown(39) and (busy == false)) or (Key.isDown(68) and (busy == false))) {
_x = (_x + 4);
_xscale = scale;
if (_root.myBmp.getPixel32(_x, _y + 3) != 0) {
this.gotoAndStop(2);
}
} else if ((Key.isDown(37) and (busy == false)) or (Key.isDown(65) and (busy == false))) {
_x = (_x - 4);
_xscale = (-scale);
if (_root.myBmp.getPixel32(_x, _y + 3) != 0) {
this.gotoAndStop(2);
}
}
if (((Key.isDown(38) and (_root.myBmp.getPixel32(_x, _y + 3) != 0)) and (busy == false)) or ((Key.isDown(87) and (_root.myBmp.getPixel32(_x, _y + 3) != 0)) and (busy == false))) {
this.gotoAndStop(4);
_y = (_y - 4);
gravity = -10;
} else if ((((((_root.myBmp.getPixel32(_x, _y + 3) != 0) and (!Key.isDown(39))) and (!Key.isDown(37))) and (!Key.isDown(65))) and (!Key.isDown(68))) and (busy == false)) {
this.gotoAndStop(1);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 40) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 30) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 20) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 40) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 30) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 20) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x, _y - 50) != 0) {
gravity = 0;
}
if (_root.myBmp.getPixel32(_x, _y - 40) != 0) {
if (((((_root.char._y - _root._ymouse) > -20) and ((_root.char._y - _root._ymouse) < 40)) and ((_root.char._x - _root._xmouse) > -30)) and ((_root.char._x - _root._xmouse) < 30)) {
_root.stopper = true;
} else {
_root.stopper = false;
}
} else {
_root.stopper = false;
}
if (_y > 1000) {
_root.ydiff = 0;
_root.ypos = 0;
ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
}
_root.ydiff = _root.ypos - _root.char._y;
if (_root.ydiff > 60) {
ok = true;
_root.char._y = _root.ypos;
_root.char._x = _root.xpos;
}
if (ok == false) {
_root.ypos = _root.char._y;
_root.xpos = _root.char._x;
}
if ((!_root.myBmp.getPixel32(_x, _y - 50)) != 0) {
ok = false;
}
if (((((((((_root.myline.hitTest(_x, _y, true) or _root.myline.hitTest(_x, _y - 5, true)) or _root.myline.hitTest(_x, _y - 10, true)) or _root.myline.hitTest(_x, _y + 1, true)) or _root.myline.hitTest(_x, _y - 20, true)) or _root.myline.hitTest(_x, _y - 19, true)) or _root.myline.hitTest(_x, _y - 25, true)) or _root.myline.hitTest(_x, _y - 30, true)) or _root.myline.hitTest(_x, _y - 40, true)) or _root.myline.hitTest(_x, _y - 39, true)) {
gotoAndStop (5);
}
}
_root.vcam.camControl();
}
Instance of Symbol 129 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.leveleight = true;
_root.storage.data.leveleight = _root.leveleight;
_root.storage.flush();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 553 MovieClip "lasergun" in Frame 18
onClipEvent (load) {
speed = 4;
_root.hitter._x = _x;
_root.hitter._y = _y;
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
gotoAndPlay (1);
}
if (_root.shoot == false) {
X = _root.char._x - _x;
Y = _root.char._y - _y;
}
if (_root.shoot == true) {
stop();
} else {
play();
}
if (_root.busymenu == false) {
play();
} else {
stop();
}
angle = Math.atan2(Y, X);
_rotation = (((angle * 180) / Math.PI) - 180);
}
Instance of Symbol 325 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.shoot == true) {
_root.myline.clear();
_root.myline.lineStyle(5, 16711680);
_root.myline.moveTo(_root.lasergun._x, _root.lasergun._y);
_root.myline.lineTo(_root.hitter._x, _root.hitter._y - 20);
}
}
Instance of Symbol 323 MovieClip "hitter" in Frame 18
onClipEvent (load) {
speed = 16;
_x = _root.lasergun._x;
_y = (_root.lasergun._y + 18);
}
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char.gotoAndStop(5);
}
if (_root.shoot == false) {
X = _root.char._x - _x;
Y = _root.char._y - _y;
} else if ((_root.shoot == true) and (_root.busymenu == false)) {
angle = Math.atan2(Y, X);
_rotation = (((angle * 180) / Math.PI) - 180);
_x = (_x + (Math.cos(angle) * speed));
_y = (_y + (Math.sin(angle) * speed));
}
if (_root.myBmp.getPixel32(this)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y - 18);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
removeMovieClip(this);
}
if (((((_x > 550) or (_x < 0)) or (_y > 400)) or (_y < 0)) or (_root.reset == true)) {
_root.myline.clear();
_x = _root.lasergun._x;
_y = (_root.lasergun._y + 18);
_root.shoot = false;
}
}
Frame 19
_root.shoot = false;
_root.storage.data.levelholder = _root._currentframe - 9;
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (_root.busymenu == false) {
if ((_root.switchone == true) and (_root._ymouse > 60)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if (_root._ymouse > 60) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if ((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if (((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
Instance of Symbol 252 MovieClip "char" in Frame 19
onClipEvent (load) {
gravity = 0;
scale = _xscale;
_root.bob = false;
_root.stopper = false;
_root.ydiff = 0;
_root.ypos = _root.char._y;
_root.xpos = _root.char._x;
ok = false;
busy = false;
}
onClipEvent (enterFrame) {
if (_root.busymenu == false) {
if (_currentframe == 5) {
busy = true;
} else {
busy = false;
}
if (busy == false) {
gravity++;
_y = (_y + gravity);
}
while ((_root.myBmp.getPixel32(_x, _y) != 0) and (_root.bob == false)) {
_y = (_y-1);
gravity = 0;
}
if ((Key.isDown(39) and (busy == false)) or (Key.isDown(68) and (busy == false))) {
_x = (_x + 4);
_xscale = scale;
if (_root.myBmp.getPixel32(_x, _y + 3) != 0) {
this.gotoAndStop(2);
}
} else if ((Key.isDown(37) and (busy == false)) or (Key.isDown(65) and (busy == false))) {
_x = (_x - 4);
_xscale = (-scale);
if (_root.myBmp.getPixel32(_x, _y + 3) != 0) {
this.gotoAndStop(2);
}
}
if (((Key.isDown(38) and (_root.myBmp.getPixel32(_x, _y + 3) != 0)) and (busy == false)) or ((Key.isDown(87) and (_root.myBmp.getPixel32(_x, _y + 3) != 0)) and (busy == false))) {
this.gotoAndStop(4);
_y = (_y - 4);
gravity = -10;
} else if ((((((_root.myBmp.getPixel32(_x, _y + 3) != 0) and (!Key.isDown(39))) and (!Key.isDown(37))) and (!Key.isDown(65))) and (!Key.isDown(68))) and (busy == false)) {
this.gotoAndStop(1);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 40) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 30) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 20) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 40) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 30) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 20) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x, _y - 50) != 0) {
gravity = 0;
}
if (_root.myBmp.getPixel32(_x, _y - 40) != 0) {
if (((((_root.char._y - _root._ymouse) > -20) and ((_root.char._y - _root._ymouse) < 40)) and ((_root.char._x - _root._xmouse) > -30)) and ((_root.char._x - _root._xmouse) < 30)) {
_root.stopper = true;
} else {
_root.stopper = false;
}
} else {
_root.stopper = false;
}
if (_y > 1000) {
_root.ydiff = 0;
_root.ypos = 0;
ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
}
_root.ydiff = _root.ypos - _root.char._y;
if (_root.ydiff > 60) {
ok = true;
_root.char._y = _root.ypos;
_root.char._x = _root.xpos;
}
if (ok == false) {
_root.ypos = _root.char._y;
_root.xpos = _root.char._x;
}
if ((!_root.myBmp.getPixel32(_x, _y - 50)) != 0) {
ok = false;
}
if (((((((((_root.myline.hitTest(_x, _y, true) or _root.myline.hitTest(_x, _y - 5, true)) or _root.myline.hitTest(_x, _y - 10, true)) or _root.myline.hitTest(_x, _y + 1, true)) or _root.myline.hitTest(_x, _y - 20, true)) or _root.myline.hitTest(_x, _y - 19, true)) or _root.myline.hitTest(_x, _y - 25, true)) or _root.myline.hitTest(_x, _y - 30, true)) or _root.myline.hitTest(_x, _y - 40, true)) or _root.myline.hitTest(_x, _y - 39, true)) {
gotoAndStop (5);
}
}
_root.vcam.camControl();
}
Instance of Symbol 129 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.levelnine = true;
_root.storage.data.levelnine = _root.levelnine;
_root.storage.flush();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 565 MovieClip "cannon" in Frame 19
onClipEvent (enterFrame) {
if (_root.busymenu == false) {
play();
} else {
stop();
}
}
Instance of Symbol 573 MovieClip "ball2" in Frame 19
onClipEvent (load) {
if (_name != "ball2") {
Yspeed = random(10) + 5;
Xspeed = random(5) + 5;
_x = (_root.cannon2._x + 30);
_y = (_root.cannon2._y - 50);
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if (_name == "ball2") {
stop();
}
if (_name != "ball2") {
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_root.busymenu == false) {
if (inside.bang._currentframe == 16) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_currentframe != 21) {
play();
}
if (inside._currentframe != 21) {
inside.play();
}
} else {
stop();
if (inside._currentframe != 21) {
inside.stop();
}
}
if (_root.busymenu == false) {
if (_name != "ball2") {
if (inside._currentframe != 21) {
Yspeed = Yspeed - 0.5;
_y = (_y - Yspeed);
_x = (_x + Xspeed);
}
if (_currentframe == 20) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holethree, myMatrix, 0, "erase");
}
}
}
}
}
Instance of Symbol 579 MovieClip "cannon2" in Frame 19
onClipEvent (enterFrame) {
if (_root.busymenu == false) {
play();
} else {
stop();
}
}
Instance of Symbol 573 MovieClip "ball" in Frame 19
onClipEvent (load) {
if (_name != "ball") {
Yspeed = random(10) + 5;
Xspeed = random(5) + 5;
_x = (_root.cannon._x - 30);
_y = (_root.cannon._y - 50);
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if (_name == "ball") {
stop();
}
if (_name != "ball") {
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_root.busymenu == false) {
if (inside.bang._currentframe == 16) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_currentframe != 21) {
play();
}
if (inside._currentframe != 21) {
inside.play();
}
} else {
stop();
if (inside._currentframe != 21) {
inside.stop();
}
}
if (_root.busymenu == false) {
if (_name != "ball") {
if (_currentframe != 21) {
Yspeed = Yspeed - 0.5;
_y = (_y - Yspeed);
_x = (_x - Xspeed);
}
if (_currentframe == 20) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holethree, myMatrix, 0, "erase");
}
}
}
}
}
Frame 20
_root.shoot = false;
_root.storage.data.levelholder = _root._currentframe - 9;
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (_root.busymenu == false) {
if ((_root.switchone == true) and (_root._ymouse > 60)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if (_root._ymouse > 60) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if ((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if (((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
Instance of Symbol 129 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.levelten = true;
_root.storage.data.levelten = _root.levelten;
_root.storage.flush();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 325 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (_root.shoot == true) {
_root.myline.clear();
_root.myline.lineStyle(5, 16711680);
_root.myline.moveTo(_root.lasergun._x, _root.lasergun._y);
_root.myline.lineTo(_root.hitter._x, _root.hitter._y - 20);
}
}
Instance of Symbol 590 MovieClip "rocket" in Frame 20
onClipEvent (load) {
if (_name != "rocket") {
speed = 5;
_x = random(550);
_y = 0;
deadlock = true;
timer = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if (_root.busymenu == false) {
if (bang._currentframe == 16) {
removeMovieClip(this);
}
if (_root._currentframe != 20) {
removeMovieClip(this);
}
if (_name != "rocket") {
if (deadlock == true) {
_rotation = (_rotation + 40);
_y = (_y + 8);
timer++;
if (timer > 10) {
deadlock = false;
}
}
if ((_currentframe == 1) and (deadlock == false)) {
X = _root.char._x - _x;
Y = _root.char._y - _y;
angle = Math.atan2(Y, X);
_rotation = (((angle * 180) / Math.PI) - 180);
_x = (_x + (Math.cos(angle) * speed));
_y = (_y + (Math.sin(angle) * speed));
if (((_root.myBmp.getPixel32(_x, _y) != 0) or eval (_root.myBmp.getPixel32(_x, _y + 10) != 0)(_root.myBmp.getPixel32(_x, _y - 10) != 0)) or _root.char.hitTest(this)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y - 18);
_root.myBmp.draw(_root.holefour, myMatrix, 0, "erase");
gotoAndStop (2);
}
}
}
}
}
Frame 21
_root.shoot = false;
_root.storage.data.levelholder = _root._currentframe - 9;
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (_root.busymenu == false) {
if ((_root.switchone == true) and (_root._ymouse > 60)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if (_root._ymouse > 60) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if ((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if (((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
Instance of Symbol 129 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.leveleleven = true;
_root.storage.data.leveleleven = _root.leveleleven;
_root.storage.flush();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 281 MovieClip "star" in Frame 21
onClipEvent (load) {
if (_name != "star") {
_x = _root.dispenser._x;
_y = _root.dispenser._y;
gravity = 0;
speed = 5;
roll = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if (_root.busymenu == false) {
if (_root._currentframe != 21) {
removeMovieClip(this);
}
if (_name != "star") {
gravity++;
_y = (_y + gravity);
while ((_root.myBmp.getPixel32(_x, _y + 8) != 0) and (_root.bob == false)) {
_y = (_y-1);
gravity = 0;
}
if (_root.myBmp.getPixel32(_x, _y + 11) != 0) {
if (roll == 0) {
roll = random(2) + 1;
}
if (roll == 1) {
_x = (_x + speed);
_rotation = (_rotation + 8);
}
if (roll == 2) {
_x = (_x - speed);
_rotation = (_rotation - 8);
}
}
if (_root.myBmp.getPixel32(_x + 5, _y - 10) != 0) {
_x = (_x - speed);
}
if (_root.myBmp.getPixel32(_x - 5, _y - 10) != 0) {
_x = (_x + speed);
}
if ((_y > 450) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_root.char.hitTest(hit)) {
_root.char.gotoAndStop(5);
}
}
}
}
Instance of Symbol 540 MovieClip in Frame 21
onClipEvent (enterFrame) {
if ((((_root.char.hitTest(hit) or _root.char.hitTest(hit2)) or _root.char.hitTest(hit3)) or _root.char.hitTest(hit4)) or _root.char.hitTest(hit5)) {
_root.char.gotoAndStop(5);
}
}
Instance of Symbol 540 MovieClip in Frame 21
onClipEvent (enterFrame) {
if ((((_root.char.hitTest(hit) or _root.char.hitTest(hit2)) or _root.char.hitTest(hit3)) or _root.char.hitTest(hit4)) or _root.char.hitTest(hit5)) {
_root.char.gotoAndStop(5);
}
}
Instance of Symbol 540 MovieClip in Frame 21
onClipEvent (enterFrame) {
if ((((_root.char.hitTest(hit) or _root.char.hitTest(hit2)) or _root.char.hitTest(hit3)) or _root.char.hitTest(hit4)) or _root.char.hitTest(hit5)) {
_root.char.gotoAndStop(5);
}
}
Instance of Symbol 540 MovieClip in Frame 21
onClipEvent (enterFrame) {
if ((((_root.char.hitTest(hit) or _root.char.hitTest(hit2)) or _root.char.hitTest(hit3)) or _root.char.hitTest(hit4)) or _root.char.hitTest(hit5)) {
_root.char.gotoAndStop(5);
}
}
Frame 22
_root.shoot = false;
_root.storage.data.levelholder = _root._currentframe - 9;
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (_root.busymenu == false) {
if ((_root.switchone == true) and (_root._ymouse > 60)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if (_root._ymouse > 60) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if ((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if (((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
Instance of Symbol 129 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.leveltwelve = true;
_root.storage.data.leveltwelve = _root.leveltwelve;
_root.storage.flush();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 540 MovieClip in Frame 22
onClipEvent (enterFrame) {
if ((((_root.char.hitTest(hit) or _root.char.hitTest(hit2)) or _root.char.hitTest(hit3)) or _root.char.hitTest(hit4)) or _root.char.hitTest(hit5)) {
_root.char.gotoAndStop(5);
}
}
Frame 23
_root.shoot = false;
_root.storage.data.levelholder = _root._currentframe - 9;
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (_root.busymenu == false) {
if ((_root.switchone == true) and (_root._ymouse > 60)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if (_root._ymouse > 60) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if ((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if (((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
Instance of Symbol 129 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.levelthirteen = true;
_root.storage.data.levelthirteen = _root.levelthirteen;
_root.storage.flush();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 325 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.shoot == true) {
_root.myline.clear();
_root.myline.lineStyle(5, 16711680);
_root.myline.moveTo(_root.lasergun._x, _root.lasergun._y);
_root.myline.lineTo(_root.hitter._x, _root.hitter._y - 20);
}
}
Instance of Symbol 532 MovieClip in Frame 23
onClipEvent (load) {
speed = 9;
angle = 3;
bob = 0;
X = _x;
Y = _y;
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
_x = X;
_y = Y;
}
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_x = (_x - 10);
if (_x < -150) {
_x = 500;
}
if (((_root.myBmp.getPixel32(_x, _y) != 0) or (_root.myBmp.getPixel32(_x, _y + 10) != 0)) or (_root.myBmp.getPixel32(_x, _y - 10) != 0)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
}
}
}
Instance of Symbol 532 MovieClip in Frame 23
onClipEvent (load) {
speed = 9;
angle = 3;
bob = 0;
X = _x;
Y = _y;
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
_x = X;
_y = Y;
}
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_x = (_x - 10);
if (_x < -150) {
_x = 500;
}
if (((_root.myBmp.getPixel32(_x, _y) != 0) or (_root.myBmp.getPixel32(_x, _y + 10) != 0)) or (_root.myBmp.getPixel32(_x, _y - 10) != 0)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
}
}
}
Instance of Symbol 532 MovieClip in Frame 23
onClipEvent (load) {
speed = 9;
angle = 3;
bob = 0;
X = _x;
Y = _y;
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
_x = X;
_y = Y;
}
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_x = (_x - 10);
if (_x < -150) {
_x = 500;
}
if (((_root.myBmp.getPixel32(_x, _y) != 0) or (_root.myBmp.getPixel32(_x, _y + 10) != 0)) or (_root.myBmp.getPixel32(_x, _y - 10) != 0)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
}
}
}
Instance of Symbol 604 MovieClip in Frame 23
onClipEvent (load) {
speed = 9;
angle = 3;
bob = 0;
X = _x;
Y = _y;
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
_x = X;
_y = Y;
}
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_y = (_y + 10);
if (_y > 550) {
_y = -60;
}
if (((_root.myBmp.getPixel32(_x, _y) != 0) or (_root.myBmp.getPixel32(_x, _y + 10) != 0)) or (_root.myBmp.getPixel32(_x, _y - 10) != 0)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
}
}
}
Instance of Symbol 604 MovieClip in Frame 23
onClipEvent (load) {
speed = 9;
angle = 3;
bob = 0;
X = _x;
Y = _y;
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
_x = X;
_y = Y;
}
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_y = (_y + 10);
if (_y > 550) {
_y = -60;
}
if (((_root.myBmp.getPixel32(_x, _y) != 0) or (_root.myBmp.getPixel32(_x, _y + 10) != 0)) or (_root.myBmp.getPixel32(_x, _y - 10) != 0)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
}
}
}
Instance of Symbol 604 MovieClip in Frame 23
onClipEvent (load) {
speed = 9;
angle = 3;
bob = 0;
X = _x;
Y = _y;
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
_x = X;
_y = Y;
}
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_y = (_y + 10);
if (_y > 550) {
_y = -60;
}
if (((_root.myBmp.getPixel32(_x, _y) != 0) or (_root.myBmp.getPixel32(_x, _y + 10) != 0)) or (_root.myBmp.getPixel32(_x, _y - 10) != 0)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
}
}
}
Instance of Symbol 604 MovieClip in Frame 23
onClipEvent (load) {
speed = 9;
angle = 3;
bob = 0;
X = _x;
Y = _y;
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
_x = X;
_y = Y;
}
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_y = (_y + 10);
if (_y > 550) {
_y = -60;
}
if (((_root.myBmp.getPixel32(_x, _y) != 0) or (_root.myBmp.getPixel32(_x, _y + 10) != 0)) or (_root.myBmp.getPixel32(_x, _y - 10) != 0)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
}
}
}
Instance of Symbol 508 MovieClip "grave" in Frame 23
onClipEvent (load) {
if (_name != "grave") {
_x = _root.char._x;
_y = _root.char._y;
gravity = 0;
}
}
onClipEvent (enterFrame) {
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_root.busymenu == false) {
if (((_name != "grave") and (_root._currentframe != 9)) and (_root._currentframe != 10)) {
gravity++;
_y = (_y + gravity);
while ((_root.myBmp.getPixel32(_x, _y) != 0) and (_root.bob == false)) {
_y = (_y-1);
gravity = 0;
}
if ((_y > 450) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
}
}
}
Frame 24
_root.shoot = false;
_root.storage.data.levelholder = _root._currentframe - 9;
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (_root.busymenu == false) {
if ((_root.switchone == true) and (_root._ymouse > 60)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if (_root._ymouse > 60) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if ((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if (((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
Instance of Symbol 129 MovieClip in Frame 24
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.levelfourteen = true;
_root.storage.data.levelfourteen = _root.levelfourteen;
_root.storage.flush();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 325 MovieClip in Frame 24
onClipEvent (enterFrame) {
if (_root.shoot == true) {
_root.myline.clear();
_root.myline.lineStyle(5, 16711680);
_root.myline.moveTo(_root.lasergun._x, _root.lasergun._y);
_root.myline.lineTo(_root.hitter._x, _root.hitter._y - 20);
}
}
Instance of Symbol 553 MovieClip "lasergun" in Frame 24
onClipEvent (load) {
speed = 4;
_root.hitter._x = _x;
_root.hitter._y = _y;
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
gotoAndPlay (1);
}
if (_root.shoot == false) {
X = _root.char._x - _x;
Y = _root.char._y - _y;
}
if (_root.shoot == true) {
stop();
} else {
play();
}
if (_root.busymenu == false) {
play();
} else {
stop();
}
angle = Math.atan2(Y, X);
_rotation = (((angle * 180) / Math.PI) - 180);
}
Instance of Symbol 323 MovieClip "hitter" in Frame 24
onClipEvent (load) {
speed = 16;
_x = _root.lasergun._x;
_y = (_root.lasergun._y + 18);
}
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char.gotoAndStop(5);
}
if (_root.shoot == false) {
X = _root.char._x - _x;
Y = _root.char._y - _y;
} else if ((_root.shoot == true) and (_root.busymenu == false)) {
angle = Math.atan2(Y, X);
_rotation = (((angle * 180) / Math.PI) - 180);
_x = (_x + (Math.cos(angle) * speed));
_y = (_y + (Math.sin(angle) * speed));
}
if (_root.myBmp.getPixel32(this)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y - 18);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
removeMovieClip(this);
}
if (((((_x > 550) or (_x < 0)) or (_y > 400)) or (_y < 0)) or (_root.reset == true)) {
_root.myline.clear();
_x = _root.lasergun._x;
_y = (_root.lasergun._y + 18);
_root.shoot = false;
}
}
Frame 25
_root.shoot = false;
_root.storage.data.levelholder = _root._currentframe - 9;
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (_root.busymenu == false) {
if ((_root.switchone == true) and (_root._ymouse > 60)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if (_root._ymouse > 60) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if ((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if (((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
Instance of Symbol 129 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.levelfifteen = true;
_root.storage.data.levelfifteen = _root.levelfifteen;
_root.storage.flush();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 613 MovieClip "driller" in Frame 25
onClipEvent (load) {
if (_name != "driller") {
_x = _root.drillmover._x;
_y = (_root.drillmover._y + 15);
speed = 9;
angle = 3;
bob = 0;
timer = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if (_name != "driller") {
if (bang._currentframe == 16) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
timer++;
if ((timer > 25) and (_currentframe == 1)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holethree, myMatrix, 0, "erase");
gotoAndStop (2);
}
if (_root.busymenu == false) {
if ((_root.char.hitTest(this) and (_root.char._y < 400)) and (_currentframe == 1)) {
_root.char.gotoAndStop(5);
}
if (_currentframe == 1) {
_y = (_y + 10);
}
if (((_root.myBmp.getPixel32(_x, _y) != 0) or (_root.myBmp.getPixel32(_x, _y + 10) != 0)) or (_root.myBmp.getPixel32(_x, _y - 10) != 0)) {
if (_currentframe == 1) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
}
}
}
}
}
Instance of Symbol 616 MovieClip "drillmover" in Frame 25
onClipEvent (load) {
switcher = false;
}
onClipEvent (enterFrame) {
if (switcher == false) {
_x = (_x + 3);
}
if (switcher == true) {
_x = (_x - 3);
}
if (_x > 240) {
switcher = true;
}
if (_x < 47) {
switcher = false;
}
}
Instance of Symbol 540 MovieClip in Frame 25
onClipEvent (enterFrame) {
if ((((_root.char.hitTest(hit) or _root.char.hitTest(hit2)) or _root.char.hitTest(hit3)) or _root.char.hitTest(hit4)) or _root.char.hitTest(hit5)) {
_root.char.gotoAndStop(5);
}
}
Frame 26
_root.shoot = false;
_root.storage.data.levelholder = _root._currentframe - 9;
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (_root.busymenu == false) {
if ((_root.switchone == true) and (_root._ymouse > 60)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if (_root._ymouse > 60) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if ((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if (((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
Instance of Symbol 129 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.levelsixteen = true;
_root.storage.data.levelsixteen = _root.levelsixteen;
_root.storage.flush();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 508 MovieClip "grave" in Frame 26
onClipEvent (load) {
if (_name != "grave") {
_x = _root.char._x;
_y = _root.char._y;
gravity = 0;
}
}
onClipEvent (enterFrame) {
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_root.busymenu == false) {
if (((_name != "grave") and (_root._currentframe != 9)) and (_root._currentframe != 10)) {
gravity++;
_y = (_y + gravity);
while ((_root.myBmp.getPixel32(_x, _y) != 0) and (_root.bob == false)) {
_y = (_y-1);
gravity = 0;
}
if ((_y > 450) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 540 MovieClip in Frame 26
onClipEvent (enterFrame) {
if ((((_root.char.hitTest(hit) or _root.char.hitTest(hit2)) or _root.char.hitTest(hit3)) or _root.char.hitTest(hit4)) or _root.char.hitTest(hit5)) {
_root.char.gotoAndStop(5);
}
}
Instance of Symbol 545 MovieClip "faucet2" in Frame 26
onClipEvent (load) {
gotoAndPlay (15);
}
Instance of Symbol 276 MovieClip "acid" in Frame 26
onClipEvent (load) {
if (_name != "acid") {
_x = _root.faucet._x;
_y = (_root.faucet._y + 15);
holdframe = _root._currentframe;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if (_root.busymenu == false) {
if (_y > 500) {
removeMovieClip(this);
}
if (_root._currentframe != holdframe) {
removeMovieClip(this);
}
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
if (_name != "acid") {
_y = (_y + 5);
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
removeMovieClip(this);
}
}
}
}
Instance of Symbol 276 MovieClip "acid2" in Frame 26
onClipEvent (load) {
if (_name != "acid2") {
_x = _root.faucet2._x;
_y = (_root.faucet2._y + 15);
holdframe = _root._currentframe;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if (_root.busymenu == false) {
if (_y > 500) {
removeMovieClip(this);
}
if (_root._currentframe != holdframe) {
removeMovieClip(this);
}
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
if (_name != "acid2") {
_y = (_y + 5);
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
removeMovieClip(this);
}
}
}
}
Instance of Symbol 540 MovieClip in Frame 26
onClipEvent (enterFrame) {
if ((((_root.char.hitTest(hit) or _root.char.hitTest(hit2)) or _root.char.hitTest(hit3)) or _root.char.hitTest(hit4)) or _root.char.hitTest(hit5)) {
_root.char.gotoAndStop(5);
}
}
Instance of Symbol 540 MovieClip in Frame 26
onClipEvent (enterFrame) {
if ((((_root.char.hitTest(hit) or _root.char.hitTest(hit2)) or _root.char.hitTest(hit3)) or _root.char.hitTest(hit4)) or _root.char.hitTest(hit5)) {
_root.char.gotoAndStop(5);
}
}
Instance of Symbol 540 MovieClip in Frame 26
onClipEvent (enterFrame) {
if ((((_root.char.hitTest(hit) or _root.char.hitTest(hit2)) or _root.char.hitTest(hit3)) or _root.char.hitTest(hit4)) or _root.char.hitTest(hit5)) {
_root.char.gotoAndStop(5);
}
}
Instance of Symbol 540 MovieClip in Frame 26
onClipEvent (enterFrame) {
if ((((_root.char.hitTest(hit) or _root.char.hitTest(hit2)) or _root.char.hitTest(hit3)) or _root.char.hitTest(hit4)) or _root.char.hitTest(hit5)) {
_root.char.gotoAndStop(5);
}
}
Instance of Symbol 276 MovieClip "acid3" in Frame 26
onClipEvent (load) {
if (_name != "acid3") {
_x = _root.faucet3._x;
_y = (_root.faucet3._y + 15);
holdframe = _root._currentframe;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if (_root.busymenu == false) {
if (_y > 500) {
removeMovieClip(this);
}
if (_root._currentframe != holdframe) {
removeMovieClip(this);
}
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
if (_name != "acid3") {
_y = (_y + 5);
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
removeMovieClip(this);
}
}
}
}
Instance of Symbol 276 MovieClip "acid4" in Frame 26
onClipEvent (load) {
if (_name != "acid4") {
_x = _root.faucet4._x;
_y = (_root.faucet4._y + 15);
holdframe = _root._currentframe;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if (_root.busymenu == false) {
if (_y > 500) {
removeMovieClip(this);
}
if (_root._currentframe != holdframe) {
removeMovieClip(this);
}
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
if (_name != "acid4") {
_y = (_y + 5);
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
removeMovieClip(this);
}
}
}
}
Frame 27
_root.shoot = false;
_root.storage.data.levelholder = _root._currentframe - 9;
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (_root.busymenu == false) {
if ((_root.switchone == true) and (_root._ymouse > 60)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if (_root._ymouse > 60) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if ((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if (((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
Instance of Symbol 129 MovieClip in Frame 27
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.levelseventeen = true;
_root.storage.data.levelseventeen = _root.levelseventeen;
_root.secrettwo = true;
_root.storage.data.levelsecrettwo = _root.levelsecrettwo;
_root.storage.flush();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 325 MovieClip in Frame 27
onClipEvent (enterFrame) {
if (_root.shoot == true) {
_root.myline.clear();
_root.myline.lineStyle(5, 16711680);
_root.myline.moveTo(_root.lasergun._x, _root.lasergun._y);
_root.myline.lineTo(_root.hitter._x, _root.hitter._y - 20);
}
}
Instance of Symbol 553 MovieClip "lasergun" in Frame 27
onClipEvent (load) {
speed = 4;
_root.hitter._x = _x;
_root.hitter._y = _y;
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
gotoAndPlay (1);
}
if (_root.shoot == false) {
X = _root.char._x - _x;
Y = _root.char._y - _y;
}
if (_root.shoot == true) {
stop();
} else {
play();
}
if (_root.busymenu == false) {
play();
} else {
stop();
}
angle = Math.atan2(Y, X);
_rotation = (((angle * 180) / Math.PI) - 180);
}
Instance of Symbol 323 MovieClip "hitter" in Frame 27
onClipEvent (load) {
speed = 16;
_x = _root.lasergun._x;
_y = (_root.lasergun._y + 18);
}
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char.gotoAndStop(5);
}
if (_root.shoot == false) {
X = _root.char._x - _x;
Y = _root.char._y - _y;
} else if ((_root.shoot == true) and (_root.busymenu == false)) {
angle = Math.atan2(Y, X);
_rotation = (((angle * 180) / Math.PI) - 180);
_x = (_x + (Math.cos(angle) * speed));
_y = (_y + (Math.sin(angle) * speed));
}
if (_root.myBmp.getPixel32(this)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y - 18);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
removeMovieClip(this);
}
if (((((_x > 550) or (_x < 0)) or (_y > 400)) or (_y < 0)) or (_root.reset == true)) {
_root.myline.clear();
_x = _root.lasergun._x;
_y = (_root.lasergun._y + 18);
_root.shoot = false;
}
}
Frame 28
_root.shoot = false;
_root.storage.data.levelholder = _root._currentframe - 9;
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (_root.busymenu == false) {
if ((_root.switchone == true) and (_root._ymouse > 60)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if (_root._ymouse > 60) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if ((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if (((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
Instance of Symbol 129 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.leveleighteen = true;
_root.storage.data.leveleighteen = _root.leveleighteen;
_root.storage.flush();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 540 MovieClip in Frame 28
onClipEvent (enterFrame) {
if ((((_root.char.hitTest(hit) or _root.char.hitTest(hit2)) or _root.char.hitTest(hit3)) or _root.char.hitTest(hit4)) or _root.char.hitTest(hit5)) {
_root.char.gotoAndStop(5);
}
}
Instance of Symbol 540 MovieClip in Frame 28
onClipEvent (enterFrame) {
if ((((_root.char.hitTest(hit) or _root.char.hitTest(hit2)) or _root.char.hitTest(hit3)) or _root.char.hitTest(hit4)) or _root.char.hitTest(hit5)) {
_root.char.gotoAndStop(5);
}
}
Instance of Symbol 532 MovieClip in Frame 28
onClipEvent (load) {
speed = 9;
angle = 3;
bob = 0;
X = _x;
Y = _y;
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
_x = X;
_y = Y;
}
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_x = (_x - 10);
if (_x < -150) {
_x = 500;
}
if (((_root.myBmp.getPixel32(_x, _y) != 0) or (_root.myBmp.getPixel32(_x, _y + 10) != 0)) or (_root.myBmp.getPixel32(_x, _y - 10) != 0)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
}
}
}
Instance of Symbol 532 MovieClip in Frame 28
onClipEvent (load) {
speed = 9;
angle = 3;
bob = 0;
X = _x;
Y = _y;
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
_x = X;
_y = Y;
}
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_x = (_x - 10);
if (_x < -150) {
_x = 500;
}
if (((_root.myBmp.getPixel32(_x, _y) != 0) or (_root.myBmp.getPixel32(_x, _y + 10) != 0)) or (_root.myBmp.getPixel32(_x, _y - 10) != 0)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
}
}
}
Instance of Symbol 532 MovieClip in Frame 28
onClipEvent (load) {
speed = 9;
angle = 3;
bob = 0;
X = _x;
Y = _y;
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
_x = X;
_y = Y;
}
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_x = (_x - 10);
if (_x < -150) {
_x = 500;
}
if (((_root.myBmp.getPixel32(_x, _y) != 0) or (_root.myBmp.getPixel32(_x, _y + 10) != 0)) or (_root.myBmp.getPixel32(_x, _y - 10) != 0)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
}
}
}
Instance of Symbol 540 MovieClip in Frame 28
onClipEvent (enterFrame) {
if ((((_root.char.hitTest(hit) or _root.char.hitTest(hit2)) or _root.char.hitTest(hit3)) or _root.char.hitTest(hit4)) or _root.char.hitTest(hit5)) {
_root.char.gotoAndStop(5);
}
}
Frame 29
_root.shoot = false;
_root.storage.data.levelholder = _root._currentframe - 9;
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (_root.busymenu == false) {
if ((_root.switchone == true) and (_root._ymouse > 60)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if (_root._ymouse > 60) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if ((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if (((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
Instance of Symbol 129 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.levelnineteen = true;
_root.storage.data.levelnineteen = _root.levelnineteen;
_root.storage.flush();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 638 MovieClip "chaingun" in Frame 29
onClipEvent (load) {
switcher = false;
}
onClipEvent (enterFrame) {
if (_root.busymenu == false) {
if (switcher == false) {
_y = (_y + 2);
}
if (switcher == true) {
_y = (_y - 2);
}
if (_y > 200) {
switcher = true;
}
if (_y < 80) {
switcher = false;
}
}
}
Instance of Symbol 277 MovieClip "chainbullet" in Frame 29
onClipEvent (load) {
if (_name != "chainbullet") {
_x = (_root.chaingun._x - 40);
_y = _root.chaingun._y;
speed = 9;
angle = 3;
bob = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_name != "chainbullet") {
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_x = (_x - 10);
if (_x < 0) {
removeMovieClip(this);
}
if (((_root.myBmp.getPixel32(_x, _y) != 0) or (_root.myBmp.getPixel32(_x, _y + 10) != 0)) or (_root.myBmp.getPixel32(_x, _y - 10) != 0)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
removeMovieClip(this);
}
}
}
}
Instance of Symbol 638 MovieClip "chaingun2" in Frame 29
onClipEvent (load) {
switcher = false;
}
onClipEvent (enterFrame) {
if (_root.busymenu == false) {
if (switcher == false) {
_y = (_y + 2);
}
if (switcher == true) {
_y = (_y - 2);
}
if (_y > 360) {
switcher = true;
}
if (_y < 260) {
switcher = false;
}
}
}
Instance of Symbol 277 MovieClip "chainbullet2" in Frame 29
onClipEvent (load) {
if (_name != "chainbullet2") {
_x = (_root.chaingun2._x - 40);
_y = _root.chaingun2._y;
speed = 9;
angle = 3;
bob = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_name != "chainbullet2") {
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_x = (_x - 10);
if (_x < 0) {
removeMovieClip(this);
}
if (((_root.myBmp.getPixel32(_x, _y) != 0) or (_root.myBmp.getPixel32(_x, _y + 10) != 0)) or (_root.myBmp.getPixel32(_x, _y - 10) != 0)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
removeMovieClip(this);
}
}
}
}
Frame 30
_root.shoot = false;
_root.storage.data.levelholder = _root._currentframe - 9;
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (_root.busymenu == false) {
if ((_root.switchone == true) and (_root._ymouse > 60)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if (_root._ymouse > 60) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if ((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if (((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
Instance of Symbol 129 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.leveltwenty = true;
_root.storage.data.leveltwenty = _root.leveltwenty;
_root.storage.flush();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 638 MovieClip "chaingun" in Frame 30
onClipEvent (load) {
switcher = false;
}
onClipEvent (enterFrame) {
if (_root.busymenu == false) {
if (switcher == false) {
_y = (_y + 3);
}
if (switcher == true) {
_y = (_y - 3);
}
if (_y > 195) {
switcher = true;
}
if (_y < 75) {
switcher = false;
}
}
}
Instance of Symbol 277 MovieClip "chainbullet" in Frame 30
onClipEvent (load) {
if (_name != "chainbullet") {
_x = (_root.chaingun._x - 40);
_y = _root.chaingun._y;
speed = 9;
angle = 3;
bob = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_name != "chainbullet") {
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_x = (_x - 10);
if (_x < 0) {
removeMovieClip(this);
}
if (((_root.myBmp.getPixel32(_x, _y) != 0) or (_root.myBmp.getPixel32(_x, _y + 10) != 0)) or (_root.myBmp.getPixel32(_x, _y - 10) != 0)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
removeMovieClip(this);
}
}
}
}
Instance of Symbol 252 MovieClip "char" in Frame 30
onClipEvent (load) {
gravity = 0;
scale = _xscale;
_root.bob = false;
_root.stopper = false;
_root.ydiff = 0;
_root.ypos = _root.char._y;
_root.xpos = _root.char._x;
ok = false;
busy = false;
}
onClipEvent (enterFrame) {
if (_root.busymenu == false) {
if (_currentframe == 5) {
busy = true;
} else {
busy = false;
}
if (busy == false) {
gravity++;
_y = (_y + gravity);
}
while ((_root.myBmp.getPixel32(_x, _y) != 0) and (_root.bob == false)) {
_y = (_y-1);
gravity = 0;
}
if ((Key.isDown(39) and (busy == false)) or (Key.isDown(68) and (busy == false))) {
_x = (_x + 4);
_xscale = scale;
if (_root.myBmp.getPixel32(_x, _y + 3) != 0) {
this.gotoAndStop(2);
}
} else if ((Key.isDown(37) and (busy == false)) or (Key.isDown(65) and (busy == false))) {
_x = (_x - 4);
_xscale = (-scale);
if (_root.myBmp.getPixel32(_x, _y + 3) != 0) {
this.gotoAndStop(2);
}
}
if (((Key.isDown(38) and (_root.myBmp.getPixel32(_x, _y + 3) != 0)) and (busy == false)) or ((Key.isDown(87) and (_root.myBmp.getPixel32(_x, _y + 3) != 0)) and (busy == false))) {
this.gotoAndStop(4);
_y = (_y - 4);
gravity = -10;
} else if ((((((_root.myBmp.getPixel32(_x, _y + 3) != 0) and (!Key.isDown(39))) and (!Key.isDown(37))) and (!Key.isDown(65))) and (!Key.isDown(68))) and (busy == false)) {
this.gotoAndStop(1);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 40) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 30) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 20) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 40) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 30) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 20) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x, _y - 50) != 0) {
gravity = 0;
}
if (_root.myBmp.getPixel32(_x, _y - 40) != 0) {
if (((((_root.char._y - _root._ymouse) > -20) and ((_root.char._y - _root._ymouse) < 40)) and ((_root.char._x - _root._xmouse) > -30)) and ((_root.char._x - _root._xmouse) < 30)) {
_root.stopper = true;
} else {
_root.stopper = false;
}
} else {
_root.stopper = false;
}
if (_y > 1000) {
_root.ydiff = 0;
_root.ypos = 0;
ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
}
_root.ydiff = _root.ypos - _root.char._y;
if (_root.ydiff > 60) {
ok = true;
_root.char._y = _root.ypos;
_root.char._x = _root.xpos;
}
if (ok == false) {
_root.ypos = _root.char._y;
_root.xpos = _root.char._x;
}
if ((!_root.myBmp.getPixel32(_x, _y - 50)) != 0) {
ok = false;
}
if (((((((((_root.myline.hitTest(_x, _y, true) or _root.myline.hitTest(_x, _y - 5, true)) or _root.myline.hitTest(_x, _y - 10, true)) or _root.myline.hitTest(_x, _y + 1, true)) or _root.myline.hitTest(_x, _y - 20, true)) or _root.myline.hitTest(_x, _y - 19, true)) or _root.myline.hitTest(_x, _y - 25, true)) or _root.myline.hitTest(_x, _y - 30, true)) or _root.myline.hitTest(_x, _y - 40, true)) or _root.myline.hitTest(_x, _y - 39, true)) {
gotoAndStop (5);
}
}
_root.vcam.camControl();
}
Instance of Symbol 532 MovieClip in Frame 30
onClipEvent (load) {
speed = 9;
angle = 3;
bob = 0;
X = _x;
Y = _y;
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
_x = X;
_y = Y;
}
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_x = (_x - 10);
if (_x < -150) {
_x = 500;
}
if (((_root.myBmp.getPixel32(_x, _y) != 0) or (_root.myBmp.getPixel32(_x, _y + 10) != 0)) or (_root.myBmp.getPixel32(_x, _y - 10) != 0)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
}
}
}
Instance of Symbol 276 MovieClip "acid" in Frame 30
onClipEvent (load) {
if (_name != "acid") {
_x = _root.faucet._x;
_y = (_root.faucet._y + 15);
holdframe = _root._currentframe;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_root.busymenu == false) {
if (_y > 500) {
removeMovieClip(this);
}
if (_root._currentframe != holdframe) {
removeMovieClip(this);
}
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
if (_name != "acid") {
_y = (_y + 5);
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
removeMovieClip(this);
}
}
}
}
Frame 31
_root.shoot = false;
_root.shoot2 = false;
_root.storage.data.levelholder = _root._currentframe - 9;
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (_root.busymenu == false) {
if ((_root.switchone == true) and (_root._ymouse > 60)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if (_root._ymouse > 60) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if ((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if (((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
Instance of Symbol 129 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.leveltwentyone = true;
_root.storage.data.leveltwentyone = _root.leveltwentyone;
_root.storage.flush();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 646 MovieClip "lasergun2" in Frame 31
onClipEvent (load) {
speed = 4;
_root.hitter2._x = _x;
_root.hitter2._y = _y;
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
gotoAndPlay (1);
}
if (_root.shoot2 == false) {
X = _root.char._x - _x;
Y = _root.char._y - _y;
}
if (_root.shoot2 == true) {
stop();
} else {
play();
}
if (_root.busymenu == false) {
play();
} else {
stop();
}
angle = Math.atan2(Y, X);
_rotation = (((angle * 180) / Math.PI) - 180);
}
Instance of Symbol 323 MovieClip "hitter2" in Frame 31
onClipEvent (load) {
speed = 16;
_x = _root.lasergun2._x;
_y = (_root.lasergun2._y + 18);
}
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char.gotoAndStop(5);
}
if (_root.shoot2 == false) {
X = _root.char._x - _x;
Y = _root.char._y - _y;
} else if ((_root.shoot == true) and (_root.busymenu == false)) {
angle = Math.atan2(Y, X);
_rotation = (((angle * 180) / Math.PI) - 180);
_x = (_x + (Math.cos(angle) * speed));
_y = (_y + (Math.sin(angle) * speed));
}
if (_root.myBmp.getPixel32(this)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y - 18);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
removeMovieClip(this);
}
if ((((_x > 550) or (_x < 0)) or (_y > 400)) or (_y < 0)) {
_root.myline2.clear();
_x = _root.lasergun2._x;
_y = (_root.lasergun2._y + 18);
_root.shoot2 = false;
}
if ((_root.lasergun2._currentframe == 20) or (_root.reset == true)) {
_root.myline2.clear();
_x = _root.lasergun2._x;
_y = (_root.lasergun2._y + 18);
_root.shoot2 = false;
}
}
Instance of Symbol 325 MovieClip in Frame 31
onClipEvent (enterFrame) {
_root.myline.clear();
_root.myline.lineStyle(5, 16711680);
_root.myline2.clear();
_root.myline2.lineStyle(5, 16711680);
if (_root.shoot == true) {
_root.myline.moveTo(_root.lasergun._x, _root.lasergun._y);
_root.myline.lineTo(_root.hitter._x, _root.hitter._y - 20);
}
if (_root.shoot2 == true) {
_root.myline2.moveTo(_root.lasergun2._x, _root.lasergun2._y);
_root.myline2.lineTo(_root.hitter2._x, _root.hitter2._y - 20);
}
}
Instance of Symbol 553 MovieClip "lasergun" in Frame 31
onClipEvent (load) {
speed = 4;
_root.hitter._x = _x;
_root.hitter._y = _y;
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
gotoAndPlay (1);
}
if (_root.shoot == false) {
X = _root.char._x - _x;
Y = _root.char._y - _y;
}
if (_root.shoot == true) {
stop();
} else {
play();
}
if (_root.busymenu == false) {
play();
} else {
stop();
}
angle = Math.atan2(Y, X);
_rotation = (((angle * 180) / Math.PI) - 180);
}
Instance of Symbol 323 MovieClip "hitter" in Frame 31
onClipEvent (load) {
speed = 16;
_x = _root.lasergun._x;
_y = (_root.lasergun._y + 18);
}
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char.gotoAndStop(5);
}
if (_root.shoot == false) {
X = _root.char._x - _x;
Y = _root.char._y - _y;
} else if ((_root.shoot == true) and (_root.busymenu == false)) {
angle = Math.atan2(Y, X);
_rotation = (((angle * 180) / Math.PI) - 180);
_x = (_x + (Math.cos(angle) * speed));
_y = (_y + (Math.sin(angle) * speed));
}
if (_root.myBmp.getPixel32(this)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y - 18);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
removeMovieClip(this);
}
if (((((_x > 550) or (_x < 0)) or (_y > 400)) or (_y < 0)) or (_root.reset == true)) {
_root.myline.clear();
_x = _root.lasergun._x;
_y = (_root.lasergun._y + 18);
_root.shoot = false;
}
}
Frame 32
_root.shoot = false;
_root.shoot2 = false;
_root.storage.data.levelholder = _root._currentframe - 9;
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (_root.busymenu == false) {
if ((_root.switchone == true) and (_root._ymouse > 60)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if (_root._ymouse > 60) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if ((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if (((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
Instance of Symbol 129 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.leveltwentytwo = true;
_root.storage.data.leveltwentytwo = _root.leveltwentytwo;
_root.storage.flush();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 325 MovieClip in Frame 32
onClipEvent (enterFrame) {
_root.myline.clear();
_root.myline.lineStyle(5, 16711680);
_root.myline2.clear();
_root.myline2.lineStyle(5, 16711680);
if (_root.shoot == true) {
_root.myline.moveTo(_root.lasergun._x, _root.lasergun._y);
_root.myline.lineTo(_root.hitter._x, _root.hitter._y - 20);
}
if (_root.shoot2 == true) {
_root.myline2.moveTo(_root.lasergun2._x, _root.lasergun2._y);
_root.myline2.lineTo(_root.hitter2._x, _root.hitter2._y - 20);
}
}
Instance of Symbol 638 MovieClip "chaingun" in Frame 32
onClipEvent (load) {
switcher = false;
}
onClipEvent (enterFrame) {
if (_root.busymenu == false) {
if (switcher == false) {
_y = (_y + 3);
}
if (switcher == true) {
_y = (_y - 3);
}
if (_y > 326) {
switcher = true;
}
if (_y < 75) {
switcher = false;
}
}
}
Instance of Symbol 545 MovieClip "faucet2" in Frame 32
onClipEvent (load) {
gotoAndPlay (15);
}
Instance of Symbol 276 MovieClip "acid" in Frame 32
onClipEvent (load) {
if (_name != "acid") {
_x = _root.faucet._x;
_y = (_root.faucet._y + 15);
holdframe = _root._currentframe;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_root.busymenu == false) {
if (_y > 500) {
removeMovieClip(this);
}
if (_root._currentframe != holdframe) {
removeMovieClip(this);
}
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
if (_name != "acid") {
_y = (_y + 5);
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
removeMovieClip(this);
}
}
}
}
Instance of Symbol 276 MovieClip "acid2" in Frame 32
onClipEvent (load) {
if (_name != "acid2") {
_x = _root.faucet2._x;
_y = (_root.faucet2._y + 15);
holdframe = _root._currentframe;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_root.busymenu == false) {
if (_y > 500) {
removeMovieClip(this);
}
if (_root._currentframe != holdframe) {
removeMovieClip(this);
}
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
if (_name != "acid2") {
_y = (_y + 5);
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
removeMovieClip(this);
}
}
}
}
Instance of Symbol 277 MovieClip "chainbullet" in Frame 32
onClipEvent (load) {
if (_name != "chainbullet") {
_x = (_root.chaingun._x - 40);
_y = _root.chaingun._y;
speed = 9;
angle = 3;
bob = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_name != "chainbullet") {
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_x = (_x - 10);
if (_x < 0) {
removeMovieClip(this);
}
if (((_root.myBmp.getPixel32(_x, _y) != 0) or (_root.myBmp.getPixel32(_x, _y + 10) != 0)) or (_root.myBmp.getPixel32(_x, _y - 10) != 0)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
removeMovieClip(this);
}
}
}
}
Frame 33
_root.firenum = 1;
_root.firenum2 = 1;
_root.shoot = false;
_root.shoot2 = false;
_root.storage.data.levelholder = _root._currentframe - 9;
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (_root.busymenu == false) {
if ((_root.switchone == true) and (_root._ymouse > 60)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if (_root._ymouse > 60) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if ((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if (((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
Instance of Symbol 129 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.leveltwentythree = true;
_root.storage.data.leveltwentythree = _root.leveltwentythree;
_root.storage.flush();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 315 MovieClip "firedown" in Frame 33
onClipEvent (load) {
if (_name != "firedown") {
_x = _root.pyromaker._x;
_y = (_root.pyromaker._y + 50);
speed = 9;
angle = 3;
bob = 0;
timer = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_name != "firedown") {
timer++;
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
_y = (_y + 2);
if ((((_y > 450) or (_y < -50)) or (_x < -50)) or (_x > 600)) {
removeMovieClip(this);
}
if (timer > 20) {
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.hole, myMatrix, 0, "erase");
timer = 0;
}
}
if (_root.myBmp.getPixel32(_x, _y) != 0) {
_y = (_y - 2);
}
}
}
}
Instance of Symbol 316 MovieClip "fireleft" in Frame 33
onClipEvent (load) {
if (_name != "fireleft") {
_x = (_root.pyromaker._x + 50);
_y = _root.pyromaker._y;
speed = 9;
angle = 3;
bob = 0;
timer = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_name != "fireleft") {
timer++;
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_x = (_x + 2);
if ((((_y > 450) or (_y < -50)) or (_x < -50)) or (_x > 600)) {
removeMovieClip(this);
}
if (timer > 20) {
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.hole, myMatrix, 0, "erase");
timer = 0;
}
}
if (_root.myBmp.getPixel32(_x, _y) != 0) {
_x = (_x - 2);
}
}
}
}
Instance of Symbol 316 MovieClip "fireright" in Frame 33
onClipEvent (load) {
if (_name != "fireright") {
_x = (_root.pyromaker._x - 50);
_y = _root.pyromaker._y;
speed = 9;
angle = 3;
bob = 0;
timer = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_name != "fireright") {
timer++;
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_x = (_x - 2);
if ((((_y > 450) or (_y < -50)) or (_x < -50)) or (_x > 600)) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (timer > 20) {
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.hole, myMatrix, 0, "erase");
timer = 0;
}
}
if (_root.myBmp.getPixel32(_x, _y) != 0) {
_x = (_x + 2);
}
}
}
}
Instance of Symbol 315 MovieClip "fireup" in Frame 33
onClipEvent (load) {
if (_name != "fireup") {
_x = _root.pyromaker._x;
_y = (_root.pyromaker._y - 50);
speed = 9;
angle = 3;
bob = 0;
timer = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_name != "fireup") {
timer++;
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_y = (_y - 2);
if ((((_y > 450) or (_y < -50)) or (_x < -50)) or (_x > 600)) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (timer > 20) {
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.hole, myMatrix, 0, "erase");
timer = 0;
}
}
if (_root.myBmp.getPixel32(_x, _y) != 0) {
_y = (_y + 2);
}
}
}
}
Instance of Symbol 315 MovieClip "firedown2" in Frame 33
onClipEvent (load) {
if (_name != "firedown2") {
_x = _root.pyromaker2._x;
_y = (_root.pyromaker2._y + 50);
speed = 9;
angle = 3;
bob = 0;
timer = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_name != "firedown2") {
timer++;
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_y = (_y + 2);
if ((((_y > 450) or (_y < -50)) or (_x < -50)) or (_x > 600)) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (timer > 20) {
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.hole, myMatrix, 0, "erase");
timer = 0;
}
}
if (_root.myBmp.getPixel32(_x, _y) != 0) {
_y = (_y - 2);
}
}
}
}
Instance of Symbol 316 MovieClip "fireleft2" in Frame 33
onClipEvent (load) {
if (_name != "fireleft2") {
_x = (_root.pyromaker2._x + 50);
_y = _root.pyromaker2._y;
speed = 9;
angle = 3;
bob = 0;
timer = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_name != "fireleft2") {
timer++;
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_x = (_x + 2);
if ((((_y > 450) or (_y < -50)) or (_x < -50)) or (_x > 600)) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (timer > 20) {
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.hole, myMatrix, 0, "erase");
timer = 0;
}
}
if (_root.myBmp.getPixel32(_x, _y) != 0) {
_x = (_x - 2);
}
}
}
}
Instance of Symbol 316 MovieClip "fireright2" in Frame 33
onClipEvent (load) {
if (_name != "fireright2") {
_x = (_root.pyromaker2._x - 50);
_y = _root.pyromaker2._y;
speed = 9;
angle = 3;
bob = 0;
timer = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_name != "fireright2") {
timer++;
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_x = (_x - 2);
if ((((_y > 450) or (_y < -50)) or (_x < -50)) or (_x > 600)) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (timer > 20) {
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.hole, myMatrix, 0, "erase");
timer = 0;
}
}
if (_root.myBmp.getPixel32(_x, _y) != 0) {
_x = (_x + 2);
}
}
}
}
Instance of Symbol 315 MovieClip "fireup2" in Frame 33
onClipEvent (load) {
if (_name != "fireup2") {
_x = _root.pyromaker2._x;
_y = (_root.pyromaker2._y - 50);
speed = 9;
angle = 3;
bob = 0;
timer = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_name != "fireup2") {
timer++;
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
_y = (_y - 2);
if ((((_y > 450) or (_y < -50)) or (_x < -50)) or (_x > 600)) {
removeMovieClip(this);
}
if (timer > 20) {
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.hole, myMatrix, 0, "erase");
timer = 0;
}
}
if (_root.myBmp.getPixel32(_x, _y) != 0) {
_y = (_y + 2);
}
}
}
}
Frame 34
_root.firenum = 1;
_root.firenum2 = 1;
_root.shoot = false;
_root.shoot2 = false;
_root.storage.data.levelholder = _root._currentframe - 9;
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (_root.busymenu == false) {
if ((_root.switchone == true) and (_root._ymouse > 60)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if (_root._ymouse > 60) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if ((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if (((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
Instance of Symbol 129 MovieClip in Frame 34
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.leveltwentyfour = true;
_root.storage.data.leveltwentyfour = _root.leveltwentyfour;
_root.storage.flush();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 252 MovieClip "char" in Frame 34
onClipEvent (load) {
gravity = 0;
scale = _xscale;
_root.bob = false;
_root.stopper = false;
_root.ydiff = 0;
_root.ypos = _root.char._y;
_root.xpos = _root.char._x;
ok = false;
busy = false;
}
onClipEvent (enterFrame) {
if (_root.busymenu == false) {
if (_currentframe == 5) {
busy = true;
} else {
busy = false;
}
if (busy == false) {
gravity++;
_y = (_y + gravity);
}
while ((_root.myBmp.getPixel32(_x, _y) != 0) and (_root.bob == false)) {
_y = (_y-1);
gravity = 0;
}
if ((Key.isDown(39) and (busy == false)) or (Key.isDown(68) and (busy == false))) {
_x = (_x + 4);
_xscale = scale;
if (_root.myBmp.getPixel32(_x, _y + 3) != 0) {
this.gotoAndStop(2);
}
} else if ((Key.isDown(37) and (busy == false)) or (Key.isDown(65) and (busy == false))) {
_x = (_x - 4);
_xscale = (-scale);
if (_root.myBmp.getPixel32(_x, _y + 3) != 0) {
this.gotoAndStop(2);
}
}
if (((Key.isDown(38) and (_root.myBmp.getPixel32(_x, _y + 3) != 0)) and (busy == false)) or ((Key.isDown(87) and (_root.myBmp.getPixel32(_x, _y + 3) != 0)) and (busy == false))) {
this.gotoAndStop(4);
_y = (_y - 4);
gravity = -10;
} else if ((((((_root.myBmp.getPixel32(_x, _y + 3) != 0) and (!Key.isDown(39))) and (!Key.isDown(37))) and (!Key.isDown(65))) and (!Key.isDown(68))) and (busy == false)) {
this.gotoAndStop(1);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 40) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 30) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 20) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 40) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 30) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 20) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x, _y - 50) != 0) {
gravity = 0;
}
if (_root.myBmp.getPixel32(_x, _y - 40) != 0) {
if (((((_root.char._y - _root._ymouse) > -20) and ((_root.char._y - _root._ymouse) < 40)) and ((_root.char._x - _root._xmouse) > -30)) and ((_root.char._x - _root._xmouse) < 30)) {
_root.stopper = true;
} else {
_root.stopper = false;
}
} else {
_root.stopper = false;
}
if (_y > 1000) {
_root.ydiff = 0;
_root.ypos = 0;
ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
}
_root.ydiff = _root.ypos - _root.char._y;
if (_root.ydiff > 60) {
ok = true;
_root.char._y = _root.ypos;
_root.char._x = _root.xpos;
}
if (ok == false) {
_root.ypos = _root.char._y;
_root.xpos = _root.char._x;
}
if ((!_root.myBmp.getPixel32(_x, _y - 50)) != 0) {
ok = false;
}
if (((((((((_root.myline.hitTest(_x, _y, true) or _root.myline.hitTest(_x, _y - 5, true)) or _root.myline.hitTest(_x, _y - 10, true)) or _root.myline.hitTest(_x, _y + 1, true)) or _root.myline.hitTest(_x, _y - 20, true)) or _root.myline.hitTest(_x, _y - 19, true)) or _root.myline.hitTest(_x, _y - 25, true)) or _root.myline.hitTest(_x, _y - 30, true)) or _root.myline.hitTest(_x, _y - 40, true)) or _root.myline.hitTest(_x, _y - 39, true)) {
gotoAndStop (5);
}
}
_root.vcam.camControl();
}
Instance of Symbol 315 MovieClip "firedown" in Frame 34
onClipEvent (load) {
if (_name != "firedown") {
_x = _root.pyromaker._x;
_y = (_root.pyromaker._y + 50);
speed = 9;
angle = 3;
bob = 0;
timer = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_name != "firedown") {
timer++;
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_y = (_y + 2);
if ((((_y > 450) or (_y < -50)) or (_x < -50)) or (_x > 600)) {
removeMovieClip(this);
}
if (timer > 20) {
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.hole, myMatrix, 0, "erase");
timer = 0;
}
}
if (_root.myBmp.getPixel32(_x, _y) != 0) {
_y = (_y - 2);
}
}
}
}
Instance of Symbol 316 MovieClip "fireleft" in Frame 34
onClipEvent (load) {
if (_name != "fireleft") {
_x = (_root.pyromaker._x + 50);
_y = _root.pyromaker._y;
speed = 9;
angle = 3;
bob = 0;
timer = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_name != "fireleft") {
timer++;
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_x = (_x + 2);
if ((((_y > 450) or (_y < -50)) or (_x < -50)) or (_x > 600)) {
removeMovieClip(this);
}
if (timer > 20) {
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.hole, myMatrix, 0, "erase");
timer = 0;
}
}
if (_root.myBmp.getPixel32(_x, _y) != 0) {
_x = (_x - 2);
}
}
}
}
Instance of Symbol 316 MovieClip "fireright" in Frame 34
onClipEvent (load) {
if (_name != "fireright") {
_x = (_root.pyromaker._x - 50);
_y = _root.pyromaker._y;
speed = 9;
angle = 3;
bob = 0;
timer = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_name != "fireright") {
timer++;
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_x = (_x - 2);
if ((((_y > 450) or (_y < -50)) or (_x < -50)) or (_x > 600)) {
removeMovieClip(this);
}
if (timer > 20) {
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.hole, myMatrix, 0, "erase");
timer = 0;
}
}
if (_root.myBmp.getPixel32(_x, _y) != 0) {
_x = (_x + 2);
}
}
}
}
Instance of Symbol 315 MovieClip "fireup" in Frame 34
onClipEvent (load) {
if (_name != "fireup") {
_x = _root.pyromaker._x;
_y = (_root.pyromaker._y - 50);
speed = 9;
angle = 3;
bob = 0;
timer = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_name != "fireup") {
timer++;
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_y = (_y - 2);
if ((((_y > 450) or (_y < -50)) or (_x < -50)) or (_x > 600)) {
removeMovieClip(this);
}
if (timer > 20) {
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.hole, myMatrix, 0, "erase");
timer = 0;
}
}
if (_root.myBmp.getPixel32(_x, _y) != 0) {
_y = (_y + 2);
}
}
}
}
Instance of Symbol 540 MovieClip in Frame 34
onClipEvent (enterFrame) {
if ((((_root.char.hitTest(hit) or _root.char.hitTest(hit2)) or _root.char.hitTest(hit3)) or _root.char.hitTest(hit4)) or _root.char.hitTest(hit5)) {
_root.char.gotoAndStop(5);
}
}
Instance of Symbol 540 MovieClip in Frame 34
onClipEvent (enterFrame) {
if ((((_root.char.hitTest(hit) or _root.char.hitTest(hit2)) or _root.char.hitTest(hit3)) or _root.char.hitTest(hit4)) or _root.char.hitTest(hit5)) {
_root.char.gotoAndStop(5);
}
}
Instance of Symbol 540 MovieClip in Frame 34
onClipEvent (enterFrame) {
if ((((_root.char.hitTest(hit) or _root.char.hitTest(hit2)) or _root.char.hitTest(hit3)) or _root.char.hitTest(hit4)) or _root.char.hitTest(hit5)) {
_root.char.gotoAndStop(5);
}
}
Instance of Symbol 540 MovieClip in Frame 34
onClipEvent (enterFrame) {
if ((((_root.char.hitTest(hit) or _root.char.hitTest(hit2)) or _root.char.hitTest(hit3)) or _root.char.hitTest(hit4)) or _root.char.hitTest(hit5)) {
_root.char.gotoAndStop(5);
}
}
Frame 35
_root.firenum = 1;
_root.firenum2 = 1;
_root.shoot = false;
_root.shoot2 = false;
_root.storage.data.levelholder = _root._currentframe - 9;
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (_root.busymenu == false) {
if ((_root.switchone == true) and (_root._ymouse > 60)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if (_root._ymouse > 60) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if ((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if (((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
Instance of Symbol 129 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.leveltwentyfive = true;
_root.storage.data.leveltwentyfive = _root.leveltwentyfive;
_root.storage.flush();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 252 MovieClip "char" in Frame 35
onClipEvent (load) {
gravity = 0;
scale = _xscale;
_root.bob = false;
_root.stopper = false;
_root.ydiff = 0;
_root.ypos = _root.char._y;
_root.xpos = _root.char._x;
ok = false;
busy = false;
}
onClipEvent (enterFrame) {
if (_root.busymenu == false) {
if (_currentframe == 5) {
busy = true;
} else {
busy = false;
}
if (busy == false) {
gravity++;
_y = (_y + gravity);
}
while ((_root.myBmp.getPixel32(_x, _y) != 0) and (_root.bob == false)) {
_y = (_y-1);
gravity = 0;
}
if ((Key.isDown(39) and (busy == false)) or (Key.isDown(68) and (busy == false))) {
_x = (_x + 4);
_xscale = scale;
if (_root.myBmp.getPixel32(_x, _y + 3) != 0) {
this.gotoAndStop(2);
}
} else if ((Key.isDown(37) and (busy == false)) or (Key.isDown(65) and (busy == false))) {
_x = (_x - 4);
_xscale = (-scale);
if (_root.myBmp.getPixel32(_x, _y + 3) != 0) {
this.gotoAndStop(2);
}
}
if (((Key.isDown(38) and (_root.myBmp.getPixel32(_x, _y + 3) != 0)) and (busy == false)) or ((Key.isDown(87) and (_root.myBmp.getPixel32(_x, _y + 3) != 0)) and (busy == false))) {
this.gotoAndStop(4);
_y = (_y - 4);
gravity = -10;
} else if ((((((_root.myBmp.getPixel32(_x, _y + 3) != 0) and (!Key.isDown(39))) and (!Key.isDown(37))) and (!Key.isDown(65))) and (!Key.isDown(68))) and (busy == false)) {
this.gotoAndStop(1);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 40) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 30) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 20) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 40) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 30) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 20) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x, _y - 50) != 0) {
gravity = 0;
}
if (_root.myBmp.getPixel32(_x, _y - 40) != 0) {
if (((((_root.char._y - _root._ymouse) > -20) and ((_root.char._y - _root._ymouse) < 40)) and ((_root.char._x - _root._xmouse) > -30)) and ((_root.char._x - _root._xmouse) < 30)) {
_root.stopper = true;
} else {
_root.stopper = false;
}
} else {
_root.stopper = false;
}
if (_y > 1000) {
_root.ydiff = 0;
_root.ypos = 0;
ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
}
_root.ydiff = _root.ypos - _root.char._y;
if (_root.ydiff > 60) {
ok = true;
_root.char._y = _root.ypos;
_root.char._x = _root.xpos;
}
if (ok == false) {
_root.ypos = _root.char._y;
_root.xpos = _root.char._x;
}
if ((!_root.myBmp.getPixel32(_x, _y - 50)) != 0) {
ok = false;
}
if (((((((((_root.myline.hitTest(_x, _y, true) or _root.myline.hitTest(_x, _y - 5, true)) or _root.myline.hitTest(_x, _y - 10, true)) or _root.myline.hitTest(_x, _y + 1, true)) or _root.myline.hitTest(_x, _y - 20, true)) or _root.myline.hitTest(_x, _y - 19, true)) or _root.myline.hitTest(_x, _y - 25, true)) or _root.myline.hitTest(_x, _y - 30, true)) or _root.myline.hitTest(_x, _y - 40, true)) or _root.myline.hitTest(_x, _y - 39, true)) {
gotoAndStop (5);
}
}
_root.vcam.camControl();
}
Instance of Symbol 590 MovieClip "rocket" in Frame 35
onClipEvent (load) {
if (_name != "rocket") {
speed = 5;
_x = random(550);
_y = 0;
deadlock = true;
timer = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if (_root.busymenu == false) {
if (bang._currentframe == 16) {
removeMovieClip(this);
}
if (_root._currentframe != 35) {
removeMovieClip(this);
}
if (_name != "rocket") {
if (deadlock == true) {
_rotation = (_rotation + 40);
_y = (_y + 8);
timer++;
if (timer > 10) {
deadlock = false;
}
}
if ((_currentframe == 1) and (deadlock == false)) {
X = _root.char._x - _x;
Y = _root.char._y - _y;
angle = Math.atan2(Y, X);
_rotation = (((angle * 180) / Math.PI) - 180);
_x = (_x + (Math.cos(angle) * speed));
_y = (_y + (Math.sin(angle) * speed));
if (((_root.myBmp.getPixel32(_x, _y) != 0) or eval (_root.myBmp.getPixel32(_x, _y + 10) != 0)(_root.myBmp.getPixel32(_x, _y - 10) != 0)) or _root.char.hitTest(this)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y - 18);
_root.myBmp.draw(_root.holefour, myMatrix, 0, "erase");
gotoAndStop (2);
}
}
}
}
}
Frame 36
_root.firenum = 1;
_root.firenum2 = 1;
_root.shoot = false;
_root.shoot2 = false;
_root.storage.data.levelholder = _root._currentframe - 9;
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (_root.busymenu == false) {
if ((_root.switchone == true) and (_root._ymouse > 60)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if (_root._ymouse > 60) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if ((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if (((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
Instance of Symbol 129 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.leveltwentysix = true;
_root.storage.data.leveltwentysix = _root.leveltwentysix;
_root.storage.flush();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 540 MovieClip in Frame 36
onClipEvent (enterFrame) {
if ((((_root.char.hitTest(hit) or _root.char.hitTest(hit2)) or _root.char.hitTest(hit3)) or _root.char.hitTest(hit4)) or _root.char.hitTest(hit5)) {
_root.char.gotoAndStop(5);
}
}
Instance of Symbol 540 MovieClip in Frame 36
onClipEvent (enterFrame) {
if ((((_root.char.hitTest(hit) or _root.char.hitTest(hit2)) or _root.char.hitTest(hit3)) or _root.char.hitTest(hit4)) or _root.char.hitTest(hit5)) {
_root.char.gotoAndStop(5);
}
}
Instance of Symbol 315 MovieClip "firedown" in Frame 36
onClipEvent (load) {
if (_name != "firedown") {
_x = _root.pyromaker._x;
_y = (_root.pyromaker._y + 50);
speed = 9;
angle = 3;
bob = 0;
timer = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_name != "firedown") {
timer++;
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
_y = (_y + 2);
if ((((_y > 450) or (_y < -50)) or (_x < -50)) or (_x > 600)) {
removeMovieClip(this);
}
if (timer > 20) {
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.hole, myMatrix, 0, "erase");
timer = 0;
}
}
if (_root.myBmp.getPixel32(_x, _y) != 0) {
_y = (_y - 2);
}
}
}
}
Instance of Symbol 316 MovieClip "fireleft" in Frame 36
onClipEvent (load) {
if (_name != "fireleft") {
_x = (_root.pyromaker._x + 50);
_y = _root.pyromaker._y;
speed = 9;
angle = 3;
bob = 0;
timer = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_name != "fireleft") {
timer++;
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_x = (_x + 2);
if ((((_y > 450) or (_y < -50)) or (_x < -50)) or (_x > 600)) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (timer > 20) {
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.hole, myMatrix, 0, "erase");
timer = 0;
}
}
if (_root.myBmp.getPixel32(_x, _y) != 0) {
_x = (_x - 2);
}
}
}
}
Instance of Symbol 316 MovieClip "fireright" in Frame 36
onClipEvent (load) {
if (_name != "fireright") {
_x = (_root.pyromaker._x - 50);
_y = _root.pyromaker._y;
speed = 9;
angle = 3;
bob = 0;
timer = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_name != "fireright") {
timer++;
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_x = (_x - 2);
if ((((_y > 450) or (_y < -50)) or (_x < -50)) or (_x > 600)) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (timer > 20) {
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.hole, myMatrix, 0, "erase");
timer = 0;
}
}
if (_root.myBmp.getPixel32(_x, _y) != 0) {
_x = (_x + 2);
}
}
}
}
Instance of Symbol 315 MovieClip "fireup" in Frame 36
onClipEvent (load) {
if (_name != "fireup") {
_x = _root.pyromaker._x;
_y = (_root.pyromaker._y - 50);
speed = 9;
angle = 3;
bob = 0;
timer = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_name != "fireup") {
timer++;
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_y = (_y - 2);
if ((((_y > 450) or (_y < -50)) or (_x < -50)) or (_x > 600)) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (timer > 20) {
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.hole, myMatrix, 0, "erase");
timer = 0;
}
}
if (_root.myBmp.getPixel32(_x, _y) != 0) {
_y = (_y + 2);
}
}
}
}
Frame 37
_root.firenum = 1;
_root.firenum2 = 1;
_root.shoot = false;
_root.shoot2 = false;
_root.storage.data.levelholder = _root._currentframe - 9;
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (_root.busymenu == false) {
if ((_root.switchone == true) and (_root._ymouse > 60)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if (_root._ymouse > 60) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if ((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if (((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
Instance of Symbol 129 MovieClip in Frame 37
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.leveltwentyseven = true;
_root.storage.data.leveltwentyseven = _root.leveltwentyseven;
_root.storage.flush();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 676 MovieClip "launcher" in Frame 37
onClipEvent (load) {
switcher = false;
}
onClipEvent (enterFrame) {
if (_root.busymenu == false) {
if (switcher == false) {
_x = (_x + 3);
}
if (switcher == true) {
_x = (_x - 3);
}
if (_x > 384) {
switcher = true;
}
if (_x < 200) {
switcher = false;
}
}
}
Instance of Symbol 296 MovieClip "grenade" in Frame 37
onClipEvent (load) {
if (_name != "grenade") {
_x = _root.launcher._x;
_y = (_root.launcher._y - 20);
speed = 9;
gravity = 25;
bob = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if (_y > 500) {
removeMovieClip(this);
}
if (bang._currentframe == 16) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_name != "grenade") {
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_currentframe == 1)) {
_root.char.gotoAndStop(5);
}
if (_currentframe == 1) {
gravity--;
_y = (_y - gravity);
_rotation = (_rotation + 10);
}
if (_currentframe == 1) {
if (((_root.myBmp.getPixel32(_x, _y) != 0) or (_root.myBmp.getPixel32(_x, _y + 10) != 0)) or (_root.myBmp.getPixel32(_x, _y - 10) != 0)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holethree, myMatrix, 0, "erase");
gotoAndStop (2);
}
}
}
}
}
Instance of Symbol 532 MovieClip in Frame 37
onClipEvent (load) {
speed = 9;
angle = 3;
bob = 0;
X = _x;
Y = _y;
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
_x = X;
_y = Y;
}
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_x = (_x - 10);
if (_x < -150) {
_x = 500;
}
if (((_root.myBmp.getPixel32(_x, _y) != 0) or (_root.myBmp.getPixel32(_x, _y + 10) != 0)) or (_root.myBmp.getPixel32(_x, _y - 10) != 0)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
}
}
}
Instance of Symbol 532 MovieClip in Frame 37
onClipEvent (load) {
speed = 9;
angle = 3;
bob = 0;
X = _x;
Y = _y;
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
_x = X;
_y = Y;
}
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_x = (_x - 10);
if (_x < -150) {
_x = 500;
}
if (((_root.myBmp.getPixel32(_x, _y) != 0) or (_root.myBmp.getPixel32(_x, _y + 10) != 0)) or (_root.myBmp.getPixel32(_x, _y - 10) != 0)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
}
}
}
Instance of Symbol 532 MovieClip in Frame 37
onClipEvent (load) {
speed = 9;
angle = 3;
bob = 0;
X = _x;
Y = _y;
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
_x = X;
_y = Y;
}
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_x = (_x - 10);
if (_x < -150) {
_x = 500;
}
if (((_root.myBmp.getPixel32(_x, _y) != 0) or (_root.myBmp.getPixel32(_x, _y + 10) != 0)) or (_root.myBmp.getPixel32(_x, _y - 10) != 0)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
}
}
}
Frame 38
_root.firenum = 1;
_root.firenum2 = 1;
_root.shoot = false;
_root.shoot2 = false;
_root.storage.data.levelholder = _root._currentframe - 9;
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (_root.busymenu == false) {
if ((_root.switchone == true) and (_root._ymouse > 60)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if (_root._ymouse > 60) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if ((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if (((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
Instance of Symbol 129 MovieClip in Frame 38
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.leveltwentyeight = true;
_root.storage.data.leveltwentyeight = _root.leveltwentyeight;
_root.storage.flush();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 682 MovieClip "launcher2" in Frame 38
onClipEvent (load) {
switcher = false;
}
onClipEvent (enterFrame) {
if (_root.busymenu == false) {
if (switcher == false) {
_x = (_x + 3);
}
if (switcher == true) {
_x = (_x - 3);
}
if (_x > 384) {
switcher = true;
}
if (_x < 200) {
switcher = false;
}
}
}
Instance of Symbol 296 MovieClip "grenade2" in Frame 38
onClipEvent (load) {
if (_name != "grenade2") {
_x = _root.launcher2._x;
_y = (_root.launcher2._y - 20);
speed = 9;
gravity = 25;
bob = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if (_y > 500) {
removeMovieClip(this);
}
if (bang._currentframe == 16) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_name != "grenade2") {
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_currentframe == 1)) {
_root.char.gotoAndStop(5);
}
if (_currentframe == 1) {
gravity--;
_y = (_y - gravity);
_rotation = (_rotation + 10);
}
if (_currentframe == 1) {
if (((_root.myBmp.getPixel32(_x, _y) != 0) or (_root.myBmp.getPixel32(_x, _y + 10) != 0)) or (_root.myBmp.getPixel32(_x, _y - 10) != 0)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holethree, myMatrix, 0, "erase");
gotoAndStop (2);
}
}
}
}
}
Instance of Symbol 540 MovieClip in Frame 38
onClipEvent (enterFrame) {
if ((((_root.char.hitTest(hit) or _root.char.hitTest(hit2)) or _root.char.hitTest(hit3)) or _root.char.hitTest(hit4)) or _root.char.hitTest(hit5)) {
_root.char.gotoAndStop(5);
}
}
Frame 39
_root.firenum = 1;
_root.firenum2 = 1;
_root.shoot = false;
_root.shoot2 = false;
_root.storage.data.levelholder = _root._currentframe - 9;
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (_root.busymenu == false) {
if ((_root.switchone == true) and (_root._ymouse > 60)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if (_root._ymouse > 60) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if ((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if (((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
Instance of Symbol 129 MovieClip in Frame 39
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.leveltwentynine = true;
_root.storage.data.leveltwentynine = _root.leveltwentynine;
_root.storage.flush();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 156 MovieClip in Frame 39
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 276 MovieClip "acid" in Frame 39
onClipEvent (load) {
if (_name != "acid") {
_x = _root.faucet._x;
_y = (_root.faucet._y + 15);
holdframe = _root._currentframe;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_root.busymenu == false) {
if (_y > 500) {
removeMovieClip(this);
}
if (_root._currentframe != holdframe) {
removeMovieClip(this);
}
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
if (_name != "acid") {
_y = (_y + 5);
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
removeMovieClip(this);
}
}
}
}
Instance of Symbol 540 MovieClip in Frame 39
onClipEvent (enterFrame) {
if ((((_root.char.hitTest(hit) or _root.char.hitTest(hit2)) or _root.char.hitTest(hit3)) or _root.char.hitTest(hit4)) or _root.char.hitTest(hit5)) {
_root.char.gotoAndStop(5);
}
}
Frame 40
_root.firenum = 1;
_root.firenum2 = 1;
_root.shoot = false;
_root.shoot2 = false;
_root.storage.data.levelholder = _root._currentframe - 9;
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (_root.busymenu == false) {
if ((_root.switchone == true) and (_root._ymouse > 60)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if (_root._ymouse > 60) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if ((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if (((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
Instance of Symbol 129 MovieClip in Frame 40
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.levelthirty = true;
_root.storage.data.levelthirty = _root.levelthirty;
_root.storage.flush();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 156 MovieClip in Frame 40
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 315 MovieClip "firedown" in Frame 40
onClipEvent (load) {
if (_name != "firedown") {
_x = _root.pyromaker._x;
_y = (_root.pyromaker._y + 50);
speed = 9;
angle = 3;
bob = 0;
timer = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_name != "firedown") {
timer++;
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
_y = (_y + 2);
if ((((_y > 450) or (_y < -50)) or (_x < -50)) or (_x > 600)) {
removeMovieClip(this);
}
if (timer > 20) {
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.hole, myMatrix, 0, "erase");
timer = 0;
}
}
if (_root.myBmp.getPixel32(_x, _y) != 0) {
_y = (_y - 2);
}
}
}
}
Instance of Symbol 316 MovieClip "fireleft" in Frame 40
onClipEvent (load) {
if (_name != "fireleft") {
_x = (_root.pyromaker._x + 50);
_y = _root.pyromaker._y;
speed = 9;
angle = 3;
bob = 0;
timer = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_name != "fireleft") {
timer++;
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_x = (_x + 2);
if ((((_y > 450) or (_y < -50)) or (_x < -50)) or (_x > 600)) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (timer > 20) {
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.hole, myMatrix, 0, "erase");
timer = 0;
}
}
if (_root.myBmp.getPixel32(_x, _y) != 0) {
_x = (_x - 2);
}
}
}
}
Instance of Symbol 316 MovieClip "fireright" in Frame 40
onClipEvent (load) {
if (_name != "fireright") {
_x = (_root.pyromaker._x - 50);
_y = _root.pyromaker._y;
speed = 9;
angle = 3;
bob = 0;
timer = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_name != "fireright") {
timer++;
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_x = (_x - 2);
if ((((_y > 450) or (_y < -50)) or (_x < -50)) or (_x > 600)) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (timer > 20) {
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.hole, myMatrix, 0, "erase");
timer = 0;
}
}
if (_root.myBmp.getPixel32(_x, _y) != 0) {
_x = (_x + 2);
}
}
}
}
Instance of Symbol 315 MovieClip "fireup" in Frame 40
onClipEvent (load) {
if (_name != "fireup") {
_x = _root.pyromaker._x;
_y = (_root.pyromaker._y - 50);
speed = 9;
angle = 3;
bob = 0;
timer = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_name != "fireup") {
timer++;
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_y = (_y - 2);
if ((((_y > 450) or (_y < -50)) or (_x < -50)) or (_x > 600)) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (timer > 20) {
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.hole, myMatrix, 0, "erase");
timer = 0;
}
}
if (_root.myBmp.getPixel32(_x, _y) != 0) {
_y = (_y + 2);
}
}
}
}
Frame 41
_root.firenum = 1;
_root.firenum2 = 1;
_root.shoot = false;
_root.shoot2 = false;
_root.storage.data.levelholder = _root._currentframe - 9;
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (_root.busymenu == false) {
if ((_root.switchone == true) and (_root._ymouse > 60)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if (_root._ymouse > 60) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if ((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if (((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
Instance of Symbol 129 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.levelthirtyone = true;
_root.storage.data.levelthirtyone = _root.levelthirtyone;
_root.secretthree = true;
_root.storage.data.levelsecretthree = _root.levelsecretthree;
_root.storage.flush();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 325 MovieClip in Frame 41
onClipEvent (enterFrame) {
_root.myline.clear();
_root.myline.lineStyle(5, 16711680);
_root.myline2.clear();
_root.myline2.lineStyle(5, 16711680);
if (_root.shoot == true) {
_root.myline.moveTo(_root.lasergun._x, _root.lasergun._y);
_root.myline.lineTo(_root.hitter._x, _root.hitter._y - 20);
}
if (_root.shoot2 == true) {
_root.myline2.moveTo(_root.lasergun2._x, _root.lasergun2._y);
_root.myline2.lineTo(_root.hitter2._x, _root.hitter2._y - 20);
}
}
Instance of Symbol 553 MovieClip "lasergun" in Frame 41
onClipEvent (load) {
speed = 4;
_root.hitter._x = _x;
_root.hitter._y = _y;
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
gotoAndPlay (1);
}
if (_root.shoot == false) {
X = _root.char._x - _x;
Y = _root.char._y - _y;
}
if (_root.shoot == true) {
stop();
} else {
play();
}
if (_root.busymenu == false) {
play();
} else {
stop();
}
angle = Math.atan2(Y, X);
_rotation = (((angle * 180) / Math.PI) - 180);
}
Instance of Symbol 323 MovieClip "hitter" in Frame 41
onClipEvent (load) {
speed = 16;
_x = _root.lasergun._x;
_y = (_root.lasergun._y + 18);
}
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char.gotoAndStop(5);
}
if (_root.shoot == false) {
X = _root.char._x - _x;
Y = _root.char._y - _y;
} else if ((_root.shoot == true) and (_root.busymenu == false)) {
angle = Math.atan2(Y, X);
_rotation = (((angle * 180) / Math.PI) - 180);
_x = (_x + (Math.cos(angle) * speed));
_y = (_y + (Math.sin(angle) * speed));
}
if (_root.myBmp.getPixel32(this)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y - 18);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
removeMovieClip(this);
}
if (((((_x > 550) or (_x < 0)) or (_y > 400)) or (_y < 0)) or (_root.reset == true)) {
_root.myline.clear();
_x = _root.lasergun._x;
_y = (_root.lasergun._y + 18);
_root.shoot = false;
}
}
Instance of Symbol 646 MovieClip "lasergun2" in Frame 41
onClipEvent (load) {
speed = 4;
_root.hitter2._x = _x;
_root.hitter2._y = _y;
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
gotoAndPlay (1);
}
if (_root.shoot2 == false) {
X = _root.char._x - _x;
Y = _root.char._y - _y;
}
if (_root.shoot2 == true) {
stop();
} else {
play();
}
if (_root.busymenu == false) {
play();
} else {
stop();
}
angle = Math.atan2(Y, X);
_rotation = (((angle * 180) / Math.PI) - 180);
}
Instance of Symbol 323 MovieClip "hitter2" in Frame 41
onClipEvent (load) {
speed = 16;
_x = _root.lasergun2._x;
_y = (_root.lasergun2._y + 18);
}
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char.gotoAndStop(5);
}
if (_root.shoot2 == false) {
X = _root.char._x - _x;
Y = _root.char._y - _y;
} else if ((_root.shoot == true) and (_root.busymenu == false)) {
angle = Math.atan2(Y, X);
_rotation = (((angle * 180) / Math.PI) - 180);
_x = (_x + (Math.cos(angle) * speed));
_y = (_y + (Math.sin(angle) * speed));
}
if (_root.myBmp.getPixel32(this)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y - 18);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
removeMovieClip(this);
}
if ((((_x > 550) or (_x < 0)) or (_y > 400)) or (_y < 0)) {
_root.myline2.clear();
_x = _root.lasergun2._x;
_y = (_root.lasergun2._y + 18);
_root.shoot2 = false;
}
if ((_root.lasergun2._currentframe == 20) or (_root.reset == true)) {
_root.myline2.clear();
_x = _root.lasergun2._x;
_y = (_root.lasergun2._y + 18);
_root.shoot2 = false;
}
}
Frame 42
_root.firenum = 1;
_root.firenum2 = 1;
_root.shoot = false;
_root.shoot2 = false;
_root.storage.data.levelholder = _root._currentframe - 9;
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (_root.busymenu == false) {
if ((_root.switchone == true) and (_root._ymouse > 60)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if (_root._ymouse > 60) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if ((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if (((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
Instance of Symbol 129 MovieClip in Frame 42
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.levelthirtytwo = true;
_root.storage.data.levelthirtytwo = _root.levelthirtytwo;
_root.storage.flush();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 540 MovieClip in Frame 42
onClipEvent (enterFrame) {
if ((((_root.char.hitTest(hit) or _root.char.hitTest(hit2)) or _root.char.hitTest(hit3)) or _root.char.hitTest(hit4)) or _root.char.hitTest(hit5)) {
_root.char.gotoAndStop(5);
}
}
Instance of Symbol 540 MovieClip in Frame 42
onClipEvent (enterFrame) {
if ((((_root.char.hitTest(hit) or _root.char.hitTest(hit2)) or _root.char.hitTest(hit3)) or _root.char.hitTest(hit4)) or _root.char.hitTest(hit5)) {
_root.char.gotoAndStop(5);
}
}
Instance of Symbol 540 MovieClip in Frame 42
onClipEvent (enterFrame) {
if ((((_root.char.hitTest(hit) or _root.char.hitTest(hit2)) or _root.char.hitTest(hit3)) or _root.char.hitTest(hit4)) or _root.char.hitTest(hit5)) {
_root.char.gotoAndStop(5);
}
}
Instance of Symbol 540 MovieClip in Frame 42
onClipEvent (enterFrame) {
if ((((_root.char.hitTest(hit) or _root.char.hitTest(hit2)) or _root.char.hitTest(hit3)) or _root.char.hitTest(hit4)) or _root.char.hitTest(hit5)) {
_root.char.gotoAndStop(5);
}
}
Instance of Symbol 565 MovieClip "cannon" in Frame 42
onClipEvent (enterFrame) {
if (_root.busymenu == false) {
play();
} else {
stop();
}
}
Instance of Symbol 573 MovieClip "ball" in Frame 42
onClipEvent (load) {
if (_name != "ball") {
Yspeed = random(10) + 5;
Xspeed = random(5) + 5;
_x = (_root.cannon._x - 30);
_y = (_root.cannon._y - 50);
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_root.busymenu == false) {
if (bang._currentframe == 16) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_currentframe != 21) {
play();
}
if (inside._currentframe != 21) {
inside.play();
}
} else {
stop();
if (inside._currentframe != 21) {
inside.stop();
}
}
if (_root.busymenu == false) {
if (_name != "ball") {
if (_currentframe != 21) {
Yspeed = Yspeed - 0.5;
_y = (_y - Yspeed);
_x = (_x - Xspeed);
}
if (_currentframe == 20) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holethree, myMatrix, 0, "erase");
}
}
}
}
Instance of Symbol 676 MovieClip "launcher" in Frame 42
onClipEvent (load) {
switcher = false;
}
onClipEvent (enterFrame) {
if (_root.busymenu == false) {
if (switcher == false) {
_x = (_x + 3);
}
if (switcher == true) {
_x = (_x - 3);
}
if (_x > 384) {
switcher = true;
}
if (_x < 200) {
switcher = false;
}
}
}
Instance of Symbol 296 MovieClip "grenade" in Frame 42
onClipEvent (load) {
if (_name != "grenade") {
_x = _root.launcher._x;
_y = (_root.launcher._y - 20);
speed = 9;
gravity = 25;
bob = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if (_y > 500) {
removeMovieClip(this);
}
if (bang._currentframe == 16) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_name != "grenade") {
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_currentframe == 1)) {
_root.char.gotoAndStop(5);
}
if (_currentframe == 1) {
gravity--;
_y = (_y - gravity);
_rotation = (_rotation + 10);
}
if (_currentframe == 1) {
if (((_root.myBmp.getPixel32(_x, _y) != 0) or (_root.myBmp.getPixel32(_x, _y + 10) != 0)) or (_root.myBmp.getPixel32(_x, _y - 10) != 0)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holethree, myMatrix, 0, "erase");
gotoAndStop (2);
}
}
}
}
}
Instance of Symbol 682 MovieClip "launcher2" in Frame 42
onClipEvent (load) {
switcher = false;
}
onClipEvent (enterFrame) {
if (_root.busymenu == false) {
if (switcher == false) {
_x = (_x + 3);
}
if (switcher == true) {
_x = (_x - 3);
}
if (_x > 384) {
switcher = true;
}
if (_x < 200) {
switcher = false;
}
}
}
Instance of Symbol 296 MovieClip "grenade2" in Frame 42
onClipEvent (load) {
if (_name != "grenade2") {
_x = _root.launcher2._x;
_y = (_root.launcher2._y - 20);
speed = 9;
gravity = 25;
bob = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if (_y > 500) {
removeMovieClip(this);
}
if (bang._currentframe == 16) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_name != "grenade2") {
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_currentframe == 1)) {
_root.char.gotoAndStop(5);
}
if (_currentframe == 1) {
gravity--;
_y = (_y - gravity);
_rotation = (_rotation + 10);
}
if (_currentframe == 1) {
if (((_root.myBmp.getPixel32(_x, _y) != 0) or (_root.myBmp.getPixel32(_x, _y + 10) != 0)) or (_root.myBmp.getPixel32(_x, _y - 10) != 0)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holethree, myMatrix, 0, "erase");
gotoAndStop (2);
}
}
}
}
}
Frame 43
_root.firenum = 1;
_root.firenum2 = 1;
_root.shoot = false;
_root.shoot2 = false;
_root.storage.data.levelholder = _root._currentframe - 9;
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (_root.busymenu == false) {
if ((_root.switchone == true) and (_root._ymouse > 60)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if (_root._ymouse > 60) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if ((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if (((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
Instance of Symbol 129 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.levelthirtythree = true;
_root.storage.data.levelthirtythree = _root.levelthirtythree;
_root.storage.flush();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 545 MovieClip "faucet2" in Frame 43
onClipEvent (load) {
gotoAndPlay (15);
}
Instance of Symbol 276 MovieClip "acid" in Frame 43
onClipEvent (load) {
if (_name != "acid") {
_x = _root.faucet._x;
_y = (_root.faucet._y + 15);
holdframe = _root._currentframe;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_root.busymenu == false) {
if (_y > 500) {
removeMovieClip(this);
}
if (_root._currentframe != holdframe) {
removeMovieClip(this);
}
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
if (_name != "acid") {
_y = (_y + 5);
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
removeMovieClip(this);
}
}
}
}
Instance of Symbol 276 MovieClip "acid2" in Frame 43
onClipEvent (load) {
if (_name != "acid2") {
_x = _root.faucet2._x;
_y = (_root.faucet2._y + 15);
holdframe = _root._currentframe;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_root.busymenu == false) {
if (_y > 500) {
removeMovieClip(this);
}
if (_root._currentframe != holdframe) {
removeMovieClip(this);
}
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
if (_name != "acid2") {
_y = (_y + 5);
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
removeMovieClip(this);
}
}
}
}
Instance of Symbol 532 MovieClip in Frame 43
onClipEvent (load) {
speed = 9;
angle = 3;
bob = 0;
X = _x;
Y = _y;
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
_x = X;
_y = Y;
}
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_x = (_x - 10);
if (_x < -150) {
_x = 500;
}
if (((_root.myBmp.getPixel32(_x, _y) != 0) or (_root.myBmp.getPixel32(_x, _y + 10) != 0)) or (_root.myBmp.getPixel32(_x, _y - 10) != 0)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
}
}
}
Instance of Symbol 156 MovieClip in Frame 43
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 532 MovieClip in Frame 43
onClipEvent (load) {
speed = 9;
angle = 3;
bob = 0;
X = _x;
Y = _y;
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
_x = X;
_y = Y;
}
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_x = (_x - 10);
if (_x < -150) {
_x = 500;
}
if (((_root.myBmp.getPixel32(_x, _y) != 0) or (_root.myBmp.getPixel32(_x, _y + 10) != 0)) or (_root.myBmp.getPixel32(_x, _y - 10) != 0)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
}
}
}
Frame 44
_root.firenum = 1;
_root.firenum2 = 1;
_root.shoot = false;
_root.shoot2 = false;
_root.storage.data.levelholder = _root._currentframe - 9;
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (_root.busymenu == false) {
if ((_root.switchone == true) and (_root._ymouse > 60)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if (_root._ymouse > 60) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if ((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if (((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
Instance of Symbol 129 MovieClip in Frame 44
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.levelthirtyfour = true;
_root.storage.data.levelthirtyfour = _root.levelthirtyfour;
_root.storage.flush();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 281 MovieClip "star" in Frame 44
onClipEvent (load) {
if (_name != "star") {
_x = _root.dispenser._x;
_y = _root.dispenser._y;
gravity = 0;
speed = 5;
roll = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_root.busymenu == false) {
if (_root._currentframe != 44) {
removeMovieClip(this);
}
if (_name != "star") {
gravity++;
_y = (_y + gravity);
while ((_root.myBmp.getPixel32(_x, _y + 8) != 0) and (_root.bob == false)) {
_y = (_y-1);
gravity = 0;
}
if (_root.myBmp.getPixel32(_x, _y + 11) != 0) {
if (roll == 0) {
roll = random(2) + 1;
}
if (roll == 1) {
_x = (_x + speed);
_rotation = (_rotation + 8);
}
if (roll == 2) {
_x = (_x - speed);
_rotation = (_rotation - 8);
}
}
if (_root.myBmp.getPixel32(_x + 5, _y - 10) != 0) {
_x = (_x - speed);
}
if (_root.myBmp.getPixel32(_x - 5, _y - 10) != 0) {
_x = (_x + speed);
}
if ((_y > 450) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_root.char.hitTest(hit)) {
_root.char.gotoAndStop(5);
}
}
}
}
Instance of Symbol 315 MovieClip "firedown" in Frame 44
onClipEvent (load) {
if (_name != "firedown") {
_x = _root.pyromaker._x;
_y = (_root.pyromaker._y + 50);
speed = 9;
angle = 3;
bob = 0;
timer = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_name != "firedown") {
timer++;
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
_y = (_y + 2);
if ((((_y > 450) or (_y < -50)) or (_x < -50)) or (_x > 600)) {
removeMovieClip(this);
}
if (timer > 20) {
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.hole, myMatrix, 0, "erase");
timer = 0;
}
}
if (_root.myBmp.getPixel32(_x, _y) != 0) {
_y = (_y - 2);
}
}
}
}
Instance of Symbol 316 MovieClip "fireleft" in Frame 44
onClipEvent (load) {
if (_name != "fireleft") {
_x = (_root.pyromaker._x + 50);
_y = _root.pyromaker._y;
speed = 9;
angle = 3;
bob = 0;
timer = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_name != "fireleft") {
timer++;
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_x = (_x + 2);
if ((((_y > 450) or (_y < -50)) or (_x < -50)) or (_x > 600)) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (timer > 20) {
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.hole, myMatrix, 0, "erase");
timer = 0;
}
}
if (_root.myBmp.getPixel32(_x, _y) != 0) {
_x = (_x - 2);
}
}
}
}
Instance of Symbol 316 MovieClip "fireright" in Frame 44
onClipEvent (load) {
if (_name != "fireright") {
_x = (_root.pyromaker._x - 50);
_y = _root.pyromaker._y;
speed = 9;
angle = 3;
bob = 0;
timer = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_name != "fireright") {
timer++;
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_x = (_x - 2);
if ((((_y > 450) or (_y < -50)) or (_x < -50)) or (_x > 600)) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (timer > 20) {
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.hole, myMatrix, 0, "erase");
timer = 0;
}
}
if (_root.myBmp.getPixel32(_x, _y) != 0) {
_x = (_x + 2);
}
}
}
}
Instance of Symbol 315 MovieClip "fireup" in Frame 44
onClipEvent (load) {
if (_name != "fireup") {
_x = _root.pyromaker._x;
_y = (_root.pyromaker._y - 50);
speed = 9;
angle = 3;
bob = 0;
timer = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_name != "fireup") {
timer++;
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_y = (_y - 2);
if ((((_y > 450) or (_y < -50)) or (_x < -50)) or (_x > 600)) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (timer > 20) {
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.hole, myMatrix, 0, "erase");
timer = 0;
}
}
if (_root.myBmp.getPixel32(_x, _y) != 0) {
_y = (_y + 2);
}
}
}
}
Instance of Symbol 540 MovieClip in Frame 44
onClipEvent (enterFrame) {
if ((((_root.char.hitTest(hit) or _root.char.hitTest(hit2)) or _root.char.hitTest(hit3)) or _root.char.hitTest(hit4)) or _root.char.hitTest(hit5)) {
_root.char.gotoAndStop(5);
}
}
Frame 45
_root.firenum = 1;
_root.firenum2 = 1;
_root.shoot = false;
_root.shoot2 = false;
_root.storage.data.levelholder = _root._currentframe - 9;
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (_root.busymenu == false) {
if ((_root.switchone == true) and (_root._ymouse > 60)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if (_root._ymouse > 60) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if ((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if (((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
Instance of Symbol 129 MovieClip in Frame 45
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.levelthirtyfive = true;
_root.storage.data.levelthirtyfive = _root.levelthirtyfive;
_root.storage.flush();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 252 MovieClip "char" in Frame 45
onClipEvent (load) {
gravity = 0;
scale = _xscale;
_root.bob = false;
_root.stopper = false;
_root.ydiff = 0;
_root.ypos = _root.char._y;
_root.xpos = _root.char._x;
ok = false;
busy = false;
}
onClipEvent (enterFrame) {
if (_root.busymenu == false) {
if (_currentframe == 5) {
busy = true;
} else {
busy = false;
}
if (busy == false) {
gravity++;
_y = (_y + gravity);
}
while ((_root.myBmp.getPixel32(_x, _y) != 0) and (_root.bob == false)) {
_y = (_y-1);
gravity = 0;
}
if ((Key.isDown(39) and (busy == false)) or (Key.isDown(68) and (busy == false))) {
_x = (_x + 4);
_xscale = scale;
if (_root.myBmp.getPixel32(_x, _y + 3) != 0) {
this.gotoAndStop(2);
}
} else if ((Key.isDown(37) and (busy == false)) or (Key.isDown(65) and (busy == false))) {
_x = (_x - 4);
_xscale = (-scale);
if (_root.myBmp.getPixel32(_x, _y + 3) != 0) {
this.gotoAndStop(2);
}
}
if (((Key.isDown(38) and (_root.myBmp.getPixel32(_x, _y + 3) != 0)) and (busy == false)) or ((Key.isDown(87) and (_root.myBmp.getPixel32(_x, _y + 3) != 0)) and (busy == false))) {
this.gotoAndStop(4);
_y = (_y - 4);
gravity = -10;
} else if ((((((_root.myBmp.getPixel32(_x, _y + 3) != 0) and (!Key.isDown(39))) and (!Key.isDown(37))) and (!Key.isDown(65))) and (!Key.isDown(68))) and (busy == false)) {
this.gotoAndStop(1);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 40) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 30) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 20) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 40) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 30) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 20) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x, _y - 50) != 0) {
gravity = 0;
}
if (_root.myBmp.getPixel32(_x, _y - 40) != 0) {
if (((((_root.char._y - _root._ymouse) > -20) and ((_root.char._y - _root._ymouse) < 40)) and ((_root.char._x - _root._xmouse) > -30)) and ((_root.char._x - _root._xmouse) < 30)) {
_root.stopper = true;
} else {
_root.stopper = false;
}
} else {
_root.stopper = false;
}
if (_y > 1000) {
_root.ydiff = 0;
_root.ypos = 0;
ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
}
_root.ydiff = _root.ypos - _root.char._y;
if (_root.ydiff > 60) {
ok = true;
_root.char._y = _root.ypos;
_root.char._x = _root.xpos;
}
if (ok == false) {
_root.ypos = _root.char._y;
_root.xpos = _root.char._x;
}
if ((!_root.myBmp.getPixel32(_x, _y - 50)) != 0) {
ok = false;
}
if (((((((((_root.myline.hitTest(_x, _y, true) or _root.myline.hitTest(_x, _y - 5, true)) or _root.myline.hitTest(_x, _y - 10, true)) or _root.myline.hitTest(_x, _y + 1, true)) or _root.myline.hitTest(_x, _y - 20, true)) or _root.myline.hitTest(_x, _y - 19, true)) or _root.myline.hitTest(_x, _y - 25, true)) or _root.myline.hitTest(_x, _y - 30, true)) or _root.myline.hitTest(_x, _y - 40, true)) or _root.myline.hitTest(_x, _y - 39, true)) {
gotoAndStop (5);
}
}
_root.vcam.camControl();
}
Instance of Symbol 281 MovieClip "star" in Frame 45
onClipEvent (load) {
if (_name != "star") {
_x = _root.dispenser._x;
_y = _root.dispenser._y;
gravity = 0;
speed = 5;
roll = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_root.busymenu == false) {
if (_root._currentframe != 45) {
removeMovieClip(this);
}
if (_name != "star") {
gravity++;
_y = (_y + gravity);
while ((_root.myBmp.getPixel32(_x, _y + 8) != 0) and (_root.bob == false)) {
_y = (_y-1);
gravity = 0;
}
if (_root.myBmp.getPixel32(_x, _y + 11) != 0) {
if (roll == 0) {
roll = random(2) + 1;
}
if (roll == 1) {
_x = (_x + speed);
_rotation = (_rotation + 8);
}
if (roll == 2) {
_x = (_x - speed);
_rotation = (_rotation - 8);
}
}
if (_root.myBmp.getPixel32(_x + 5, _y - 10) != 0) {
_x = (_x - speed);
}
if (_root.myBmp.getPixel32(_x - 5, _y - 10) != 0) {
_x = (_x + speed);
}
if ((_y > 450) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_root.char.hitTest(hit)) {
_root.char.gotoAndStop(5);
}
}
}
}
Instance of Symbol 540 MovieClip in Frame 45
onClipEvent (enterFrame) {
if ((((_root.char.hitTest(hit) or _root.char.hitTest(hit2)) or _root.char.hitTest(hit3)) or _root.char.hitTest(hit4)) or _root.char.hitTest(hit5)) {
_root.char.gotoAndStop(5);
}
}
Instance of Symbol 676 MovieClip "launcher" in Frame 45
onClipEvent (load) {
switcher = false;
}
onClipEvent (enterFrame) {
if (_root.busymenu == false) {
if (switcher == false) {
_x = (_x + 3);
}
if (switcher == true) {
_x = (_x - 3);
}
if (_x > 384) {
switcher = true;
}
if (_x < 200) {
switcher = false;
}
}
}
Instance of Symbol 296 MovieClip "grenade" in Frame 45
onClipEvent (load) {
if (_name != "grenade") {
_x = _root.launcher._x;
_y = (_root.launcher._y - 20);
speed = 9;
gravity = 25;
bob = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if (_y > 500) {
removeMovieClip(this);
}
if (bang._currentframe == 16) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_name != "grenade") {
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_currentframe == 1)) {
_root.char.gotoAndStop(5);
}
if (_currentframe == 1) {
gravity--;
_y = (_y - gravity);
_rotation = (_rotation + 10);
}
if (_currentframe == 1) {
if (((_root.myBmp.getPixel32(_x, _y) != 0) or (_root.myBmp.getPixel32(_x, _y + 10) != 0)) or (_root.myBmp.getPixel32(_x, _y - 10) != 0)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holethree, myMatrix, 0, "erase");
gotoAndStop (2);
}
}
}
}
}
Instance of Symbol 638 MovieClip "chaingun" in Frame 45
onClipEvent (load) {
switcher = false;
}
onClipEvent (enterFrame) {
if (_root.busymenu == false) {
if (switcher == false) {
_y = (_y + 3);
}
if (switcher == true) {
_y = (_y - 3);
}
if (_y > 200) {
switcher = true;
}
if (_y < 80) {
switcher = false;
}
}
}
Instance of Symbol 277 MovieClip "chainbullet" in Frame 45
onClipEvent (load) {
if (_name != "chainbullet") {
_x = (_root.chaingun._x - 40);
_y = _root.chaingun._y;
speed = 9;
angle = 3;
bob = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_name != "chainbullet") {
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_x = (_x - 10);
if (_x < 0) {
removeMovieClip(this);
}
if (((_root.myBmp.getPixel32(_x, _y) != 0) or (_root.myBmp.getPixel32(_x, _y + 10) != 0)) or (_root.myBmp.getPixel32(_x, _y - 10) != 0)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
removeMovieClip(this);
}
}
}
}
Frame 46
_root.firenum = 1;
_root.firenum2 = 1;
_root.shoot = false;
_root.shoot2 = false;
_root.storage.data.levelholder = _root._currentframe - 9;
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (_root.busymenu == false) {
if ((_root.switchone == true) and (_root._ymouse > 60)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if (_root._ymouse > 60) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if ((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if (((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
Instance of Symbol 129 MovieClip in Frame 46
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.levelthirtysix = true;
_root.storage.data.levelthirtysix = _root.levelthirtysix;
_root.storage.flush();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 252 MovieClip "char" in Frame 46
onClipEvent (load) {
gravity = 0;
scale = _xscale;
_root.bob = false;
_root.stopper = false;
_root.ydiff = 0;
_root.ypos = _root.char._y;
_root.xpos = _root.char._x;
ok = false;
busy = false;
}
onClipEvent (enterFrame) {
if (_root.busymenu == false) {
if (_currentframe == 5) {
busy = true;
} else {
busy = false;
}
if (busy == false) {
gravity++;
_y = (_y + gravity);
}
while ((_root.myBmp.getPixel32(_x, _y) != 0) and (_root.bob == false)) {
_y = (_y-1);
gravity = 0;
}
if ((Key.isDown(39) and (busy == false)) or (Key.isDown(68) and (busy == false))) {
_x = (_x + 4);
_xscale = scale;
if (_root.myBmp.getPixel32(_x, _y + 3) != 0) {
this.gotoAndStop(2);
}
} else if ((Key.isDown(37) and (busy == false)) or (Key.isDown(65) and (busy == false))) {
_x = (_x - 4);
_xscale = (-scale);
if (_root.myBmp.getPixel32(_x, _y + 3) != 0) {
this.gotoAndStop(2);
}
}
if (((Key.isDown(38) and (_root.myBmp.getPixel32(_x, _y + 3) != 0)) and (busy == false)) or ((Key.isDown(87) and (_root.myBmp.getPixel32(_x, _y + 3) != 0)) and (busy == false))) {
this.gotoAndStop(4);
_y = (_y - 4);
gravity = -10;
} else if ((((((_root.myBmp.getPixel32(_x, _y + 3) != 0) and (!Key.isDown(39))) and (!Key.isDown(37))) and (!Key.isDown(65))) and (!Key.isDown(68))) and (busy == false)) {
this.gotoAndStop(1);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 40) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 30) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 20) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 40) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 30) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 20) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x, _y - 50) != 0) {
gravity = 0;
}
if (_root.myBmp.getPixel32(_x, _y - 40) != 0) {
if (((((_root.char._y - _root._ymouse) > -20) and ((_root.char._y - _root._ymouse) < 40)) and ((_root.char._x - _root._xmouse) > -30)) and ((_root.char._x - _root._xmouse) < 30)) {
_root.stopper = true;
} else {
_root.stopper = false;
}
} else {
_root.stopper = false;
}
if (_y > 1000) {
_root.ydiff = 0;
_root.ypos = 0;
ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
}
_root.ydiff = _root.ypos - _root.char._y;
if (_root.ydiff > 60) {
ok = true;
_root.char._y = _root.ypos;
_root.char._x = _root.xpos;
}
if (ok == false) {
_root.ypos = _root.char._y;
_root.xpos = _root.char._x;
}
if ((!_root.myBmp.getPixel32(_x, _y - 50)) != 0) {
ok = false;
}
if (((((((((_root.myline.hitTest(_x, _y, true) or _root.myline.hitTest(_x, _y - 5, true)) or _root.myline.hitTest(_x, _y - 10, true)) or _root.myline.hitTest(_x, _y + 1, true)) or _root.myline.hitTest(_x, _y - 20, true)) or _root.myline.hitTest(_x, _y - 19, true)) or _root.myline.hitTest(_x, _y - 25, true)) or _root.myline.hitTest(_x, _y - 30, true)) or _root.myline.hitTest(_x, _y - 40, true)) or _root.myline.hitTest(_x, _y - 39, true)) {
gotoAndStop (5);
}
}
_root.vcam.camControl();
}
Instance of Symbol 296 MovieClip "grenade" in Frame 46
onClipEvent (load) {
if (_name != "grenade") {
_x = _root.launcher._x;
_y = (_root.launcher._y - 20);
speed = 9;
gravity = 25;
bob = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if (_y > 500) {
removeMovieClip(this);
}
if (bang._currentframe == 16) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_y > 450) {
removeMovieClip(this);
}
if (_name != "grenade") {
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_currentframe == 1)) {
_root.char.gotoAndStop(5);
}
if (_currentframe == 1) {
gravity--;
_y = (_y - gravity);
_rotation = (_rotation + 10);
}
if (_currentframe == 1) {
if (((_root.myBmp.getPixel32(_x, _y) != 0) or (_root.myBmp.getPixel32(_x, _y + 10) != 0)) or (_root.myBmp.getPixel32(_x, _y - 10) != 0)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holethree, myMatrix, 0, "erase");
gotoAndStop (2);
}
}
}
}
}
Instance of Symbol 682 MovieClip "launcher2" in Frame 46
onClipEvent (load) {
switcher = false;
}
onClipEvent (enterFrame) {
if (_root.busymenu == false) {
if (switcher == false) {
_x = (_x + 3);
}
if (switcher == true) {
_x = (_x - 3);
}
if (_x > 384) {
switcher = true;
}
if (_x < 200) {
switcher = false;
}
}
}
Instance of Symbol 714 MovieClip "launcher3" in Frame 46
onClipEvent (load) {
switcher = false;
}
onClipEvent (enterFrame) {
if (_root.busymenu == false) {
if (switcher == false) {
_x = (_x + 3);
}
if (switcher == true) {
_x = (_x - 3);
}
if (_x > 384) {
switcher = true;
}
if (_x < 200) {
switcher = false;
}
}
}
Instance of Symbol 717 MovieClip "launcher4" in Frame 46
onClipEvent (load) {
switcher = false;
}
onClipEvent (enterFrame) {
if (_root.busymenu == false) {
if (switcher == false) {
_x = (_x + 3);
}
if (switcher == true) {
_x = (_x - 3);
}
if (_x > 384) {
switcher = true;
}
if (_x < 200) {
switcher = false;
}
}
}
Instance of Symbol 296 MovieClip "grenade2" in Frame 46
onClipEvent (load) {
if (_name != "grenade2") {
_x = _root.launcher2._x;
_y = (_root.launcher2._y - 20);
speed = 9;
gravity = 25;
bob = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if (_y > 500) {
removeMovieClip(this);
}
if (bang._currentframe == 16) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_name != "grenade2") {
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_currentframe == 1)) {
_root.char.gotoAndStop(5);
}
if (_currentframe == 1) {
gravity--;
_y = (_y - gravity);
_rotation = (_rotation + 10);
}
if (_currentframe == 1) {
if (((_root.myBmp.getPixel32(_x, _y) != 0) or (_root.myBmp.getPixel32(_x, _y + 10) != 0)) or (_root.myBmp.getPixel32(_x, _y - 10) != 0)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holethree, myMatrix, 0, "erase");
gotoAndStop (2);
}
}
}
}
}
Instance of Symbol 296 MovieClip "grenade3" in Frame 46
onClipEvent (load) {
if (_name != "grenade3") {
_x = _root.launcher3._x;
_y = (_root.launcher3._y - 20);
speed = 9;
gravity = 25;
bob = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if (_y > 500) {
removeMovieClip(this);
}
if (bang._currentframe == 16) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_name != "grenade3") {
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_currentframe == 1)) {
_root.char.gotoAndStop(5);
}
if (_currentframe == 1) {
gravity--;
_y = (_y - gravity);
_rotation = (_rotation + 10);
}
if (_currentframe == 1) {
if (((_root.myBmp.getPixel32(_x, _y) != 0) or (_root.myBmp.getPixel32(_x, _y + 10) != 0)) or (_root.myBmp.getPixel32(_x, _y - 10) != 0)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holethree, myMatrix, 0, "erase");
gotoAndStop (2);
}
}
}
}
}
Instance of Symbol 296 MovieClip "grenade4" in Frame 46
onClipEvent (load) {
if (_name != "grenade4") {
_x = _root.launcher4._x;
_y = (_root.launcher4._y - 20);
speed = 9;
gravity = 25;
bob = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if (_y > 500) {
removeMovieClip(this);
}
if (bang._currentframe == 16) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_name != "grenade4") {
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_currentframe == 1)) {
_root.char.gotoAndStop(5);
}
if (_currentframe == 1) {
gravity--;
_y = (_y - gravity);
_rotation = (_rotation + 10);
}
if (_currentframe == 1) {
if (((_root.myBmp.getPixel32(_x, _y) != 0) or (_root.myBmp.getPixel32(_x, _y + 10) != 0)) or (_root.myBmp.getPixel32(_x, _y - 10) != 0)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holethree, myMatrix, 0, "erase");
gotoAndStop (2);
}
}
}
}
}
Instance of Symbol 296 MovieClip "grenade5" in Frame 46
onClipEvent (load) {
if (_name != "grenade5") {
_x = _root.launcher5._x;
_y = (_root.launcher5._y - 20);
speed = 9;
gravity = 25;
bob = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if (_y > 500) {
removeMovieClip(this);
}
if (bang._currentframe == 16) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_name != "grenade5") {
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_currentframe == 1)) {
_root.char.gotoAndStop(5);
}
if (_currentframe == 1) {
gravity--;
_y = (_y - gravity);
_rotation = (_rotation + 10);
}
if (_currentframe == 1) {
if (((_root.myBmp.getPixel32(_x, _y) != 0) or (_root.myBmp.getPixel32(_x, _y + 10) != 0)) or (_root.myBmp.getPixel32(_x, _y - 10) != 0)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holethree, myMatrix, 0, "erase");
gotoAndStop (2);
}
}
}
}
}
Frame 47
_root.firenum = 1;
_root.firenum2 = 1;
_root.shoot = false;
_root.shoot2 = false;
_root.storage.data.levelholder = _root._currentframe - 9;
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (_root.busymenu == false) {
if ((_root.switchone == true) and (_root._ymouse > 60)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if (_root._ymouse > 60) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if ((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if (((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
Instance of Symbol 129 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.levelthirtyseven = true;
_root.storage.data.levelthirtyseven = _root.levelthirtyseven;
_root.storage.flush();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 540 MovieClip in Frame 47
onClipEvent (enterFrame) {
if ((((_root.char.hitTest(hit) or _root.char.hitTest(hit2)) or _root.char.hitTest(hit3)) or _root.char.hitTest(hit4)) or _root.char.hitTest(hit5)) {
_root.char.gotoAndStop(5);
}
}
Instance of Symbol 719 MovieClip "chaingun" in Frame 47
onClipEvent (load) {
switcher = false;
}
onClipEvent (enterFrame) {
if (_root.busymenu == false) {
if (switcher == false) {
_y = (_y + 3);
}
if (switcher == true) {
_y = (_y - 3);
}
if (_y > 200) {
switcher = true;
}
if (_y < 80) {
switcher = false;
}
}
}
Instance of Symbol 277 MovieClip "chainbullet" in Frame 47
onClipEvent (load) {
if (_name != "chainbullet") {
_x = (_root.chaingun._x - 40);
_y = _root.chaingun._y;
speed = 9;
angle = 3;
bob = 0;
}
}
onClipEvent (enterFrame) {
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_root.reset == true) {
removeMovieClip(this);
}
if (_name != "chainbullet") {
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_x = (_x - 10);
if (_x < 0) {
removeMovieClip(this);
}
if (((_root.myBmp.getPixel32(_x, _y) != 0) or (_root.myBmp.getPixel32(_x, _y + 10) != 0)) or (_root.myBmp.getPixel32(_x, _y - 10) != 0)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
removeMovieClip(this);
}
}
}
}
Instance of Symbol 281 MovieClip "star" in Frame 47
onClipEvent (load) {
if (_name != "star") {
_x = _root.dispenser._x;
_y = _root.dispenser._y;
gravity = 0;
speed = 5;
roll = 0;
}
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_root.busymenu == false) {
if (_root._currentframe != 47) {
removeMovieClip(this);
}
if (_name != "star") {
gravity++;
_y = (_y + gravity);
while ((_root.myBmp.getPixel32(_x, _y + 8) != 0) and (_root.bob == false)) {
_y = (_y-1);
gravity = 0;
}
if (_root.myBmp.getPixel32(_x, _y + 11) != 0) {
if (roll == 0) {
roll = random(2) + 1;
}
if (roll == 1) {
_x = (_x + speed);
_rotation = (_rotation + 8);
}
if (roll == 2) {
_x = (_x - speed);
_rotation = (_rotation - 8);
}
}
if (_root.myBmp.getPixel32(_x + 5, _y - 10) != 0) {
_x = (_x - speed);
}
if (_root.myBmp.getPixel32(_x - 5, _y - 10) != 0) {
_x = (_x + speed);
}
if ((_y > 450) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_root.char.hitTest(hit)) {
_root.char.gotoAndStop(5);
}
}
}
}
Instance of Symbol 156 MovieClip in Frame 47
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 156 MovieClip in Frame 47
onClipEvent (enterFrame) {
_rotation = (_rotation - 5);
}
Frame 48
_root.firenum = 1;
_root.firenum2 = 1;
_root.shoot = false;
_root.shoot2 = false;
_root.storage.data.levelholder = _root._currentframe - 9;
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (_root.busymenu == false) {
if ((_root.switchone == true) and (_root._ymouse > 60)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if (_root._ymouse > 60) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if ((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if (((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
Instance of Symbol 129 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.levelthirtyeight = true;
_root.storage.data.levelthirtyeight = _root.levelthirtyeight;
_root.storage.flush();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 281 MovieClip "star" in Frame 48
onClipEvent (load) {
if (_name != "star") {
_x = _root.dispenser._x;
_y = _root.dispenser._y;
gravity = 0;
speed = 5;
roll = 0;
}
}
onClipEvent (enterFrame) {
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_root.reset == true) {
removeMovieClip(this);
}
if (_root.busymenu == false) {
if (_root._currentframe != 48) {
removeMovieClip(this);
}
if (_name != "star") {
gravity++;
_y = (_y + gravity);
while ((_root.myBmp.getPixel32(_x, _y + 8) != 0) and (_root.bob == false)) {
_y = (_y-1);
gravity = 0;
}
if (_root.myBmp.getPixel32(_x, _y + 11) != 0) {
if (roll == 0) {
roll = random(2) + 1;
}
if (roll == 1) {
_x = (_x + speed);
_rotation = (_rotation + 8);
}
if (roll == 2) {
_x = (_x - speed);
_rotation = (_rotation - 8);
}
}
if (_root.myBmp.getPixel32(_x + 5, _y - 10) != 0) {
_x = (_x - speed);
}
if (_root.myBmp.getPixel32(_x - 5, _y - 10) != 0) {
_x = (_x + speed);
}
if ((_y > 450) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_root.char.hitTest(hit)) {
_root.char.gotoAndStop(5);
}
}
}
}
Instance of Symbol 315 MovieClip "firedown" in Frame 48
onClipEvent (load) {
if (_name != "firedown") {
_x = _root.pyromaker._x;
_y = (_root.pyromaker._y + 50);
speed = 9;
angle = 3;
bob = 0;
timer = 0;
}
}
onClipEvent (enterFrame) {
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_root.reset == true) {
removeMovieClip(this);
}
if (_name != "firedown") {
timer++;
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
_y = (_y + 2);
if ((((_y > 450) or (_y < -50)) or (_x < -50)) or (_x > 600)) {
removeMovieClip(this);
}
if (timer > 20) {
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.hole, myMatrix, 0, "erase");
timer = 0;
}
}
if (_root.myBmp.getPixel32(_x, _y) != 0) {
_y = (_y - 2);
}
}
}
}
Instance of Symbol 316 MovieClip "fireleft" in Frame 48
onClipEvent (load) {
if (_name != "fireleft") {
_x = (_root.pyromaker._x + 50);
_y = _root.pyromaker._y;
speed = 9;
angle = 3;
bob = 0;
timer = 0;
}
}
onClipEvent (enterFrame) {
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_root.reset == true) {
removeMovieClip(this);
}
if (_name != "fireleft") {
timer++;
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_x = (_x + 2);
if ((((_y > 450) or (_y < -50)) or (_x < -50)) or (_x > 600)) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (timer > 20) {
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.hole, myMatrix, 0, "erase");
timer = 0;
}
}
if (_root.myBmp.getPixel32(_x, _y) != 0) {
_x = (_x - 2);
}
}
}
}
Instance of Symbol 316 MovieClip "fireright" in Frame 48
onClipEvent (load) {
if (_name != "fireright") {
_x = (_root.pyromaker._x - 50);
_y = _root.pyromaker._y;
speed = 9;
angle = 3;
bob = 0;
timer = 0;
}
}
onClipEvent (enterFrame) {
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_root.reset == true) {
removeMovieClip(this);
}
if (_name != "fireright") {
timer++;
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_x = (_x - 2);
if ((((_y > 450) or (_y < -50)) or (_x < -50)) or (_x > 600)) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (timer > 20) {
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.hole, myMatrix, 0, "erase");
timer = 0;
}
}
if (_root.myBmp.getPixel32(_x, _y) != 0) {
_x = (_x + 2);
}
}
}
}
Instance of Symbol 315 MovieClip "fireup" in Frame 48
onClipEvent (load) {
if (_name != "fireup") {
_x = _root.pyromaker._x;
_y = (_root.pyromaker._y - 50);
speed = 9;
angle = 3;
bob = 0;
timer = 0;
}
}
onClipEvent (enterFrame) {
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_root.reset == true) {
removeMovieClip(this);
}
if (_name != "fireup") {
timer++;
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_y = (_y - 2);
if ((((_y > 450) or (_y < -50)) or (_x < -50)) or (_x > 600)) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (timer > 20) {
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.hole, myMatrix, 0, "erase");
timer = 0;
}
}
if (_root.myBmp.getPixel32(_x, _y) != 0) {
_y = (_y + 2);
}
}
}
}
Instance of Symbol 325 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.shoot == true) {
_root.myline.clear();
_root.myline.lineStyle(5, 16711680);
_root.myline.moveTo(_root.lasergun._x, _root.lasergun._y);
_root.myline.lineTo(_root.hitter._x, _root.hitter._y - 20);
}
}
Instance of Symbol 676 MovieClip "launcher" in Frame 48
onClipEvent (load) {
switcher = false;
}
onClipEvent (enterFrame) {
if (_root.busymenu == false) {
if (switcher == false) {
_x = (_x + 3);
}
if (switcher == true) {
_x = (_x - 3);
}
if (_x > 384) {
switcher = true;
}
if (_x < 200) {
switcher = false;
}
}
}
Instance of Symbol 296 MovieClip "grenade" in Frame 48
onClipEvent (load) {
if (_name != "grenade") {
_x = _root.launcher._x;
_y = (_root.launcher._y - 20);
speed = 9;
gravity = 25;
bob = 0;
}
}
onClipEvent (enterFrame) {
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_root.reset == true) {
removeMovieClip(this);
}
if (_y > 500) {
removeMovieClip(this);
}
if (bang._currentframe == 16) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_name != "grenade") {
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_currentframe == 1)) {
_root.char.gotoAndStop(5);
}
if (_currentframe == 1) {
gravity--;
_y = (_y - gravity);
_rotation = (_rotation + 10);
}
if (_currentframe == 1) {
if (((_root.myBmp.getPixel32(_x, _y) != 0) or (_root.myBmp.getPixel32(_x, _y + 10) != 0)) or (_root.myBmp.getPixel32(_x, _y - 10) != 0)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holethree, myMatrix, 0, "erase");
gotoAndStop (2);
}
}
}
}
}
Instance of Symbol 276 MovieClip "acid" in Frame 48
onClipEvent (load) {
if (_name != "acid") {
_x = _root.faucet._x;
_y = (_root.faucet._y + 15);
holdframe = _root._currentframe;
}
}
onClipEvent (enterFrame) {
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_root.reset == true) {
removeMovieClip(this);
}
if (_root.busymenu == false) {
if (_y > 500) {
removeMovieClip(this);
}
if (_root._currentframe != holdframe) {
removeMovieClip(this);
}
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
if (_name != "acid") {
_y = (_y + 5);
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
removeMovieClip(this);
}
}
}
}
Instance of Symbol 553 MovieClip "lasergun" in Frame 48
onClipEvent (load) {
speed = 4;
_root.hitter._x = _x;
_root.hitter._y = _y;
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
gotoAndPlay (1);
}
if (_root.shoot == false) {
X = _root.char._x - _x;
Y = _root.char._y - _y;
}
if (_root.shoot == true) {
stop();
} else {
play();
}
if (_root.busymenu == false) {
play();
} else {
stop();
}
angle = Math.atan2(Y, X);
_rotation = (((angle * 180) / Math.PI) - 180);
}
Instance of Symbol 323 MovieClip "hitter" in Frame 48
onClipEvent (load) {
speed = 16;
_x = _root.lasergun._x;
_y = (_root.lasergun._y + 18);
}
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char.gotoAndStop(5);
}
if (_root.shoot == false) {
X = _root.char._x - _x;
Y = _root.char._y - _y;
} else if ((_root.shoot == true) and (_root.busymenu == false)) {
angle = Math.atan2(Y, X);
_rotation = (((angle * 180) / Math.PI) - 180);
_x = (_x + (Math.cos(angle) * speed));
_y = (_y + (Math.sin(angle) * speed));
}
if (_root.myBmp.getPixel32(this)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y - 18);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
removeMovieClip(this);
}
if (((((_x > 550) or (_x < 0)) or (_y > 400)) or (_y < 0)) or (_root.reset == true)) {
_root.myline.clear();
_x = _root.lasergun._x;
_y = (_root.lasergun._y + 18);
_root.shoot = false;
}
}
Frame 49
_root.firenum = 1;
_root.firenum2 = 1;
_root.shoot = false;
_root.shoot2 = false;
_root.storage.data.levelholder = _root._currentframe - 9;
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (_root.busymenu == false) {
if ((_root.switchone == true) and (_root._ymouse > 60)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if (_root._ymouse > 60) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if ((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if (((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
Instance of Symbol 129 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.levelthirtynine = true;
_root.storage.data.levelthirtynine = _root.levelthirtynine;
_root.storage.flush();
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 315 MovieClip "firedown" in Frame 49
onClipEvent (load) {
if (_name != "firedown") {
_x = _root.pyromaker._x;
_y = (_root.pyromaker._y + 50);
speed = 9;
angle = 3;
bob = 0;
timer = 0;
}
}
onClipEvent (enterFrame) {
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_root.reset == true) {
removeMovieClip(this);
}
if (_name != "firedown") {
timer++;
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
_y = (_y + 2);
if ((((_y > 450) or (_y < -50)) or (_x < -50)) or (_x > 600)) {
removeMovieClip(this);
}
if (timer > 20) {
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.hole, myMatrix, 0, "erase");
timer = 0;
}
}
if (_root.myBmp.getPixel32(_x, _y) != 0) {
_y = (_y - 2);
}
}
}
}
Instance of Symbol 316 MovieClip "fireleft" in Frame 49
onClipEvent (load) {
if (_name != "fireleft") {
_x = (_root.pyromaker._x + 50);
_y = _root.pyromaker._y;
speed = 9;
angle = 3;
bob = 0;
timer = 0;
}
}
onClipEvent (enterFrame) {
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_root.reset == true) {
removeMovieClip(this);
}
if (_name != "fireleft") {
timer++;
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_x = (_x + 2);
if ((((_y > 450) or (_y < -50)) or (_x < -50)) or (_x > 600)) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (timer > 20) {
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.hole, myMatrix, 0, "erase");
timer = 0;
}
}
if (_root.myBmp.getPixel32(_x, _y) != 0) {
_x = (_x - 2);
}
}
}
}
Instance of Symbol 316 MovieClip "fireright" in Frame 49
onClipEvent (load) {
if (_name != "fireright") {
_x = (_root.pyromaker._x - 50);
_y = _root.pyromaker._y;
speed = 9;
angle = 3;
bob = 0;
timer = 0;
}
}
onClipEvent (enterFrame) {
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_root.reset == true) {
removeMovieClip(this);
}
if (_name != "fireright") {
timer++;
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_x = (_x - 2);
if ((((_y > 450) or (_y < -50)) or (_x < -50)) or (_x > 600)) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (timer > 20) {
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.hole, myMatrix, 0, "erase");
timer = 0;
}
}
if (_root.myBmp.getPixel32(_x, _y) != 0) {
_x = (_x + 2);
}
}
}
}
Instance of Symbol 315 MovieClip "fireup" in Frame 49
onClipEvent (load) {
if (_name != "fireup") {
_x = _root.pyromaker._x;
_y = (_root.pyromaker._y - 50);
speed = 9;
angle = 3;
bob = 0;
timer = 0;
}
}
onClipEvent (enterFrame) {
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_root.reset == true) {
removeMovieClip(this);
}
if (_name != "fireup") {
timer++;
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_y = (_y - 2);
if ((((_y > 450) or (_y < -50)) or (_x < -50)) or (_x > 600)) {
removeMovieClip(this);
}
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (timer > 20) {
if (_root.myBmp.getPixel32(_x, _y) != 0) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.hole, myMatrix, 0, "erase");
timer = 0;
}
}
if (_root.myBmp.getPixel32(_x, _y) != 0) {
_y = (_y + 2);
}
}
}
}
Instance of Symbol 325 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (_root.shoot == true) {
_root.myline.clear();
_root.myline.lineStyle(5, 16711680);
_root.myline.moveTo(_root.lasergun._x, _root.lasergun._y);
_root.myline.lineTo(_root.hitter._x, _root.hitter._y - 20);
}
}
Frame 50
_root.firenum = 1;
_root.firenum2 = 1;
_root.shoot = false;
_root.shoot2 = false;
_root.storage.data.levelholder = _root._currentframe - 9;
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (_root.busymenu == false) {
if ((_root.switchone == true) and (_root._ymouse > 60)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if (_root._ymouse > 60) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if ((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if (((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
Instance of Symbol 129 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.levelfourty = true;
_root.storage.data.levelfourty = _root.levelfourty;
_root.storage.flush();
_root.nextFrame();
}
}
}
Instance of Symbol 252 MovieClip "char" in Frame 50
onClipEvent (load) {
gravity = 0;
scale = _xscale;
_root.bob = false;
_root.stopper = false;
_root.ydiff = 0;
_root.ypos = _root.char._y;
_root.xpos = _root.char._x;
ok = false;
busy = false;
}
onClipEvent (enterFrame) {
if (_root.busymenu == false) {
if (_currentframe == 5) {
busy = true;
} else {
busy = false;
}
if (busy == false) {
gravity++;
_y = (_y + gravity);
}
while ((_root.myBmp.getPixel32(_x, _y) != 0) and (_root.bob == false)) {
_y = (_y-1);
gravity = 0;
}
if ((Key.isDown(39) and (busy == false)) or (Key.isDown(68) and (busy == false))) {
_x = (_x + 4);
_xscale = scale;
if (_root.myBmp.getPixel32(_x, _y + 3) != 0) {
this.gotoAndStop(2);
}
} else if ((Key.isDown(37) and (busy == false)) or (Key.isDown(65) and (busy == false))) {
_x = (_x - 4);
_xscale = (-scale);
if (_root.myBmp.getPixel32(_x, _y + 3) != 0) {
this.gotoAndStop(2);
}
}
if (((Key.isDown(38) and (_root.myBmp.getPixel32(_x, _y + 3) != 0)) and (busy == false)) or ((Key.isDown(87) and (_root.myBmp.getPixel32(_x, _y + 3) != 0)) and (busy == false))) {
this.gotoAndStop(4);
_y = (_y - 4);
gravity = -10;
} else if ((((((_root.myBmp.getPixel32(_x, _y + 3) != 0) and (!Key.isDown(39))) and (!Key.isDown(37))) and (!Key.isDown(65))) and (!Key.isDown(68))) and (busy == false)) {
this.gotoAndStop(1);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 40) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 30) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 20) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 40) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 30) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 20) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x, _y - 50) != 0) {
gravity = 0;
}
if (_root.myBmp.getPixel32(_x, _y - 40) != 0) {
if (((((_root.char._y - _root._ymouse) > -20) and ((_root.char._y - _root._ymouse) < 40)) and ((_root.char._x - _root._xmouse) > -30)) and ((_root.char._x - _root._xmouse) < 30)) {
_root.stopper = true;
} else {
_root.stopper = false;
}
} else {
_root.stopper = false;
}
if (_y > 1000) {
_root.ydiff = 0;
_root.ypos = 0;
ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
}
_root.ydiff = _root.ypos - _root.char._y;
if (_root.ydiff > 60) {
ok = true;
_root.char._y = _root.ypos;
_root.char._x = _root.xpos;
}
if (ok == false) {
_root.ypos = _root.char._y;
_root.xpos = _root.char._x;
}
if ((!_root.myBmp.getPixel32(_x, _y - 50)) != 0) {
ok = false;
}
if (((((((((_root.myline.hitTest(_x, _y, true) or _root.myline.hitTest(_x, _y - 5, true)) or _root.myline.hitTest(_x, _y - 10, true)) or _root.myline.hitTest(_x, _y + 1, true)) or _root.myline.hitTest(_x, _y - 20, true)) or _root.myline.hitTest(_x, _y - 19, true)) or _root.myline.hitTest(_x, _y - 25, true)) or _root.myline.hitTest(_x, _y - 30, true)) or _root.myline.hitTest(_x, _y - 40, true)) or _root.myline.hitTest(_x, _y - 39, true)) {
gotoAndStop (5);
}
}
_root.vcam.camControl();
}
Frame 51
stop();
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(_root.myBmp, 0, "never", false);
_root.myBmp.draw(_root.ground);
_root.secretone = true;
_root.storage.data.levelsecretone = _root.levelsecretone;
Frame 52
stop();
_root.myBmp.dispose();
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(_root.myBmp, 0, "never", false);
_root.myBmp.draw(_root.ground);
_root.busymenu = false;
Instance of Symbol 796 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.secretone == true) {
gotoAndPlay (2);
}
}
Instance of Symbol 798 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.secrettwo == true) {
gotoAndPlay (2);
}
}
Instance of Symbol 800 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.secretthree == true) {
gotoAndPlay (2);
}
}
Frame 53
stop();
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(_root.myBmp, 0, "never", false);
_root.myBmp.draw(_root.ground);
Frame 54
stop();
_root.myBmp.dispose();
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(_root.myBmp, 0, "never", false);
_root.myBmp.draw(_root.ground);
_root.busymenu = false;
Frame 55
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(_root.myBmp, 0, "never", false);
_root.myBmp.draw(_root.ground);
stop();
Instance of Symbol 959 MovieClip in Frame 55
on (press) {
_root.gotoAndStop(57);
}
onClipEvent (enterFrame) {
if (_root.levelfourtytwo == true) {
gotoAndStop (2);
}
}
Frame 56
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (((_root.switchone == true) and (_root._ymouse > 60)) and (_root.busymenu == false)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if ((_root._ymouse > 60) and (_root.busymenu == false)) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if (((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) and (_root.busymenu == false)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if ((((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) and (_root.busymenu == false)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
onEnterFrame = function () {
if (Key.isDown(69) or Key.isDown(81)) {
delete this.onMouseMove;
}
};
Instance of Symbol 129 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.gotoAndStop(10);
}
}
}
Instance of Symbol 961 MovieClip "ground" in Frame 56
onClipEvent (enterFrame) {
if (_root._currentframe == 9) {
removeMovieClip(this);
}
}
Instance of Symbol 508 MovieClip "grave" in Frame 56
onClipEvent (load) {
if (_name != "grave") {
_x = _root.char._x;
_y = _root.char._y;
gravity = 0;
}
}
onClipEvent (enterFrame) {
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_root.busymenu == false) {
if (((_name != "grave") and (_root._currentframe != 9)) and (_root._currentframe != 10)) {
gravity++;
_y = (_y + gravity);
while ((_root.myBmp.getPixel32(_x, _y) != 0) and (_root.bob == false)) {
_y = (_y-1);
gravity = 0;
}
if ((_y > 450) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 964 MovieClip in Frame 56
onClipEvent (load) {
speed = 9;
angle = 3;
bob = 0;
}
onClipEvent (enterFrame) {
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_x = (_x - 10);
if (_x < -150) {
_x = 500;
}
if (((_root.myBmp.getPixel32(_x, _y) != 0) or (_root.myBmp.getPixel32(_x, _y + 10) != 0)) or (_root.myBmp.getPixel32(_x, _y - 10) != 0)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
}
}
}
Instance of Symbol 964 MovieClip in Frame 56
onClipEvent (load) {
speed = 9;
angle = 3;
bob = 0;
}
onClipEvent (enterFrame) {
if (_root.busymenu == false) {
if (_root.char.hitTest(this) and (_root.char._y < 400)) {
_root.char.gotoAndStop(5);
}
_x = (_x - 10);
if (_x < -150) {
_x = 500;
}
if (((_root.myBmp.getPixel32(_x, _y) != 0) or (_root.myBmp.getPixel32(_x, _y + 10) != 0)) or (_root.myBmp.getPixel32(_x, _y - 10) != 0)) {
myMatrix = new flash.geom.Matrix();
myMatrix.translate(_x, _y);
_root.myBmp.draw(_root.holetwo, myMatrix, 0, "erase");
}
}
}
Instance of Symbol 252 MovieClip "char" in Frame 56
onClipEvent (load) {
gravity = 0;
scale = _xscale;
_root.bob = false;
_root.stopper = false;
_root.ydiff = 0;
_root.ypos = _root.char._y;
_root.xpos = _root.char._x;
ok = false;
}
onClipEvent (enterFrame) {
if ((_root.busymenu == false) and (_currentframe != 5)) {
gravity++;
_y = (_y + gravity);
while ((_root.myBmp.getPixel32(_x, _y) != 0) and (_root.bob == false)) {
_y = (_y-1);
gravity = 0;
}
if (Key.isDown(39) or Key.isDown(68)) {
_x = (_x + 4);
_xscale = scale;
if (_root.myBmp.getPixel32(_x, _y + 3) != 0) {
this.gotoAndStop(2);
}
} else if (Key.isDown(37) or Key.isDown(65)) {
_x = (_x - 4);
_xscale = (-scale);
if (_root.myBmp.getPixel32(_x, _y + 3) != 0) {
this.gotoAndStop(2);
}
}
if ((Key.isDown(38) and (_root.myBmp.getPixel32(_x, _y + 3) != 0)) or (Key.isDown(87) and (_root.myBmp.getPixel32(_x, _y + 3) != 0))) {
this.gotoAndStop(4);
_y = (_y - 4);
gravity = -10;
} else if (((((_root.myBmp.getPixel32(_x, _y + 3) != 0) and (!Key.isDown(39))) and (!Key.isDown(37))) and (!Key.isDown(68))) and (!Key.isDown(65))) {
this.gotoAndStop(1);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 40) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 30) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x + 10, _y - 20) != 0) {
_x = (_x - 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 40) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 30) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x - 10, _y - 20) != 0) {
_x = (_x + 4);
}
if (_root.myBmp.getPixel32(_x, _y - 50) != 0) {
gravity = 0;
}
if (_root.myBmp.getPixel32(_x, _y - 40) != 0) {
if (((((_root.char._y - _root._ymouse) > -20) and ((_root.char._y - _root._ymouse) < 40)) and ((_root.char._x - _root._xmouse) > -30)) and ((_root.char._x - _root._xmouse) < 30)) {
_root.stopper = true;
} else {
_root.stopper = false;
}
} else {
_root.stopper = false;
}
if (_y > 1000) {
_root.ydiff = 0;
_root.ypos = 0;
ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
}
_root.ydiff = _root.ypos - _root.char._y;
if (_root.ydiff > 60) {
ok = true;
_root.char._y = _root.ypos;
_root.char._x = _root.xpos;
}
if (ok == false) {
_root.ypos = _root.char._y;
_root.xpos = _root.char._x;
}
if ((!_root.myBmp.getPixel32(_x, _y - 50)) != 0) {
ok = false;
}
}
_root.vcam.camControl();
}
Instance of Symbol 335 MovieClip "vcam" in Frame 56
onClipEvent (load) {
if (_root.hat == true) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.hat == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 512 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (_root.busymenu == false) {
if (_root.switchone == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
}
Frame 57
_root.busymenu = false;
stop();
_root.switchone = false;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(myBmp, 0, "always", false);
_root.myBmp.draw(ground);
_root.ground._visible = false;
onMouseDown = function () {
if (((_root.switchone == true) and (_root._ymouse > 60)) and (_root.busymenu == false)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "erase");
onMouseMove = function () {
if ((_root._ymouse > 60) and (_root.busymenu == false)) {
var _local2 = new flash.geom.Matrix();
_local2.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, _local2, myCT, "erase");
}
};
}
if (((((((((_root.switchone == false) and (_root._ymouse > 70)) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) and (_root.busymenu == false)) {
_root.holdX = _root.char._x;
_root.holdY = _root.char._y;
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
this.onMouseMove = function () {
if ((((((((_root._ymouse > 70) and (_root.stopper == false)) and (!_root.nozone1.hitTest(_xmouse, _ymouse, true))) and (_root._xmouse > 0)) and (_root._xmouse < 550)) and (_root._ymouse > 0)) and (_root._ymouse < 400)) and (_root.busymenu == false)) {
_root.myMatrix = new flash.geom.Matrix();
myMatrix.translate(_root._xmouse, _root._ymouse);
myBmp.draw(hole, myMatrix, myCT, "draw");
}
};
}
};
onMouseUp = function () {
delete this.onMouseMove;
};
onEnterFrame = function () {
if (Key.isDown(69) or Key.isDown(81)) {
delete this.onMouseMove;
}
};
Instance of Symbol 968 MovieClip "ground" in Frame 57
onClipEvent (enterFrame) {
if (_root._currentframe == 9) {
removeMovieClip(this);
}
}
Instance of Symbol 508 MovieClip "grave" in Frame 57
onClipEvent (load) {
if (_name != "grave") {
_x = _root.char._x;
_y = _root.char._y;
gravity = 0;
}
}
onClipEvent (enterFrame) {
if ((_root._currentframe == 9) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
if (_root.busymenu == false) {
if (((_name != "grave") and (_root._currentframe != 9)) and (_root._currentframe != 10)) {
gravity++;
_y = (_y + gravity);
while ((_root.myBmp.getPixel32(_x, _y) != 0) and (_root.bob == false)) {
_y = (_y-1);
gravity = 0;
}
if ((_y > 450) or (_root._currentframe == 10)) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 129 MovieClip in Frame 57
onClipEvent (enterFrame) {
if (_root.char._currentframe != 5) {
if (_root.char.hitTest(hit) or _root.char.hitTest(hit2)) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("ding", this);
another.start();
}
_root.levelfourtytwo = true;
_root.storage.data.levelfourtytwo = _root.levelfourtytwo;
_root.gotoAndStop(55);
}
}
}
Frame 58
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(_root.myBmp, 0, "never", false);
_root.myBmp.draw(_root.ground);
stop();
Instance of Symbol 335 MovieClip "hat" in Frame 58
onClipEvent (load) {
if (_root.hat == true) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.hat == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 973 MovieClip in Frame 58
on (press) {
_root.hat = true;
}
Instance of Symbol 975 MovieClip in Frame 58
on (press) {
_root.hat = false;
}
Instance of Symbol 977 MovieClip in Frame 58
onClipEvent (load) {
if (_root.hat == true) {
gotoAndStop (1);
} else if (_root.hat == false) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.hat == true) {
gotoAndStop (1);
} else if (_root.hat == false) {
gotoAndStop (2);
}
}
Symbol 20 Button
on (press) {
drag = true;
}
on (release) {
drag = false;
}
Symbol 33 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
_root.nextFrame();
}
Symbol 33 MovieClip Frame 2
gotoAndPlay (1);
Symbol 46 Button
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
on (rollOver) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("coin", this);
another.start();
}
}
Symbol 50 Button
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Symbol 56 MovieClip Frame 81
_root.nextFrame();
Symbol 66 MovieClip Frame 58
stop();
Symbol 75 MovieClip Frame 155
stopAllSounds();
_root.gotoAndStop(9);
Symbol 81 Button
on (press) {
_root.nextFrame();
}
on (rollOver) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("coin", this);
another.start();
}
}
Symbol 84 Button
on (press) {
_root.gotoAndStop(6);
}
on (rollOver) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("coin", this);
another.start();
}
}
Symbol 89 Button
on (press) {
stopAllSounds();
_root.gotoAndStop(9);
}
on (rollOver) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("coin", this);
another.start();
}
}
Symbol 110 Button
on (press) {
if (_root._currentframe != 7) {
_root.settings._visible = false;
_root.gotoAndStop(10);
}
if (_root._currentframe == 7) {
_root.gotoAndStop(4);
}
}
Symbol 115 Button
on (press) {
_root.busymenu = false;
_root.settings._visible = false;
}
Symbol 124 MovieClip Frame 1
stop();
Symbol 124 MovieClip Frame 2
stop();
Symbol 124 MovieClip Frame 3
stop();
Instance of Symbol 100 MovieClip in Symbol 125 MovieClip Frame 1
on (press) {
_root.soundson = true;
}
onClipEvent (enterFrame) {
if (_root.soundson == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 103 MovieClip in Symbol 125 MovieClip Frame 1
on (press) {
_root.soundson = false;
}
onClipEvent (enterFrame) {
if (_root.soundson == false) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 104 MovieClip in Symbol 125 MovieClip Frame 1
on (press) {
_root.musicon = true;
if ((_root.musicon == true) and (_root.settings.music._currentframe == 1)) {
someSound = new Sound();
someSound.attachSound("puzzler", this);
someSound.start(0, 1);
} else if ((_root.musicon == true) and (_root.settings.music._currentframe == 2)) {
someSound = new Sound();
someSound.attachSound("sight", this);
someSound.start(0, 1);
} else if ((_root.musicon == true) and (_root.settings.music._currentframe == 3)) {
someSound = new Sound();
someSound.attachSound("stronghold", this);
someSound.start(0, 1);
}
}
onClipEvent (enterFrame) {
if (_root.musicon == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 105 MovieClip in Symbol 125 MovieClip Frame 1
on (press) {
stopAllSounds();
_root.musicon = false;
}
onClipEvent (enterFrame) {
if (_root.musicon == false) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 119 MovieClip in Symbol 125 MovieClip Frame 1
on (press) {
if (_root.settings.music._currentframe < 3) {
stopAllSounds();
_root.settings.music.nextFrame();
if (_root.settings.music._currentframe == 1) {
if (_root.musicon == true) {
another = new Sound();
another.attachSound("puzzler", this);
another.start(0, 99999);
}
}
if (_root.settings.music._currentframe == 2) {
if (_root.musicon == true) {
another = new Sound();
another.attachSound("sight", this);
another.start(0, 99999);
}
}
if (_root.settings.music._currentframe == 3) {
if (_root.musicon == true) {
another = new Sound();
another.attachSound("strong", this);
another.start(0, 99999);
}
}
}
}
Instance of Symbol 120 MovieClip in Symbol 125 MovieClip Frame 1
on (press) {
if (_root.settings.music._currentframe > 1) {
stopAllSounds();
_root.settings.music.prevFrame();
if (_root.settings.music._currentframe == 1) {
if (_root.musicon == true) {
another = new Sound();
another.attachSound("puzzler", this);
another.start(0, 99999);
}
}
if (_root.settings.music._currentframe == 2) {
if (_root.musicon == true) {
another = new Sound();
another.attachSound("sight", this);
another.start(0, 99999);
}
}
if (_root.settings.music._currentframe == 3) {
if (_root.musicon == true) {
another = new Sound();
another.attachSound("strong", this);
another.start(0, 99999);
}
}
}
}
Symbol 143 Button
on (press) {
_root.code.text = savelevel();
}
Symbol 146 Button
on (press) {
_root.lasergun._x = -401;
_root.lasercounter = 1;
_root.clearscreen();
}
Symbol 151 Button
on (press) {
_root.gotoAndStop(4);
}
Instance of Symbol 154 MovieClip in Symbol 156 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char.gotoAndStop(5);
}
}
Instance of Symbol 154 MovieClip in Symbol 156 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char.gotoAndStop(5);
}
}
Instance of Symbol 154 MovieClip in Symbol 156 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char.gotoAndStop(5);
}
}
Symbol 160 MovieClip Frame 30
if ((_root.busymenu == false) and (_name != "faucet")) {
duplicateMovieClip (_root.acid, "newacid" + _root.i, _root.getNextHighestDepth());
tempname = "newacid" + _root.i;
_root[tempname]._x = _x;
_root[tempname]._y = _y + 15;
_root.i++;
if ((_root.soundson == true) and (_root._currentframe == 7)) {
another = new Sound();
another.attachSound("drip", this);
another.start();
}
}
Symbol 164 MovieClip Frame 15
if ((_root.busymenu == false) and (_name != "chaingun")) {
duplicateMovieClip (_root.chainbullet, "newchainbullet" + _root.i, _root.getNextHighestDepth());
tempname = "newchainbullet" + _root.i;
_root[tempname]._x = _x - 40;
_root[tempname]._y = _y;
_root.i++;
if ((_root.soundson == true) and (_root._currentframe == 7)) {
another = new Sound();
another.attachSound("chainshot", this);
another.start();
}
}
Symbol 166 MovieClip Frame 50
if ((_root.busymenu == false) and (_name != "dispenser")) {
duplicateMovieClip (_root.star, "newstar" + _root.i, _root.getNextHighestDepth());
tempname = "newstar" + _root.i;
_root[tempname]._x = _x;
_root[tempname]._y = _y;
_root.i++;
}
Symbol 171 MovieClip Frame 40
if ((_root.busymenu == false) and (_name != "launcher")) {
duplicateMovieClip (_root.grenade, "newgrenade" + _root.i, _root.getNextHighestDepth());
tempname = "newgrenade" + _root.i;
_root[tempname]._x = _x;
_root[tempname]._y = _y - 30;
_root.i++;
if ((_root.soundson == true) and (_root._currentframe == 7)) {
another = new Sound();
another.attachSound("launch", this);
another.start();
}
}
Symbol 175 MovieClip Frame 20
if ((_root.busymenu == false) and (_name != "pyromaker")) {
if ((_root.soundson == true) and (_root._currentframe == 7)) {
another = new Sound();
another.attachSound("flamesound", this);
another.start();
}
if (_root.firenum == 1) {
duplicateMovieClip (_root.firedown, "newfiredown" + _root.i, _root.getNextHighestDepth());
tempname = "newfiredown" + _root.i;
_root[tempname]._x = _x;
_root[tempname]._y = _y + 50;
_root.i++;
} else if (_root.firenum == 2) {
duplicateMovieClip (_root.fireleft, "newfireleft" + _root.i, _root.getNextHighestDepth());
tempname = "newfireleft" + _root.i;
_root[tempname]._x = _x + 50;
_root[tempname]._y = _y;
_root.i++;
} else if (_root.firenum == 3) {
duplicateMovieClip (_root.fireup, "newfireup" + _root.i, _root.getNextHighestDepth());
tempname = "newfireup" + _root.i;
_root[tempname]._x = _x;
_root[tempname]._y = _y - 50;
_root.i++;
} else if (_root.firenum == 4) {
duplicateMovieClip (_root.fireright, "newfireright" + _root.i, _root.getNextHighestDepth());
tempname = "newfireright" + _root.i;
_root[tempname]._x = _x - 50;
_root[tempname]._y = _y;
_root.i++;
}
}
Symbol 188 Button
on (press) {
_root.clearscreen();
_root.holdcode = _root.code.text;
_root.nextFrame();
}
on (rollOver) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("coin", this);
another.start();
}
}
Symbol 189 Button
on (press) {
_root.gotoAndStop(4);
}
on (rollOver) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("coin", this);
another.start();
}
}
Symbol 207 MovieClip Frame 1
stop();
Symbol 251 MovieClip Frame 50
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.char.gotoAndStop(1);
Symbol 252 MovieClip Frame 1
stop();
Symbol 252 MovieClip Frame 2
stop();
Symbol 252 MovieClip Frame 3
stop();
Symbol 252 MovieClip Frame 4
stop();
Symbol 252 MovieClip Frame 5
stop();
duplicateMovieClip (_root.grave, "newgrave" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
Symbol 266 Button
on (press) {
if (_root.busymenu == false) {
_root.reset = true;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(_root.myBmp, 0, "never", false);
_root.myBmp.draw(_root.ground);
}
}
Symbol 270 Button
on (press) {
_root.switchone = false;
}
Symbol 273 Button
on (press) {
if (_root.busymenu == false) {
_root.switchone = true;
}
}
Symbol 274 MovieClip Frame 1
stop();
Symbol 274 MovieClip Frame 2
stop();
Symbol 295 MovieClip Frame 1
if (_root.soundson == true) {
another = new Sound();
another.attachSound("explosion", this);
another.start();
}
Symbol 295 MovieClip Frame 16
stop();
Symbol 296 MovieClip Frame 1
stop();
Symbol 296 MovieClip Frame 2
stop();
Instance of Symbol 295 MovieClip "bang" in Symbol 296 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_currentframe < 10)) {
_root.char.gotoAndStop(5);
}
}
Symbol 318 MovieClip Frame 20
_root.firenum = _root.firenum + 1;
if (_root.firenum > 4) {
_root.firenum = 1;
}
Symbol 321 MovieClip Frame 100
_root.shoot = true;
Symbol 321 MovieClip Frame 101
if ((_root.soundson == true) and (_x > 0)) {
another = new Sound();
another.attachSound("laser", this);
another.start();
}
Symbol 331 Button
on (press) {
if (_root.busymenu == false) {
_root.settings._visible = true;
_root.busymenu = true;
}
}
Symbol 335 MovieClip Frame 1
function camControl() {
_x = _root.char._x;
_y = (_root.char._y - 40);
}
Symbol 336 Button
on (press) {
_root.settings._visible = false;
_root.gotoAndStop(4);
}
Instance of Symbol 100 MovieClip in Symbol 337 MovieClip Frame 1
on (press) {
_root.soundson = true;
}
onClipEvent (enterFrame) {
if (_root.soundson == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 103 MovieClip in Symbol 337 MovieClip Frame 1
on (press) {
_root.soundson = false;
}
onClipEvent (enterFrame) {
if (_root.soundson == false) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 104 MovieClip in Symbol 337 MovieClip Frame 1
on (press) {
_root.musicon = true;
if ((_root.musicon == true) and (_root.settings.music._currentframe == 1)) {
someSound = new Sound();
someSound.attachSound("puzzler", this);
someSound.start(0, 1);
} else if ((_root.musicon == true) and (_root.settings.music._currentframe == 2)) {
someSound = new Sound();
someSound.attachSound("sight", this);
someSound.start(0, 1);
} else if ((_root.musicon == true) and (_root.settings.music._currentframe == 3)) {
someSound = new Sound();
someSound.attachSound("stronghold", this);
someSound.start(0, 1);
}
}
onClipEvent (enterFrame) {
if (_root.musicon == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 105 MovieClip in Symbol 337 MovieClip Frame 1
on (press) {
stopAllSounds();
_root.musicon = false;
}
onClipEvent (enterFrame) {
if (_root.musicon == false) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 119 MovieClip in Symbol 337 MovieClip Frame 1
on (press) {
if (_root.settings.music._currentframe < 3) {
stopAllSounds();
_root.settings.music.nextFrame();
if (_root.settings.music._currentframe == 1) {
if (_root.musicon == true) {
another = new Sound();
another.attachSound("puzzler", this);
another.start(0, 99999);
}
}
if (_root.settings.music._currentframe == 2) {
if (_root.musicon == true) {
another = new Sound();
another.attachSound("sight", this);
another.start(0, 99999);
}
}
if (_root.settings.music._currentframe == 3) {
if (_root.musicon == true) {
another = new Sound();
another.attachSound("strong", this);
another.start(0, 99999);
}
}
}
}
Instance of Symbol 120 MovieClip in Symbol 337 MovieClip Frame 1
on (press) {
if (_root.settings.music._currentframe > 1) {
stopAllSounds();
_root.settings.music.prevFrame();
if (_root.settings.music._currentframe == 1) {
if (_root.musicon == true) {
another = new Sound();
another.attachSound("puzzler", this);
another.start(0, 99999);
}
}
if (_root.settings.music._currentframe == 2) {
if (_root.musicon == true) {
another = new Sound();
another.attachSound("sight", this);
another.start(0, 99999);
}
}
if (_root.settings.music._currentframe == 3) {
if (_root.musicon == true) {
another = new Sound();
another.attachSound("strong", this);
another.start(0, 99999);
}
}
}
}
Symbol 344 Button
on (press) {
_root.levelone = _root.storage.data.levelone;
trace(_root.storage.data.levelone);
_root.leveltwo = _root.storage.data.leveltwo;
_root.levelthree = _root.storage.data.levelthree;
_root.levelfour = _root.storage.data.levelfour;
_root.levelfive = _root.storage.data.levelfive;
_root.levelsix = _root.storage.data.levelsix;
_root.levelseven = _root.storage.data.levelseven;
_root.leveleight = _root.storage.data.leveleight;
_root.levelnine = _root.storage.data.levelnine;
_root.levelten = _root.storage.data.levelten;
_root.leveleleven = _root.storage.data.leveleleven;
_root.leveltwelve = _root.storage.data.leveltwelve;
_root.levelthirteen = _root.storage.data.levelthirteen;
_root.levelfourteen = _root.storage.data.levelfourteen;
_root.levelfifteen = _root.storage.data.levelfifteen;
_root.levelsixteen = _root.storage.data.levelsixteen;
_root.levelseventeen = _root.storage.data.levelseventeen;
_root.leveleighteen = _root.storage.data.leveleighteen;
_root.levelnineteen = _root.storage.data.levelnineteen;
_root.leveltwenty = _root.storage.data.leveltwenty;
_root.leveltwentyone = _root.storage.data.leveltwentyone;
_root.leveltwentytwo = _root.storage.data.leveltwentytwo;
_root.leveltwentythree = _root.storage.data.leveltwentythree;
_root.leveltwentyfour = _root.storage.data.leveltwentyfour;
_root.leveltwentyfive = _root.storage.data.leveltwentyfive;
_root.leveltwentysix = _root.storage.data.leveltwentysix;
_root.leveltwentyseven = _root.storage.data.leveltwentyseven;
_root.leveltwentyeight = _root.storage.data.leveltwentyeight;
_root.leveltwentynine = _root.storage.data.leveltwentynine;
_root.levelthirty = _root.storage.data.levelthirty;
_root.levelthirtyone = _root.storage.data.levelthirtyone;
_root.levelthirtytwo = _root.storage.data.levelthirtytwo;
_root.levelthirtythree = _root.storage.data.levelthirtythree;
_root.levelthirtyfour = _root.storage.data.levelthirtyfour;
_root.levelthirtyfive = _root.storage.data.levelthirtyfive;
_root.levelthirtysix = _root.storage.data.levelthirtysix;
_root.levelthirtyseven = _root.storage.data.levelthirtyseven;
_root.levelthirtyeight = _root.storage.data.levelthirtyeight;
_root.levelthirtynine = _root.storage.data.levelthirtynine;
_root.levelfourty = _root.storage.data.levelfourty;
_root.levelsecretone = _root.storage.data.secretone;
_root.levelsecrettwo = _root.storage.data.secrettwo;
_root.levelsecretthree = _root.storage.data.secretthree;
_root.nextFrame();
}
on (rollOver) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("coin", this);
another.start();
}
}
Symbol 349 Button
on (press) {
_root.levelone = _root.storage.data.levelone;
trace(_root.storage.data.levelone);
_root.leveltwo = _root.storage.data.leveltwo;
_root.levelthree = _root.storage.data.levelthree;
_root.levelfour = _root.storage.data.levelfour;
_root.levelfive = _root.storage.data.levelfive;
_root.levelsix = _root.storage.data.levelsix;
_root.levelseven = _root.storage.data.levelseven;
_root.leveleight = _root.storage.data.leveleight;
_root.levelnine = _root.storage.data.levelnine;
_root.levelten = _root.storage.data.levelten;
_root.leveleleven = _root.storage.data.leveleleven;
_root.leveltwelve = _root.storage.data.leveltwelve;
_root.levelthirteen = _root.storage.data.levelthirteen;
_root.levelfourteen = _root.storage.data.levelfourteen;
_root.levelfifteen = _root.storage.data.levelfifteen;
_root.levelsixteen = _root.storage.data.levelsixteen;
_root.levelseventeen = _root.storage.data.levelseventeen;
_root.leveleighteen = _root.storage.data.leveleighteen;
_root.levelnineteen = _root.storage.data.levelnineteen;
_root.leveltwenty = _root.storage.data.leveltwenty;
_root.leveltwentyone = _root.storage.data.leveltwentyone;
_root.leveltwentytwo = _root.storage.data.leveltwentytwo;
_root.leveltwentythree = _root.storage.data.leveltwentythree;
_root.leveltwentyfour = _root.storage.data.leveltwentyfour;
_root.leveltwentyfive = _root.storage.data.leveltwentyfive;
_root.leveltwentysix = _root.storage.data.leveltwentysix;
_root.leveltwentyseven = _root.storage.data.leveltwentyseven;
_root.leveltwentyeight = _root.storage.data.leveltwentyeight;
_root.leveltwentynine = _root.storage.data.leveltwentynine;
_root.levelthirty = _root.storage.data.levelthirty;
_root.levelthirtyone = _root.storage.data.levelthirtyone;
_root.levelthirtytwo = _root.storage.data.levelthirtytwo;
_root.levelthirtythree = _root.storage.data.levelthirtythree;
_root.levelthirtyfour = _root.storage.data.levelthirtyfour;
_root.levelthirtyfive = _root.storage.data.levelthirtyfive;
_root.levelthirtysix = _root.storage.data.levelthirtysix;
_root.levelthirtyseven = _root.storage.data.levelthirtyseven;
_root.levelthirtyeight = _root.storage.data.levelthirtyeight;
_root.levelthirtynine = _root.storage.data.levelthirtynine;
_root.levelfourty = _root.storage.data.levelfourty;
_root.levelsecretone = _root.storage.data.secretone;
_root.levelsecrettwo = _root.storage.data.secrettwo;
_root.levelsecretthree = _root.storage.data.secretthree;
_root.nextFrame();
}
on (rollOver) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("coin", this);
another.start();
}
}
Symbol 354 Button
on (press) {
_root.gotoAndStop(4);
}
on (rollOver) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("coin", this);
another.start();
}
}
Symbol 359 Button
on (press) {
_root.gotoAndStop(53);
}
on (rollOver) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("coin", this);
another.start();
}
}
Symbol 362 Button
on (press) {
_root.gotoAndStop(52);
}
on (rollOver) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("coin", this);
another.start();
}
}
Symbol 367 Button
on (release) {
getURL ("http://www.eggysgames.com", "blank");
}
on (rollOver) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("coin", this);
another.start();
}
}
Symbol 370 Button
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
on (rollOver) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("coin", this);
another.start();
}
}
Symbol 373 Button
on (release) {
getURL ("http://www.ArmorBlog.com", "blank");
}
on (rollOver) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("coin", this);
another.start();
}
}
Symbol 378 Button
on (release) {
getURL ("http://armorgames.com/play/532/draw-play", "blank");
}
on (rollOver) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("coin", this);
another.start();
}
}
Symbol 381 Button
on (release) {
getURL ("http://armorgames.com/play/858/draw-play-2", "blank");
}
on (rollOver) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("coin", this);
another.start();
}
}
Symbol 388 MovieClip Frame 1
stop();
Symbol 388 MovieClip Frame 2
stop();
Symbol 395 MovieClip Frame 1
stop();
Symbol 395 MovieClip Frame 2
stop();
Symbol 395 MovieClip Frame 3
stop();
Symbol 398 MovieClip Frame 1
stop();
Symbol 398 MovieClip Frame 2
stop();
Symbol 398 MovieClip Frame 3
stop();
Symbol 404 MovieClip Frame 1
stop();
Symbol 404 MovieClip Frame 2
stop();
Symbol 407 MovieClip Frame 1
stop();
Symbol 407 MovieClip Frame 2
stop();
Symbol 407 MovieClip Frame 3
stop();
Symbol 409 MovieClip Frame 1
stop();
Symbol 409 MovieClip Frame 2
stop();
Symbol 409 MovieClip Frame 3
stop();
Symbol 411 Button
on (press) {
stopAllSounds();
_root.settings._visible = false;
_root.gotoAndStop(9);
}
Symbol 414 MovieClip Frame 1
stop();
Symbol 414 MovieClip Frame 2
stop();
Symbol 414 MovieClip Frame 3
stop();
Symbol 416 MovieClip Frame 1
stop();
Symbol 416 MovieClip Frame 2
stop();
Symbol 416 MovieClip Frame 3
stop();
Symbol 418 MovieClip Frame 1
stop();
Symbol 418 MovieClip Frame 2
stop();
Symbol 418 MovieClip Frame 3
stop();
Symbol 420 MovieClip Frame 1
stop();
Symbol 420 MovieClip Frame 2
stop();
Symbol 420 MovieClip Frame 3
stop();
Symbol 422 MovieClip Frame 1
stop();
Symbol 422 MovieClip Frame 2
stop();
Symbol 422 MovieClip Frame 3
stop();
Symbol 424 MovieClip Frame 1
stop();
Symbol 424 MovieClip Frame 2
stop();
Symbol 424 MovieClip Frame 3
stop();
Symbol 426 MovieClip Frame 1
stop();
Symbol 426 MovieClip Frame 2
stop();
Symbol 426 MovieClip Frame 3
stop();
Symbol 428 MovieClip Frame 1
stop();
Symbol 428 MovieClip Frame 2
stop();
Symbol 428 MovieClip Frame 3
stop();
Symbol 430 MovieClip Frame 1
stop();
Symbol 430 MovieClip Frame 2
stop();
Symbol 430 MovieClip Frame 3
stop();
Symbol 432 MovieClip Frame 1
stop();
Symbol 432 MovieClip Frame 2
stop();
Symbol 432 MovieClip Frame 3
stop();
Symbol 434 MovieClip Frame 1
stop();
Symbol 434 MovieClip Frame 2
stop();
Symbol 434 MovieClip Frame 3
stop();
Symbol 436 MovieClip Frame 1
stop();
Symbol 436 MovieClip Frame 2
stop();
Symbol 436 MovieClip Frame 3
stop();
Symbol 438 MovieClip Frame 1
stop();
Symbol 438 MovieClip Frame 2
stop();
Symbol 438 MovieClip Frame 3
stop();
Symbol 441 MovieClip Frame 1
stop();
Symbol 441 MovieClip Frame 2
stop();
Symbol 441 MovieClip Frame 3
stop();
Symbol 443 MovieClip Frame 1
stop();
Symbol 443 MovieClip Frame 2
stop();
Symbol 443 MovieClip Frame 3
stop();
Symbol 445 MovieClip Frame 1
stop();
Symbol 445 MovieClip Frame 2
stop();
Symbol 445 MovieClip Frame 3
stop();
Symbol 447 MovieClip Frame 1
stop();
Symbol 447 MovieClip Frame 2
stop();
Symbol 447 MovieClip Frame 3
stop();
Symbol 449 MovieClip Frame 1
stop();
Symbol 449 MovieClip Frame 2
stop();
Symbol 449 MovieClip Frame 3
stop();
Symbol 451 MovieClip Frame 1
stop();
Symbol 451 MovieClip Frame 2
stop();
Symbol 451 MovieClip Frame 3
stop();
Symbol 453 MovieClip Frame 1
stop();
Symbol 453 MovieClip Frame 2
stop();
Symbol 453 MovieClip Frame 3
stop();
Symbol 455 MovieClip Frame 1
stop();
Symbol 455 MovieClip Frame 2
stop();
Symbol 455 MovieClip Frame 3
stop();
Symbol 457 MovieClip Frame 1
stop();
Symbol 457 MovieClip Frame 2
stop();
Symbol 457 MovieClip Frame 3
stop();
Symbol 459 MovieClip Frame 1
stop();
Symbol 459 MovieClip Frame 2
stop();
Symbol 459 MovieClip Frame 3
stop();
Symbol 461 MovieClip Frame 1
stop();
Symbol 461 MovieClip Frame 2
stop();
Symbol 461 MovieClip Frame 3
stop();
Symbol 463 MovieClip Frame 1
stop();
Symbol 463 MovieClip Frame 2
stop();
Symbol 463 MovieClip Frame 3
stop();
Symbol 465 MovieClip Frame 1
stop();
Symbol 465 MovieClip Frame 2
stop();
Symbol 465 MovieClip Frame 3
stop();
Symbol 467 MovieClip Frame 1
stop();
Symbol 467 MovieClip Frame 2
stop();
Symbol 467 MovieClip Frame 3
stop();
Symbol 469 MovieClip Frame 1
stop();
Symbol 469 MovieClip Frame 2
stop();
Symbol 469 MovieClip Frame 3
stop();
Symbol 471 MovieClip Frame 1
stop();
Symbol 471 MovieClip Frame 2
stop();
Symbol 471 MovieClip Frame 3
stop();
Instance of Symbol 476 MovieClip in Symbol 477 MovieClip Frame 1
on (press) {
_root.gotoAndStop(56);
}
Symbol 479 MovieClip Frame 1
stop();
Symbol 479 MovieClip Frame 2
stop();
Symbol 479 MovieClip Frame 3
stop();
Symbol 481 MovieClip Frame 1
stop();
Symbol 481 MovieClip Frame 2
stop();
Symbol 481 MovieClip Frame 3
stop();
Symbol 483 MovieClip Frame 1
stop();
Symbol 483 MovieClip Frame 2
stop();
Symbol 483 MovieClip Frame 3
stop();
Symbol 485 MovieClip Frame 1
stop();
Symbol 485 MovieClip Frame 2
stop();
Symbol 485 MovieClip Frame 3
stop();
Symbol 487 MovieClip Frame 1
stop();
Symbol 487 MovieClip Frame 2
stop();
Symbol 487 MovieClip Frame 3
stop();
Symbol 489 MovieClip Frame 1
stop();
Symbol 489 MovieClip Frame 2
stop();
Symbol 489 MovieClip Frame 3
stop();
Symbol 495 Button
on (press) {
_root.once = true;
_root.secretmenu.gotoAndStop(1);
}
Symbol 498 Button
on (press) {
_root.once2 = true;
_root.secretmenu.gotoAndStop(1);
}
Symbol 499 MovieClip Frame 1
stop();
Symbol 499 MovieClip Frame 2
stop();
Symbol 499 MovieClip Frame 3
stop();
Symbol 509 Button
on (press) {
if (_root.busymenu == false) {
_root.reset = true;
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(_root.myBmp, 0, "never", false);
_root.myBmp.draw(_root.ground);
}
}
Symbol 510 Button
on (press) {
_root.switchone = false;
}
Symbol 511 Button
on (press) {
if (_root.busymenu == false) {
_root.switchone = true;
}
}
Symbol 512 MovieClip Frame 1
stop();
Symbol 512 MovieClip Frame 2
stop();
Symbol 522 MovieClip Frame 30
if (_root.busymenu == false) {
duplicateMovieClip (_root.acid, "newacid" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
if (_root.soundson == true) {
another = new Sound();
another.attachSound("drip", this);
another.start();
}
}
Symbol 544 MovieClip Frame 30
if (_root.busymenu == false) {
duplicateMovieClip (_root.acid, "newacid" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
if (_root.soundson == true) {
another = new Sound();
another.attachSound("drip", this);
another.start();
}
}
Symbol 545 MovieClip Frame 30
if (_root.busymenu == false) {
duplicateMovieClip (_root.acid2, "newacid2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
if (_root.soundson == true) {
another = new Sound();
another.attachSound("drip", this);
another.start();
}
Symbol 553 MovieClip Frame 100
_root.shoot = true;
Symbol 553 MovieClip Frame 101
if (_root.soundson == true) {
another = new Sound();
another.attachSound("laser", this);
another.start();
}
Symbol 565 MovieClip Frame 55
duplicateMovieClip (_root.ball, "newball" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
Symbol 572 MovieClip Frame 1
stop();
Symbol 572 MovieClip Frame 21
stop();
Instance of Symbol 295 MovieClip "bang" in Symbol 572 MovieClip Frame 21
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_currentframe < 10)) {
_root.char.gotoAndStop(5);
}
}
Symbol 573 MovieClip Frame 21
stop();
Symbol 579 MovieClip Frame 53
duplicateMovieClip (_root.ball2, "newball2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
Symbol 590 MovieClip Frame 1
stop();
Symbol 590 MovieClip Frame 2
stop();
Instance of Symbol 295 MovieClip "bang" in Symbol 590 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_currentframe < 10)) {
_root.char.gotoAndStop(5);
}
}
Symbol 592 MovieClip Frame 100
duplicateMovieClip (_root.rocket, "rocket" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
Symbol 599 MovieClip Frame 50
duplicateMovieClip (_root.star, "newstar" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
Symbol 613 MovieClip Frame 1
stop();
Symbol 613 MovieClip Frame 2
stop();
Instance of Symbol 295 MovieClip "bang" in Symbol 613 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.char.hitTest(hit) and (_currentframe < 10)) {
_root.char.gotoAndStop(5);
}
}
Symbol 616 MovieClip Frame 50
duplicateMovieClip (_root.driller, "newdriller" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
Symbol 620 MovieClip Frame 30
if (_root.busymenu == false) {
duplicateMovieClip (_root.acid3, "newacid3" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
Symbol 621 MovieClip Frame 30
if (_root.busymenu == false) {
duplicateMovieClip (_root.acid4, "newacid4" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
Symbol 636 MovieClip Frame 8
if (_root.busymenu == false) {
duplicateMovieClip (_root.chainbullet2, "chainbullet2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
if (_root.soundson == true) {
another = new Sound();
another.attachSound("chainshot", this);
another.start();
}
}
Symbol 636 MovieClip Frame 14
if (_root.busymenu == false) {
duplicateMovieClip (_root.chainbullet, "chainbullet" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
if (_root.soundson == true) {
another = new Sound();
another.attachSound("chainshot", this);
another.start();
}
}
Symbol 642 MovieClip Frame 5
if (_root.busymenu == false) {
duplicateMovieClip (_root.chainbullet2, "chainbullet2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
Symbol 642 MovieClip Frame 9
if (_root.busymenu == false) {
duplicateMovieClip (_root.chainbullet, "chainbullet" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
if (_root.soundson == true) {
another = new Sound();
another.attachSound("chainshot", this);
another.start();
}
}
Symbol 646 MovieClip Frame 100
_root.shoot2 = true;
Symbol 646 MovieClip Frame 101
if (_root.soundson == true) {
another = new Sound();
another.attachSound("laser", this);
another.start();
}
Symbol 657 MovieClip Frame 20
if (_root.busymenu == false) {
if (_root.soundson == true) {
another = new Sound();
another.attachSound("flamesound", this);
another.start();
}
if (_root.firenum == 1) {
duplicateMovieClip (_root.firedown, "newfiredown" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.firenum = _root.firenum + 1;
} else if (_root.firenum == 2) {
duplicateMovieClip (_root.fireleft, "newfireleft" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.firenum = _root.firenum + 1;
} else if (_root.firenum == 3) {
duplicateMovieClip (_root.fireup, "newfireup" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.firenum = _root.firenum + 1;
} else if (_root.firenum == 4) {
duplicateMovieClip (_root.fireright, "newfireright" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.firenum = 1;
}
}
Symbol 658 MovieClip Frame 20
if (_root.firenum2 == 1) {
duplicateMovieClip (_root.firedown2, "newfiredown2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.firenum2 = _root.firenum2 + 1;
} else if (_root.firenum2 == 2) {
duplicateMovieClip (_root.fireleft2, "newfireleft2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.firenum2 = _root.firenum2 + 1;
} else if (_root.firenum2 == 3) {
duplicateMovieClip (_root.fireup2, "newfireup2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.firenum2 = _root.firenum2 + 1;
} else if (_root.firenum2 == 4) {
duplicateMovieClip (_root.fireright2, "newfireright2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.firenum2 = 1;
}
if (_root.soundson == true) {
another = new Sound();
another.attachSound("flamesound", this);
another.start();
}
Symbol 676 MovieClip Frame 40
if (_root.busymenu == false) {
duplicateMovieClip (_root.grenade, "newgrenade" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
if (_root.soundson == true) {
another = new Sound();
another.attachSound("launch", this);
another.start();
}
}
Symbol 682 MovieClip Frame 30
if (_root.busymenu == false) {
duplicateMovieClip (_root.grenade2, "newgrenade2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
if (_root.soundson == true) {
another = new Sound();
another.attachSound("launch", this);
another.start();
}
}
Instance of Symbol 694 MovieClip "earth" in Symbol 695 MovieClip Frame 1
onClipEvent (load) {
speed = 3;
this.swapDepths(100001);
}
onClipEvent (enterFrame) {
if ((Key.isDown(38) and (!Key.isDown(40))) and (_root.marker._y >= 446)) {
this._y = this._y + speed;
}
if ((Key.isDown(40) and (!Key.isDown(38))) and (_root.marker._y <= 575)) {
this._y = this._y - speed;
}
if ((Key.isDown(37) and (!Key.isDown(39))) and (_root.marker._x >= 24)) {
this._x = this._x + speed;
}
if ((Key.isDown(39) and (!Key.isDown(37))) and (_root.marker._x <= 205)) {
this._x = this._x - speed;
}
}
Symbol 714 MovieClip Frame 30
if (_root.busymenu == false) {
duplicateMovieClip (_root.grenade3, "newgrenade3" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
if (_root.soundson == true) {
another = new Sound();
another.attachSound("launch", this);
another.start();
}
}
Symbol 717 MovieClip Frame 30
if (_root.busymenu == false) {
duplicateMovieClip (_root.grenade4, "newgrenade4" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
if (_root.soundson == true) {
another = new Sound();
another.attachSound("launch", this);
another.start();
}
}
Symbol 727 Button
on (press) {
_root.gotoAndStop(7);
}
Symbol 768 MovieClip Frame 1
stop();
Symbol 795 Button
on (press) {
_root.gotoAndStop(54);
}
Symbol 796 MovieClip Frame 1
stop();
Symbol 796 MovieClip Frame 2
stop();
Symbol 797 Button
on (press) {
_root.gotoAndStop(55);
}
Symbol 798 MovieClip Frame 1
stop();
Symbol 798 MovieClip Frame 2
stop();
Symbol 799 Button
on (press) {
_root.gotoAndStop(58);
}
Symbol 800 MovieClip Frame 1
stop();
Symbol 800 MovieClip Frame 2
stop();
Symbol 959 MovieClip Frame 1
stop();
Symbol 959 MovieClip Frame 2
stop();
Symbol 965 Button
on (press) {
if (_root.busymenu == false) {
_root.ydiff = 0;
_root.ypos = 0;
_root.char.ok = false;
_root.char.gravity = 0;
_root.char._x = 70;
_root.char._y = 330;
_root.myBmp = new flash.display.BitmapData(1000, 1000, true, 0);
_root.attachBitmap(_root.myBmp, 0, "never", false);
_root.myBmp.draw(_root.ground);
}
}
Symbol 977 MovieClip Frame 1
stop();
Symbol 977 MovieClip Frame 2
stop();