Frame 1
function doSomething() {
getURL ("http://www.eggysgames", "_blank");
}
function doSomething2() {
getURL ("http://www.pinenana.com/", "blank");
}
function doSomething3() {
getURL ("http://www.armorgames.com", "_blank");
}
stop();
MENU.customItems.push(Functioned2);
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned = new ContextMenuItem("Eggys Games", doSomething);
Functioned2 = new ContextMenuItem("Pinenana", doSomething2);
Functioned3 = new ContextMenuItem("Armor Games", doSomething3);
MENU.customItems.push(Functioned);
MENU.customItems.push(Functioned2);
MENU.customItems.push(Functioned3);
MENU.builtInItems.quality = true;
_root.menu = MENU;
Instance of Symbol 26 MovieClip in Frame 1
on (release) {
getURL ("http://www.eggysgames.com/", "blank");
}
Instance of Symbol 35 MovieClip in Frame 1
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Frame 2
stop();
Frame 3
stop();
Instance of Symbol 73 MovieClip in Frame 3
on (press) {
getURL ("http://www.eggysgames.com", "blank");
}
Frame 4
stop();
Frame 5
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
stop();
_root.controlsone = 1;
_root.sound = true;
__com_mochibot__("6ae9b291", this, 10301, true);
Instance of Symbol 135 MovieClip in Frame 5
onClipEvent (mouseMove) {
if (_root.char.hitTest(this) and (_currentframe == 2)) {
if ((_root.gravswap == 1) or (_root.gravswap == 2)) {
_root.char._x = _x;
}
if (_root.gravswap == 3) {
_root.char._x = _x + 22;
}
if (_root.gravswap == 4) {
_root.char._x = _x - 13;
}
}
}
onClipEvent (enterFrame) {
if (_root.drag == true) {
if ((_root.gravswap == 1) or (_root.gravswap == 2)) {
_root.char._x = _x;
}
if (_root.gravswap == 3) {
_root.char._x = _x + 22;
}
if (_root.gravswap == 4) {
_root.char._x = _x - 13;
}
}
}
onClipEvent (load) {
left = _x;
}
on (press) {
startDrag (this, true, left, this._y, left + 158, _y);
gotoAndStop (2);
if (_root.char.hitTest(this)) {
_root.drag = true;
}
}
onClipEvent (mouseUp) {
stopDrag();
gotoAndStop (1);
if (_root.char.hitTest(this)) {
_root.drag = false;
}
}
on (releaseOutside) {
if (_root.drag == true) {
stopDrag();
gotoAndStop (1);
}
}
Instance of Symbol 136 MovieClip in Frame 5
onClipEvent (mouseMove) {
if (_root.char.hitTest(this) and (_currentframe == 2)) {
_root.char._x = this._x;
}
}
onClipEvent (enterFrame) {
if (_root.drag2 == true) {
_root.char._x = this._x;
}
}
onClipEvent (load) {
left = _x;
}
on (press) {
startDrag (this, true, left, this._y, left + 158, _y);
gotoAndStop (2);
if (_root.char.hitTest(this)) {
_root.drag2 = true;
}
}
onClipEvent (mouseUp) {
stopDrag();
gotoAndStop (1);
if (_root.char.hitTest(this)) {
_root.drag2 = false;
}
}
on (releaseOutside) {
if (_root.drag2 == true) {
stopDrag();
gotoAndStop (1);
}
}
Instance of Symbol 180 MovieClip "char" in Frame 5
onClipEvent (load) {
_root.restartX = _x;
_root.restartY = _y;
gravity = 0;
jumpheight = 12;
speed = 5;
rightface = _xscale;
_root.gravswap = 1;
_root.hit = false;
_root.drag = false;
_rotation = 0;
}
onClipEvent (enterFrame) {
if (gravity > 9) {
gravity = 9;
}
gravity++;
if (_root.gravswap == 1) {
_y = (_y + gravity);
while (_root.ground.hitTest(_x, _y, true) and (!_root.ground.hitTest(_x, _y - 10, true))) {
_y = (_y-1);
gravity = 0;
}
}
if (_root.gravswap == 2) {
_y = (_y - gravity);
while (_root.ground.hitTest(_x, _y, true) and (!_root.ground.hitTest(_x, _y + 10, true))) {
_y = (_y+1);
gravity = 0;
}
}
if (_root.gravswap == 3) {
_x = (_x - gravity);
while (_root.ground.hitTest(_x, _y, true) and (!_root.ground.hitTest(_x + 10, _y, true))) {
_x = (_x+1);
gravity = 0;
}
}
if (_root.gravswap == 4) {
_x = (_x + gravity);
while (_root.ground.hitTest(_x, _y, true) and (!_root.ground.hitTest(_x - 10, _y, true))) {
_x = (_x-1);
gravity = 0;
}
}
if ((_root.ground.hitTest(_x, _y + 3, true) and (!_root.ground.hitTest(_x, _y - 10, true))) and (_root.gravswap == 1)) {
_root.hit = true;
} else if ((_root.ground.hitTest(_x, _y - 3, true) and (!_root.ground.hitTest(_x, _y + 10, true))) and (_root.gravswap == 2)) {
_root.hit = true;
} else if ((_root.ground.hitTest(_x - 3, _y, true) and (!_root.ground.hitTest(_x + 10, _y, true))) and (_root.gravswap == 3)) {
_root.hit = true;
} else if ((_root.ground.hitTest(_x + 3, _y, true) and (!_root.ground.hitTest(_x - 10, _y, true))) and (_root.gravswap == 4)) {
_root.hit = true;
} else {
_root.hit = false;
}
if (Key.isDown(38) and (_root.hit == true)) {
_root.drag = false;
_root.drag2 = false;
if (_root.gravswap == 1) {
_y = (_y - speed);
gravity = -jumpheight;
gotoAndStop (4);
}
if (_root.gravswap == 3) {
_y = (_y - speed);
_xscale = (-rightface);
if ((_root.hit == true) and (!Key.isDown(39))) {
gotoAndStop (2);
}
}
if (_root.gravswap == 4) {
_y = (_y - speed);
_xscale = rightface;
if ((_root.hit == true) and (!Key.isDown(37))) {
gotoAndStop (2);
}
}
}
if (Key.isDown(40) and (_root.hit == true)) {
if (_root.gravswap == 2) {
_y = (_y + speed);
gravity = -jumpheight;
gotoAndStop (4);
}
if (_root.gravswap == 3) {
_y = (_y + speed);
gotoAndStop (2);
_xscale = rightface;
}
if (_root.gravswap == 4) {
_y = (_y + speed);
gotoAndStop (2);
_xscale = (-rightface);
}
}
if (Key.isDown(39)) {
if ((((_root.gravswap == 4) and (_root.hit == true)) and (!Key.isDown(40))) and (!Key.isDown(38))) {
gotoAndStop (1);
}
_root.drag = false;
_root.drag2 = false;
if (Key.isDown(40) and (_root.gravswap == 3)) {
_y = (_y + speed);
_xscale = rightface;
}
if (Key.isDown(38) and (_root.gravswap == 3)) {
_y = (_y - speed);
_xscale = (-rightface);
}
if (_root.gravswap == 1) {
_x = (_x + speed);
_xscale = rightface;
if ((_root.hit == true) and (!Key.isDown(38))) {
gotoAndStop (2);
}
}
if (_root.gravswap == 2) {
_x = (_x + speed);
_xscale = (-rightface);
if ((_root.hit == true) and (!Key.isDown(40))) {
gotoAndStop (2);
}
}
if ((_root.gravswap == 3) and (_root.hit == true)) {
_x = (_x + 4);
gravity = -jumpheight;
gotoAndStop (4);
}
} else if (Key.isDown(37)) {
if ((((_root.gravswap == 3) and (_root.hit == true)) and (!Key.isDown(40))) and (!Key.isDown(38))) {
gotoAndStop (1);
}
_root.drag = false;
_root.drag2 = false;
if (Key.isDown(40) and (_root.gravswap == 4)) {
_y = (_y + speed);
_xscale = (-rightface);
}
if (Key.isDown(38) and (_root.gravswap == 4)) {
_y = (_y - speed);
_xscale = rightface;
}
if (_root.gravswap == 1) {
_xscale = (-rightface);
_x = (_x - speed);
if ((_root.hit == true) and (!Key.isDown(38))) {
gotoAndStop (2);
}
}
if (_root.gravswap == 2) {
_xscale = rightface;
_x = (_x - speed);
if ((_root.hit == true) and (!Key.isDown(40))) {
gotoAndStop (2);
}
}
if ((_root.gravswap == 4) and (_root.hit == true)) {
_x = (_x + 4);
gravity = -jumpheight;
gotoAndStop (4);
}
} else {
if (((_root.gravswap == 3) and Key.isDown(40)) and (_root.hit == false)) {
_y = (_y + 4);
_xscale = rightface;
} else if (((_root.gravswap == 3) and Key.isDown(38)) and (_root.hit == false)) {
_y = (_y - 4);
_xscale = (-rightface);
}
if (((_root.gravswap == 4) and Key.isDown(40)) and (_root.hit == false)) {
_y = (_y + 4);
_xscale = (-rightface);
} else if (((_root.gravswap == 4) and Key.isDown(38)) and (_root.hit == false)) {
_y = (_y - 4);
_xscale = rightface;
}
if (((_root.hit == true) and (!Key.isDown(38))) and (_root.gravswap == 1)) {
gotoAndStop (1);
}
if (((_root.hit == true) and (!Key.isDown(40))) and (_root.gravswap == 2)) {
gotoAndStop (1);
}
if (((((_root.hit == true) and (!Key.isDown(39))) and (_root.gravswap == 3)) and (!Key.isDown(38))) and (!Key.isDown(40))) {
gotoAndStop (1);
}
if (((((_root.hit == true) and (!Key.isDown(37))) and (_root.gravswap == 4)) and (!Key.isDown(38))) and (!Key.isDown(40))) {
gotoAndStop (1);
}
}
}
onClipEvent (enterFrame) {
if ((_rotation != -90) and (_root.gravswap == 4)) {
_rotation = (_rotation - 15);
}
if ((_rotation != 90) and (_root.gravswap == 3)) {
_rotation = (_rotation + 15);
}
if ((_rotation != 180) and (_root.gravswap == 2)) {
_rotation = (_rotation + 15);
}
if ((_rotation != 0) and (_root.gravswap == 1)) {
_rotation = (_rotation - 15);
}
if (((Key.isDown(87) and (!Key.isDown(38))) and (_root.drag == false)) and (rotatedright == true)) {
if (_root.hit == true) {
_root.gravswap = 2;
}
}
if (((Key.isDown(83) and (!Key.isDown(40))) and (_root.drag == false)) and (rotatedright == true)) {
if (_root.hit == true) {
_root.gravswap = 1;
}
}
if (((Key.isDown(65) and (!Key.isDown(37))) and (_root.drag == false)) and (rotatedright == true)) {
if (_root.hit == true) {
_root.gravswap = 3;
}
}
if (((Key.isDown(68) and (!Key.isDown(39))) and (_root.drag == false)) and (rotatedright == true)) {
if (_root.hit == true) {
_root.gravswap = 4;
}
}
if (_y > 550) {
_root.gravswap = 1;
_rotation = 0;
gravity = 0;
_root.drag = false;
_root.drag2 = false;
_x = _root.restartX;
_y = _root.restartY;
}
if (_y < -100) {
_root.gravswap = 1;
_rotation = 0;
gravity = 0;
_root.drag = false;
_root.drag2 = false;
_x = _root.restartX;
_y = _root.restartY;
}
if (_x < -100) {
_root.gravswap = 1;
_rotation = 0;
gravity = 0;
_root.drag = false;
_root.drag2 = false;
_x = _root.restartX;
_y = _root.restartY;
}
if (_x > 600) {
_root.gravswap = 1;
_rotation = 0;
gravity = 0;
_root.drag = false;
_root.drag2 = false;
_x = _root.restartX;
_y = _root.restartY;
}
if ((((_rotation == 0) or (_rotation == 90)) or (_rotation == 180)) or (_rotation == -90)) {
rotatedright = true;
} else {
rotatedright = false;
}
}
Instance of Symbol 183 MovieClip in Frame 5
onClipEvent (load) {
switcher = false;
stopper = _y + 80;
}
onClipEvent (enterFrame) {
if (switcher == false) {
_y = (_y + 3);
}
if (switcher == true) {
_y = (_y - 3);
}
if (_y > stopper) {
switcher = true;
}
if (_y < (stopper - 160)) {
switcher = false;
}
}
Instance of Symbol 26 MovieClip in Frame 5
on (release) {
getURL ("http://www.eggysgames.com/", "blank");
}
Instance of Symbol 35 MovieClip in Frame 5
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Frame 6
stop();
Instance of Symbol 225 MovieClip in Frame 6
on (press) {
_root.controlsone = 3;
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("ding", this);
someSound.start(0, 1);
}
}
onClipEvent (enterFrame) {
if (_root.controlsone == 3) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 231 MovieClip in Frame 6
on (press) {
_root.controlsone = 2;
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("ding", this);
someSound.start(0, 1);
}
}
onClipEvent (enterFrame) {
if (_root.controlsone == 2) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 237 MovieClip in Frame 6
on (press) {
_root.controlsone = 1;
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("ding", this);
someSound.start(0, 1);
}
}
onClipEvent (enterFrame) {
if (_root.controlsone == 1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Frame 7
stop();
_root.drag = false;
Instance of Symbol 248 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("finish", this);
someSound.start(0, 1);
}
_root.nextFrame();
}
}
Instance of Symbol 261 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.controlsone == 1) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 180 MovieClip "char" in Frame 7
onClipEvent (load) {
_root.restartX = _x;
_root.restartY = _y;
gravity = 0;
jumpheight = 12;
speed = 5;
rightface = _xscale;
_root.gravswap = 1;
_root.hit = false;
_root.drag = false;
_root.stopthemove = false;
if (_root.controlsone == 1) {
_root.UP = 38;
_root.LEFT = 37;
_root.RIGHT = 39;
_root.DOWN = 40;
_root.gravityup = 87;
_root.gravityleft = 65;
_root.gravityright = 68;
_root.gravitydown = 83;
}
if (_root.controlsone == 2) {
_root.UP = 87;
_root.LEFT = 65;
_root.RIGHT = 68;
_root.DOWN = 83;
_root.gravityup = 38;
_root.gravityleft = 37;
_root.gravityright = 39;
_root.gravitydown = 40;
}
if (_root.controlsone == 3) {
_root.UP = 87;
_root.LEFT = 65;
_root.RIGHT = 68;
_root.DOWN = 83;
_root.gravityup = 84;
_root.gravityleft = 70;
_root.gravityright = 72;
_root.gravitydown = 71;
}
}
onClipEvent (enterFrame) {
if (_currentframe == 5) {
gravity = 0;
}
if (_currentframe != 5) {
if (gravity > 9) {
gravity = 9;
}
gravity++;
if (_root.gravswap == 1) {
_y = (_y + gravity);
while (_root.ground.hitTest(_x, _y, true) and (!_root.ground.hitTest(_x, _y - 10, true))) {
_y = (_y-1);
gravity = 0;
}
}
if (_root.gravswap == 2) {
_y = (_y - gravity);
while (_root.ground.hitTest(_x, _y, true) and (!_root.ground.hitTest(_x, _y + 10, true))) {
_y = (_y+1);
gravity = 0;
}
}
if (_root.gravswap == 3) {
_x = (_x - gravity);
while (_root.ground.hitTest(_x, _y, true) and (!_root.ground.hitTest(_x + 10, _y, true))) {
_x = (_x+1);
gravity = 0;
}
}
if (_root.gravswap == 4) {
_x = (_x + gravity);
while (_root.ground.hitTest(_x, _y, true) and (!_root.ground.hitTest(_x - 10, _y, true))) {
_x = (_x-1);
gravity = 0;
}
}
if ((_root.ground.hitTest(_x, _y + 3, true) and (!_root.ground.hitTest(_x, _y - 10, true))) and (_root.gravswap == 1)) {
_root.hit = true;
_root.stopthemove = false;
} else if ((_root.ground.hitTest(_x, _y - 3, true) and (!_root.ground.hitTest(_x, _y + 10, true))) and (_root.gravswap == 2)) {
_root.hit = true;
_root.stopthemove = false;
} else if ((_root.ground.hitTest(_x - 3, _y, true) and (!_root.ground.hitTest(_x + 10, _y, true))) and (_root.gravswap == 3)) {
_root.hit = true;
_root.stopthemove = false;
} else if ((_root.ground.hitTest(_x + 3, _y, true) and (!_root.ground.hitTest(_x - 10, _y, true))) and (_root.gravswap == 4)) {
_root.hit = true;
_root.stopthemove = false;
} else {
_root.hit = false;
}
if ((Key.isDown(_root.UP) and (_root.hit == true)) and (_root.stopthemove == false)) {
_root.drag = false;
_root.drag2 = false;
if (_root.gravswap == 1) {
_y = (_y - speed);
gravity = -jumpheight;
gotoAndStop (4);
}
if (_root.gravswap == 3) {
_y = (_y - speed);
_xscale = (-rightface);
if ((_root.hit == true) and (!Key.isDown(_root.RIGHT))) {
gotoAndStop (2);
}
}
if (_root.gravswap == 4) {
_y = (_y - speed);
_xscale = rightface;
if ((_root.hit == true) and (!Key.isDown(_root.LEFT))) {
gotoAndStop (2);
}
}
}
if ((Key.isDown(_root.DOWN) and (_root.hit == true)) and (_root.stopthemove == false)) {
if (_root.gravswap == 2) {
_y = (_y + speed);
gravity = -jumpheight;
gotoAndStop (4);
}
if (_root.gravswap == 3) {
_y = (_y + speed);
gotoAndStop (2);
_xscale = rightface;
}
if (_root.gravswap == 4) {
_y = (_y + speed);
gotoAndStop (2);
_xscale = (-rightface);
}
}
if (Key.isDown(_root.RIGHT) and (_root.stopthemove == false)) {
if ((((_root.gravswap == 4) and (_root.hit == true)) and (!Key.isDown(_root.DOWN))) and (!Key.isDown(_root.UP))) {
gotoAndStop (1);
}
_root.drag = false;
_root.drag2 = false;
if (Key.isDown(_root.DOWN) and (_root.gravswap == 3)) {
_y = (_y + speed);
_xscale = rightface;
}
if (Key.isDown(_root.UP) and (_root.gravswap == 3)) {
_y = (_y - speed);
_xscale = (-rightface);
}
if (_root.gravswap == 1) {
_x = (_x + speed);
_xscale = rightface;
if ((_root.hit == true) and (!Key.isDown(_root.UP))) {
gotoAndStop (2);
}
}
if (_root.gravswap == 2) {
_x = (_x + speed);
_xscale = (-rightface);
if ((_root.hit == true) and (!Key.isDown(_root.DOWN))) {
gotoAndStop (2);
}
}
if ((_root.gravswap == 3) and (_root.hit == true)) {
_x = (_x + 4);
gravity = -jumpheight;
gotoAndStop (4);
}
} else if (Key.isDown(_root.LEFT) and (_root.stopthemove == false)) {
if ((((_root.gravswap == 3) and (_root.hit == true)) and (!Key.isDown(_root.DOWN))) and (!Key.isDown(_root.UP))) {
gotoAndStop (1);
}
_root.drag = false;
_root.drag2 = false;
if (Key.isDown(_root.DOWN) and (_root.gravswap == 4)) {
_y = (_y + speed);
_xscale = (-rightface);
}
if (Key.isDown(_root.UP) and (_root.gravswap == 4)) {
_y = (_y - speed);
_xscale = rightface;
}
if (_root.gravswap == 1) {
_xscale = (-rightface);
_x = (_x - speed);
if ((_root.hit == true) and (!Key.isDown(_root.UP))) {
gotoAndStop (2);
}
}
if (_root.gravswap == 2) {
_xscale = rightface;
_x = (_x - speed);
if ((_root.hit == true) and (!Key.isDown(_root.DOWN))) {
gotoAndStop (2);
}
}
if ((_root.gravswap == 4) and (_root.hit == true)) {
_x = (_x + 4);
gravity = -jumpheight;
gotoAndStop (4);
}
} else {
if ((((_root.gravswap == 3) and Key.isDown(_root.DOWN)) and (_root.hit == false)) and (_root.stopthemove == false)) {
_y = (_y + 4);
_xscale = rightface;
} else if ((((_root.gravswap == 3) and Key.isDown(_root.UP)) and (_root.hit == false)) and (_root.stopthemove == false)) {
_y = (_y - 4);
_xscale = (-rightface);
}
if ((((_root.gravswap == 4) and Key.isDown(_root.DOWN)) and (_root.hit == false)) and (_root.stopthemove == false)) {
_y = (_y + 4);
_xscale = (-rightface);
} else if ((((_root.gravswap == 4) and Key.isDown(_root.UP)) and (_root.hit == false)) and (_root.stopthemove == false)) {
_y = (_y - 4);
_xscale = rightface;
}
if (((_root.hit == true) and (!Key.isDown(_root.UP))) and (_root.gravswap == 1)) {
gotoAndStop (1);
}
if (((_root.hit == true) and (!Key.isDown(_root.DOWN))) and (_root.gravswap == 2)) {
gotoAndStop (1);
}
if (((((_root.hit == true) and (!Key.isDown(_root.RIGHT))) and (_root.gravswap == 3)) and (!Key.isDown(_root.UP))) and (!Key.isDown(_root.DOWN))) {
gotoAndStop (1);
}
if (((((_root.hit == true) and (!Key.isDown(_root.LEFT))) and (_root.gravswap == 4)) and (!Key.isDown(_root.UP))) and (!Key.isDown(_root.DOWN))) {
gotoAndStop (1);
}
}
}
}
onClipEvent (enterFrame) {
if (_currentframe != 5) {
if ((_rotation != -90) and (_root.gravswap == 4)) {
_rotation = (_rotation - 10);
}
if ((_rotation != 90) and (_root.gravswap == 3)) {
_rotation = (_rotation + 10);
}
if ((_rotation != 180) and (_root.gravswap == 2)) {
_rotation = (_rotation + 10);
}
if ((_rotation != 0) and (_root.gravswap == 1)) {
_rotation = (_rotation - 10);
}
if (((Key.isDown(_root.gravityup) and (!Key.isDown(_root.UP))) and (_root.drag == false)) and (rotatedright == true)) {
if (_root.hit == true) {
_root.gravswap = 2;
_root.stopthemove = true;
}
}
if (((Key.isDown(_root.gravitydown) and (!Key.isDown(_root.DOWN))) and (_root.drag == false)) and (rotatedright == true)) {
if (_root.hit == true) {
_root.gravswap = 1;
_root.stopthemove = true;
}
}
if (((Key.isDown(_root.gravityleft) and (!Key.isDown(_root.LEFT))) and (_root.drag == false)) and (rotatedright == true)) {
if (_root.hit == true) {
_root.gravswap = 3;
_root.stopthemove = true;
}
}
if (((Key.isDown(_root.gravityright) and (!Key.isDown(_root.RIGHT))) and (_root.drag == false)) and (rotatedright == true)) {
if (_root.hit == true) {
_root.gravswap = 4;
_root.stopthemove = true;
}
}
if (_y > 550) {
_root.gravswap = 1;
_rotation = 0;
gravity = 0;
_root.drag = false;
_root.drag2 = false;
_x = _root.restartX;
_y = _root.restartY;
}
if (_y < -100) {
_root.gravswap = 1;
_rotation = 0;
gravity = 0;
_root.drag = false;
_root.drag2 = false;
_x = _root.restartX;
_y = _root.restartY;
}
if (_x < -100) {
_root.gravswap = 1;
_rotation = 0;
gravity = 0;
_root.drag = false;
_root.drag2 = false;
_x = _root.restartX;
_y = _root.restartY;
}
if (_x > 600) {
_root.gravswap = 1;
_rotation = 0;
gravity = 0;
_root.drag = false;
_root.drag2 = false;
_x = _root.restartX;
_y = _root.restartY;
}
if ((((_rotation == 0) or (_rotation == 90)) or (_rotation == 180)) or (_rotation == -90)) {
rotatedright = true;
} else {
rotatedright = false;
}
}
}
Instance of Symbol 287 MovieClip in Frame 7
onClipEvent (load) {
beenpressed = false;
bob = false;
fred = false;
_root.sound = true;
_root.music = true;
}
onClipEvent (enterFrame) {
if (!Key.isDown(78)) {
bob = false;
}
if (Key.isDown(78)) {
if ((_root.sound == true) and (bob == false)) {
_root.sound = false;
bob = true;
} else if ((_root.sound == false) and (bob == false)) {
_root.sound = true;
bob = true;
}
}
if (!Key.isDown(77)) {
fred = false;
}
if (Key.isDown(77)) {
if ((_root.music == true) and (fred == false)) {
stopAllSounds();
_root.music = false;
fred = true;
}
if ((_root.music == false) and (fred == false)) {
_root.music = true;
someSound = new Sound();
someSound.attachSound("psybot", this);
someSound.start(0, 1E16);
fred = true;
}
}
}
Frame 8
stop();
_root.char._x = 90;
_root.char._y = 173;
_root.restartX = _root.char._x;
_root.restartY = _root.char._y;
_root.gravswap = 1;
Instance of Symbol 304 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_root.controlsone == 1) {
gotoAndStop (1);
} else if (_root.controlsone == 2) {
gotoAndStop (2);
} else {
gotoAndStop (3);
}
}
Frame 9
stop();
_root.char._x = 31;
_root.char._y = 144;
_root.restartX = _root.char._x;
_root.restartY = _root.char._y;
_root.gravswap = 1;
Frame 10
stop();
_root.char._x = 28;
_root.char._y = 139;
_root.restartX = _root.char._x;
_root.restartY = _root.char._y;
_root.gravswap = 1;
Frame 11
stop();
_root.char._x = 43;
_root.char._y = 332;
_root.restartX = _root.char._x;
_root.restartY = _root.char._y;
_root.gravswap = 1;
Instance of Symbol 180 MovieClip "char" in Frame 11
onClipEvent (load) {
gravity = 0;
jumpheight = 12;
speed = 5;
rightface = _xscale;
_root.gravswap = 1;
_root.hit = false;
_root.drag = false;
_root.stopthemove = false;
if (_root.controlsone == 1) {
_root.UP = 38;
_root.LEFT = 37;
_root.RIGHT = 39;
_root.DOWN = 40;
_root.gravityup = 87;
_root.gravityleft = 65;
_root.gravityright = 68;
_root.gravitydown = 83;
}
if (_root.controlsone == 2) {
_root.UP = 87;
_root.LEFT = 65;
_root.RIGHT = 68;
_root.DOWN = 83;
_root.gravityup = 38;
_root.gravityleft = 37;
_root.gravityright = 39;
_root.gravitydown = 40;
}
if (_root.controlsone == 3) {
_root.UP = 87;
_root.LEFT = 65;
_root.RIGHT = 68;
_root.DOWN = 83;
_root.gravityup = 84;
_root.gravityleft = 70;
_root.gravityright = 72;
_root.gravitydown = 71;
}
}
onClipEvent (enterFrame) {
if (_currentframe == 5) {
gravity = 0;
}
if (_currentframe != 5) {
if (gravity > 9) {
gravity = 9;
}
gravity++;
if (_root.gravswap == 1) {
_y = (_y + gravity);
while (_root.ground.hitTest(_x, _y, true) and (!_root.ground.hitTest(_x, _y - 10, true))) {
_y = (_y-1);
gravity = 0;
}
}
if (_root.gravswap == 2) {
_y = (_y - gravity);
while (_root.ground.hitTest(_x, _y, true) and (!_root.ground.hitTest(_x, _y + 10, true))) {
_y = (_y+1);
gravity = 0;
}
}
if (_root.gravswap == 3) {
_x = (_x - gravity);
while (_root.ground.hitTest(_x, _y, true) and (!_root.ground.hitTest(_x + 10, _y, true))) {
_x = (_x+1);
gravity = 0;
}
}
if (_root.gravswap == 4) {
_x = (_x + gravity);
while (_root.ground.hitTest(_x, _y, true) and (!_root.ground.hitTest(_x - 10, _y, true))) {
_x = (_x-1);
gravity = 0;
}
}
if ((_root.ground.hitTest(_x, _y + 3, true) and (!_root.ground.hitTest(_x, _y - 10, true))) and (_root.gravswap == 1)) {
_root.hit = true;
_root.stopthemove = false;
} else if ((_root.ground.hitTest(_x, _y - 3, true) and (!_root.ground.hitTest(_x, _y + 10, true))) and (_root.gravswap == 2)) {
_root.hit = true;
_root.stopthemove = false;
} else if ((_root.ground.hitTest(_x - 3, _y, true) and (!_root.ground.hitTest(_x + 10, _y, true))) and (_root.gravswap == 3)) {
_root.hit = true;
_root.stopthemove = false;
} else if ((_root.ground.hitTest(_x + 3, _y, true) and (!_root.ground.hitTest(_x - 10, _y, true))) and (_root.gravswap == 4)) {
_root.hit = true;
_root.stopthemove = false;
} else {
_root.hit = false;
}
if ((Key.isDown(_root.UP) and (_root.hit == true)) and (_root.stopthemove == false)) {
_root.drag = false;
_root.drag2 = false;
if (_root.gravswap == 1) {
_y = (_y - speed);
gravity = -jumpheight;
gotoAndStop (4);
}
if (_root.gravswap == 3) {
_y = (_y - speed);
_xscale = (-rightface);
if ((_root.hit == true) and (!Key.isDown(_root.RIGHT))) {
gotoAndStop (2);
}
}
if (_root.gravswap == 4) {
_y = (_y - speed);
_xscale = rightface;
if ((_root.hit == true) and (!Key.isDown(_root.LEFT))) {
gotoAndStop (2);
}
}
}
if ((Key.isDown(_root.DOWN) and (_root.hit == true)) and (_root.stopthemove == false)) {
if (_root.gravswap == 2) {
_y = (_y + speed);
gravity = -jumpheight;
gotoAndStop (4);
}
if (_root.gravswap == 3) {
_y = (_y + speed);
gotoAndStop (2);
_xscale = rightface;
}
if (_root.gravswap == 4) {
_y = (_y + speed);
gotoAndStop (2);
_xscale = (-rightface);
}
}
if (Key.isDown(_root.RIGHT) and (_root.stopthemove == false)) {
if ((((_root.gravswap == 4) and (_root.hit == true)) and (!Key.isDown(_root.DOWN))) and (!Key.isDown(_root.UP))) {
gotoAndStop (1);
}
_root.drag = false;
_root.drag2 = false;
if (Key.isDown(_root.DOWN) and (_root.gravswap == 3)) {
_y = (_y + speed);
_xscale = rightface;
}
if (Key.isDown(_root.UP) and (_root.gravswap == 3)) {
_y = (_y - speed);
_xscale = (-rightface);
}
if (_root.gravswap == 1) {
_x = (_x + speed);
_xscale = rightface;
if ((_root.hit == true) and (!Key.isDown(_root.UP))) {
gotoAndStop (2);
}
}
if (_root.gravswap == 2) {
_x = (_x + speed);
_xscale = (-rightface);
if ((_root.hit == true) and (!Key.isDown(_root.DOWN))) {
gotoAndStop (2);
}
}
if ((_root.gravswap == 3) and (_root.hit == true)) {
_x = (_x + 4);
gravity = -jumpheight;
gotoAndStop (4);
}
} else if (Key.isDown(_root.LEFT) and (_root.stopthemove == false)) {
if ((((_root.gravswap == 3) and (_root.hit == true)) and (!Key.isDown(_root.DOWN))) and (!Key.isDown(_root.UP))) {
gotoAndStop (1);
}
_root.drag = false;
_root.drag2 = false;
if (Key.isDown(_root.DOWN) and (_root.gravswap == 4)) {
_y = (_y + speed);
_xscale = (-rightface);
}
if (Key.isDown(_root.UP) and (_root.gravswap == 4)) {
_y = (_y - speed);
_xscale = rightface;
}
if (_root.gravswap == 1) {
_xscale = (-rightface);
_x = (_x - speed);
if ((_root.hit == true) and (!Key.isDown(_root.UP))) {
gotoAndStop (2);
}
}
if (_root.gravswap == 2) {
_xscale = rightface;
_x = (_x - speed);
if ((_root.hit == true) and (!Key.isDown(_root.DOWN))) {
gotoAndStop (2);
}
}
if ((_root.gravswap == 4) and (_root.hit == true)) {
_x = (_x + 4);
gravity = -jumpheight;
gotoAndStop (4);
}
} else {
if ((((_root.gravswap == 3) and Key.isDown(_root.DOWN)) and (_root.hit == false)) and (_root.stopthemove == false)) {
_y = (_y + 4);
_xscale = rightface;
} else if ((((_root.gravswap == 3) and Key.isDown(_root.UP)) and (_root.hit == false)) and (_root.stopthemove == false)) {
_y = (_y - 4);
_xscale = (-rightface);
}
if ((((_root.gravswap == 4) and Key.isDown(_root.DOWN)) and (_root.hit == false)) and (_root.stopthemove == false)) {
_y = (_y + 4);
_xscale = (-rightface);
} else if ((((_root.gravswap == 4) and Key.isDown(_root.UP)) and (_root.hit == false)) and (_root.stopthemove == false)) {
_y = (_y - 4);
_xscale = rightface;
}
if (((_root.hit == true) and (!Key.isDown(_root.UP))) and (_root.gravswap == 1)) {
gotoAndStop (1);
}
if (((_root.hit == true) and (!Key.isDown(_root.DOWN))) and (_root.gravswap == 2)) {
gotoAndStop (1);
}
if (((((_root.hit == true) and (!Key.isDown(_root.RIGHT))) and (_root.gravswap == 3)) and (!Key.isDown(_root.UP))) and (!Key.isDown(_root.DOWN))) {
gotoAndStop (1);
}
if (((((_root.hit == true) and (!Key.isDown(_root.LEFT))) and (_root.gravswap == 4)) and (!Key.isDown(_root.UP))) and (!Key.isDown(_root.DOWN))) {
gotoAndStop (1);
}
}
}
}
onClipEvent (enterFrame) {
if (_currentframe != 5) {
if ((_rotation != -90) and (_root.gravswap == 4)) {
_rotation = (_rotation - 10);
}
if ((_rotation != 90) and (_root.gravswap == 3)) {
_rotation = (_rotation + 10);
}
if ((_rotation != 180) and (_root.gravswap == 2)) {
_rotation = (_rotation + 10);
}
if ((_rotation != 0) and (_root.gravswap == 1)) {
_rotation = (_rotation - 10);
}
if (((Key.isDown(_root.gravityup) and (!Key.isDown(_root.UP))) and (_root.drag == false)) and (rotatedright == true)) {
if (_root.hit == true) {
_root.gravswap = 2;
_root.stopthemove = true;
}
}
if (((Key.isDown(_root.gravitydown) and (!Key.isDown(_root.DOWN))) and (_root.drag == false)) and (rotatedright == true)) {
if (_root.hit == true) {
_root.gravswap = 1;
_root.stopthemove = true;
}
}
if (((Key.isDown(_root.gravityleft) and (!Key.isDown(_root.LEFT))) and (_root.drag == false)) and (rotatedright == true)) {
if (_root.hit == true) {
_root.gravswap = 3;
_root.stopthemove = true;
}
}
if (((Key.isDown(_root.gravityright) and (!Key.isDown(_root.RIGHT))) and (_root.drag == false)) and (rotatedright == true)) {
if (_root.hit == true) {
_root.gravswap = 4;
_root.stopthemove = true;
}
}
if (_y > 550) {
_root.gravswap = 1;
_rotation = 0;
gravity = 0;
_root.drag = false;
_root.drag2 = false;
_x = _root.restartX;
_y = _root.restartY;
}
if (_y < -100) {
_root.gravswap = 1;
_rotation = 0;
gravity = 0;
_root.drag = false;
_root.drag2 = false;
_x = _root.restartX;
_y = _root.restartY;
}
if (_x < -100) {
_root.gravswap = 1;
_rotation = 0;
gravity = 0;
_root.drag = false;
_root.drag2 = false;
_x = _root.restartX;
_y = _root.restartY;
}
if (_x > 600) {
_root.gravswap = 1;
_rotation = 0;
gravity = 0;
_root.drag = false;
_root.drag2 = false;
_x = _root.restartX;
_y = _root.restartY;
}
if ((((_rotation == 0) or (_rotation == 90)) or (_rotation == 180)) or (_rotation == -90)) {
rotatedright = true;
} else {
rotatedright = false;
}
}
}
Frame 12
stop();
_root.char._x = 92;
_root.char._y = 332;
_root.restartX = _root.char._x;
_root.restartY = _root.char._y;
_root.gravswap = 1;
Instance of Symbol 248 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("finish", this);
someSound.start(0, 1);
}
_root.nextFrame();
}
}
Instance of Symbol 180 MovieClip "char" in Frame 12
onClipEvent (load) {
_root.restartX = _x;
_root.restartY = _y;
gravity = 0;
jumpheight = 12;
speed = 5;
rightface = _xscale;
_root.gravswap = 1;
_root.hit = false;
_root.drag = false;
_root.stopthemove = false;
if (_root.controlsone == 1) {
_root.UP = 38;
_root.LEFT = 37;
_root.RIGHT = 39;
_root.DOWN = 40;
_root.gravityup = 87;
_root.gravityleft = 65;
_root.gravityright = 68;
_root.gravitydown = 83;
}
if (_root.controlsone == 2) {
_root.UP = 87;
_root.LEFT = 65;
_root.RIGHT = 68;
_root.DOWN = 83;
_root.gravityup = 38;
_root.gravityleft = 37;
_root.gravityright = 39;
_root.gravitydown = 40;
}
if (_root.controlsone == 3) {
_root.UP = 87;
_root.LEFT = 65;
_root.RIGHT = 68;
_root.DOWN = 83;
_root.gravityup = 84;
_root.gravityleft = 70;
_root.gravityright = 72;
_root.gravitydown = 71;
}
}
onClipEvent (enterFrame) {
if (_currentframe == 5) {
gravity = 0;
}
if (_currentframe != 5) {
if (gravity > 9) {
gravity = 9;
}
gravity++;
if (_root.gravswap == 1) {
_y = (_y + gravity);
while (_root.ground.hitTest(_x, _y, true) and (!_root.ground.hitTest(_x, _y - 10, true))) {
_y = (_y-1);
gravity = 0;
}
}
if (_root.gravswap == 2) {
_y = (_y - gravity);
while (_root.ground.hitTest(_x, _y, true) and (!_root.ground.hitTest(_x, _y + 10, true))) {
_y = (_y+1);
gravity = 0;
}
}
if (_root.gravswap == 3) {
_x = (_x - gravity);
while (_root.ground.hitTest(_x, _y, true) and (!_root.ground.hitTest(_x + 10, _y, true))) {
_x = (_x+1);
gravity = 0;
}
}
if (_root.gravswap == 4) {
_x = (_x + gravity);
while (_root.ground.hitTest(_x, _y, true) and (!_root.ground.hitTest(_x - 10, _y, true))) {
_x = (_x-1);
gravity = 0;
}
}
if ((_root.ground.hitTest(_x, _y + 3, true) and (!_root.ground.hitTest(_x, _y - 10, true))) and (_root.gravswap == 1)) {
_root.hit = true;
_root.stopthemove = false;
} else if ((_root.ground.hitTest(_x, _y - 3, true) and (!_root.ground.hitTest(_x, _y + 10, true))) and (_root.gravswap == 2)) {
_root.hit = true;
_root.stopthemove = false;
} else if ((_root.ground.hitTest(_x - 3, _y, true) and (!_root.ground.hitTest(_x + 10, _y, true))) and (_root.gravswap == 3)) {
_root.hit = true;
_root.stopthemove = false;
} else if ((_root.ground.hitTest(_x + 3, _y, true) and (!_root.ground.hitTest(_x - 10, _y, true))) and (_root.gravswap == 4)) {
_root.hit = true;
_root.stopthemove = false;
} else {
_root.hit = false;
}
if ((Key.isDown(_root.UP) and (_root.hit == true)) and (_root.stopthemove == false)) {
_root.drag = false;
_root.drag2 = false;
if (_root.gravswap == 1) {
_y = (_y - speed);
gravity = -jumpheight;
gotoAndStop (4);
}
if (_root.gravswap == 3) {
_y = (_y - speed);
_xscale = (-rightface);
if ((_root.hit == true) and (!Key.isDown(_root.RIGHT))) {
gotoAndStop (2);
}
}
if (_root.gravswap == 4) {
_y = (_y - speed);
_xscale = rightface;
if ((_root.hit == true) and (!Key.isDown(_root.LEFT))) {
gotoAndStop (2);
}
}
}
if ((Key.isDown(_root.DOWN) and (_root.hit == true)) and (_root.stopthemove == false)) {
if (_root.gravswap == 2) {
_y = (_y + speed);
gravity = -jumpheight;
gotoAndStop (4);
}
if (_root.gravswap == 3) {
_y = (_y + speed);
gotoAndStop (2);
_xscale = rightface;
}
if (_root.gravswap == 4) {
_y = (_y + speed);
gotoAndStop (2);
_xscale = (-rightface);
}
}
if (Key.isDown(_root.RIGHT) and (_root.stopthemove == false)) {
if ((((_root.gravswap == 4) and (_root.hit == true)) and (!Key.isDown(_root.DOWN))) and (!Key.isDown(_root.UP))) {
gotoAndStop (1);
}
_root.drag = false;
_root.drag2 = false;
if (Key.isDown(_root.DOWN) and (_root.gravswap == 3)) {
_y = (_y + speed);
_xscale = rightface;
}
if (Key.isDown(_root.UP) and (_root.gravswap == 3)) {
_y = (_y - speed);
_xscale = (-rightface);
}
if (_root.gravswap == 1) {
_x = (_x + speed);
_xscale = rightface;
if ((_root.hit == true) and (!Key.isDown(_root.UP))) {
gotoAndStop (2);
}
}
if (_root.gravswap == 2) {
_x = (_x + speed);
_xscale = (-rightface);
if ((_root.hit == true) and (!Key.isDown(_root.DOWN))) {
gotoAndStop (2);
}
}
if ((_root.gravswap == 3) and (_root.hit == true)) {
_x = (_x + 4);
gravity = -jumpheight;
gotoAndStop (4);
}
} else if (Key.isDown(_root.LEFT) and (_root.stopthemove == false)) {
if ((((_root.gravswap == 3) and (_root.hit == true)) and (!Key.isDown(_root.DOWN))) and (!Key.isDown(_root.UP))) {
gotoAndStop (1);
}
_root.drag = false;
_root.drag2 = false;
if (Key.isDown(_root.DOWN) and (_root.gravswap == 4)) {
_y = (_y + speed);
_xscale = (-rightface);
}
if (Key.isDown(_root.UP) and (_root.gravswap == 4)) {
_y = (_y - speed);
_xscale = rightface;
}
if (_root.gravswap == 1) {
_xscale = (-rightface);
_x = (_x - speed);
if ((_root.hit == true) and (!Key.isDown(_root.UP))) {
gotoAndStop (2);
}
}
if (_root.gravswap == 2) {
_xscale = rightface;
_x = (_x - speed);
if ((_root.hit == true) and (!Key.isDown(_root.DOWN))) {
gotoAndStop (2);
}
}
if ((_root.gravswap == 4) and (_root.hit == true)) {
_x = (_x + 4);
gravity = -jumpheight;
gotoAndStop (4);
}
} else {
if ((((_root.gravswap == 3) and Key.isDown(_root.DOWN)) and (_root.hit == false)) and (_root.stopthemove == false)) {
_y = (_y + 4);
_xscale = rightface;
} else if ((((_root.gravswap == 3) and Key.isDown(_root.UP)) and (_root.hit == false)) and (_root.stopthemove == false)) {
_y = (_y - 4);
_xscale = (-rightface);
}
if ((((_root.gravswap == 4) and Key.isDown(_root.DOWN)) and (_root.hit == false)) and (_root.stopthemove == false)) {
_y = (_y + 4);
_xscale = (-rightface);
} else if ((((_root.gravswap == 4) and Key.isDown(_root.UP)) and (_root.hit == false)) and (_root.stopthemove == false)) {
_y = (_y - 4);
_xscale = rightface;
}
if (((_root.hit == true) and (!Key.isDown(_root.UP))) and (_root.gravswap == 1)) {
gotoAndStop (1);
}
if (((_root.hit == true) and (!Key.isDown(_root.DOWN))) and (_root.gravswap == 2)) {
gotoAndStop (1);
}
if (((((_root.hit == true) and (!Key.isDown(_root.RIGHT))) and (_root.gravswap == 3)) and (!Key.isDown(_root.UP))) and (!Key.isDown(_root.DOWN))) {
gotoAndStop (1);
}
if (((((_root.hit == true) and (!Key.isDown(_root.LEFT))) and (_root.gravswap == 4)) and (!Key.isDown(_root.UP))) and (!Key.isDown(_root.DOWN))) {
gotoAndStop (1);
}
}
}
}
onClipEvent (enterFrame) {
if (_currentframe != 5) {
if ((_rotation != -90) and (_root.gravswap == 4)) {
_rotation = (_rotation - 10);
}
if ((_rotation != 90) and (_root.gravswap == 3)) {
_rotation = (_rotation + 10);
}
if ((_rotation != 180) and (_root.gravswap == 2)) {
_rotation = (_rotation + 10);
}
if ((_rotation != 0) and (_root.gravswap == 1)) {
_rotation = (_rotation - 10);
}
if (((Key.isDown(_root.gravityup) and (!Key.isDown(_root.UP))) and (_root.drag == false)) and (rotatedright == true)) {
if (_root.hit == true) {
_root.gravswap = 2;
_root.stopthemove = true;
}
}
if (((Key.isDown(_root.gravitydown) and (!Key.isDown(_root.DOWN))) and (_root.drag == false)) and (rotatedright == true)) {
if (_root.hit == true) {
_root.gravswap = 1;
_root.stopthemove = true;
}
}
if (((Key.isDown(_root.gravityleft) and (!Key.isDown(_root.LEFT))) and (_root.drag == false)) and (rotatedright == true)) {
if (_root.hit == true) {
_root.gravswap = 3;
_root.stopthemove = true;
}
}
if (((Key.isDown(_root.gravityright) and (!Key.isDown(_root.RIGHT))) and (_root.drag == false)) and (rotatedright == true)) {
if (_root.hit == true) {
_root.gravswap = 4;
_root.stopthemove = true;
}
}
if (_y > 550) {
_root.gravswap = 1;
_rotation = 0;
gravity = 0;
_root.drag = false;
_root.drag2 = false;
_x = _root.restartX;
_y = _root.restartY;
}
if (_y < -100) {
_root.gravswap = 1;
_rotation = 0;
gravity = 0;
_root.drag = false;
_root.drag2 = false;
_x = _root.restartX;
_y = _root.restartY;
}
if (_x < -100) {
_root.gravswap = 1;
_rotation = 0;
gravity = 0;
_root.drag = false;
_root.drag2 = false;
_x = _root.restartX;
_y = _root.restartY;
}
if (_x > 600) {
_root.gravswap = 1;
_rotation = 0;
gravity = 0;
_root.drag = false;
_root.drag2 = false;
_x = _root.restartX;
_y = _root.restartY;
}
if ((((_rotation == 0) or (_rotation == 90)) or (_rotation == 180)) or (_rotation == -90)) {
rotatedright = true;
} else {
rotatedright = false;
}
}
}
Frame 13
stop();
_root.char._x = 31;
_root.char._y = 332;
_root.restartX = _root.char._x;
_root.restartY = _root.char._y;
_root.gravswap = 1;
Instance of Symbol 248 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("finish", this);
someSound.start(0, 1);
}
_root.nextFrame();
}
}
Frame 14
stop();
_root.char._x = 43;
_root.char._y = 332;
_root.restartX = _root.char._x;
_root.restartY = _root.char._y;
_root.gravswap = 1;
Frame 15
stop();
_root.char._x = 43;
_root.char._y = 332;
_root.restartX = _root.char._x;
_root.restartY = _root.char._y;
_root.gravswap = 1;
Frame 16
stop();
_root.char._x = 180;
_root.char._y = 190;
_root.restartX = _root.char._x;
_root.restartY = _root.char._y;
_root.gravswap = 1;
Frame 17
stop();
_root.char._x = 55;
_root.char._y = 183;
_root.restartX = _root.char._x;
_root.restartY = _root.char._y;
_root.gravswap = 1;
Instance of Symbol 183 MovieClip in Frame 17
onClipEvent (load) {
switcher = false;
stopper = _y + 80;
speed = 5;
}
onClipEvent (enterFrame) {
if (switcher == false) {
_y = (_y + speed);
}
if (switcher == true) {
_y = (_y - speed);
}
if (_y > stopper) {
switcher = true;
}
if (_y < (stopper - 160)) {
switcher = false;
}
}
Instance of Symbol 183 MovieClip in Frame 17
onClipEvent (load) {
switcher = false;
stopper = _y + 80;
}
onClipEvent (enterFrame) {
if (switcher == false) {
_y = (_y + 3);
}
if (switcher == true) {
_y = (_y - 3);
}
if (_y > stopper) {
switcher = true;
}
if (_y < (stopper - 160)) {
switcher = false;
}
}
Frame 18
stop();
_root.char._x = 37;
_root.char._y = 277;
_root.restartX = _root.char._x;
_root.restartY = _root.char._y;
_root.gravswap = 1;
Instance of Symbol 183 MovieClip in Frame 18
onClipEvent (load) {
switcher = false;
stopper = _y + 80;
}
onClipEvent (enterFrame) {
if (switcher == false) {
_y = (_y + 3);
}
if (switcher == true) {
_y = (_y - 3);
}
if (_y > stopper) {
switcher = true;
}
if (_y < (stopper - 160)) {
switcher = false;
}
}
Frame 19
stop();
_root.char._x = 280;
_root.char._y = 140;
_root.restartX = _root.char._x;
_root.restartY = _root.char._y;
_root.gravswap = 1;
Instance of Symbol 183 MovieClip in Frame 19
onClipEvent (load) {
switcher = false;
stopper = _y + 80;
}
onClipEvent (enterFrame) {
if (switcher == false) {
_y = (_y + 3);
}
if (switcher == true) {
_y = (_y - 3);
}
if (_y > stopper) {
switcher = true;
}
if (_y < (stopper - 160)) {
switcher = false;
}
}
Instance of Symbol 183 MovieClip in Frame 19
onClipEvent (load) {
switcher = false;
stopper = _y + 80;
}
onClipEvent (enterFrame) {
if (switcher == false) {
_y = (_y + 3);
}
if (switcher == true) {
_y = (_y - 3);
}
if (_y > stopper) {
switcher = true;
}
if (_y < (stopper - 160)) {
switcher = false;
}
}
Instance of Symbol 183 MovieClip in Frame 19
onClipEvent (load) {
switcher = false;
stopper = _y + 80;
}
onClipEvent (enterFrame) {
if (switcher == false) {
_y = (_y + 3);
}
if (switcher == true) {
_y = (_y - 3);
}
if (_y > stopper) {
switcher = true;
}
if (_y < (stopper - 160)) {
switcher = false;
}
}
Frame 20
stop();
_root.char._x = 276;
_root.char._y = 14;
_root.restartX = _root.char._x;
_root.restartY = _root.char._y;
_root.gravswap = 1;
Instance of Symbol 411 MovieClip in Frame 20
onClipEvent (load) {
switcher = false;
stopper = _x + 80;
}
onClipEvent (enterFrame) {
if (switcher == false) {
_x = (_x + 3);
}
if (switcher == true) {
_x = (_x - 3);
}
if (_x > stopper) {
switcher = true;
}
if (_x < (stopper - 160)) {
switcher = false;
}
}
Instance of Symbol 411 MovieClip in Frame 20
onClipEvent (load) {
switcher = false;
stopper = _x + 80;
}
onClipEvent (enterFrame) {
if (switcher == false) {
_x = (_x + 3);
}
if (switcher == true) {
_x = (_x - 3);
}
if (_x > stopper) {
switcher = true;
}
if (_x < (stopper - 160)) {
switcher = false;
}
}
Instance of Symbol 183 MovieClip in Frame 20
onClipEvent (load) {
switcher = true;
stopper = _y + 80;
}
onClipEvent (enterFrame) {
if (switcher == false) {
_y = (_y + 3);
}
if (switcher == true) {
_y = (_y - 3);
}
if (_y > stopper) {
switcher = true;
}
if (_y < (stopper - 160)) {
switcher = false;
}
}
Instance of Symbol 411 MovieClip in Frame 20
onClipEvent (load) {
switcher = false;
stopper = _x + 80;
}
onClipEvent (enterFrame) {
if (switcher == false) {
_x = (_x + 3);
}
if (switcher == true) {
_x = (_x - 3);
}
if (_x > stopper) {
switcher = true;
}
if (_x < (stopper - 160)) {
switcher = false;
}
}
Frame 21
stop();
_root.char._x = 27;
_root.char._y = 259;
_root.gravswap = 1;
_root.restartX = _root.char._x;
_root.restartY = _root.char._y;
Instance of Symbol 248 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("finish", this);
someSound.start(0, 1);
}
_root.nextFrame();
}
}
Instance of Symbol 379 MovieClip "cannon2" in Frame 21
onClipEvent (load) {
stop();
}
Frame 22
stop();
_root.char._x = 24;
_root.char._y = 290;
_root.restartX = _root.char._x;
_root.restartY = _root.char._y;
Frame 23
stop();
_root.char._x = 270;
_root.char._y = 180;
_root.gravswap = 1;
_root.restartX = _root.char._x;
_root.restartY = _root.char._y;
Frame 24
stop();
_root.char._x = 34;
_root.char._y = 312;
_root.gravswap = 1;
_root.restartX = _root.char._x;
_root.restartY = _root.char._y;
Frame 25
stop();
_root.char._x = 260;
_root.char._y = 320;
_root.gravswap = 1;
_root.restartX = _root.char._x;
_root.restartY = _root.char._y;
Instance of Symbol 379 MovieClip "cannon2" in Frame 25
onClipEvent (load) {
stop();
}
Instance of Symbol 411 MovieClip in Frame 25
onClipEvent (load) {
switcher = false;
stopper = _x + 80;
}
onClipEvent (enterFrame) {
if (switcher == false) {
_x = (_x + 3);
}
if (switcher == true) {
_x = (_x - 3);
}
if (_x > stopper) {
switcher = true;
}
if (_x < (stopper - 160)) {
switcher = false;
}
}
Frame 26
stop();
_root.char._x = 59;
_root.char._y = 163;
_root.gravswap = 1;
_root.restartX = _root.char._x;
_root.restartY = _root.char._y;
Instance of Symbol 456 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.WEBBROTATION == true) {
_rotation = (_rotation + 5.625);
}
}
Instance of Symbol 456 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.WEBBROTATION == true) {
_rotation = (_rotation + 5.625);
}
}
Instance of Symbol 456 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.WEBBROTATION == true) {
_rotation = (_rotation + 5.625);
}
}
Instance of Symbol 456 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.WEBBROTATION == true) {
_rotation = (_rotation + 5.625);
}
}
Frame 27
stop();
_root.char._x = 68;
_root.char._y = 148;
_root.gravswap = 1;
_root.restartX = _root.char._x;
_root.restartY = _root.char._y;
Instance of Symbol 471 MovieClip in Frame 27
onClipEvent (enterFrame) {
if (_root.char.hitTest(this) and (_currentframe == 1)) {
_root.switcher = true;
gotoAndPlay (2);
light.gotoAndPlay(2);
}
if (_root.switcher == false) {
gotoAndStop (1);
light.gotoAndStop(1);
}
}
Frame 28
stop();
_root.switcher = false;
_root.char._x = 50;
_root.char._y = 156;
_root.gravswap = 1;
_root.restartX = _root.char._x;
_root.restartY = _root.char._y;
Frame 29
stop();
_root.switcher = false;
_root.char._x = 30;
_root.char._y = 301;
_root.gravswap = 1;
_root.restartX = _root.char._x;
_root.restartY = _root.char._y;
Instance of Symbol 456 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (_root.WEBBROTATION == true) {
_rotation = (_rotation + 5.625);
}
}
Instance of Symbol 183 MovieClip in Frame 29
onClipEvent (load) {
switcher = false;
stopper = _y + 80;
speed = 5;
}
onClipEvent (enterFrame) {
if (switcher == false) {
_y = (_y + speed);
}
if (switcher == true) {
_y = (_y - speed);
}
if (_y > stopper) {
switcher = true;
}
if (_y < (stopper - 160)) {
switcher = false;
}
}
Instance of Symbol 183 MovieClip in Frame 29
onClipEvent (load) {
switcher = false;
stopper = _y + 80;
speed = 5;
}
onClipEvent (enterFrame) {
if (switcher == false) {
_y = (_y + speed);
}
if (switcher == true) {
_y = (_y - speed);
}
if (_y > stopper) {
switcher = true;
}
if (_y < (stopper - 160)) {
switcher = false;
}
}
Instance of Symbol 183 MovieClip in Frame 29
onClipEvent (load) {
switcher = false;
stopper = _y + 80;
speed = 5;
}
onClipEvent (enterFrame) {
if (switcher == false) {
_y = (_y + speed);
}
if (switcher == true) {
_y = (_y - speed);
}
if (_y > stopper) {
switcher = true;
}
if (_y < (stopper - 160)) {
switcher = false;
}
}
Frame 30
stop();
_root.switcher = false;
_root.char._x = 285;
_root.char._y = 21;
_root.gravswap = 1;
_root.restartX = _root.char._x;
_root.restartY = _root.char._y;
Frame 31
stop();
_root.switcher = false;
_root.char._x = 275;
_root.char._y = 0;
_root.gravswap = 1;
_root.restartX = _root.char._x;
_root.restartY = _root.char._y;
Instance of Symbol 471 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.char.hitTest(this) and (_currentframe == 1)) {
_root.switcher = true;
gotoAndPlay (2);
light.gotoAndPlay(2);
}
if (_root.switcher == false) {
gotoAndStop (1);
light.gotoAndStop(1);
}
}
Frame 32
stop();
_root.switcher = false;
_root.char._x = 300;
_root.char._y = 0;
_root.gravswap = 1;
_root.restartX = _root.char._x;
_root.restartY = _root.char._y;
Instance of Symbol 180 MovieClip "char" in Frame 32
onClipEvent (load) {
_root.restartX = _x;
_root.restartY = _y;
gravity = 0;
jumpheight = 12;
speed = 5;
rightface = _xscale;
_root.gravswap = 1;
_root.hit = false;
_root.drag = false;
_root.stopthemove = false;
if (_root.controlsone == 1) {
_root.UP = 38;
_root.LEFT = 37;
_root.RIGHT = 39;
_root.DOWN = 40;
_root.gravityup = 87;
_root.gravityleft = 65;
_root.gravityright = 68;
_root.gravitydown = 83;
}
if (_root.controlsone == 2) {
_root.UP = 87;
_root.LEFT = 65;
_root.RIGHT = 68;
_root.DOWN = 83;
_root.gravityup = 38;
_root.gravityleft = 37;
_root.gravityright = 39;
_root.gravitydown = 40;
}
if (_root.controlsone == 3) {
_root.UP = 87;
_root.LEFT = 65;
_root.RIGHT = 68;
_root.DOWN = 83;
_root.gravityup = 84;
_root.gravityleft = 70;
_root.gravityright = 72;
_root.gravitydown = 71;
}
}
onClipEvent (enterFrame) {
if (_currentframe == 5) {
gravity = 0;
}
if (_currentframe != 5) {
if (gravity > 9) {
gravity = 9;
}
gravity++;
if (_root.gravswap == 1) {
_y = (_y + gravity);
while (_root.ground.hitTest(_x, _y, true) and (!_root.ground.hitTest(_x, _y - 10, true))) {
_y = (_y-1);
gravity = 0;
}
}
if (_root.gravswap == 2) {
_y = (_y - gravity);
while (_root.ground.hitTest(_x, _y, true) and (!_root.ground.hitTest(_x, _y + 10, true))) {
_y = (_y+1);
gravity = 0;
}
}
if (_root.gravswap == 3) {
_x = (_x - gravity);
while (_root.ground.hitTest(_x, _y, true) and (!_root.ground.hitTest(_x + 10, _y, true))) {
_x = (_x+1);
gravity = 0;
}
}
if (_root.gravswap == 4) {
_x = (_x + gravity);
while (_root.ground.hitTest(_x, _y, true) and (!_root.ground.hitTest(_x - 10, _y, true))) {
_x = (_x-1);
gravity = 0;
}
}
if ((_root.ground.hitTest(_x, _y + 3, true) and (!_root.ground.hitTest(_x, _y - 10, true))) and (_root.gravswap == 1)) {
_root.hit = true;
_root.stopthemove = false;
} else if ((_root.ground.hitTest(_x, _y - 3, true) and (!_root.ground.hitTest(_x, _y + 10, true))) and (_root.gravswap == 2)) {
_root.hit = true;
_root.stopthemove = false;
} else if ((_root.ground.hitTest(_x - 3, _y, true) and (!_root.ground.hitTest(_x + 10, _y, true))) and (_root.gravswap == 3)) {
_root.hit = true;
_root.stopthemove = false;
} else if ((_root.ground.hitTest(_x + 3, _y, true) and (!_root.ground.hitTest(_x - 10, _y, true))) and (_root.gravswap == 4)) {
_root.hit = true;
_root.stopthemove = false;
} else {
_root.hit = false;
}
if ((Key.isDown(_root.UP) and (_root.hit == true)) and (_root.stopthemove == false)) {
_root.drag = false;
_root.drag2 = false;
if (_root.gravswap == 1) {
_y = (_y - speed);
gravity = -jumpheight;
gotoAndStop (4);
}
if (_root.gravswap == 3) {
_y = (_y - speed);
_xscale = (-rightface);
if ((_root.hit == true) and (!Key.isDown(_root.RIGHT))) {
gotoAndStop (2);
}
}
if (_root.gravswap == 4) {
_y = (_y - speed);
_xscale = rightface;
if ((_root.hit == true) and (!Key.isDown(_root.LEFT))) {
gotoAndStop (2);
}
}
}
if ((Key.isDown(_root.DOWN) and (_root.hit == true)) and (_root.stopthemove == false)) {
if (_root.gravswap == 2) {
_y = (_y + speed);
gravity = -jumpheight;
gotoAndStop (4);
}
if (_root.gravswap == 3) {
_y = (_y + speed);
gotoAndStop (2);
_xscale = rightface;
}
if (_root.gravswap == 4) {
_y = (_y + speed);
gotoAndStop (2);
_xscale = (-rightface);
}
}
if (Key.isDown(_root.RIGHT) and (_root.stopthemove == false)) {
if ((((_root.gravswap == 4) and (_root.hit == true)) and (!Key.isDown(_root.DOWN))) and (!Key.isDown(_root.UP))) {
gotoAndStop (1);
}
_root.drag = false;
_root.drag2 = false;
if (Key.isDown(_root.DOWN) and (_root.gravswap == 3)) {
_y = (_y + speed);
_xscale = rightface;
}
if (Key.isDown(_root.UP) and (_root.gravswap == 3)) {
_y = (_y - speed);
_xscale = (-rightface);
}
if (_root.gravswap == 1) {
_x = (_x + speed);
_xscale = rightface;
if ((_root.hit == true) and (!Key.isDown(_root.UP))) {
gotoAndStop (2);
}
}
if (_root.gravswap == 2) {
_x = (_x + speed);
_xscale = (-rightface);
if ((_root.hit == true) and (!Key.isDown(_root.DOWN))) {
gotoAndStop (2);
}
}
if ((_root.gravswap == 3) and (_root.hit == true)) {
_x = (_x + 4);
gravity = -jumpheight;
gotoAndStop (4);
}
} else if (Key.isDown(_root.LEFT) and (_root.stopthemove == false)) {
if ((((_root.gravswap == 3) and (_root.hit == true)) and (!Key.isDown(_root.DOWN))) and (!Key.isDown(_root.UP))) {
gotoAndStop (1);
}
_root.drag = false;
_root.drag2 = false;
if (Key.isDown(_root.DOWN) and (_root.gravswap == 4)) {
_y = (_y + speed);
_xscale = (-rightface);
}
if (Key.isDown(_root.UP) and (_root.gravswap == 4)) {
_y = (_y - speed);
_xscale = rightface;
}
if (_root.gravswap == 1) {
_xscale = (-rightface);
_x = (_x - speed);
if ((_root.hit == true) and (!Key.isDown(_root.UP))) {
gotoAndStop (2);
}
}
if (_root.gravswap == 2) {
_xscale = rightface;
_x = (_x - speed);
if ((_root.hit == true) and (!Key.isDown(_root.DOWN))) {
gotoAndStop (2);
}
}
if ((_root.gravswap == 4) and (_root.hit == true)) {
_x = (_x + 4);
gravity = -jumpheight;
gotoAndStop (4);
}
} else {
if ((((_root.gravswap == 3) and Key.isDown(_root.DOWN)) and (_root.hit == false)) and (_root.stopthemove == false)) {
_y = (_y + 4);
_xscale = rightface;
} else if ((((_root.gravswap == 3) and Key.isDown(_root.UP)) and (_root.hit == false)) and (_root.stopthemove == false)) {
_y = (_y - 4);
_xscale = (-rightface);
}
if ((((_root.gravswap == 4) and Key.isDown(_root.DOWN)) and (_root.hit == false)) and (_root.stopthemove == false)) {
_y = (_y + 4);
_xscale = (-rightface);
} else if ((((_root.gravswap == 4) and Key.isDown(_root.UP)) and (_root.hit == false)) and (_root.stopthemove == false)) {
_y = (_y - 4);
_xscale = rightface;
}
if (((_root.hit == true) and (!Key.isDown(_root.UP))) and (_root.gravswap == 1)) {
gotoAndStop (1);
}
if (((_root.hit == true) and (!Key.isDown(_root.DOWN))) and (_root.gravswap == 2)) {
gotoAndStop (1);
}
if (((((_root.hit == true) and (!Key.isDown(_root.RIGHT))) and (_root.gravswap == 3)) and (!Key.isDown(_root.UP))) and (!Key.isDown(_root.DOWN))) {
gotoAndStop (1);
}
if (((((_root.hit == true) and (!Key.isDown(_root.LEFT))) and (_root.gravswap == 4)) and (!Key.isDown(_root.UP))) and (!Key.isDown(_root.DOWN))) {
gotoAndStop (1);
}
}
}
}
onClipEvent (enterFrame) {
if (_currentframe != 5) {
if ((_rotation != -90) and (_root.gravswap == 4)) {
_rotation = (_rotation - 10);
}
if ((_rotation != 90) and (_root.gravswap == 3)) {
_rotation = (_rotation + 10);
}
if ((_rotation != 180) and (_root.gravswap == 2)) {
_rotation = (_rotation + 10);
}
if ((_rotation != 0) and (_root.gravswap == 1)) {
_rotation = (_rotation - 10);
}
if (((Key.isDown(_root.gravityup) and (!Key.isDown(_root.UP))) and (_root.drag == false)) and (rotatedright == true)) {
if (_root.hit == true) {
_root.gravswap = 2;
_root.stopthemove = true;
}
}
if (((Key.isDown(_root.gravitydown) and (!Key.isDown(_root.DOWN))) and (_root.drag == false)) and (rotatedright == true)) {
if (_root.hit == true) {
_root.gravswap = 1;
_root.stopthemove = true;
}
}
if (((Key.isDown(_root.gravityleft) and (!Key.isDown(_root.LEFT))) and (_root.drag == false)) and (rotatedright == true)) {
if (_root.hit == true) {
_root.gravswap = 3;
_root.stopthemove = true;
}
}
if (((Key.isDown(_root.gravityright) and (!Key.isDown(_root.RIGHT))) and (_root.drag == false)) and (rotatedright == true)) {
if (_root.hit == true) {
_root.gravswap = 4;
_root.stopthemove = true;
}
}
if (_y > 550) {
_root.gravswap = 1;
_rotation = 0;
gravity = 0;
_root.drag = false;
_root.drag2 = false;
_x = _root.restartX;
_y = _root.restartY;
}
if (_y < -100) {
_root.gravswap = 1;
_rotation = 0;
gravity = 0;
_root.drag = false;
_root.drag2 = false;
_x = _root.restartX;
_y = _root.restartY;
}
if (_x < -100) {
_root.gravswap = 1;
_rotation = 0;
gravity = 0;
_root.drag = false;
_root.drag2 = false;
_x = _root.restartX;
_y = _root.restartY;
}
if (_x > 600) {
_root.gravswap = 1;
_rotation = 0;
gravity = 0;
_root.drag = false;
_root.drag2 = false;
_x = _root.restartX;
_y = _root.restartY;
}
if ((((_rotation == 0) or (_rotation == 90)) or (_rotation == 180)) or (_rotation == -90)) {
rotatedright = true;
} else {
rotatedright = false;
}
}
}
Instance of Symbol 471 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.char.hitTest(this) and (_currentframe == 1)) {
_root.switcher = true;
gotoAndPlay (2);
light.gotoAndPlay(2);
}
if (_root.switcher == false) {
gotoAndStop (1);
light.gotoAndStop(1);
}
}
Frame 33
stop();
_root.switcher = false;
_root.char._x = 23;
_root.char._y = 160;
_root.gravswap = 1;
_root.restartX = _root.char._x;
_root.restartY = _root.char._y;
Instance of Symbol 248 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("finish", this);
someSound.start(0, 1);
}
_root.nextFrame();
}
}
Frame 34
stop();
_root.switcher = false;
_root.char._x = 23;
_root.char._y = 160;
_root.gravswap = 1;
_root.restartX = _root.char._x;
_root.restartY = _root.char._y;
Instance of Symbol 183 MovieClip in Frame 34
onClipEvent (load) {
switcher = false;
stopper = _y + 80;
speed = 5;
}
onClipEvent (enterFrame) {
if (switcher == false) {
_y = (_y + speed);
}
if (switcher == true) {
_y = (_y - speed);
}
if (_y > stopper) {
switcher = true;
}
if (_y < (stopper - 160)) {
switcher = false;
}
}
Frame 35
stop();
_root.switcher = false;
_root.char._x = 23;
_root.char._y = 160;
_root.gravswap = 1;
_root.restartX = _root.char._x;
_root.restartY = _root.char._y;
Instance of Symbol 456 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (_root.WEBBROTATION == true) {
_rotation = (_rotation + 5.625);
}
}
Instance of Symbol 456 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (_root.WEBBROTATION == true) {
_rotation = (_rotation + 5.625);
}
}
Instance of Symbol 456 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (_root.WEBBROTATION == true) {
_rotation = (_rotation + 5.625);
}
}
Frame 36
stop();
_root.switcher = false;
_root.char._x = 268;
_root.char._y = 128;
_root.gravswap = 1;
_root.restartX = _root.char._x;
_root.restartY = _root.char._y;
Symbol 18 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
_root.nextFrame();
}
Symbol 18 MovieClip Frame 2
gotoAndPlay (1);
Symbol 18 MovieClip Frame 40
_root.play();
Symbol 43 Button
on (release) {
getURL ("http://www.pinenana.com/", "blank");
}
Symbol 48 Button
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Symbol 54 MovieClip Frame 81
_root.nextFrame();
Symbol 64 MovieClip Frame 58
stop();
Symbol 73 MovieClip Frame 155
stopAllSounds();
_root.nextFrame();
Symbol 77 MovieClip Frame 96
_root.nextFrame();
Symbol 80 Button
on (release) {
getURL ("http://www.pinenana.com/", "blank");
}
Symbol 109 MovieClip Frame 1
stop();
Symbol 111 MovieClip Frame 1
stop();
Symbol 115 MovieClip Frame 1
stop();
Symbol 135 MovieClip Frame 1
stop();
Symbol 135 MovieClip Frame 2
stop();
Symbol 136 MovieClip Frame 1
stop();
Symbol 136 MovieClip Frame 2
stop();
Instance of Symbol 143 MovieClip in Symbol 144 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
if (((((_root.char._rotation == 0) and (_root.gravswap == 1)) or ((_root.char._rotation == 180) and (_root.gravswap == 2))) or ((_root.char._rotation == 90) and (_root.gravswap == 3))) or ((_root.char._rotation == -90) and (_root.gravswap == 4))) {
_root.char.gotoAndStop(5);
}
}
}
Symbol 157 MovieClip Frame 1
stop();
Symbol 159 MovieClip Frame 1
stop();
Symbol 172 MovieClip Frame 1
stop();
Symbol 174 MovieClip Frame 1
stop();
Symbol 176 MovieClip Frame 1
stop();
Symbol 179 MovieClip Frame 9
stop();
_root.switcher = false;
_root.char._rotation = 0;
_root.gravswap = 1;
gravity = 0;
_root.drag = false;
_root.drag2 = false;
_root.drag3 = false;
_root.dragdown = false;
_root.dragdown2 = false;
_root.dragdown3 = false;
_root.char._x = _root.restartX;
_root.char._y = _root.restartY;
_root.char.gotoAndStop(1);
Symbol 180 MovieClip Frame 1
stop();
Symbol 180 MovieClip Frame 2
stop();
Symbol 180 MovieClip Frame 3
stop();
Symbol 180 MovieClip Frame 4
stop();
Symbol 180 MovieClip Frame 5
stop();
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("die", this);
someSound.start(0, 1);
}
Instance of Symbol 143 MovieClip in Symbol 183 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
if (((((_root.char._rotation == 0) and (_root.gravswap == 1)) or ((_root.char._rotation == 180) and (_root.gravswap == 2))) or ((_root.char._rotation == 90) and (_root.gravswap == 3))) or ((_root.char._rotation == -90) and (_root.gravswap == 4))) {
_root.char.gotoAndStop(5);
}
}
}
Symbol 189 Button
on (press) {
_root.nextFrame();
}
Symbol 192 Button
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Symbol 195 Button
on (release) {
getURL ("http://www.armorblog.com", "blank");
}
Symbol 201 Button
on (press) {
if (_root.levelcode.text == "first") {
_root.gotoAndStop(7);
}
if (_root.levelcode.text == "omopi") {
_root.gotoAndStop(8);
}
if (_root.levelcode.text == "55556") {
_root.gotoAndStop(9);
}
if (_root.levelcode.text == "hg764") {
_root.gotoAndStop(10);
}
if (_root.levelcode.text == "ohyou") {
_root.gotoAndStop(11);
}
if (_root.levelcode.text == "pinea") {
_root.gotoAndStop(12);
}
if (_root.levelcode.text == "apple") {
_root.gotoAndStop(13);
}
if (_root.levelcode.text == "drink") {
_root.gotoAndStop(14);
}
if (_root.levelcode.text == "87600") {
_root.gotoAndStop(15);
}
if (_root.levelcode.text == "tootl") {
_root.gotoAndStop(16);
}
if (_root.levelcode.text == "1g1g1") {
_root.gotoAndStop(17);
}
if (_root.levelcode.text == "jhkas") {
_root.gotoAndStop(18);
}
if (_root.levelcode.text == "3579h") {
_root.gotoAndStop(19);
}
if (_root.levelcode.text == "mnbas") {
_root.gotoAndStop(20);
}
if (_root.levelcode.text == "bradl") {
_root.gotoAndStop(21);
}
if (_root.levelcode.text == "oiulo") {
_root.gotoAndStop(22);
}
if (_root.levelcode.text == "roflm") {
_root.gotoAndStop(23);
}
if (_root.levelcode.text == "lmaoe") {
_root.gotoAndStop(24);
}
if (_root.levelcode.text == "passw") {
_root.gotoAndStop(25);
}
if (_root.levelcode.text == "kkkkn") {
_root.gotoAndStop(26);
}
if (_root.levelcode.text == "dadad") {
_root.gotoAndStop(27);
}
if (_root.levelcode.text == "6hnmk") {
_root.gotoAndStop(28);
}
if (_root.levelcode.text == "segff") {
_root.gotoAndStop(29);
}
if (_root.levelcode.text == "007dn") {
_root.gotoAndStop(30);
}
if (_root.levelcode.text == "dunhe") {
_root.gotoAndStop(31);
}
if (_root.levelcode.text == "neari") {
_root.gotoAndStop(32);
}
if (_root.levelcode.text == "egggy") {
_root.gotoAndStop(33);
}
if (_root.levelcode.text == "hrdlo") {
_root.gotoAndStop(34);
}
if (_root.levelcode.text == "uhhoh") {
_root.gotoAndStop(35);
}
if (_root.levelcode.text == "endin") {
_root.gotoAndStop(36);
}
}
Symbol 203 MovieClip Frame 29
stop();
Symbol 225 MovieClip Frame 1
stop();
Symbol 225 MovieClip Frame 2
stop();
Symbol 231 MovieClip Frame 1
stop();
Symbol 231 MovieClip Frame 2
stop();
Symbol 237 MovieClip Frame 1
stop();
Symbol 237 MovieClip Frame 2
stop();
Symbol 246 MovieClip Frame 8
stop();
Instance of Symbol 135 MovieClip in Symbol 258 MovieClip Frame 1
onClipEvent (mouseMove) {
if (_root.char.hitTest(this) and (_currentframe == 2)) {
if ((_root.gravswap == 1) or (_root.gravswap == 2)) {
_root.char._x = _x;
}
if (_root.gravswap == 3) {
_root.char._x = _x + 22;
}
if (_root.gravswap == 4) {
_root.char._x = _x - 13;
}
}
}
onClipEvent (enterFrame) {
if (_root.drag == true) {
if ((_root.gravswap == 1) or (_root.gravswap == 2)) {
_root.char._x = _x;
}
if (_root.gravswap == 3) {
_root.char._x = _x + 22;
}
if (_root.gravswap == 4) {
_root.char._x = _x - 13;
}
}
}
onClipEvent (load) {
left = _x;
}
on (press) {
startDrag (this, true, left, this._y, left + 158, _y);
gotoAndStop (2);
if (_root.char.hitTest(this)) {
_root.drag = true;
}
}
onClipEvent (mouseUp) {
stopDrag();
gotoAndStop (1);
if (_root.char.hitTest(this)) {
_root.drag = false;
}
}
on (releaseOutside) {
if (_root.drag == true) {
stopDrag();
gotoAndStop (1);
}
}
Symbol 261 MovieClip Frame 1
stop();
Symbol 261 MovieClip Frame 2
stop();
Symbol 269 MovieClip Frame 16
stop();
Instance of Symbol 269 MovieClip in Symbol 272 MovieClip Frame 1
onClipEvent (load) {
this.play();
}
Symbol 273 MovieClip Frame 1
stop();
Instance of Symbol 269 MovieClip in Symbol 273 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Symbol 273 MovieClip Frame 2
stop();
Symbol 274 MovieClip Frame 1
stop();
Instance of Symbol 269 MovieClip in Symbol 274 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Symbol 274 MovieClip Frame 2
stop();
Symbol 279 MovieClip Frame 1
stop();
Symbol 279 MovieClip Frame 2
stop();
Symbol 280 MovieClip Frame 1
stop();
Instance of Symbol 269 MovieClip in Symbol 280 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Symbol 280 MovieClip Frame 2
stop();
Symbol 284 MovieClip Frame 15
stop();
Symbol 286 MovieClip Frame 1
stop();
Instance of Symbol 273 MovieClip in Symbol 287 MovieClip Frame 1
on (press) {
if (_root.hit == true) {
_root.gravswap = 2;
_root.stopthemove = true;
}
}
onClipEvent (enterFrame) {
if (_root.gravswap == 2) {
this.gotoAndStop(2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 274 MovieClip in Symbol 287 MovieClip Frame 1
on (press) {
if (_root.hit == true) {
_root.gravswap = 3;
_root.stopthemove = true;
}
}
onClipEvent (enterFrame) {
if (_root.gravswap == 3) {
this.gotoAndStop(2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 279 MovieClip in Symbol 287 MovieClip Frame 1
on (press) {
if (_root.hit == true) {
_root.gravswap = 1;
_root.stopthemove = true;
}
}
onClipEvent (enterFrame) {
if (_root.gravswap == 1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 280 MovieClip in Symbol 287 MovieClip Frame 1
on (press) {
if (_root.hit == true) {
_root.gravswap = 4;
_root.stopthemove = true;
}
}
onClipEvent (enterFrame) {
if (_root.gravswap == 4) {
this.gotoAndStop(2);
} else {
gotoAndStop (1);
}
}
Symbol 293 Button
on (press) {
_root.drag = false;
_root.drag2 = false;
_root.drag3 = false;
_root.dragdown = false;
_root.dragdown2 = false;
_root.dragdown3 = false;
_root.gravswap = 1;
_root.char._x = _root.restartX;
_root.char._y = _root.restartY;
}
Symbol 295 Button
on (press) {
stopAllSounds();
_root.gotoAndStop(5);
}
Instance of Symbol 135 MovieClip in Symbol 299 MovieClip Frame 1
onClipEvent (mouseMove) {
if (_root.char.hitTest(this) and (_currentframe == 2)) {
if ((_root.gravswap == 1) or (_root.gravswap == 2)) {
_root.char._x = _x;
}
if (_root.gravswap == 3) {
_root.char._x = _x + 22;
}
if (_root.gravswap == 4) {
_root.char._x = _x - 13;
}
}
}
onClipEvent (enterFrame) {
if (_root.drag == true) {
if ((_root.gravswap == 1) or (_root.gravswap == 2)) {
_root.char._x = _x;
}
if (_root.gravswap == 3) {
_root.char._x = _x + 22;
}
if (_root.gravswap == 4) {
_root.char._x = _x - 13;
}
}
}
onClipEvent (load) {
left = _x;
}
on (press) {
startDrag (this, true, left, this._y, left + 158, _y);
gotoAndStop (2);
if (_root.char.hitTest(this)) {
_root.drag = true;
}
}
onClipEvent (mouseUp) {
stopDrag();
gotoAndStop (1);
if (_root.char.hitTest(this)) {
_root.drag = false;
}
}
on (releaseOutside) {
if (_root.drag == true) {
stopDrag();
gotoAndStop (1);
}
}
Instance of Symbol 136 MovieClip in Symbol 299 MovieClip Frame 1
onClipEvent (mouseMove) {
if (_root.char.hitTest(this) and (_currentframe == 2)) {
_root.char._x = this._x;
}
}
onClipEvent (enterFrame) {
if (_root.drag2 == true) {
_root.char._x = this._x;
}
}
onClipEvent (load) {
left = _x;
}
on (press) {
startDrag (this, true, left, this._y, left + 158, _y);
gotoAndStop (2);
if (_root.char.hitTest(this)) {
_root.drag2 = true;
}
}
onClipEvent (mouseUp) {
stopDrag();
gotoAndStop (1);
if (_root.char.hitTest(this)) {
_root.drag2 = false;
}
}
on (releaseOutside) {
if (_root.drag2 == true) {
stopDrag();
gotoAndStop (1);
}
}
Symbol 304 MovieClip Frame 1
stop();
Symbol 304 MovieClip Frame 2
stop();
Symbol 304 MovieClip Frame 3
stop();
Symbol 314 MovieClip Frame 1
stop();
Instance of Symbol 135 MovieClip in Symbol 315 MovieClip Frame 1
onClipEvent (mouseMove) {
if (_root.char.hitTest(this) and (_currentframe == 2)) {
if ((_root.gravswap == 1) or (_root.gravswap == 2)) {
_root.char._x = _x;
}
if (_root.gravswap == 3) {
_root.char._x = _x + 22;
}
if (_root.gravswap == 4) {
_root.char._x = _x - 13;
}
}
}
onClipEvent (enterFrame) {
if (_root.drag == true) {
if ((_root.gravswap == 1) or (_root.gravswap == 2)) {
_root.char._x = _x;
}
if (_root.gravswap == 3) {
_root.char._x = _x + 22;
}
if (_root.gravswap == 4) {
_root.char._x = _x - 13;
}
}
}
onClipEvent (load) {
left = _x;
}
on (press) {
startDrag (this, true, left, this._y, left + 158, _y);
gotoAndStop (2);
if (_root.char.hitTest(this)) {
_root.drag = true;
}
}
onClipEvent (mouseUp) {
stopDrag();
gotoAndStop (1);
if (_root.char.hitTest(this)) {
_root.drag = false;
}
}
on (releaseOutside) {
if (_root.drag == true) {
stopDrag();
gotoAndStop (1);
}
}
Symbol 319 MovieClip Frame 1
stop();
Instance of Symbol 143 MovieClip in Symbol 330 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
if (((((_root.char._rotation == 0) and (_root.gravswap == 1)) or ((_root.char._rotation == 180) and (_root.gravswap == 2))) or ((_root.char._rotation == 90) and (_root.gravswap == 3))) or ((_root.char._rotation == -90) and (_root.gravswap == 4))) {
_root.char.gotoAndStop(5);
}
}
}
Symbol 335 MovieClip Frame 1
stop();
Instance of Symbol 335 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Symbol 376 MovieClip Frame 1
stop();
Symbol 376 MovieClip Frame 2
stop();
Instance of Symbol 376 MovieClip in Symbol 379 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char.gotoAndStop(5);
}
}
Instance of Symbol 376 MovieClip in Symbol 379 MovieClip Frame 50
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
gotoAndStop (2);
_root.char._rotation = 0;
_root.gravswap = 1;
gravity = 0;
_root.drag = false;
_root.drag2 = false;
_root.char._x = _root.restartX;
_root.char._y = _root.restartY;
}
}
Instance of Symbol 135 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (mouseMove) {
if (_root.char.hitTest(this) and (_currentframe == 2)) {
if ((_root.gravswap == 1) or (_root.gravswap == 2)) {
_root.char._x = _x;
}
if (_root.gravswap == 3) {
_root.char._x = _x + 22;
}
if (_root.gravswap == 4) {
_root.char._x = _x - 13;
}
}
}
onClipEvent (enterFrame) {
if (_root.drag == true) {
if ((_root.gravswap == 1) or (_root.gravswap == 2)) {
_root.char._x = _x;
}
if (_root.gravswap == 3) {
_root.char._x = _x + 22;
}
if (_root.gravswap == 4) {
_root.char._x = _x - 13;
}
}
}
onClipEvent (load) {
left = _x;
}
on (press) {
startDrag (this, true, left, this._y, left + 158, _y);
gotoAndStop (2);
if (_root.char.hitTest(this)) {
_root.drag = true;
}
}
onClipEvent (mouseUp) {
stopDrag();
gotoAndStop (1);
if (_root.char.hitTest(this)) {
_root.drag = false;
}
}
on (releaseOutside) {
if (_root.drag == true) {
stopDrag();
gotoAndStop (1);
}
}
Instance of Symbol 136 MovieClip in Symbol 394 MovieClip Frame 1
onClipEvent (mouseMove) {
if (_root.char.hitTest(this) and (_currentframe == 2)) {
_root.char._x = this._x;
}
}
onClipEvent (enterFrame) {
if (_root.drag2 == true) {
_root.char._x = this._x;
}
}
onClipEvent (load) {
left = _x;
}
on (press) {
startDrag (this, true, left, this._y, left + 158, _y);
gotoAndStop (2);
if (_root.char.hitTest(this)) {
_root.drag2 = true;
}
}
onClipEvent (mouseUp) {
stopDrag();
gotoAndStop (1);
if (_root.char.hitTest(this)) {
_root.drag2 = false;
}
}
on (releaseOutside) {
if (_root.drag2 == true) {
stopDrag();
gotoAndStop (1);
}
}
Symbol 398 MovieClip Frame 1
stop();
Symbol 398 MovieClip Frame 2
stop();
Symbol 399 MovieClip Frame 1
stop();
Symbol 399 MovieClip Frame 2
stop();
Symbol 401 MovieClip Frame 1
stop();
Symbol 401 MovieClip Frame 2
stop();
Instance of Symbol 398 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (mouseMove) {
if (_root.char.hitTest(this) and (_currentframe == 2)) {
if ((_root.gravswap == 3) or (_root.gravswap == 4)) {
_root.char._y = _y;
}
if (_root.gravswap == 2) {
_root.char._y = _y + 21;
}
if (_root.gravswap == 1) {
_root.char._y = _y - 13;
}
}
}
onClipEvent (enterFrame) {
if (_root.dragdown == true) {
if ((_root.gravswap == 3) or (_root.gravswap == 4)) {
_root.char._y = _y;
}
if (_root.gravswap == 2) {
_root.char._y = _y + 21;
}
if (_root.gravswap == 1) {
_root.char._y = _y - 13;
}
}
}
onClipEvent (load) {
up = _y;
}
on (press) {
startDrag (this, true, _x, up, _x, up + 158);
gotoAndStop (2);
if (_root.char.hitTest(this)) {
_root.dragdown = true;
}
}
onClipEvent (mouseUp) {
stopDrag();
gotoAndStop (1);
if (_root.char.hitTest(this)) {
_root.dragdown = false;
}
}
on (releaseOutside) {
if (_root.dragdown == true) {
stopDrag();
gotoAndStop (1);
}
}
Instance of Symbol 399 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (mouseMove) {
if (_root.char.hitTest(this) and (_currentframe == 2)) {
if ((_root.gravswap == 3) or (_root.gravswap == 4)) {
_root.char._y = _y;
}
if (_root.gravswap == 2) {
_root.char._y = _y + 21;
}
if (_root.gravswap == 1) {
_root.char._y = _y - 13;
}
}
}
onClipEvent (enterFrame) {
if (_root.dragdown2 == true) {
if ((_root.gravswap == 3) or (_root.gravswap == 4)) {
_root.char._y = _y;
}
if (_root.gravswap == 2) {
_root.char._y = _y + 21;
}
if (_root.gravswap == 1) {
_root.char._y = _y - 13;
}
}
}
onClipEvent (load) {
up = _y;
}
on (press) {
startDrag (this, true, _x, up, _x, up + 158);
gotoAndStop (2);
if (_root.char.hitTest(this)) {
_root.dragdown2 = true;
}
}
onClipEvent (mouseUp) {
stopDrag();
gotoAndStop (1);
if (_root.char.hitTest(this)) {
_root.dragdown2 = false;
}
}
on (releaseOutside) {
if (_root.dragdown2 == true) {
stopDrag();
gotoAndStop (1);
}
}
Instance of Symbol 401 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (mouseMove) {
if (_root.char.hitTest(this) and (_currentframe == 2)) {
if ((_root.gravswap == 3) or (_root.gravswap == 4)) {
_root.char._y = _y;
}
if (_root.gravswap == 2) {
_root.char._y = _y + 21;
}
if (_root.gravswap == 1) {
_root.char._y = _y - 13;
}
}
}
onClipEvent (enterFrame) {
if (_root.dragdown3 == true) {
if ((_root.gravswap == 3) or (_root.gravswap == 4)) {
_root.char._y = _y;
}
if (_root.gravswap == 2) {
_root.char._y = _y + 21;
}
if (_root.gravswap == 1) {
_root.char._y = _y - 13;
}
}
}
onClipEvent (load) {
up = _y;
}
on (press) {
startDrag (this, true, _x, up, _x, up + 158);
gotoAndStop (2);
if (_root.char.hitTest(this)) {
_root.dragdown3 = true;
}
}
onClipEvent (mouseUp) {
stopDrag();
gotoAndStop (1);
if (_root.char.hitTest(this)) {
_root.dragdown3 = false;
}
}
on (releaseOutside) {
if (_root.dragdown3 == true) {
stopDrag();
gotoAndStop (1);
}
}
Instance of Symbol 398 MovieClip in Symbol 408 MovieClip Frame 1
onClipEvent (mouseMove) {
if (_root.char.hitTest(this) and (_currentframe == 2)) {
if ((_root.gravswap == 3) or (_root.gravswap == 4)) {
_root.char._y = _y;
}
if (_root.gravswap == 2) {
_root.char._y = _y + 21;
}
if (_root.gravswap == 1) {
_root.char._y = _y - 13;
}
}
}
onClipEvent (enterFrame) {
if (_root.dragdown == true) {
if ((_root.gravswap == 3) or (_root.gravswap == 4)) {
_root.char._y = _y;
}
if (_root.gravswap == 2) {
_root.char._y = _y + 21;
}
if (_root.gravswap == 1) {
_root.char._y = _y - 13;
}
}
}
onClipEvent (load) {
up = _y;
}
on (press) {
startDrag (this, true, _x, up, _x, up + 158);
gotoAndStop (2);
if (_root.char.hitTest(this)) {
_root.dragdown = true;
}
}
onClipEvent (mouseUp) {
stopDrag();
gotoAndStop (1);
if (_root.char.hitTest(this)) {
_root.dragdown = false;
}
}
on (releaseOutside) {
if (_root.dragdown == true) {
stopDrag();
gotoAndStop (1);
}
}
Instance of Symbol 143 MovieClip in Symbol 411 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
if (((((_root.char._rotation == 0) and (_root.gravswap == 1)) or ((_root.char._rotation == 180) and (_root.gravswap == 2))) or ((_root.char._rotation == 90) and (_root.gravswap == 3))) or ((_root.char._rotation == -90) and (_root.gravswap == 4))) {
_root.char._rotation = 0;
_root.gravswap = 1;
gravity = 0;
_root.drag = false;
_root.drag2 = false;
_root.drag3 = false;
_root.dragdown = false;
_root.dragdown2 = false;
_root.dragdown3 = false;
_root.char._x = _root.restartX;
_root.char._y = _root.restartY;
}
}
}
Symbol 414 MovieClip Frame 1
stop();
Instance of Symbol 248 MovieClip in Symbol 414 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("finish", this);
someSound.start(0, 1);
}
_root.nextFrame();
}
}
Symbol 414 MovieClip Frame 2
stop();
Instance of Symbol 248 MovieClip in Symbol 414 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.nextFrame();
}
}
Instance of Symbol 398 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (mouseMove) {
if (_root.char.hitTest(this) and (_currentframe == 2)) {
if ((_root.gravswap == 3) or (_root.gravswap == 4)) {
_root.char._y = _y;
}
if (_root.gravswap == 2) {
_root.char._y = _y + 21;
}
if (_root.gravswap == 1) {
_root.char._y = _y - 13;
}
}
}
onClipEvent (enterFrame) {
if (_root.dragdown == true) {
if ((_root.gravswap == 3) or (_root.gravswap == 4)) {
_root.char._y = _y;
}
if (_root.gravswap == 2) {
_root.char._y = _y + 21;
}
if (_root.gravswap == 1) {
_root.char._y = _y - 13;
}
}
}
onClipEvent (load) {
up = _y;
}
on (press) {
startDrag (this, true, _x, up, _x, up + 158);
gotoAndStop (2);
if (_root.char.hitTest(this)) {
_root.dragdown = true;
}
}
onClipEvent (mouseUp) {
stopDrag();
gotoAndStop (1);
if (_root.char.hitTest(this)) {
_root.dragdown = false;
}
}
on (releaseOutside) {
if (_root.dragdown == true) {
stopDrag();
gotoAndStop (1);
}
}
Instance of Symbol 414 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (mouseMove) {
if (_root.char.hitTest(this) and (_currentframe == 2)) {
if ((_root.gravswap == 3) or (_root.gravswap == 4)) {
_root.char._y = _y;
}
if (_root.gravswap == 2) {
_root.char._y = _y + 21;
}
if (_root.gravswap == 1) {
_root.char._y = _y - 13;
}
}
}
onClipEvent (enterFrame) {
if (_root.dragdown == true) {
if ((_root.gravswap == 3) or (_root.gravswap == 4)) {
_root.char._y = _y;
}
if (_root.gravswap == 2) {
_root.char._y = _y + 21;
}
if (_root.gravswap == 1) {
_root.char._y = _y - 13;
}
}
}
onClipEvent (load) {
up = _y;
}
on (press) {
startDrag (this, true, _x, up, _x, up + 158);
gotoAndStop (2);
if (_root.char.hitTest(this)) {
_root.dragdown = true;
}
}
onClipEvent (mouseUp) {
stopDrag();
gotoAndStop (1);
if (_root.char.hitTest(this)) {
_root.dragdown = false;
}
}
on (releaseOutside) {
if (_root.dragdown == true) {
stopDrag();
gotoAndStop (1);
}
}
Instance of Symbol 376 MovieClip in Symbol 420 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char.gotoAndStop(5);
}
}
Symbol 420 MovieClip Frame 25
_root.cannon2.gotoAndPlay(2);
Instance of Symbol 376 MovieClip in Symbol 420 MovieClip Frame 50
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
gotoAndStop (2);
_root.char._rotation = 0;
_root.gravswap = 1;
gravity = 0;
_root.drag = false;
_root.drag2 = false;
_root.char._x = _root.restartX;
_root.char._y = _root.restartY;
}
}
Instance of Symbol 376 MovieClip in Symbol 424 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char.gotoAndStop(5);
}
}
Instance of Symbol 376 MovieClip in Symbol 424 MovieClip Frame 50
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.switcher = false;
gotoAndStop (2);
_root.char._rotation = 0;
_root.gravswap = 1;
gravity = 0;
_root.drag = false;
_root.drag2 = false;
_root.char._x = _root.restartX;
_root.char._y = _root.restartY;
}
}
Instance of Symbol 135 MovieClip in Symbol 425 MovieClip Frame 1
onClipEvent (mouseMove) {
if (_root.char.hitTest(this) and (_currentframe == 2)) {
if ((_root.gravswap == 1) or (_root.gravswap == 2)) {
_root.char._x = _x;
}
if (_root.gravswap == 3) {
_root.char._x = _x + 22;
}
if (_root.gravswap == 4) {
_root.char._x = _x - 13;
}
}
}
onClipEvent (enterFrame) {
if (_root.drag == true) {
if ((_root.gravswap == 1) or (_root.gravswap == 2)) {
_root.char._x = _x;
}
if (_root.gravswap == 3) {
_root.char._x = _x + 22;
}
if (_root.gravswap == 4) {
_root.char._x = _x - 13;
}
}
}
onClipEvent (load) {
left = _x;
}
on (press) {
startDrag (this, true, left, this._y, left + 158, _y);
gotoAndStop (2);
if (_root.char.hitTest(this)) {
_root.drag = true;
}
}
onClipEvent (mouseUp) {
stopDrag();
gotoAndStop (1);
if (_root.char.hitTest(this)) {
_root.drag = false;
}
}
on (releaseOutside) {
if (_root.drag == true) {
stopDrag();
gotoAndStop (1);
}
}
Instance of Symbol 431 MovieClip in Symbol 438 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
if (((((_root.char._rotation == 0) and (_root.gravswap == 1)) or ((_root.char._rotation == 180) and (_root.gravswap == 2))) or ((_root.char._rotation == 90) and (_root.gravswap == 3))) or ((_root.char._rotation == -90) and (_root.gravswap == 4))) {
_root.char.gotoAndStop(5);
}
}
}
Instance of Symbol 376 MovieClip in Symbol 447 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char.gotoAndStop(5);
}
}
Instance of Symbol 376 MovieClip in Symbol 447 MovieClip Frame 54
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
gotoAndStop (2);
_root.char._rotation = 0;
_root.gravswap = 1;
gravity = 0;
_root.drag = false;
_root.drag2 = false;
_root.char._x = _root.restartX;
_root.char._y = _root.restartY;
}
}
Instance of Symbol 376 MovieClip in Symbol 449 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char.gotoAndStop(5);
}
}
Symbol 449 MovieClip Frame 54
_root.WEBBROTATION = true;
Instance of Symbol 376 MovieClip in Symbol 449 MovieClip Frame 54
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
gotoAndStop (2);
_root.char._rotation = 0;
_root.gravswap = 1;
gravity = 0;
_root.drag = false;
_root.drag2 = false;
_root.char._x = _root.restartX;
_root.char._y = _root.restartY;
}
}
Symbol 449 MovieClip Frame 70
_root.WEBBROTATION = false;
Instance of Symbol 376 MovieClip in Symbol 452 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char.gotoAndStop(5);
}
}
Instance of Symbol 376 MovieClip in Symbol 452 MovieClip Frame 54
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
gotoAndStop (2);
_root.char._rotation = 0;
_root.gravswap = 1;
gravity = 0;
_root.drag = false;
_root.drag2 = false;
_root.char._x = _root.restartX;
_root.char._y = _root.restartY;
}
}
Instance of Symbol 376 MovieClip in Symbol 455 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char.gotoAndStop(5);
}
}
Instance of Symbol 376 MovieClip in Symbol 455 MovieClip Frame 54
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
gotoAndStop (2);
_root.char._rotation = 0;
_root.gravswap = 1;
gravity = 0;
_root.drag = false;
_root.drag2 = false;
_root.char._x = _root.restartX;
_root.char._y = _root.restartY;
}
}
Instance of Symbol 460 MovieClip in Symbol 461 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.switcher == true) {
_y = (_y + 5);
if (_y > 380) {
_y = 380;
}
} else {
_y = 210;
}
}
Symbol 470 MovieClip Frame 1
stop();
Symbol 470 MovieClip Frame 14
stop();
Symbol 470 MovieClip Frame 26
stop();
Symbol 471 MovieClip Frame 1
stop();
Symbol 471 MovieClip Frame 20
stop();
Instance of Symbol 401 MovieClip in Symbol 474 MovieClip Frame 1
onClipEvent (mouseMove) {
if (_root.char.hitTest(this) and (_currentframe == 2)) {
if ((_root.gravswap == 3) or (_root.gravswap == 4)) {
_root.char._y = _y;
}
if (_root.gravswap == 2) {
_root.char._y = _y + 21;
}
if (_root.gravswap == 1) {
_root.char._y = _y - 13;
}
}
}
onClipEvent (enterFrame) {
if (_root.dragdown3 == true) {
if ((_root.gravswap == 3) or (_root.gravswap == 4)) {
_root.char._y = _y;
}
if (_root.gravswap == 2) {
_root.char._y = _y + 21;
}
if (_root.gravswap == 1) {
_root.char._y = _y - 13;
}
}
}
onClipEvent (load) {
up = _y;
}
on (press) {
startDrag (this, true, _x, up, _x, up + 158);
gotoAndStop (2);
if (_root.char.hitTest(this)) {
_root.dragdown3 = true;
}
}
onClipEvent (mouseUp) {
stopDrag();
gotoAndStop (1);
if (_root.char.hitTest(this)) {
_root.dragdown3 = false;
}
}
on (releaseOutside) {
if (_root.dragdown3 == true) {
stopDrag();
gotoAndStop (1);
}
}
Instance of Symbol 314 MovieClip in Symbol 474 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.switcher == true) {
_y = (_y + 5);
if (_y > 100) {
_y = 100;
}
} else {
_y = 33.6;
}
}
Instance of Symbol 314 MovieClip in Symbol 474 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.switcher == true) {
_y = (_y + 5);
if (_y > 100) {
_y = 100;
}
} else {
_y = 33.6;
}
}
Instance of Symbol 401 MovieClip in Symbol 477 MovieClip Frame 1
onClipEvent (mouseMove) {
if (_root.char.hitTest(this) and (_currentframe == 2)) {
if ((_root.gravswap == 3) or (_root.gravswap == 4)) {
_root.char._y = _y;
}
if (_root.gravswap == 2) {
_root.char._y = _y + 21;
}
if (_root.gravswap == 1) {
_root.char._y = _y - 13;
}
}
}
onClipEvent (enterFrame) {
if (_root.dragdown3 == true) {
if ((_root.gravswap == 3) or (_root.gravswap == 4)) {
_root.char._y = _y;
}
if (_root.gravswap == 2) {
_root.char._y = _y + 21;
}
if (_root.gravswap == 1) {
_root.char._y = _y - 13;
}
}
}
onClipEvent (load) {
up = _y;
}
on (press) {
startDrag (this, true, _x, up, _x, up + 158);
gotoAndStop (2);
if (_root.char.hitTest(this)) {
_root.dragdown3 = true;
}
}
onClipEvent (mouseUp) {
stopDrag();
gotoAndStop (1);
if (_root.char.hitTest(this)) {
_root.dragdown3 = false;
}
}
on (releaseOutside) {
if (_root.dragdown3 == true) {
stopDrag();
gotoAndStop (1);
}
}
Instance of Symbol 135 MovieClip in Symbol 477 MovieClip Frame 1
onClipEvent (mouseMove) {
if (_root.char.hitTest(this) and (_currentframe == 2)) {
if ((_root.gravswap == 1) or (_root.gravswap == 2)) {
_root.char._x = _x;
}
if (_root.gravswap == 3) {
_root.char._x = _x + 22;
}
if (_root.gravswap == 4) {
_root.char._x = _x - 13;
}
}
}
onClipEvent (enterFrame) {
if (_root.drag == true) {
if ((_root.gravswap == 1) or (_root.gravswap == 2)) {
_root.char._x = _x;
}
if (_root.gravswap == 3) {
_root.char._x = _x + 22;
}
if (_root.gravswap == 4) {
_root.char._x = _x - 13;
}
}
}
onClipEvent (load) {
left = _x;
}
on (press) {
startDrag (this, true, left, this._y, left + 158, _y);
gotoAndStop (2);
if (_root.char.hitTest(this)) {
_root.drag = true;
}
}
onClipEvent (mouseUp) {
stopDrag();
gotoAndStop (1);
if (_root.char.hitTest(this)) {
_root.drag = false;
}
}
on (releaseOutside) {
if (_root.drag == true) {
stopDrag();
gotoAndStop (1);
}
}
Instance of Symbol 398 MovieClip in Symbol 477 MovieClip Frame 1
onClipEvent (mouseMove) {
if (_root.char.hitTest(this) and (_currentframe == 2)) {
if ((_root.gravswap == 3) or (_root.gravswap == 4)) {
_root.char._y = _y;
}
if (_root.gravswap == 2) {
_root.char._y = _y + 21;
}
if (_root.gravswap == 1) {
_root.char._y = _y - 13;
}
}
}
onClipEvent (enterFrame) {
if (_root.dragdown == true) {
if ((_root.gravswap == 3) or (_root.gravswap == 4)) {
_root.char._y = _y;
}
if (_root.gravswap == 2) {
_root.char._y = _y + 21;
}
if (_root.gravswap == 1) {
_root.char._y = _y - 13;
}
}
}
onClipEvent (load) {
up = _y;
}
on (press) {
startDrag (this, true, _x, up, _x, up + 158);
gotoAndStop (2);
if (_root.char.hitTest(this)) {
_root.dragdown = true;
}
}
onClipEvent (mouseUp) {
stopDrag();
gotoAndStop (1);
if (_root.char.hitTest(this)) {
_root.dragdown = false;
}
}
on (releaseOutside) {
if (_root.dragdown == true) {
stopDrag();
gotoAndStop (1);
}
}
Instance of Symbol 483 MovieClip in Symbol 484 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.switcher == true) {
_y = (_y - 5);
if (_y <= 70) {
_y = 70;
}
} else {
_y = 120;
}
}
Instance of Symbol 483 MovieClip in Symbol 484 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.switcher == true) {
_y = (_y - 5);
if (_y <= 90) {
_y = 90;
}
} else {
_y = 120;
}
}
Instance of Symbol 483 MovieClip in Symbol 484 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.switcher == true) {
_y = (_y - 5);
if (_y <= 50) {
_y = 50;
}
} else {
_y = 120;
}
}
Instance of Symbol 488 MovieClip in Symbol 489 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.switcher == true) {
_x = (_x - 5);
}
if (_x < 50) {
_x = 50;
} else if (_root.switcher == false) {
_x = 195;
}
}
Instance of Symbol 135 MovieClip in Symbol 498 MovieClip Frame 1
onClipEvent (mouseMove) {
if (_root.char.hitTest(this) and (_currentframe == 2)) {
if ((_root.gravswap == 1) or (_root.gravswap == 2)) {
_root.char._x = _x;
}
if (_root.gravswap == 3) {
_root.char._x = _x + 22;
}
if (_root.gravswap == 4) {
_root.char._x = _x - 13;
}
}
}
onClipEvent (enterFrame) {
if (_root.drag == true) {
if ((_root.gravswap == 1) or (_root.gravswap == 2)) {
_root.char._x = _x;
}
if (_root.gravswap == 3) {
_root.char._x = _x + 22;
}
if (_root.gravswap == 4) {
_root.char._x = _x - 13;
}
}
}
onClipEvent (load) {
left = _x;
}
on (press) {
startDrag (this, true, left, this._y, left + 158, _y);
gotoAndStop (2);
if (_root.char.hitTest(this)) {
_root.drag = true;
}
}
onClipEvent (mouseUp) {
stopDrag();
gotoAndStop (1);
if (_root.char.hitTest(this)) {
_root.drag = false;
}
}
on (releaseOutside) {
if (_root.drag == true) {
stopDrag();
gotoAndStop (1);
}
}
Symbol 523 MovieClip Frame 1
stop();
Symbol 525 MovieClip Frame 1
stop();
Symbol 527 MovieClip Frame 1
stop();
Symbol 531 MovieClip Frame 555
stopAllSounds();
_root.gotoAndStop(5);