Frame 1
function doSomething() {
getURL ("http://www.eggysgames", "_blank");
}
function doSomething2() {
getURL ("http://www.shibbymedia.net/", "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("Shibby Media", 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 72 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 134 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 135 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 179 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 182 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 226 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 232 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 238 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 249 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 262 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.controlsone == 1) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 179 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 288 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 305 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 179 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 249 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 179 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 249 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 182 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 182 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 182 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 182 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 182 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 182 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 413 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 413 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 182 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 413 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 249 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 380 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 380 MovieClip "cannon2" in Frame 25
onClipEvent (load) {
stop();
}
Instance of Symbol 413 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 459 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.WEBBROTATION == true) {
_rotation = (_rotation + 5.625);
}
}
Instance of Symbol 459 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.WEBBROTATION == true) {
_rotation = (_rotation + 5.625);
}
}
Instance of Symbol 459 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.WEBBROTATION == true) {
_rotation = (_rotation + 5.625);
}
}
Instance of Symbol 459 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 475 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 459 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (_root.WEBBROTATION == true) {
_rotation = (_rotation + 5.625);
}
}
Instance of Symbol 182 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 182 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 182 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 475 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 179 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 475 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 249 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 182 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 459 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (_root.WEBBROTATION == true) {
_rotation = (_rotation + 5.625);
}
}
Instance of Symbol 459 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (_root.WEBBROTATION == true) {
_rotation = (_rotation + 5.625);
}
}
Instance of Symbol 459 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 47 Button
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Symbol 53 MovieClip Frame 81
_root.nextFrame();
Symbol 63 MovieClip Frame 58
stop();
Symbol 72 MovieClip Frame 155
stopAllSounds();
_root.nextFrame();
Symbol 76 MovieClip Frame 96
_root.nextFrame();
Symbol 79 Button
on (release) {
getURL ("http://www.pinenana.com/", "blank");
}
Symbol 108 MovieClip Frame 1
stop();
Symbol 110 MovieClip Frame 1
stop();
Symbol 114 MovieClip Frame 1
stop();
Symbol 134 MovieClip Frame 1
stop();
Symbol 134 MovieClip Frame 2
stop();
Symbol 135 MovieClip Frame 1
stop();
Symbol 135 MovieClip Frame 2
stop();
Instance of Symbol 142 MovieClip in Symbol 143 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 156 MovieClip Frame 1
stop();
Symbol 158 MovieClip Frame 1
stop();
Symbol 171 MovieClip Frame 1
stop();
Symbol 173 MovieClip Frame 1
stop();
Symbol 175 MovieClip Frame 1
stop();
Symbol 178 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 179 MovieClip Frame 1
stop();
Symbol 179 MovieClip Frame 2
stop();
Symbol 179 MovieClip Frame 3
stop();
Symbol 179 MovieClip Frame 4
stop();
Symbol 179 MovieClip Frame 5
stop();
if (_root.sound == true) {
someSound = new Sound();
someSound.attachSound("die", this);
someSound.start(0, 1);
}
Instance of Symbol 142 MovieClip in Symbol 182 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 188 Button
on (press) {
_root.nextFrame();
}
Symbol 191 Button
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Symbol 194 Button
on (release) {
getURL ("http://www.armorblog.com", "blank");
}
Symbol 195 Button
on (release) {
getURL ("http://www.pinenana.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 226 MovieClip Frame 1
stop();
Symbol 226 MovieClip Frame 2
stop();
Symbol 232 MovieClip Frame 1
stop();
Symbol 232 MovieClip Frame 2
stop();
Symbol 238 MovieClip Frame 1
stop();
Symbol 238 MovieClip Frame 2
stop();
Symbol 247 MovieClip Frame 8
stop();
Instance of Symbol 134 MovieClip in Symbol 259 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 262 MovieClip Frame 1
stop();
Symbol 262 MovieClip Frame 2
stop();
Symbol 270 MovieClip Frame 16
stop();
Instance of Symbol 270 MovieClip in Symbol 273 MovieClip Frame 1
onClipEvent (load) {
this.play();
}
Symbol 274 MovieClip Frame 1
stop();
Instance of Symbol 270 MovieClip in Symbol 274 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Symbol 274 MovieClip Frame 2
stop();
Symbol 275 MovieClip Frame 1
stop();
Instance of Symbol 270 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Symbol 275 MovieClip Frame 2
stop();
Symbol 280 MovieClip Frame 1
stop();
Symbol 280 MovieClip Frame 2
stop();
Symbol 281 MovieClip Frame 1
stop();
Instance of Symbol 270 MovieClip in Symbol 281 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Symbol 281 MovieClip Frame 2
stop();
Symbol 285 MovieClip Frame 15
stop();
Symbol 287 MovieClip Frame 1
stop();
Instance of Symbol 274 MovieClip in Symbol 288 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 275 MovieClip in Symbol 288 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 280 MovieClip in Symbol 288 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 281 MovieClip in Symbol 288 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 294 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 296 Button
on (press) {
stopAllSounds();
_root.gotoAndStop(5);
}
Instance of Symbol 134 MovieClip in Symbol 300 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 135 MovieClip in Symbol 300 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 305 MovieClip Frame 1
stop();
Symbol 305 MovieClip Frame 2
stop();
Symbol 305 MovieClip Frame 3
stop();
Symbol 315 MovieClip Frame 1
stop();
Instance of Symbol 134 MovieClip in Symbol 316 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 320 MovieClip Frame 1
stop();
Instance of Symbol 142 MovieClip in Symbol 331 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 336 MovieClip Frame 1
stop();
Instance of Symbol 336 MovieClip in Symbol 337 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
this.play();
}
}
Symbol 377 MovieClip Frame 1
stop();
Symbol 377 MovieClip Frame 2
stop();
Instance of Symbol 377 MovieClip in Symbol 380 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char.gotoAndStop(5);
}
}
Instance of Symbol 377 MovieClip in Symbol 380 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 134 MovieClip in Symbol 395 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 135 MovieClip in Symbol 395 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 400 MovieClip Frame 1
stop();
Symbol 400 MovieClip Frame 2
stop();
Symbol 401 MovieClip Frame 1
stop();
Symbol 401 MovieClip Frame 2
stop();
Symbol 403 MovieClip Frame 1
stop();
Symbol 403 MovieClip Frame 2
stop();
Instance of Symbol 400 MovieClip in Symbol 404 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 401 MovieClip in Symbol 404 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 403 MovieClip in Symbol 404 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 400 MovieClip in Symbol 410 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 142 MovieClip in Symbol 413 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 417 MovieClip Frame 1
stop();
Instance of Symbol 249 MovieClip in Symbol 417 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 417 MovieClip Frame 2
stop();
Instance of Symbol 249 MovieClip in Symbol 417 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.nextFrame();
}
}
Instance of Symbol 400 MovieClip in Symbol 418 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 417 MovieClip in Symbol 418 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 377 MovieClip in Symbol 423 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char.gotoAndStop(5);
}
}
Symbol 423 MovieClip Frame 25
_root.cannon2.gotoAndPlay(2);
Instance of Symbol 377 MovieClip in Symbol 423 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 377 MovieClip in Symbol 427 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char.gotoAndStop(5);
}
}
Instance of Symbol 377 MovieClip in Symbol 427 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 134 MovieClip in Symbol 428 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 434 MovieClip in Symbol 441 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 377 MovieClip in Symbol 450 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char.gotoAndStop(5);
}
}
Instance of Symbol 377 MovieClip in Symbol 450 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 377 MovieClip in Symbol 452 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char.gotoAndStop(5);
}
}
Symbol 452 MovieClip Frame 54
_root.WEBBROTATION = true;
Instance of Symbol 377 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;
}
}
Symbol 452 MovieClip Frame 70
_root.WEBBROTATION = false;
Instance of Symbol 377 MovieClip in Symbol 455 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char.gotoAndStop(5);
}
}
Instance of Symbol 377 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 377 MovieClip in Symbol 458 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char.gotoAndStop(5);
}
}
Instance of Symbol 377 MovieClip in Symbol 458 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 463 MovieClip in Symbol 464 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.switcher == true) {
_y = (_y + 5);
if (_y > 380) {
_y = 380;
}
} else {
_y = 210;
}
}
Symbol 474 MovieClip Frame 1
stop();
Symbol 474 MovieClip Frame 14
stop();
Symbol 474 MovieClip Frame 26
stop();
Symbol 475 MovieClip Frame 1
stop();
Symbol 475 MovieClip Frame 20
stop();
Instance of Symbol 403 MovieClip in Symbol 478 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 315 MovieClip in Symbol 478 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.switcher == true) {
_y = (_y + 5);
if (_y > 100) {
_y = 100;
}
} else {
_y = 33.6;
}
}
Instance of Symbol 315 MovieClip in Symbol 478 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.switcher == true) {
_y = (_y + 5);
if (_y > 100) {
_y = 100;
}
} else {
_y = 33.6;
}
}
Instance of Symbol 403 MovieClip in Symbol 481 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 134 MovieClip in Symbol 481 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 400 MovieClip in Symbol 481 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 487 MovieClip in Symbol 488 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.switcher == true) {
_y = (_y - 5);
if (_y <= 70) {
_y = 70;
}
} else {
_y = 120;
}
}
Instance of Symbol 487 MovieClip in Symbol 488 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.switcher == true) {
_y = (_y - 5);
if (_y <= 90) {
_y = 90;
}
} else {
_y = 120;
}
}
Instance of Symbol 487 MovieClip in Symbol 488 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.switcher == true) {
_y = (_y - 5);
if (_y <= 50) {
_y = 50;
}
} else {
_y = 120;
}
}
Instance of Symbol 492 MovieClip in Symbol 493 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 134 MovieClip in Symbol 502 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 528 MovieClip Frame 1
stop();
Symbol 530 MovieClip Frame 1
stop();
Symbol 532 MovieClip Frame 1
stop();
Symbol 536 MovieClip Frame 555
stopAllSounds();
_root.gotoAndStop(5);