Frame 1
function stole() {
if (_root._url.substr(0, 7) == "file://") {
_root.gotoAndStop(1);
_root.createEmptyMovieClip("block", 900000);
with (block) {
beginFill(7128575, 100);
moveTo(0, 0);
lineTo(Stage.width, 0);
lineTo(Stage.width, Stage.height);
lineTo(0, Stage.height);
endFill();
createTextField("gy", 1, 0, 170, Stage.width, Stage.height);
gy.selectable = 0;
gy.text = "MAKE YOUR OWN GAME...\rDON'T STEAL MINE\r\rThis game was made by\rJeremysFilms and SpamBurger\rfrom www.newgrounds.com";
gy.setTextFormat(sTF);
}
}
}
function jfjump() {
getURL ("http://www.jeremysfilms.com", "_blank");
}
function sbjump() {
getURL ("http://www.spamburger.net", "_blank");
}
sTF = new TextFormat();
with (sTF) {
color = 16777164 /* 0xFFFFCC */;
font = "FFF Harmony";
size = 20;
bold = 1;
align = "center";
}
stole();
credit = new ContextMenu();
credit.customItems.push(new ContextMenuItem("JeremysFilms", jfjump));
credit.customItems.push(new ContextMenuItem("SpamBurger", sbjump));
with (credit) {
builtInItems.forward_back = false;
builtInItems.rewind = false;
builtInItems.play = false;
builtInItems.loop = false;
builtInItems.zoom = false;
builtInItems.print = false;
}
_root.menu = credit;
Frame 2
stop();
_root.onEnterFrame = function () {
_root.percenttext.text = Math.floor((getBytesLoaded() / getBytesTotal()) * 100) + "%";
if (getBytesLoaded() >= getBytesTotal()) {
_root.gotoAndStop(3);
}
};
Frame 3
stop();
currentscore = points;
_root.hstable.gotoAndStop(6);
_root.hstable._visible = false;
stop();
Frame 4
stop();
points = 0;
alevel = 5;
level = 1;
_root.onEnterFrame = function () {
points++;
_root.score.text = "Score: " + points;
if (_root.meter.bar._xscale >= 100) {
_root.meter.bar._xscale = 0;
level++;
alevel = alevel * 3;
_root.fan.blade.rotspeed = _root.fan.blade.rotspeed + 3;
}
anger = (points / alevel) * 100;
_root.meter.bar._xscale = anger;
_root.angerlevel.text = "Anger Meter - Level " + level;
};
onMouseMove = function () {
shamash._x = _xmouse;
shamash._y = _ymouse;
x = ballMC._x;
y = ballMC._y;
shamash._rotation = -90 + (Math.atan2(y - _ymouse, x - _xmouse) * 57.2957795130823);
};
Instance of Symbol 125 MovieClip "ballMC" in Frame 4
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 134 MovieClip "shamash" in Frame 4
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
this._yscale = _root._ymouse;
this._xscale = _root._ymouse;
if (this._xscale <= 40) {
this._xscale = 40;
}
if (this._yscale <= 40) {
this._yscale = 40;
}
if (_rotation >= 90) {
_rotation = 90;
}
if (_rotation <= -90) {
_rotation = -90;
}
}
Instance of Symbol 142 MovieClip "shamashFlame" in Frame 4
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
this._yscale = (this._xscale = 0.5 * _root._ymouse);
}
Instance of Symbol 142 MovieClip in Frame 4
onClipEvent (load) {
harder = 240;
thetime = 100;
timeit = thetime;
shrink = false;
timer1 = 1 + random(timeit);
timer2 = 50 + random(timeit);
height = _height;
width = _width;
shrinkspeed = 0.05;
}
onClipEvent (enterFrame) {
harder--;
if (harder <= 0) {
shrinkspeed = shrinkspeed + 0.02;
thetime = thetime - 0.5;
harder = 240;
}
if (!shrinking) {
timer1--;
}
if (shrinking) {
_height = (_height - shrinkspeed);
}
if (timer1 <= 0) {
timer1 = 1 + random(timeit);
timeit = thetime;
_visible = true;
}
if (_visible) {
timer2--;
}
if (timer2 <= 0) {
shrinking = true;
}
if (_height <= 3) {
_root.gotoAndPlay("lose");
}
if (this.hitTest(_root.shamashFlame)) {
shrinking = false;
timer2 = 10 + random(timeit);
_height = (_height + 1.5);
}
if (_height > height) {
_height = height;
}
if (_height <= 0) {
_root.gotoAndPlay("lose");
}
}
Instance of Symbol 142 MovieClip in Frame 4
onClipEvent (load) {
harder = 240;
thetime = 100;
timeit = thetime;
shrink = false;
timer1 = 1 + random(timeit);
timer2 = 50 + random(timeit);
height = _height;
width = _width;
shrinkspeed = 0.05;
}
onClipEvent (enterFrame) {
harder--;
if (harder <= 0) {
shrinkspeed = shrinkspeed + 0.02;
thetime = thetime - 0.5;
harder = 240;
}
if (!shrinking) {
timer1--;
}
if (shrinking) {
_height = (_height - shrinkspeed);
}
if (timer1 <= 0) {
timer1 = 1 + random(timeit);
timeit = thetime;
_visible = true;
}
if (_visible) {
timer2--;
}
if (timer2 <= 0) {
shrinking = true;
}
if (_height <= 3) {
_root.gotoAndPlay("lose");
}
if (this.hitTest(_root.shamashFlame)) {
shrinking = false;
timer2 = 10 + random(timeit);
_height = (_height + 1.5);
}
if (_height > height) {
_height = height;
}
}
Instance of Symbol 142 MovieClip in Frame 4
onClipEvent (load) {
harder = 240;
thetime = 100;
timeit = thetime;
shrink = false;
timer1 = 1 + random(timeit);
timer2 = 50 + random(timeit);
height = _height;
width = _width;
shrinkspeed = 0.05;
}
onClipEvent (enterFrame) {
harder--;
if (harder <= 0) {
shrinkspeed = shrinkspeed + 0.02;
thetime = thetime - 0.5;
harder = 240;
}
if (!shrinking) {
timer1--;
}
if (shrinking) {
_height = (_height - shrinkspeed);
}
if (timer1 <= 0) {
timer1 = 1 + random(timeit);
timeit = thetime;
_visible = true;
}
if (_visible) {
timer2--;
}
if (timer2 <= 0) {
shrinking = true;
}
if (_height <= 3) {
_root.gotoAndPlay("lose");
}
if (this.hitTest(_root.shamashFlame)) {
shrinking = false;
timer2 = 10 + random(timeit);
_height = (_height + 1.5);
}
if (_height > height) {
_height = height;
}
}
Instance of Symbol 142 MovieClip in Frame 4
onClipEvent (load) {
harder = 240;
thetime = 100;
timeit = thetime;
shrink = false;
timer1 = 1 + random(timeit);
timer2 = 50 + random(timeit);
height = _height;
width = _width;
shrinkspeed = 0.02;
}
onClipEvent (enterFrame) {
harder--;
if (harder <= 0) {
shrinkspeed = shrinkspeed + 0.05;
thetime = thetime - 0.5;
harder = 240;
}
if (!shrinking) {
timer1--;
}
if (shrinking) {
_height = (_height - shrinkspeed);
}
if (timer1 <= 0) {
timer1 = 1 + random(timeit);
timeit = thetime;
_visible = true;
}
if (_visible) {
timer2--;
}
if (timer2 <= 0) {
shrinking = true;
}
if (_height <= 3) {
_root.gotoAndPlay("lose");
}
if (this.hitTest(_root.shamashFlame)) {
shrinking = false;
timer2 = 10 + random(timeit);
_height = (_height + 1.5);
}
if (_height > height) {
_height = height;
}
}
Instance of Symbol 142 MovieClip in Frame 4
onClipEvent (load) {
harder = 240;
thetime = 100;
timeit = thetime;
shrink = false;
timer1 = 1 + random(timeit);
timer2 = 50 + random(timeit);
height = _height;
width = _width;
shrinkspeed = 0.05;
}
onClipEvent (enterFrame) {
harder--;
if (harder <= 0) {
shrinkspeed = shrinkspeed + 0.02;
thetime = thetime - 0.5;
harder = 240;
}
if (!shrinking) {
timer1--;
}
if (shrinking) {
_height = (_height - shrinkspeed);
}
if (timer1 <= 0) {
timer1 = 1 + random(timeit);
timeit = thetime;
_visible = true;
}
if (_visible) {
timer2--;
}
if (timer2 <= 0) {
shrinking = true;
}
if (_height <= 3) {
_root.gotoAndPlay("lose");
}
if (this.hitTest(_root.shamashFlame)) {
shrinking = false;
timer2 = 10 + random(timeit);
_height = (_height + 1.5);
}
if (_height > height) {
_height = height;
}
}
Instance of Symbol 142 MovieClip in Frame 4
onClipEvent (load) {
harder = 240;
thetime = 100;
timeit = thetime;
shrink = false;
timer1 = 1 + random(timeit);
timer2 = 50 + random(timeit);
height = _height;
width = _width;
shrinkspeed = 0.05;
}
onClipEvent (enterFrame) {
harder--;
if (harder <= 0) {
shrinkspeed = shrinkspeed + 0.02;
thetime = thetime - 0.5;
harder = 240;
}
if (!shrinking) {
timer1--;
}
if (shrinking) {
_height = (_height - shrinkspeed);
}
if (timer1 <= 0) {
timer1 = 1 + random(timeit);
timeit = thetime;
_visible = true;
}
if (_visible) {
timer2--;
}
if (timer2 <= 0) {
shrinking = true;
}
if (_height <= 3) {
_root.gotoAndPlay("lose");
}
if (this.hitTest(_root.shamashFlame)) {
shrinking = false;
timer2 = 10 + random(timeit);
_height = (_height + 1.5);
}
if (_height > height) {
_height = height;
}
}
Instance of Symbol 142 MovieClip in Frame 4
onClipEvent (load) {
harder = 240;
thetime = 100;
timeit = thetime;
shrink = false;
timer1 = 1 + random(timeit);
timer2 = 50 + random(timeit);
height = _height;
width = _width;
shrinkspeed = 0.05;
}
onClipEvent (enterFrame) {
harder--;
if (harder <= 0) {
shrinkspeed = shrinkspeed + 0.02;
thetime = thetime - 0.5;
harder = 240;
}
if (!shrinking) {
timer1--;
}
if (shrinking) {
_height = (_height - shrinkspeed);
}
if (timer1 <= 0) {
timer1 = 1 + random(timeit);
timeit = thetime;
_visible = true;
}
if (_visible) {
timer2--;
}
if (timer2 <= 0) {
shrinking = true;
}
if (_height <= 3) {
_root.gotoAndPlay("lose");
}
if (this.hitTest(_root.shamashFlame)) {
shrinking = false;
timer2 = 10 + random(timeit);
_height = (_height + 1.5);
}
if (_height > height) {
_height = height;
}
}
Instance of Symbol 142 MovieClip in Frame 4
onClipEvent (load) {
harder = 240;
thetime = 100;
timeit = thetime;
shrink = false;
timer1 = 1 + random(timeit);
timer2 = 50 + random(timeit);
height = _height;
width = _width;
shrinkspeed = 0.05;
}
onClipEvent (enterFrame) {
harder--;
if (harder <= 0) {
shrinkspeed = shrinkspeed + 0.02;
thetime = thetime - 0.5;
harder = 240;
}
if (!shrinking) {
timer1--;
}
if (shrinking) {
_height = (_height - shrinkspeed);
}
if (timer1 <= 0) {
timer1 = 1 + random(timeit);
timeit = thetime;
_visible = true;
}
if (_visible) {
timer2--;
}
if (timer2 <= 0) {
shrinking = true;
}
if (_height <= 3) {
_root.gotoAndPlay("lose");
}
if (this.hitTest(_root.shamashFlame)) {
shrinking = false;
timer2 = 10 + random(timeit);
_height = (_height + 1.5);
}
if (_height > height) {
_height = height;
}
}
Frame 5
Mouse.show();
Frame 130
stop();
currentscore = points;
_root.hstable.gotoAndPlay(2);
_root.hstable._visible = true;
replaybutton._visible = false;
titlebutton._visible = false;
Instance of Symbol 3 MovieClip in Symbol 4 MovieClip Frame 1
onClipEvent (enterFrame) {
this._xscale = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
}
Symbol 16 Button
on (release) {
_root.instructions.play();
}
Symbol 20 Button
on (release) {
_root.nextFrame();
}
Symbol 22 Button
on (release) {
_root.hstable._visible = true;
_root.hstable.gotoAndStop(7);
_root.playbutton._visible = false;
_root.instructionbutton._visible = false;
_root.hsbutton._visible = false;
_root.credit.gotoAndStop(2);
}
Symbol 29 Button
on (release) {
getURL ("http://jeremysfilms.com", "_blank");
}
Symbol 33 Button
on (release) {
getURL ("http://spamburger.net", "_blank");
}
Symbol 35 MovieClip Frame 1
stop();
Symbol 35 MovieClip Frame 2
stop();
Symbol 49 Button
on (release) {
nextFrame();
}
Symbol 51 Button
on (release) {
prevFrame();
}
Symbol 53 Button
on (release) {
play();
}
Symbol 57 MovieClip Frame 1
stop();
Symbol 57 MovieClip Frame 2
_root.playbutton._visible = false;
_root.instructionbutton._visible = false;
_root.hsbutton._visible = false;
_root.credit.gotoAndStop(2);
Symbol 57 MovieClip Frame 20
stop();
Symbol 57 MovieClip Frame 40
_root.playbutton._visible = true;
_root.instructionbutton._visible = true;
_root.hsbutton._visible = true;
_root.credit.gotoAndStop(1);
Symbol 60 MovieClip Frame 1
stop();
Symbol 60 MovieClip Frame 25
_parent.gotoAndStop(6);
gotoAndStop (1);
Symbol 62 Button
on (press) {
_root.hstable._visible = false;
_root.hstable.gotoAndStop(1);
_root.playbutton._visible = true;
_root.instructionbutton._visible = true;
_root.hsbutton._visible = true;
_root.credit.gotoAndStop(1);
_root.replaybutton._visible = true;
_root.titlebutton._visible = true;
}
Symbol 108 Button
on (press) {
splayer = splayertext;
loadVariablesNum ("http://www.jeremysfilms.somee.com/menorahmadness/addscore.asp", 0, "POST");
pauser.gotoAndPlay(2);
}
Symbol 110 Button
on (press) {
sblist._visible = true;
gotoAndStop (5);
}
Symbol 117 MovieClip Frame 1
System.security.allowDomain("jeremysfilms.somee.com/menorahmadness/");
stop();
Symbol 117 MovieClip Frame 2
sblist._visible = false;
stop();
Instance of Symbol 98 MovieClip "sblist" in Symbol 117 MovieClip Frame 2
onClipEvent (data) {
if (_root.currentscore > this.score10) {
_parent.gotoAndStop(3);
} else {
_parent.gotoAndStop(4);
}
}
onClipEvent (load) {
_parent.sscore = _root.currentscore;
loadVariables ("http://www.jeremysfilms.somee.com/menorahmadness/getscores.asp", this);
}
Symbol 117 MovieClip Frame 5
stop();
Symbol 117 MovieClip Frame 6
stop();
Instance of Symbol 98 MovieClip "sblist" in Symbol 117 MovieClip Frame 6
onClipEvent (data) {
sblist._visible = true;
_parent.gotoAndStop(7);
}
onClipEvent (load) {
loadVariables ("http://www.jeremysfilms.somee.com/menorahmadness/getscores.asp", this);
}
Symbol 122 MovieClip Frame 1
stop();
Instance of Symbol 121 MovieClip "blade" in Symbol 122 MovieClip Frame 1
onClipEvent (load) {
rotspeed = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rotspeed);
}
Symbol 154 Button
on (release) {
_root.gotoAndStop(4);
}
Symbol 156 Button
on (release) {
_root.gotoAndStop(3);
}