Frame 1
function doSomething() {
}
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned = new ContextMenuItem("Shibby 2006", doSomething);
MENU.customItems.push(Functioned);
_root.menu = MENU;
Frame 2
playGame = true;
score = 0;
left = 0;
top = 0;
step = 0;
i = 0;
while (i < 100) {
name = "mc" + i;
_root.t.attachMovie("background", name, 1000 + i);
_root.t[name]._x = left;
_root.t[name]._y = top;
_root.t[name].gotoAndStop(1);
left = left + 36;
if (step == 9) {
left = 0;
top = top + 36;
step = 0;
} else {
step++;
}
i++;
}
t._alpha = 30;
restart = function () {
var _local1 = _root;
_local1.hero._x = 52.4;
_local1.hero._y = 215.4;
_local1.hero.gotoAndStop(1);
playGame = true;
};
stop();
Stage.showMenu = false;
playGame = true;
score = 0;
left = 0;
top = 0;
step = 0;
i = 0;
while (i < 100) {
name = "mc" + i;
_root.t.attachMovie("background", name, 1000 + i);
_root.t[name]._x = left;
_root.t[name]._y = top;
_root.t[name].gotoAndStop(1);
left = left + 36;
if (step == 9) {
left = 0;
top = top + 36;
step = 0;
} else {
step++;
}
i++;
}
t._alpha = 30;
restart = function () {
var _local1 = _root;
_local1.hero._x = 52.4;
_local1.hero._y = 215.4;
_local1.hero.gotoAndStop(1);
playGame = true;
};
stop();
Frame 3
stopAllSounds();
stop();
Frame 4
playGame = true;
score = 0;
left = 0;
top = 0;
step = 0;
i = 0;
while (i < 100) {
name = "mc" + i;
_root.t.attachMovie("background", name, 1000 + i);
_root.t[name]._x = left;
_root.t[name]._y = top;
_root.t[name].gotoAndStop(1);
left = left + 36;
if (step == 9) {
left = 0;
top = top + 36;
step = 0;
} else {
step++;
}
i++;
}
t._alpha = 30;
restart = function () {
var _local1 = _root;
_local1.hero._x = 52.4;
_local1.hero._y = 215.4;
_local1.hero.gotoAndStop(1);
playGame = true;
};
stop();
alive == true;
Instance of Symbol 236 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.hero.gotoAndStop(3);
_root.Flash.play();
}
}
Instance of Symbol 238 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.hero.gotoAndStop(3);
_root.Flash.play();
}
}
Instance of Symbol 236 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.hero.gotoAndStop(3);
_root.Flash.play();
}
}
Instance of Symbol 238 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.hero.gotoAndStop(3);
_root.Flash.play();
}
}
Instance of Symbol 195 MovieClip "c1" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c1.gotoAndStop(18);
}
}
Instance of Symbol 244 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndPlay(12);
_root.restart();
_root.nextFrame();
}
}
Instance of Symbol 195 MovieClip "c2" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c2.gotoAndStop(18);
}
}
Instance of Symbol 252 MovieClip "hero" in Frame 4
onClipEvent (load) {
function move(x, y) {
var _local1 = y;
var _local2 = x;
var _local3 = _root;
h = false;
if (!_local3.map.hitTest((_x + _local2) + b.xmin, (_y + _local1) + b.ymin, true)) {
if (!_local3.map.hitTest((_x + _local2) + b.xmax, (_y + _local1) + b.ymin, true)) {
if (!_local3.map.hitTest((_x + _local2) + b.xmin, (_y + _local1) + b.ymax, true)) {
if (!_local3.map.hitTest((_x + _local2) + b.xmax, (_y + _local1) + b.ymax, true)) {
_x = (_x + _local2);
_y = (_y + _local1);
h = true;
}
}
}
}
return(h);
}
this.stop();
s = 4;
jumping = false;
b = this.getBounds(this);
}
onClipEvent (enterFrame) {
if (_root.playGame) {
falling = move(0, s);
if ((Key.isDown(38) && (!falling)) && (!jumping)) {
jumping = true;
vel = -12;
_root.jumpSound.gotoAndPlay(2);
}
if (Key.isDown(37)) {
move(-s, 0);
this.gotoAndStop(2);
this.sonic.play();
}
if (Key.isDown(39)) {
move(s, 0);
this.gotoAndStop(1);
this.sonic.play();
}
if (Key.isDown(32)) {
_root.sonic.gotoAndStop(15);
}
if (jumping) {
if (vel <= 12) {
h = move(0, vel - s);
if ((h == false) && (vel < 0)) {
vel = vel * -1;
}
vel++;
} else {
jumping = false;
}
}
}
}
onClipEvent (keyUp) {
this.sonic.gotoAndStop(1);
}
Instance of Symbol 195 MovieClip "c422" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c422.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c270" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c270.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c272" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c272.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c271" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c271.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c274" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c274.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c273" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c273.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c480" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c480.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c479" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c479.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c478" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c478.gotoAndStop(18);
}
}
Instance of Symbol 264 MovieClip "enemy1" in Frame 4
onClipEvent (load) {
if (alive == true) {
}
n = -1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 310) {
count = 0;
n = -n;
this._xscale = -this._xscale;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.sword)) {
play();
}
}
Frame 5
left = 0;
top = 0;
step = 0;
stop();
Instance of Symbol 195 MovieClip "c4" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c4.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c3" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c3.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c7" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c7.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c6" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c6.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c798" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c798.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c799" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c799.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c424" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c424.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c290" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c290.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c292" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c292.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c291" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c291.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c294" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c294.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c293" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c293.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c490" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c490.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c499" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c499.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c498" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c498.gotoAndStop(18);
}
}
Frame 6
left = 0;
top = 0;
step = 0;
stop();
Instance of Symbol 236 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.hero.gotoAndStop(3);
_root.Flash.play();
}
}
Instance of Symbol 236 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.hero.gotoAndStop(3);
_root.Flash.play();
}
}
Instance of Symbol 238 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.hero.gotoAndStop(3);
_root.Flash.play();
}
}
Instance of Symbol 264 MovieClip "enemy1" in Frame 6
onClipEvent (load) {
if (alive == true) {
}
n = -1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 150) {
count = 0;
n = -n;
this._xscale = -this._xscale;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.sword)) {
play();
}
}
Instance of Symbol 195 MovieClip "c28" in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c28.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c27" in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c27.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c25" in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c25.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c24" in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c24.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c22" in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c22.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c21" in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c21.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c26" in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c26.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c23" in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c23.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c1" in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c1.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c2" in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c2.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c30" in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c30.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c29" in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c29.gotoAndStop(18);
}
}
Frame 7
closestcode = "shibby";
left = 0;
top = 0;
step = 0;
stop();
Instance of Symbol 238 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.hero.gotoAndStop(3);
_root.Flash.play();
}
}
Instance of Symbol 238 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.hero.gotoAndStop(3);
_root.Flash.play();
}
}
Instance of Symbol 195 MovieClip "c33" in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c33.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c32" in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c32.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c35" in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c35.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c34" in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c34.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c37" in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c37.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c36" in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c36.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c39" in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c39.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c38" in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c38.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c40" in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c40.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c339" in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c339.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c31" in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c31.gotoAndStop(18);
}
}
Instance of Symbol 276 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.health.gotoAndStop(1);
play();
}
}
Frame 8
left = 0;
top = 0;
step = 0;
stop();
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.hero.gotoAndStop(3);
_root.Flash.play();
}
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.hero.gotoAndStop(3);
_root.Flash.play();
}
}
Instance of Symbol 244 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.hero.gotoAndStop(3);
_root.Flash.play();
_root.restart();
}
}
Instance of Symbol 244 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.restart();
}
}
Instance of Symbol 264 MovieClip "enemy1" in Frame 8
onClipEvent (load) {
if (alive == true) {
}
n = -1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 150) {
count = 0;
n = -n;
this._xscale = -this._xscale;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.sword)) {
play();
}
}
Instance of Symbol 195 MovieClip "c251" in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c251.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c250" in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c250.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c257" in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c257.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c258" in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c258.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c256" in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c256.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c255" in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c255.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c260" in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c260.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c259" in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c259.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c254" in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c254.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c253" in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c253.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c252" in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c252.gotoAndStop(18);
}
}
Frame 9
left = 0;
top = 0;
step = 0;
stop();
Instance of Symbol 238 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.hero.gotoAndStop(3);
_root.Flash.play();
}
}
Instance of Symbol 195 MovieClip "c44" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c44.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c43" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c43.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c47" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c47.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c48" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c48.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c46" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c46.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c45" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c45.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c49" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c49.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c42" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c42.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c41" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c41.gotoAndStop(18);
}
}
Frame 10
left = 0;
top = 0;
step = 0;
stop();
Instance of Symbol 236 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.hero.gotoAndStop(3);
_root.Flash.play();
}
}
Instance of Symbol 195 MovieClip "c53" in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c53.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c52" in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c52.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c55" in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c55.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c57" in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c57.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c51" in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c51.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c50" in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c50.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c58" in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c58.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c56" in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c56.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c54" in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c54.gotoAndStop(18);
}
}
Frame 11
left = 0;
top = 0;
step = 0;
stop();
Instance of Symbol 195 MovieClip "c60" in Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c60.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c59" in Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c59.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c69" in Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c69.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c62" in Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c62.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c61" in Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c61.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c64" in Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c64.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c63" in Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c63.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c66" in Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c66.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c65" in Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c65.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c68" in Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c68.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c67" in Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c67.gotoAndStop(18);
}
}
Instance of Symbol 264 MovieClip "enemy1" in Frame 11
onClipEvent (load) {
if (alive == true) {
}
n = -1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 110) {
count = 0;
n = -n;
this._xscale = -this._xscale;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.sword)) {
play();
}
}
Frame 12
stopAllSounds();
left = 0;
top = 0;
step = 0;
stop();
Frame 13
closestcode = "miniskirt";
left = 0;
top = 0;
step = 0;
stop();
Instance of Symbol 244 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.hero.gotoAndStop(3);
_root.Flash.play();
_root.restart();
}
}
Instance of Symbol 244 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndPlay(12);
_root.restart();
_root.nextFrame();
}
}
Instance of Symbol 252 MovieClip "hero" in Frame 13
onClipEvent (load) {
function move(x, y) {
var _local1 = y;
var _local2 = x;
var _local3 = _root;
h = false;
if (!_local3.map.hitTest((_x + _local2) + b.xmin, (_y + _local1) + b.ymin, true)) {
if (!_local3.map.hitTest((_x + _local2) + b.xmax, (_y + _local1) + b.ymin, true)) {
if (!_local3.map.hitTest((_x + _local2) + b.xmin, (_y + _local1) + b.ymax, true)) {
if (!_local3.map.hitTest((_x + _local2) + b.xmax, (_y + _local1) + b.ymax, true)) {
_x = (_x + _local2);
_y = (_y + _local1);
h = true;
}
}
}
}
return(h);
}
this.stop();
s = 4;
jumping = false;
b = this.getBounds(this);
}
onClipEvent (enterFrame) {
if (_root.playGame) {
falling = move(0, s);
if ((Key.isDown(38) && (!falling)) && (!jumping)) {
jumping = true;
vel = -12;
_root.jumpSound.gotoAndPlay(2);
}
if (Key.isDown(37)) {
move(-s, 0);
this.gotoAndStop(2);
this.sonic.play();
}
if (Key.isDown(39)) {
move(s, 0);
this.gotoAndStop(1);
this.sonic.play();
}
if (Key.isDown(32)) {
_root.sonic.gotoAndStop(15);
}
if (jumping) {
if (vel <= 12) {
h = move(0, vel - s);
if ((h == false) && (vel < 0)) {
vel = vel * -1;
}
vel++;
} else {
jumping = false;
}
}
}
}
onClipEvent (keyUp) {
this.sonic.gotoAndStop(1);
}
Instance of Symbol 276 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.health.gotoAndStop(1);
play();
}
}
Frame 14
closestcode = "aftermini";
left = 0;
top = 0;
step = 0;
stop();
stopAllSounds();
Instance of Symbol 195 MovieClip "c1" in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c1.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c70" in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c70.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c72" in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c72.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c71" in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c71.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c74" in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c74.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c73" in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c73.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c75" in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c75.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c80" in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c80.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c77" in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c77.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c76" in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c76.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c79" in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c79.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c78" in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c78.gotoAndStop(18);
}
}
Instance of Symbol 347 MovieClip "enemy1" in Frame 14
onClipEvent (load) {
if (alive == true) {
}
n = -1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 140) {
count = 0;
n = -n;
this._xscale = -this._xscale;
}
}
Frame 15
left = 0;
top = 0;
step = 0;
stop();
Instance of Symbol 195 MovieClip "c83" in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c83.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c86" in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c86.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c85" in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c85.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c82" in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c82.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c81" in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c81.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c87" in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c87.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c92" in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c92.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c89" in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c89.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c88" in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c88.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c91" in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c91.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c90" in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c90.gotoAndStop(18);
}
}
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
play();
}
}
Frame 16
left = 0;
top = 0;
step = 0;
stop();
Instance of Symbol 356 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.hero.gotoAndStop(3);
_root.Flash.play();
}
}
Instance of Symbol 195 MovieClip "c95" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c95.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c100" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c100.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c94" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c94.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c93" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c93.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c101" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c101.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c106" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c106.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c103" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c103.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c102" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c102.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c105" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c105.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c104" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c104.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c96" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c96.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c98" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c98.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c97" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c97.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c99" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c99.gotoAndStop(18);
}
}
Instance of Symbol 347 MovieClip "enemy1" in Frame 16
onClipEvent (load) {
if (alive == true) {
}
n = -1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 105) {
count = 0;
n = -n;
this._xscale = -this._xscale;
}
}
Frame 17
left = 0;
top = 0;
step = 0;
stop();
Instance of Symbol 195 MovieClip "c110" in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c110.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c111" in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c111.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c108" in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c108.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c107" in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c107.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c115" in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c115.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c119" in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c119.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c116" in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c116.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c118" in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c118.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c117" in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c117.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c109" in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c109.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c113" in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c113.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c112" in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c112.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c114" in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c114.gotoAndStop(18);
}
}
Frame 18
left = 0;
top = 0;
step = 0;
stop();
Instance of Symbol 195 MovieClip "c121" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c121.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c120" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c120.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c132" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c132.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c129" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c129.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c131" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c131.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c130" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c130.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c122" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c122.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c124" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c124.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c123" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c123.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c125" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c125.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c128" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c128.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c127" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c127.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c126" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c126.gotoAndStop(18);
}
}
Instance of Symbol 347 MovieClip "enemy1" in Frame 18
onClipEvent (load) {
if (alive == true) {
}
n = -1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 310) {
count = 0;
n = -n;
this._xscale = -this._xscale;
}
}
Instance of Symbol 276 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.health.gotoAndStop(1);
play();
}
}
Frame 19
closestcode = "impossible";
left = 0;
top = 0;
step = 0;
stop();
Instance of Symbol 356 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.hero.gotoAndStop(3);
_root.Flash.play();
}
}
Instance of Symbol 356 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.hero.gotoAndStop(3);
_root.Flash.play();
}
}
Instance of Symbol 356 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.hero.gotoAndStop(3);
_root.Flash.play();
}
}
Instance of Symbol 356 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.hero.gotoAndStop(3);
_root.Flash.play();
}
}
Instance of Symbol 356 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.hero.gotoAndStop(3);
_root.Flash.play();
}
}
Instance of Symbol 356 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.hero.gotoAndStop(3);
_root.Flash.play();
}
}
Instance of Symbol 195 MovieClip "c135" in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c135.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c134" in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c134.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c146" in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c1.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c143" in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c143.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c145" in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c145.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c144" in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c144.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c136" in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c136.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c138" in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c138.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c137" in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c137.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c139" in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c139.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c142" in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c142.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c141" in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c141.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c140" in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c140.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c133" in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c133.gotoAndStop(18);
}
}
Frame 20
left = 0;
top = 0;
step = 0;
stop();
Instance of Symbol 195 MovieClip "c148" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c148.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c147" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c147.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c158" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c158.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c155" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c155.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c157" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c157.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c156" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c156.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c149" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c149.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c151" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c151.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c150" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c150.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c154" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c154.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c153" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c153.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c152" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c152.gotoAndStop(18);
}
}
Instance of Symbol 347 MovieClip "enemy1" in Frame 20
onClipEvent (load) {
if (alive == true) {
}
n = -1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 120) {
count = 0;
n = -n;
this._xscale = -this._xscale;
}
}
Frame 21
left = 0;
top = 0;
step = 0;
stop();
Instance of Symbol 356 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.hero.gotoAndStop(3);
_root.Flash.play();
}
}
Instance of Symbol 195 MovieClip "c159" in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c159.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c160" in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c160.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c170" in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c170.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c167" in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c167.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c169" in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c169.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c168" in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c168.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c162" in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c162.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c166" in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c166.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c161" in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c161.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c163" in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c163.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c165" in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c165.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c164" in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c164.gotoAndStop(18);
}
}
Instance of Symbol 276 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.health.gotoAndStop(1);
play();
}
}
Frame 22
left = 0;
top = 0;
step = 0;
stop();
Instance of Symbol 356 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.hero.gotoAndStop(3);
_root.Flash.play();
}
}
Instance of Symbol 356 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.hero.gotoAndStop(3);
_root.Flash.play();
}
}
Instance of Symbol 356 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.hero.gotoAndStop(3);
_root.Flash.play();
}
}
Instance of Symbol 195 MovieClip "c172" in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c172.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c171" in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c171.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c184" in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c184.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c181" in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c181.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c183" in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c183.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c182" in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c182.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c173" in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c173.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c176" in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c176.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c175" in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c175.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c177" in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c177.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c180" in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c180.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c179" in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c179.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c178" in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c178.gotoAndStop(18);
}
}
Instance of Symbol 347 MovieClip "enemy1" in Frame 22
onClipEvent (load) {
if (alive == true) {
}
n = -1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 150) {
count = 0;
n = -n;
this._xscale = -this._xscale;
}
}
Frame 23
left = 0;
top = 0;
step = 0;
stop();
Instance of Symbol 195 MovieClip "c186" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c186.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c185" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c185.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c197" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c197.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c194" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c194.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c196" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c196.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c195" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c195.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c187" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c187.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c189" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c189.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c188" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c188.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c190" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c190.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c193" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c193.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c192" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c192.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c191" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c191.gotoAndStop(18);
}
}
Instance of Symbol 276 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.health.gotoAndStop(1);
play();
}
}
Frame 24
left = 0;
top = 0;
step = 0;
stop();
Instance of Symbol 195 MovieClip "c200" in Frame 24
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c200.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c199" in Frame 24
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c199.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c207" in Frame 24
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c207.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c204" in Frame 24
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c204.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c206" in Frame 24
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c206.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c205" in Frame 24
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c205.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c198" in Frame 24
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c198.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c203" in Frame 24
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c203.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c202" in Frame 24
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c202.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c201" in Frame 24
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c201.gotoAndStop(18);
}
}
Frame 25
left = 0;
top = 0;
step = 0;
stop();
Instance of Symbol 195 MovieClip "c211" in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c211.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c209" in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c209.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c208" in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c208.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c214" in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c214.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c216" in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c216.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c215" in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c215.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c210" in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c210.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c212" in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c212.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c213" in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c213.gotoAndStop(18);
}
}
Frame 26
left = 0;
top = 0;
step = 0;
stop();
Instance of Symbol 356 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.Flash.play();
}
}
Instance of Symbol 195 MovieClip "c220" in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c220.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c218" in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c218.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c217" in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c217.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c221" in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c221.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c225" in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c225.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c224" in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c224.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c219" in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c219.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c222" in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c222.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c223" in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c223.gotoAndStop(18);
}
}
Frame 27
closestcode = "beforethefall";
left = 0;
top = 0;
step = 0;
stop();
Instance of Symbol 195 MovieClip "c227" in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c227.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c226" in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c226.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c239" in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c239.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c235" in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c235.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c238" in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c238.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c237" in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c237.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c228" in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c228.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c230" in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c230.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c229" in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c229.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c231" in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c231.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c234" in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c234.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c233" in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c233.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c232" in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c232.gotoAndStop(18);
}
}
Instance of Symbol 183 MovieClip in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
play();
}
}
Frame 28
left = 0;
top = 0;
step = 0;
stop();
stopAllSounds();
Frame 29
left = 0;
top = 0;
step = 0;
stop();
Instance of Symbol 244 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.hero.gotoAndStop(3);
_root.Flash.play();
_root.restart();
}
}
Instance of Symbol 244 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
this.gotoAndPlay(12);
_root.restart();
_root.nextFrame();
}
}
Instance of Symbol 252 MovieClip "hero" in Frame 29
onClipEvent (load) {
function move(x, y) {
var _local1 = y;
var _local2 = x;
var _local3 = _root;
h = false;
if (!_local3.map.hitTest((_x + _local2) + b.xmin, (_y + _local1) + b.ymin, true)) {
if (!_local3.map.hitTest((_x + _local2) + b.xmax, (_y + _local1) + b.ymin, true)) {
if (!_local3.map.hitTest((_x + _local2) + b.xmin, (_y + _local1) + b.ymax, true)) {
if (!_local3.map.hitTest((_x + _local2) + b.xmax, (_y + _local1) + b.ymax, true)) {
_x = (_x + _local2);
_y = (_y + _local1);
h = true;
}
}
}
}
return(h);
}
this.stop();
s = 4;
jumping = false;
b = this.getBounds(this);
}
onClipEvent (enterFrame) {
if (_root.playGame) {
falling = move(0, s);
if ((Key.isDown(38) && (!falling)) && (!jumping)) {
jumping = true;
vel = -12;
_root.jumpSound.gotoAndPlay(2);
}
if (Key.isDown(37)) {
move(-s, 0);
this.gotoAndStop(2);
this.sonic.play();
}
if (Key.isDown(39)) {
move(s, 0);
this.gotoAndStop(1);
this.sonic.play();
}
if (Key.isDown(32)) {
_root.sonic.gotoAndStop(15);
}
if (jumping) {
if (vel <= 12) {
h = move(0, vel - s);
if ((h == false) && (vel < 0)) {
vel = vel * -1;
}
vel++;
} else {
jumping = false;
}
}
}
}
onClipEvent (keyUp) {
this.sonic.gotoAndStop(1);
}
Frame 30
stop();
Frame 31
stop();
stopAllSounds();
Frame 32
stop();
stopAllSounds();
Symbol 26 Button
on (release) {
getURL ("http://www.newgrounds.com", "blank");
}
Symbol 35 Button
on (release) {
_root.play();
}
Symbol 36 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
KB_out = (int(_root.getBytesLoaded() / 1000) + "/") + int(_root.getBytesTotal() / 1000);
if (PercentLoaded != 100) {
setProperty(barmask.bar, _xscale , PercentLoaded);
} else {
_root.gotoAndStop(2);
}
Symbol 36 MovieClip Frame 2
gotoAndPlay (1);
Symbol 43 Button
on (release) {
_quality = "high";
}
Symbol 48 Button
on (release) {
_quality = "medium";
}
Symbol 53 Button
on (release) {
_quality = "medium";
}
Symbol 76 Button
on (release) {
getURL ("http://www.crazymonkeygames.com", "_blank");
}
Symbol 79 Button
on (release) {
_root.nextFrame();
}
Symbol 84 Button
on (release) {
gotoAndPlay (63);
}
Symbol 89 Button
on (release) {
play();
}
Symbol 93 Button
on (release) {
getURL ("http://www.crazymonkeygames.com", "_blank");
}
Symbol 114 MovieClip Frame 231
_root.YEAH5.gotoAndPlay(2);
Symbol 117 MovieClip Frame 1
stopAllSounds();
Symbol 117 MovieClip Frame 2
stop();
Symbol 127 Button
on (release) {
if (password eq "shibby") {
stopAllSounds();
_root.gotoAndStop(7);
} else if (password eq "miniskirt") {
stopAllSounds();
_root.gotoAndStop(12);
} else if (password eq "aftermini") {
stopAllSounds();
_root.gotoAndStop(14);
} else if (password eq "impossible") {
stopAllSounds();
_root.gotoAndStop(19);
} else if (password eq "beforethefall") {
stopAllSounds();
_root.gotoAndStop(27);
}
}
Symbol 137 Button
on (release) {
gotoAndPlay (1);
login = "";
}
Symbol 139 MovieClip Frame 2
stop();
Symbol 141 MovieClip Frame 1
stop();
Symbol 143 Button
on (release) {
gotoAndPlay (2);
}
Symbol 149 Button
on (release) {
nextFrame();
}
Symbol 183 MovieClip Frame 1
stop();
Symbol 183 MovieClip Frame 9
_root.lives.prevFrame();
_root.health.gotoAndStop(1);
Symbol 183 MovieClip Frame 21
stop();
Symbol 184 Button
on (release) {
prevFrame();
}
Symbol 189 MovieClip Frame 1
stop();
Symbol 193 MovieClip Frame 2
_root.score = _root.score + 100;
Symbol 193 MovieClip Frame 24
stop();
Symbol 195 MovieClip Frame 17
gotoAndPlay (1);
Symbol 195 MovieClip Frame 45
stop();
Symbol 201 MovieClip Frame 1
stop();
Symbol 201 MovieClip Frame 2
play();
Symbol 201 MovieClip Frame 5
stop();
Symbol 201 MovieClip Frame 6
play();
Symbol 201 MovieClip Frame 9
stop();
Symbol 201 MovieClip Frame 10
play();
Symbol 201 MovieClip Frame 13
stop();
Symbol 201 MovieClip Frame 14
play();
Symbol 201 MovieClip Frame 17
stop();
Symbol 201 MovieClip Frame 18
play();
Symbol 201 MovieClip Frame 21
stop();
Symbol 201 MovieClip Frame 22
play();
Symbol 201 MovieClip Frame 23
_root.lives.nextFrame();
gotoAndStop (1);
Symbol 203 MovieClip Frame 1
gotoAndStop (7);
Symbol 203 MovieClip Frame 9
_root.gotoAndStop("gameover");
Symbol 204 MovieClip Frame 1
stop();
Symbol 204 MovieClip Frame 11
stop();
Symbol 211 MovieClip Frame 1
stop();
Instance of Symbol 208 MovieClip in Symbol 211 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.enemy1.yeah)) {
_root.enemy1.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.miniboss.head1)) {
_root.miniboss.head2.gotoAndPlay(2);
}
}
Instance of Symbol 208 MovieClip "sword" in Symbol 211 MovieClip Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.enemy1.yeah)) {
_root.enemy1.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.miniboss.head1)) {
_root.head2.gotoAndPlay(2);
}
}
Symbol 216 MovieClip Frame 1
stop();
Instance of Symbol 195 MovieClip "c1" in Symbol 216 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c1.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c2" in Symbol 216 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c2.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c422" in Symbol 216 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c422.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c270" in Symbol 216 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c270.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c272" in Symbol 216 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c272.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c271" in Symbol 216 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c271.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c274" in Symbol 216 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c274.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c273" in Symbol 216 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c273.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c480" in Symbol 216 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c480.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c479" in Symbol 216 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c479.gotoAndStop(18);
}
}
Instance of Symbol 195 MovieClip "c478" in Symbol 216 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.c478.gotoAndStop(18);
}
}
Symbol 217 MovieClip Frame 1
stop();
Symbol 217 MovieClip Frame 2
play();
Symbol 217 MovieClip Frame 29
stop();
Symbol 217 MovieClip Frame 61
stop();
Symbol 217 MovieClip Frame 93
stop();
Symbol 228 MovieClip Frame 160
_root.nextFrame();
Symbol 244 MovieClip Frame 11
gotoAndPlay (1);
Symbol 244 MovieClip Frame 12
gotoAndPlay (1);
Instance of Symbol 211 MovieClip "sword1" in Symbol 248 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(40)) {
play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.miniboss.head1)) {
_root.miniboss.head2.play();
}
}
Symbol 248 MovieClip Frame 15
gotoAndPlay (2);
Symbol 251 MovieClip Frame 1
_root.hero.gotoAndStop(1);
Instance of Symbol 211 MovieClip in Symbol 251 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(40)) {
play();
}
}
Instance of Symbol 224 MovieClip "Hero_body" in Symbol 251 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bared1)) {
_root.hero.gotoAndStop(3);
}
if (this.hitTest(_root.bared2)) {
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 248 MovieClip "sonic" in Symbol 252 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Instance of Symbol 248 MovieClip "sonic" in Symbol 252 MovieClip Frame 2
/* no clip actions */
Symbol 254 MovieClip Frame 1
stop();
Symbol 259 MovieClip Frame 1
stop();
Symbol 259 MovieClip Frame 2
_root.health.nextFrame();
_root.restart();
Symbol 259 MovieClip Frame 3
_root.health.nextFrame();
_root.restart();
Symbol 264 MovieClip Frame 1
stop();
Instance of Symbol 263 MovieClip "yeah" in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.hero_body)) {
_root.Flash.play();
}
}
Symbol 264 MovieClip Frame 5
_root.score = _root.score + 200;
Symbol 264 MovieClip Frame 12
stop();
Symbol 266 MovieClip Frame 28
stop();
Symbol 269 MovieClip Frame 2
stop();
Symbol 276 MovieClip Frame 1
stop();
Symbol 276 MovieClip Frame 16
stop();
Symbol 279 MovieClip Frame 101
stop();
Symbol 293 MovieClip Frame 1
stop();
Symbol 293 MovieClip Frame 3
_root.health2.nextFrame();
Symbol 293 MovieClip Frame 7
gotoAndStop (1);
Symbol 298 MovieClip Frame 1
stopAllSounds();
Symbol 298 MovieClip Frame 2
stop();
Instance of Symbol 287 MovieClip in Symbol 306 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
Instance of Symbol 289 MovieClip in Symbol 306 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
Instance of Symbol 293 MovieClip "head2" in Symbol 306 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.sword1.sword)) {
gotoAndPlay (2);
_root.Flash2.play();
}
}
Instance of Symbol 295 MovieClip in Symbol 306 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
Symbol 306 MovieClip Frame 252
_root.nextFrame();
Symbol 307 MovieClip Frame 1
stop();
Symbol 307 MovieClip Frame 2
stop();
Instance of Symbol 323 MovieClip in Symbol 325 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
Instance of Symbol 287 MovieClip in Symbol 332 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
Instance of Symbol 289 MovieClip in Symbol 332 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
Instance of Symbol 293 MovieClip "head2" in Symbol 332 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.sword1.sword)) {
gotoAndPlay (2);
_root.Flash2.play();
}
}
Instance of Symbol 295 MovieClip in Symbol 332 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
Instance of Symbol 312 MovieClip in Symbol 332 MovieClip Frame 119
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
Instance of Symbol 287 MovieClip in Symbol 332 MovieClip Frame 137
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
Instance of Symbol 293 MovieClip "head2" in Symbol 332 MovieClip Frame 146
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.sword1.sword)) {
gotoAndPlay (2);
_root.Flash2.play();
}
}
Instance of Symbol 295 MovieClip in Symbol 332 MovieClip Frame 163
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
Instance of Symbol 295 MovieClip in Symbol 332 MovieClip Frame 179
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
Instance of Symbol 293 MovieClip "head2" in Symbol 332 MovieClip Frame 253
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.sword1.sword)) {
gotoAndPlay (2);
_root.Flash2.play();
}
}
Instance of Symbol 293 MovieClip "head2" in Symbol 332 MovieClip Frame 264
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.sword1.sword)) {
gotoAndPlay (2);
_root.Flash2.play();
}
}
Instance of Symbol 293 MovieClip "head2" in Symbol 332 MovieClip Frame 271
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.sword1.sword)) {
gotoAndPlay (2);
_root.Flash2.play();
}
}
Instance of Symbol 287 MovieClip in Symbol 332 MovieClip Frame 326
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
Instance of Symbol 293 MovieClip in Symbol 332 MovieClip Frame 326
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
Instance of Symbol 318 MovieClip in Symbol 332 MovieClip Frame 373
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
Instance of Symbol 287 MovieClip in Symbol 332 MovieClip Frame 404
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
Instance of Symbol 325 MovieClip in Symbol 332 MovieClip Frame 413
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
Instance of Symbol 325 MovieClip in Symbol 332 MovieClip Frame 413
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
Instance of Symbol 325 MovieClip in Symbol 332 MovieClip Frame 413
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
Instance of Symbol 325 MovieClip in Symbol 332 MovieClip Frame 413
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
Instance of Symbol 325 MovieClip in Symbol 332 MovieClip Frame 413
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
Instance of Symbol 325 MovieClip in Symbol 332 MovieClip Frame 413
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
Instance of Symbol 325 MovieClip in Symbol 332 MovieClip Frame 413
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
Symbol 332 MovieClip Frame 469
_root.miniboss.gotoAndPlay(1);
Symbol 332 MovieClip Frame 470
stopAllSounds();
Symbol 332 MovieClip Frame 529
_root.score = _root.score + 10000;
stop();
Symbol 338 MovieClip Frame 1
stop();
Symbol 338 MovieClip Frame 56
_root.miniboss.gotoAndPlay(470);
_root.map.hellalive.nextFrame();
Symbol 341 MovieClip Frame 95
stop();
Symbol 347 MovieClip Frame 1
stop();
Instance of Symbol 346 MovieClip in Symbol 347 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.hero_body)) {
_root.Flash.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.sword1.sword)) {
_root.enemy1.play();
}
}
Instance of Symbol 346 MovieClip in Symbol 347 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.hero_body)) {
_root.Flash.play();
}
}
Symbol 347 MovieClip Frame 4
_root.score = _root.score + 250;
Symbol 347 MovieClip Frame 19
stop();
Symbol 350 MovieClip Frame 110
stop();
Symbol 354 MovieClip Frame 1
stop();
Instance of Symbol 353 MovieClip in Symbol 354 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.bared2.gotoAndPlay(2);
}
}
Instance of Symbol 157 MovieClip in Symbol 354 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
Symbol 362 MovieClip Frame 101
stop();
Symbol 373 MovieClip Frame 101
stop();
Symbol 384 MovieClip Frame 1
stop();
Symbol 391 MovieClip Frame 1
stop();
Symbol 391 MovieClip Frame 2
_root.mouth2.play();
Symbol 391 MovieClip Frame 3
_root.bosshealth.nextFrame();
Instance of Symbol 391 MovieClip in Symbol 392 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.sword1.sword)) {
gotoAndPlay (2);
_root.Flash2.play();
}
}
Symbol 394 MovieClip Frame 2
gotoAndPlay (170);
Symbol 394 MovieClip Frame 2962
gotoAndPlay (575);
Symbol 403 MovieClip Frame 1
Instance of Symbol 376 MovieClip "bossfoot" in Symbol 403 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
Symbol 403 MovieClip Frame 242
_root.nextFrame();
Instance of Symbol 376 MovieClip "bossfoot" in Symbol 411 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
Instance of Symbol 318 MovieClip in Symbol 411 MovieClip Frame 396
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
Instance of Symbol 318 MovieClip in Symbol 411 MovieClip Frame 399
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
Instance of Symbol 318 MovieClip in Symbol 411 MovieClip Frame 410
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
Instance of Symbol 318 MovieClip in Symbol 411 MovieClip Frame 477
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
Instance of Symbol 325 MovieClip in Symbol 411 MovieClip Frame 557
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
Instance of Symbol 325 MovieClip in Symbol 411 MovieClip Frame 557
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
Instance of Symbol 325 MovieClip in Symbol 411 MovieClip Frame 557
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
Instance of Symbol 325 MovieClip in Symbol 411 MovieClip Frame 557
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
Instance of Symbol 325 MovieClip in Symbol 411 MovieClip Frame 557
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
Instance of Symbol 325 MovieClip in Symbol 411 MovieClip Frame 557
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
Instance of Symbol 325 MovieClip in Symbol 411 MovieClip Frame 557
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
Instance of Symbol 325 MovieClip in Symbol 411 MovieClip Frame 557
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
Symbol 415 MovieClip Frame 1
stop();
Symbol 415 MovieClip Frame 157
_root.nextFrame();
Instance of Symbol 376 MovieClip "bossfoot" in Symbol 424 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.sonic.Hero_body)) {
_root.Flash.play();
}
}
Symbol 424 MovieClip Frame 337
_root.score = _root.score + 30000;
_root.nextFrame();
Symbol 426 Button
on (release) {
_root.gotoAndPlay(2);
_root.YEAH5.gotoAndPlay(2);
score = 0;
}
Symbol 430 Button
on (release) {
getURL ("http://www.crazymonkeygames.com", "_blank");
}
Symbol 435 MovieClip Frame 26
stop();