Frame 1
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
_root.menu = myMenu;
var savefile = SharedObject.getLocal("Kezira");
_root.cskin = savefile.data.cskin;
_root.csmile = savefile.data.csmile;
_root.ceyes = savefile.data.ceyes;
if (savefile.data.cskin == undefined) {
_root.char = 1;
} else {
_root.char = 2;
}
stop();
Frame 2
function musics() {
if (_root.musicstatus == 2) {
_root.music.setVolume(100);
_root.musicholder.play();
_root.musicstatus = 1;
} else {
_root.music.setVolume(0);
_root.musicstatus = 2;
_root.musicholder.stop();
}
}
function moregames() {
getURL ("http://www.funny-games.biz/", "_BLANK");
}
function visitdan() {
getURL ("http://www.hexep.com/developer.html", "_BLANK");
}
function visitmusic() {
getURL ("http://audiojungle.net/user/joshhunsaker", "_BLANK");
}
stop();
_root.hat = 0;
var Spell2 = new Sound();
Spell2.attachSound("Spell2");
var monsteraggro = new Sound();
monsteraggro.attachSound("monsteraggro");
var deadchicken = new Sound();
deadchicken.attachSound("deadchicken");
var monsterdie = new Sound();
monsterdie.attachSound("monsterdie");
var firespell = new Sound();
firespell.attachSound("firespell");
var Click = new Sound();
var spell4sound = new Sound();
spell4sound.attachSound("spell4sound");
Click.attachSound("Click");
var levelding = new Sound();
levelding.attachSound("levelding");
_root.music.setVolume(100);
var musicss = new ContextMenuItem("Music on/off", musics);
var morefgames = new ContextMenuItem("Sponsored by Funny-Games.biz", moregames);
morefgames.separatorBefore = true;
var bydan = new ContextMenuItem("Programmed by Daniel Cherbanich", visitdan);
var bymusic = new ContextMenuItem("Music by Josh Hunsaker", visitmusic);
myMenu.customItems.push(musicss, morefgames, bydan, bymusic);
Frame 3
stop();
charscreen.gotoAndStop(_root.char);
Frame 4
stop();
_root.cskin = 2;
_root.ceyes = 1;
_root.csmile = 1;
Instance of Symbol 197 MovieClip in Frame 4
onClipEvent (enterFrame) {
_root.cname = this.cname;
}
Frame 5
stop();
_root.clvl = 1;
Frame 6
stop();
_root.chickens = 0;
_root.hat = 0;
_root.xp = 1;
_root.chealth = 320;
_root.cmana = 320;
_root.clvl = 1;
_root.astamina = 0;
_root.aintellect = 0;
_root.apower = 0;
_root.dstamina = 0;
_root.dintellect = 0;
_root.dpower = 0;
Instance of Symbol 229 MovieClip "land" in Frame 6
onClipEvent (load) {
tx = this._x;
}
onClipEvent (enterFrame) {
if (_root.reset == 2) {
this._x = tx;
}
}
Instance of Symbol 296 MovieClip "m2" in Frame 6
onClipEvent (load) {
hp = 250;
}
onClipEvent (load) {
tx = this._x;
}
onClipEvent (enterFrame) {
if (_root.reset == 2) {
this._x = tx;
}
}
Instance of Symbol 296 MovieClip "m1" in Frame 6
onClipEvent (load) {
hp = 250;
}
onClipEvent (load) {
tx = this._x;
}
onClipEvent (enterFrame) {
if (_root.reset == 2) {
this._x = tx;
}
}
Instance of Symbol 313 MovieClip "lvlup" in Frame 6
onClipEvent (enterFrame) {
this.showstam = _root.cstamina;
this.showint = _root.cintellect;
this.showpow = _root.cpower;
}
Instance of Symbol 391 MovieClip "enviro" in Frame 6
onClipEvent (load) {
tx = this._x;
}
onClipEvent (enterFrame) {
if (_root.reset == 2) {
this._x = tx;
}
}
Instance of Symbol 406 MovieClip "fire" in Frame 6
onClipEvent (load) {
this.gotoAndStop(31);
fff = this._xscale;
}
onClipEvent (enterFrame) {
_root.fbpower = _root.cpower * 5;
if (_root.fireball == 0) {
if (_root.guy._xscale > 0) {
this._xscale = fff;
this._x = _root.guy._x + 16;
this._y = _root.guy._y + 44;
} else {
this._xscale = -fff;
this._x = _root.guy._x - 16;
this._y = _root.guy._y + 44;
}
this.gotoAndStop(31);
}
}
Instance of Symbol 427 MovieClip "guy" in Frame 6
onClipEvent (load) {
_root.fireball = 0;
slf = _xscale;
spd = 5;
blinkd = 640;
blinkd2 = 320;
}
onClipEvent (enterFrame) {
if (_root.blink == 2) {
if (this._xscale < 0) {
if ((_root.blk.blink11.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink11.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x + blinkd;
_root.enviro._x = _root.enviro._x + blinkd;
_root.fire._x = _root.fire._x + blinkd;
_root.m1._x = _root.m1._x + blinkd;
_root.m2._x = _root.m2._x + blinkd;
_root.m3._x = _root.m3._x + blinkd;
_root.m4._x = _root.m4._x + blinkd;
_root.m5._x = _root.m5._x + blinkd;
_root.spidah._x = _root.spidah._x + blinkd;
} else if ((_root.blk.blink21.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink21.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x + blinkd2;
_root.enviro._x = _root.enviro._x + blinkd2;
_root.fire._x = _root.fire._x + blinkd2;
_root.m1._x = _root.m1._x + blinkd2;
_root.m2._x = _root.m2._x + blinkd2;
_root.m3._x = _root.m3._x + blinkd2;
_root.m4._x = _root.m4._x + blinkd2;
_root.m5._x = _root.m5._x + blinkd2;
_root.spidah._x = _root.spidah._x + blinkd2;
}
} else if ((_root.blk.blink12.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink12.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x - blinkd;
_root.enviro._x = _root.enviro._x - blinkd;
_root.fire._x = _root.fire._x - blinkd;
_root.m1._x = _root.m1._x - blinkd;
_root.m2._x = _root.m2._x - blinkd;
_root.m3._x = _root.m3._x - blinkd;
_root.m4._x = _root.m4._x - blinkd;
_root.m5._x = _root.m5._x - blinkd;
_root.spidah._x = _root.spidah._x - blinkd;
} else if ((_root.blk.blink22.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink22.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x - blinkd2;
_root.enviro._x = _root.enviro._x - blinkd2;
_root.fire._x = _root.fire._x - blinkd2;
_root.m1._x = _root.m1._x - blinkd2;
_root.m2._x = _root.m2._x - blinkd2;
_root.m3._x = _root.m3._x - blinkd2;
_root.m4._x = _root.m4._x - blinkd2;
_root.m5._x = _root.m5._x - blinkd2;
_root.spidah._x = _root.spidah._x - blinkd2;
}
_root.blink = 1;
}
if (dead != 2) {
if (_root.fireball == 1) {
this.gotoAndStop(3);
}
if (Key.isDown(65)) {
if ((this._currentframe == 1) || (this._currentframe == 2)) {
if (_root.land.donthit.hitTest(_x - 18, _y, true) == false) {
this.gotoAndStop(2);
_root.land._x = _root.land._x + spd;
_root.enviro._x = _root.enviro._x + spd;
_root.fire._x = _root.fire._x + spd;
_root.m1._x = _root.m1._x + spd;
_root.m2._x = _root.m2._x + spd;
_root.m3._x = _root.m3._x + spd;
_root.m4._x = _root.m4._x + spd;
_root.m5._x = _root.m5._x + spd;
_root.spidah._x = _root.spidah._x + spd;
if (_root.mmine._currentframe > 1) {
_root.mmine._x = _root.mmine._x + spd;
}
this._xscale = -slf;
}
}
} else if (Key.isDown(68)) {
if ((this._currentframe == 1) || (this._currentframe == 2)) {
if (_root.land.donthit.hitTest(_x + 18, _y, true) == false) {
this.gotoAndStop(2);
_root.land._x = _root.land._x - spd;
_root.enviro._x = _root.enviro._x - spd;
_root.fire._x = _root.fire._x - spd;
_root.m1._x = _root.m1._x - spd;
_root.m2._x = _root.m2._x - spd;
_root.m3._x = _root.m3._x - spd;
_root.m4._x = _root.m4._x - spd;
_root.m5._x = _root.m5._x - spd;
_root.spidah._x = _root.spidah._x - spd;
if (_root.mmine._currentframe > 1) {
_root.mmine._x = _root.mmine._x - spd;
}
this._xscale = slf;
}
}
} else if (this._currentframe < 3) {
this.gotoAndStop(1);
}
}
if (_root.chealth < 1) {
dead = 2;
}
if (dead == 2) {
this.gotoAndStop(4);
}
}
Instance of Symbol 431 MovieClip "mouse" in Frame 6
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Instance of Symbol 433 MovieClip in Frame 6
onClipEvent (enterFrame) {
hr = _root.cstamina / 50;
mr = _root.cintellect / 50;
_root.thealth = (_root.clvl * 100) + (_root.cstamina * 20);
_root.tmana = (_root.clvl * 100) + (_root.cintellect * 20);
if (_root.chealth < _root.thealth) {
_root.chealth = _root.chealth + hr;
}
if (_root.cmana < _root.tmana) {
_root.cmana = _root.cmana + mr;
}
_root.bstamina = (10 + _root.clvl) + _root.dstamina;
_root.bintellect = (10 + _root.clvl) + _root.dintellect;
_root.bpower = (10 + _root.clvl) + _root.dpower;
_root.cstamina = _root.bstamina + _root.astamina;
_root.cintellect = _root.bintellect + _root.aintellect;
_root.cpower = _root.bpower + _root.apower;
}
Instance of Symbol 465 MovieClip "explod" in Frame 6
onClipEvent (load) {
_root.explode = 0;
}
onClipEvent (enterFrame) {
_root.xpower = _root.cpower * 15;
if (_root.explode == 1) {
this.play();
}
}
Instance of Symbol 531 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.clvl < 4) {
this.gotoAndStop(_root.clvl);
} else {
if (_root.clvl == 4) {
this.gotoAndStop(3);
}
if (_root.clvl == 5) {
this.gotoAndStop(4);
}
if (_root.clvl == 6) {
this.gotoAndStop(5);
}
if (_root.clvl == 7) {
this.gotoAndStop(5);
}
if (_root.clvl == 8) {
this.gotoAndStop(6);
}
if (_root.clvl == 9) {
this.gotoAndStop(7);
}
if (_root.clvl == 10) {
this.gotoAndStop(8);
}
}
}
Instance of Symbol 652 MovieClip in Frame 6
onClipEvent (enterFrame) {
totalxp = 69 + (_root.clvl * 10);
this.xpshow.gotoAndStop(Math.round((_root.xp / totalxp) * 80));
this.showlvl.gotoAndStop(_root.clvl);
this.showmana.gotoAndStop(Math.round((_root.cmana / _root.tmana) * 100));
this.showhealth.gotoAndStop(Math.round((_root.chealth / _root.thealth) * 100));
if (_root.xp > totalxp) {
_root.levelding.start(0, 0);
_root.lvl.play();
_root.lvlup._x = 23;
_root.clvl = _root.clvl + 1;
_root.chealth = _root.thealth;
_root.cmana = _root.tmana;
_root.xp = (_root.xp - (totalxp + 10)) + 1;
}
}
Frame 7
stop();
_root.tshells = 0;
_root.om = 0;
Instance of Symbol 686 MovieClip "land" in Frame 7
onClipEvent (load) {
tx = this._x;
}
onClipEvent (enterFrame) {
if (_root.reset == 2) {
_root.mmtx = this._x - tx;
this._x = tx;
}
}
Instance of Symbol 788 MovieClip "enviro" in Frame 7
onClipEvent (load) {
tx = this._x;
}
onClipEvent (enterFrame) {
if (_root.reset == 2) {
this._x = tx;
}
}
Instance of Symbol 296 MovieClip "m1" in Frame 7
onClipEvent (load) {
hp = 250 + random(100);
}
Instance of Symbol 296 MovieClip "m4" in Frame 7
onClipEvent (load) {
hp = 250 + random(100);
}
Instance of Symbol 296 MovieClip "m2" in Frame 7
onClipEvent (load) {
hp = 250 + random(100);
}
Instance of Symbol 296 MovieClip "m5" in Frame 7
onClipEvent (load) {
hp = 250 + random(100);
}
Instance of Symbol 296 MovieClip "m3" in Frame 7
onClipEvent (load) {
hp = 250 + random(100);
}
Instance of Symbol 427 MovieClip "guy" in Frame 7
onClipEvent (load) {
_root.fireball = 0;
slf = _xscale;
spd = 5;
blinkd = 640;
blinkd2 = 320;
}
onClipEvent (enterFrame) {
if (_root.blink == 2) {
if (this._xscale < 0) {
if ((_root.blk.blink11.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink11.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x + blinkd;
_root.enviro._x = _root.enviro._x + blinkd;
_root.fire._x = _root.fire._x + blinkd;
_root.m1._x = _root.m1._x + blinkd;
_root.m2._x = _root.m2._x + blinkd;
_root.m3._x = _root.m3._x + blinkd;
_root.m4._x = _root.m4._x + blinkd;
_root.m5._x = _root.m5._x + blinkd;
_root.spidah._x = _root.spidah._x + blinkd;
} else if ((_root.blk.blink21.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink21.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x + blinkd2;
_root.enviro._x = _root.enviro._x + blinkd2;
_root.fire._x = _root.fire._x + blinkd2;
_root.m1._x = _root.m1._x + blinkd2;
_root.m2._x = _root.m2._x + blinkd2;
_root.m3._x = _root.m3._x + blinkd2;
_root.m4._x = _root.m4._x + blinkd2;
_root.m5._x = _root.m5._x + blinkd2;
_root.spidah._x = _root.spidah._x + blinkd2;
}
} else if ((_root.blk.blink12.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink12.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x - blinkd;
_root.enviro._x = _root.enviro._x - blinkd;
_root.fire._x = _root.fire._x - blinkd;
_root.m1._x = _root.m1._x - blinkd;
_root.m2._x = _root.m2._x - blinkd;
_root.m3._x = _root.m3._x - blinkd;
_root.m4._x = _root.m4._x - blinkd;
_root.m5._x = _root.m5._x - blinkd;
_root.spidah._x = _root.spidah._x - blinkd;
} else if ((_root.blk.blink22.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink22.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x - blinkd2;
_root.enviro._x = _root.enviro._x - blinkd2;
_root.fire._x = _root.fire._x - blinkd2;
_root.m1._x = _root.m1._x - blinkd2;
_root.m2._x = _root.m2._x - blinkd2;
_root.m3._x = _root.m3._x - blinkd2;
_root.m4._x = _root.m4._x - blinkd2;
_root.m5._x = _root.m5._x - blinkd2;
_root.spidah._x = _root.spidah._x - blinkd2;
}
_root.blink = 1;
}
if (dead != 2) {
if (_root.fireball == 1) {
this.gotoAndStop(3);
}
if (Key.isDown(65)) {
if ((this._currentframe == 1) || (this._currentframe == 2)) {
if (_root.land.donthit.hitTest(_x - 18, _y, true) == false) {
this.gotoAndStop(2);
_root.land._x = _root.land._x + spd;
_root.enviro._x = _root.enviro._x + spd;
_root.fire._x = _root.fire._x + spd;
_root.m1._x = _root.m1._x + spd;
_root.m2._x = _root.m2._x + spd;
_root.m3._x = _root.m3._x + spd;
_root.m4._x = _root.m4._x + spd;
_root.m5._x = _root.m5._x + spd;
_root.spidah._x = _root.spidah._x + spd;
if (_root.mmine._currentframe > 1) {
_root.mmine._x = _root.mmine._x + spd;
}
this._xscale = -slf;
}
}
} else if (Key.isDown(68)) {
if ((this._currentframe == 1) || (this._currentframe == 2)) {
if (_root.land.donthit.hitTest(_x + 18, _y, true) == false) {
this.gotoAndStop(2);
_root.land._x = _root.land._x - spd;
_root.enviro._x = _root.enviro._x - spd;
_root.fire._x = _root.fire._x - spd;
_root.m1._x = _root.m1._x - spd;
_root.m2._x = _root.m2._x - spd;
_root.m3._x = _root.m3._x - spd;
_root.m4._x = _root.m4._x - spd;
_root.m5._x = _root.m5._x - spd;
_root.spidah._x = _root.spidah._x - spd;
if (_root.mmine._currentframe > 1) {
_root.mmine._x = _root.mmine._x - spd;
}
this._xscale = slf;
}
}
} else if (this._currentframe < 3) {
this.gotoAndStop(1);
}
}
if (_root.chealth < 1) {
dead = 2;
}
if (dead == 2) {
this.gotoAndStop(4);
}
}
Instance of Symbol 828 MovieClip "mmine" in Frame 7
onClipEvent (enterFrame) {
if ((zed == 2) && (this._currentframe == 1)) {
trace("gooo");
this.gotoAndStop(2);
this._alpha = 100;
}
}
onClipEvent (enterFrame) {
if (_root.reset == 2) {
this._x = 303.1;
}
}
Instance of Symbol 875 MovieClip "spidah" in Frame 7
onClipEvent (load) {
hp = 2000;
}
Frame 8
stop();
Instance of Symbol 945 MovieClip "land" in Frame 8
onClipEvent (load) {
tx = this._x;
}
onClipEvent (enterFrame) {
if (_root.reset == 2) {
}
}
Instance of Symbol 1006 MovieClip "m2" in Frame 8
onClipEvent (load) {
thp = 3000;
hp = thp;
f = 1;
_alpha = 0;
xx = this._x;
scount = 1;
this.gotoAndStop(1);
yyy = _y;
}
onClipEvent (enterFrame) {
if (f > 1) {
if (_root.fire.fb.fir.hitTest(this.monster) && (_root.fire._currentframe > 2)) {
if (_currentframe != 5) {
hp = hp - (_root.fbpower * ((random(11) / 10) + 1));
_root.fire.stop();
_root.fire.fb.gotoAndStop(2);
_root.fcheck.play();
}
}
if (_root.explod.xhit.hitTest(this.monster) && (_currentframe != 5)) {
hp = hp - (_root.xpower * ((random(11) / 10) + 1));
}
}
if ((_root.guy.dead == 2) && (this._currentframe != 5)) {
this.gotoAndStop(1);
_root.reset = 2;
restet = 2;
}
if (_root.reset == 2) {
if (this._currentframe != 5) {
f = 1;
hp = thp;
if (_root.ddd._currentframe != 269) {
} else {
_alpha = 0;
_y = yyy;
_x = xx;
}
} else {
_root.ogredg = 2;
}
} else {
kazf = 1;
}
if (_root.tentburned == 2) {
f = 2;
}
if (f == 2) {
if (_alpha < 100) {
_alpha = (_alpha + 10);
} else {
f = 3;
}
}
if (_currentframe != 5) {
if (f == 3) {
if (_currentframe == 1) {
if (_root.guy.hitTest(this.stomp)) {
asf = random(100);
if ((asf > 40) && (scount < 4)) {
this.gotoAndStop(4);
scount = scount + 1;
} else {
scount = 0;
this.gotoAndStop(3);
}
} else {
this.gotoAndStop(2);
}
}
}
}
}
Instance of Symbol 1047 MovieClip "enviro" in Frame 8
onClipEvent (load) {
tx = this._x;
}
onClipEvent (enterFrame) {
if (_root.reset == 2) {
}
}
Instance of Symbol 828 MovieClip "mmine" in Frame 8
onClipEvent (enterFrame) {
if ((zed == 2) && (this._currentframe == 1)) {
this.gotoAndStop(2);
this._alpha = 100;
}
}
onClipEvent (enterFrame) {
if (_root.reset == 2) {
this._x = this._x - _root.mmtx;
}
}
Instance of Symbol 406 MovieClip "fire" in Frame 8
onClipEvent (load) {
this.gotoAndStop(31);
fff = this._xscale;
}
onClipEvent (enterFrame) {
_root.fbpower = _root.cpower * 5;
if (_root.fireball == 0) {
if (_root.guy._xscale > 0) {
this._xscale = fff;
this._x = _root.guy._x + 16;
this._y = _root.guy._y + 44;
} else {
this._xscale = -fff;
this._x = _root.guy._x - 16;
this._y = _root.guy._y + 44;
}
this.gotoAndStop(31);
}
}
Instance of Symbol 427 MovieClip "guy" in Frame 8
onClipEvent (load) {
_root.fireball = 0;
slf = _xscale;
spd = 5;
blinkd = 640;
blinkd2 = 320;
}
onClipEvent (enterFrame) {
if (_root.blink == 2) {
if (this._xscale < 0) {
if ((_root.blk.blink11.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink11.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x + blinkd;
_root.enviro._x = _root.enviro._x + blinkd;
_root.fire._x = _root.fire._x + blinkd;
_root.m1._x = _root.m1._x + blinkd;
_root.m2._x = _root.m2._x + blinkd;
_root.m3._x = _root.m3._x + blinkd;
_root.m4._x = _root.m4._x + blinkd;
_root.m5._x = _root.m5._x + blinkd;
_root.spidah._x = _root.spidah._x + blinkd;
} else if ((_root.blk.blink21.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink21.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x + blinkd2;
_root.enviro._x = _root.enviro._x + blinkd2;
_root.fire._x = _root.fire._x + blinkd2;
_root.m1._x = _root.m1._x + blinkd2;
_root.m2._x = _root.m2._x + blinkd2;
_root.m3._x = _root.m3._x + blinkd2;
_root.m4._x = _root.m4._x + blinkd2;
_root.m5._x = _root.m5._x + blinkd2;
_root.spidah._x = _root.spidah._x + blinkd2;
}
} else if ((_root.blk.blink12.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink12.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x - blinkd;
_root.enviro._x = _root.enviro._x - blinkd;
_root.fire._x = _root.fire._x - blinkd;
_root.m1._x = _root.m1._x - blinkd;
_root.m2._x = _root.m2._x - blinkd;
_root.m3._x = _root.m3._x - blinkd;
_root.m4._x = _root.m4._x - blinkd;
_root.m5._x = _root.m5._x - blinkd;
_root.spidah._x = _root.spidah._x - blinkd;
} else if ((_root.blk.blink22.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink22.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x - blinkd2;
_root.enviro._x = _root.enviro._x - blinkd2;
_root.fire._x = _root.fire._x - blinkd2;
_root.m1._x = _root.m1._x - blinkd2;
_root.m2._x = _root.m2._x - blinkd2;
_root.m3._x = _root.m3._x - blinkd2;
_root.m4._x = _root.m4._x - blinkd2;
_root.m5._x = _root.m5._x - blinkd2;
_root.spidah._x = _root.spidah._x - blinkd2;
}
_root.blink = 1;
}
if (dead != 2) {
if (_root.fireball == 1) {
this.gotoAndStop(3);
}
if (Key.isDown(65)) {
if ((this._currentframe == 1) || (this._currentframe == 2)) {
if (_root.land.donthit.hitTest(_x - 18, _y, true) == false) {
this.gotoAndStop(2);
_root.land._x = _root.land._x + spd;
_root.enviro._x = _root.enviro._x + spd;
_root.fire._x = _root.fire._x + spd;
_root.m1._x = _root.m1._x + spd;
_root.m2._x = _root.m2._x + spd;
_root.m3._x = _root.m3._x + spd;
_root.m4._x = _root.m4._x + spd;
_root.m5._x = _root.m5._x + spd;
_root.spidah._x = _root.spidah._x + spd;
if (_root.mmine._currentframe > 1) {
_root.mmine._x = _root.mmine._x + spd;
}
this._xscale = -slf;
} else {
trace("wall");
}
}
} else if (Key.isDown(68)) {
if ((this._currentframe == 1) || (this._currentframe == 2)) {
if (_root.land.donthit.hitTest(_x + 18, _y, true) == false) {
this.gotoAndStop(2);
_root.land._x = _root.land._x - spd;
_root.enviro._x = _root.enviro._x - spd;
_root.fire._x = _root.fire._x - spd;
_root.m1._x = _root.m1._x - spd;
_root.m2._x = _root.m2._x - spd;
_root.m3._x = _root.m3._x - spd;
_root.m4._x = _root.m4._x - spd;
_root.m5._x = _root.m5._x - spd;
_root.spidah._x = _root.spidah._x - spd;
if (_root.mmine._currentframe > 1) {
_root.mmine._x = _root.mmine._x - spd;
}
this._xscale = slf;
} else {
trace("wall");
}
}
} else if (this._currentframe < 3) {
this.gotoAndStop(1);
}
}
if (_root.chealth < 1) {
dead = 2;
}
if (dead == 2) {
this.gotoAndStop(4);
}
}
Instance of Symbol 1058 MovieClip "m3" in Frame 8
onClipEvent (enterFrame) {
if (this._currentframe > 1) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 1087 MovieClip "m5" in Frame 8
onClipEvent (load) {
hp = 1000;
}
Instance of Symbol 1121 MovieClip "m1" in Frame 8
onClipEvent (load) {
hp = 2000;
}
Instance of Symbol 531 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_root.clvl < 4) {
this.gotoAndStop(_root.clvl);
} else {
if (_root.clvl == 4) {
this.gotoAndStop(3);
}
if (_root.clvl == 5) {
this.gotoAndStop(4);
}
if (_root.clvl == 6) {
this.gotoAndStop(5);
}
if (_root.clvl == 7) {
this.gotoAndStop(5);
}
if (_root.clvl == 8) {
this.gotoAndStop(6);
}
if (_root.clvl == 9) {
this.gotoAndStop(7);
}
if (_root.clvl == 10) {
this.gotoAndStop(8);
}
}
}
Instance of Symbol 497 MovieClip "item" in Frame 8
onClipEvent (enterFrame) {
if (_root.tshells > 0) {
this.gotoAndStop(4);
}
if (_root.horns == 2) {
this.gotoAndStop(6);
}
}
Frame 9
stop();
Symbol 19 MovieClip [GamesChart-AS2] Frame 1
#initclip 10
Object.registerClass("GamesChart-AS2", GCComponent);
#endinitclip
stop();
Symbol 74 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndStop (3);
}
Symbol 74 MovieClip Frame 2
gotoAndPlay (1);
Symbol 74 MovieClip Frame 3
_root.play();
Symbol 9 MovieClip [__Packages.GCComponent] Frame 0
class GCComponent extends MovieClip
{
var _preview;
function GCComponent () {
super();
GCBrainInterface.apiType = "AS2-MXP";
gameKey = ("");
}
function set gameKey(k) {
_gameKey = k;
if (((_gameKey == undefined) || (_gameKey == null)) || (_gameKey == "")) {
_preview.txt.text = "You need to set your gameID for the API to work.";
} else if (_global.isLivePreview) {
_preview.txt.text = ("Your gameID has been set to '" + _gameKey) + "'. This message will be hidden when the game is run.";
} else {
GamesChart.setup(_gameKey);
_preview._visible = false;
}
//return(gameKey);
}
function get gameKey() {
return(_gameKey);
}
var _gameKey = "";
}
Symbol 20 MovieClip [__Packages.GamesChart] Frame 0
class GamesChart
{
static var _interface;
function GamesChart () {
}
static function setup(gameIDKey) {
if (_interface == null) {
if (((gameIDKey == undefined) || (gameIDKey == null)) || (gameIDKey == "")) {
trace(_errors.noGameIDHash);
return(undefined);
}
_interface = new GCBrainInterface();
_interface.begin(gameIDKey);
} else {
trace(_errors.alreadyDefinedInterface);
}
}
static function showTab(xPos, yPos) {
if (_interface == null) {
trace(_errors.noInterface);
return(undefined);
}
_interface.sendNotification(GCNotificationTypes.SHOW_TAB, {xPos:xPos, yPos:yPos});
}
static function hideTab() {
if (_interface == null) {
trace(_errors.noInterface);
return(undefined);
}
_interface.sendNotification(GCNotificationTypes.HIDE_TAB);
}
static function openCharts() {
if (_interface == null) {
trace(_errors.noInterface);
return(undefined);
}
_interface.sendNotification(GCNotificationTypes.SHOW_CHART_LISTS);
}
static var VERSION = "0.2.0";
static var onGCEvent = null;
static var _errors = {noInterface:"[GC-API] ERROR! Please call gc.setup() first. See: http://wiki.gameschart.com/index.php/Static_Functions", alreadyDefinedInterface:"[GC-API] ERROR! Can only call setup once! See: http://wiki.gameschart.com/index.php/Static_Functions", noContainerMC:"[GC-API] ERROR! You must supply a container to hold GamesChart! See: http://wiki.gameschart.com/index.php/Static_Functions#Setup", noGameIDHash:"[GC-API] ERROR! You must supply the game ID key associated with this game! http://wiki.gameschart.com/index.php/Static_Functions#Setup"};
}
Symbol 21 MovieClip [__Packages.gc.utils.Events.IEventDispatcher] Frame 0
interface gc.utils.Events.IEventDispatcher
{
}
Symbol 22 MovieClip [__Packages.gc.utils.Events.Event] Frame 0
class gc.utils.Events.Event extends Object
{
var type, target, data;
function Event (target, type, data) {
super();
this.type = type;
this.target = target;
if (data != undefined) {
this.data = data;
}
}
static function get ADDED_TO_STAGE() {
return("addedToStage");
}
static function get ENTER_FRAME() {
return("enterFrame");
}
static function get UNLOAD() {
return("unload");
}
}
Symbol 23 MovieClip [__Packages.gc.utils.Events.EventDispatcher] Frame 0
class gc.utils.Events.EventDispatcher implements gc.utils.Events.IEventDispatcher
{
var registeredListeners, _parent;
function EventDispatcher (parent) {
registeredListeners = new Object();
_parent = parent;
}
function addEventListener(eventType, listenerObj, methodName) {
if (((eventType == undefined) || (listenerObj == undefined)) || (methodName == undefined)) {
throw new Error("All parameters must be defined.");
}
if (registeredListeners[eventType] == undefined) {
registeredListeners[eventType] = new Array();
}
registeredListeners[eventType].push({listenerObj:listenerObj, methodName:methodName});
}
function dispatchEvent(event, bubbles) {
((bubbles == undefined) ? (bubbles = true) : 0);
var _local7 = event.type;
var _local4 = null;
var _local5 = "";
if (hasEventListener(_local7)) {
var _local3 = registeredListeners[_local7];
var _local2 = 0;
while (_local2 < _local3.length) {
_local4 = _local3[_local2].listenerObj;
_local5 = _local3[_local2].methodName;
_local4[_local5](event);
_local2++;
}
} else if (bubbles && (_parent instanceof gc.utils.Events.EventDispatcher)) {
gc.utils.Events.EventDispatcher(_parent).dispatchEvent(event, bubbles);
}
}
function removeEventListener(eventType, listenerObj, methodName) {
if (hasEventListener(eventType)) {
var _local3 = registeredListeners[eventType];
var _local2 = _local3.length - 1;
while (_local2 >= 0) {
if ((_local3[_local2].listenerObj == listenerObj) && (_local3[_local2].methodName == methodName)) {
_local3.splice(_local2, 1);
if (_local3.length == 0) {
registeredListeners[eventType] = null;
}
break;
}
_local2--;
}
}
}
function hasEventListener(eventType) {
var _local2 = Array(registeredListeners[eventType]);
return((_local2 != null) && (_local2 != undefined));
}
}
Symbol 24 MovieClip [__Packages.gc.utils.GCDelegate] Frame 0
class gc.utils.GCDelegate
{
function GCDelegate () {
}
static function create(target, handler) {
var _local2 = function () {
var _local2 = arguments.callee;
var _local3 = arguments.concat(_local2.initArgs);
return(_local2.handler.apply(_local2.target, _local3));
};
_local2.target = target;
_local2.handler = handler;
_local2.initArgs = arguments.slice(2);
return(_local2);
}
}
Symbol 25 MovieClip [__Packages.gc.utils.GCSWFConnection] Frame 0
class gc.utils.GCSWFConnection extends gc.utils.Events.EventDispatcher
{
var _connected, _logName, _host, _queuedMessages, _close, _client, _version, _baseID, _traceLog, _lc, _myID, _extID, clientVersion, dispatchEvent;
function GCSWFConnection (connectionID, client, version, logName, traceTheLog) {
super();
_connected = false;
_logName = logName;
_host = true;
_queuedMessages = [];
_close = false;
_client = client;
_version = version;
_baseID = connectionID.split(":").join("");
_traceLog = traceTheLog;
}
function startConnection() {
_lc = new LocalConnection();
var _local2 = this;
_lc.allowDomain = function (s) {
return(true);
};
_lc.allowInsecureDomain = function (s) {
return(true);
};
_lc.GC_utils_GCSWFConnection_init = gc.utils.GCDelegate.create(this, GC_utils_GCSWFConnection_init);
_lc.GC_utils_GCSWFConnection_receive = gc.utils.GCDelegate.create(this, GC_utils_GCSWFConnection_receive);
_host = _lc.connect(_baseID + "_HOST");
_myID = _baseID + (_host ? "_HOST" : "_CLIENT");
_extID = _baseID + (_host ? "_CLIENT" : "_HOST");
if (!_host) {
_lc.connect(_myID);
_lc.send(_extID, "GC_utils_GCSWFConnection_init", _version);
report(("[" + _logName) + "] [GCSWFConnection] Connected as client..");
} else {
report(("[" + _logName) + "] [GCSWFConnection] Connected as host..");
}
}
function bridgeConnected() {
var _local2 = 0;
while (_local2 < _queuedMessages.length) {
var _local5 = _queuedMessages[_local2].methodName;
var _local4 = _queuedMessages[_local2].methodArgs;
var _local3 = [_local5];
if (_local4) {
_local3 = _local3.concat(_local4);
}
send.apply(null, _local3);
_local2++;
}
_queuedMessages = [];
if (_close) {
close();
}
}
function send() {
var _local3 = arguments.slice(0);
if (_connected) {
_local3.unshift("GC_utils_GCSWFConnection_receive");
_local3.unshift(_extID);
_lc.send.apply(_lc, _local3);
} else {
_queuedMessages.push(_local3);
}
}
function GC_utils_GCSWFConnection_receive() {
var _local3 = arguments.slice(0);
var _local4 = String(_local3.shift());
_client[_local4].apply(_client, _local3);
}
function GC_utils_GCSWFConnection_init(version) {
report(("[" + _logName) + "] [GCSWFConnection] Reccieved Init");
if (_host) {
_lc.send(_extID, "GC_utils_GCSWFConnection_init", _version);
}
clientVersion = version;
_connected = true;
bridgeConnected();
report(("[" + _logName) + "] Dispatching Connect Event");
dispatchEvent(new gc.utils.Events.Event(this, CONNECTED));
}
function close() {
report(("[" + _logName) + "] [GCSWFConnection] Connection Closing");
if (_queuedMessages.length != 0) {
_close = true;
return(undefined);
}
_lc.close();
_connected = false;
delete _client;
delete _lc;
}
function report(s) {
if (_traceLog) {
trace(s);
}
}
function get id() {
return(_baseID);
}
function get connected() {
return(_connected);
}
static var CONNECTED = "CONNECTED";
}
Symbol 26 MovieClip [__Packages.GCNotificationTypes] Frame 0
class GCNotificationTypes
{
function GCNotificationTypes () {
}
static var BEGIN_LOAD = "BEGIN_LOAD";
static var STARTUP = "STARTUP";
static var LOAD_SKIN_AND_STYLE = "LOAD_SKIN_AND_STYLE";
static var SKIN_AND_STYLE_LOADED = "SKIN_AND_STYLE_LOADED";
static var SHOW_TAB = "SHOW_TAB";
static var HIDE_TAB = "HIDE_TAB";
static var SHOW_CHART_LISTS = "SHOW_CHART_LISTS";
static var LAUNCH_GAME = "LAUNCH_GAME";
static var DISPATCH_DEVELOPER_API_EVENT = "DISPATCH_DEVELOPER_API_EVENT";
}
Symbol 27 MovieClip [__Packages.GCBrainInterface] Frame 0
class GCBrainInterface
{
var _container, _lcRand, _brainLoaded, _brainLoader, _notificationBuffer, _conn;
function GCBrainInterface () {
System.security.allowDomain("*");
System.security.allowInsecureDomain("*");
trace("[GC-API] Games Chart v." + GamesChart.VERSION);
_container = _root.createEmptyMovieClip("GC_API_MC", _root.getNextHighestDepth());
_container.onEnterFrame = gc.utils.GCDelegate.create(this, onEnterFrame);
_lcRand = int(Math.random() * 10000);
loadBrain();
startLC();
}
function onEnterFrame() {
var _local4 = _container.getDepth();
var _local3 = _root.getNextHighestDepth() - 1;
if (_local4 < _local3) {
_container.swapDepths(_local3 + 1);
}
}
function loadBrain() {
var _local2 = BRAIN_URL;
_brainLoaded = false;
_brainLoader = new MovieClipLoader();
_brainLoader.addListener({onLoadInit:gc.utils.GCDelegate.create(this, onFinishedLoading)});
_brainLoader.loadClip((_local2 + "?r=") + _lcRand, _container.createEmptyMovieClip("GCBrain_mc", _container.getNextHighestDepth()));
trace("[GC-API] Loading Brain.. ");
}
function onFinishedLoading(brainMC) {
_brainLoaded = true;
trace("[GC-API] Brain Loaded!");
}
function startLC() {
_notificationBuffer = [];
_conn = new gc.utils.GCSWFConnection("_GamesChartLC" + _lcRand, this, GamesChart.VERSION, "GC-API", true);
_conn.addEventListener(gc.utils.GCSWFConnection.CONNECTED, this, "onLCConnected");
_conn.startConnection();
}
function onLCConnected(e) {
trace("[GC-API] API Connected to Brain!");
while (_notificationBuffer.length > 0) {
var _local2 = _notificationBuffer.pop();
sendNotification(_local2.name, _local2.body, _local2.type);
}
}
function onGCEvent(type, data) {
if (GamesChart.onGCEvent != null) {
GamesChart.onGCEvent.apply(null, [type, data]);
}
}
function begin(gID) {
sendNotification(GCNotificationTypes.BEGIN_LOAD, {gameIDHash:gID, apiType:apiType, apiVersion:GamesChart.VERSION, swfURL:getRunningOnURL()}, "");
}
function sendNotification(n, body, type) {
if (_conn.__get__connected()) {
_conn.send("sendNotification", n, body, type);
} else {
_notificationBuffer.push({name:n, body:body, type:type});
}
}
function getRunningOnURL() {
var _local2 = String(flash.external.ExternalInterface.call("window.location.href.toString"));
if (_local2 == "null") {
return(_root._url);
}
return(_local2);
}
static var BRAIN_URL = "http://gameschart.com/flash_client/getBrain.php";
static var apiType = "AS2-API";
}
Symbol 94 MovieClip Frame 1
more_btn.onRelease = function () {
getURL ("http://www.funny-games.biz/main.html", "_blank");
};
Symbol 94 MovieClip Frame 220
_root.play();
Symbol 114 Button
on (release) {
_root.Click.start(0, 0);
_root.gotoAndPlay(4);
}
Symbol 151 MovieClip Frame 1
_root.astamina = 0;
_root.aintellect = 0;
_root.apower = 0;
Symbol 151 MovieClip Frame 2
_root.astamina = 4;
_root.aintellect = 4;
_root.apower = -3;
Symbol 151 MovieClip Frame 3
_root.astamina = 1;
_root.aintellect = 1;
_root.apower = 4;
Symbol 151 MovieClip Frame 4
_root.astamina = -3;
_root.aintellect = 4;
_root.apower = 3;
Symbol 152 MovieClip Frame 1
onEnterFrame = function () {
fskin.gotoAndStop(_root.cskin);
feyes.gotoAndStop(_root.ceyes);
fsmile.gotoAndStop(_root.csmile);
};
Instance of Symbol 151 MovieClip in Symbol 152 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.hat + 1);
}
Symbol 153 Button
on (release) {
_root.Click.start(0, 0);
_root.gotoAndPlay(5);
}
Symbol 156 Button
on (release) {
_root.Click.start(0, 0);
rusure._x = -170.6;
}
Symbol 159 Button
on (release) {
_root.char = 1;
_root.savefile.data.cskin = undefined;
_root.savefile.flush();
_parent.gotoAndStop(1);
}
Symbol 160 Button
on (release) {
_parent.rusure._x = 500;
}
Symbol 164 MovieClip Frame 1
stop();
Symbol 164 MovieClip Frame 2
stop();
Symbol 165 Button
on (release) {
getURL ("http://www.funny-games.biz", "_BLANK");
}
Symbol 169 Button
on (release) {
getURL ("http://www.funny-games.biz/free-web-games.html", "_BLANK");
}
Symbol 174 Button
on (release) {
getURL ("http://www.facebook.com/realfunnygamesbiz", "_BLANK");
}
Symbol 180 Button
on (release) {
if (_root.cskin == 0) {
_root.cskin = 6;
} else {
_root.cskin = _root.cskin - 1;
}
}
Symbol 181 Button
on (release) {
if (_root.cskin == 6) {
_root.cskin = 1;
} else {
_root.cskin = _root.cskin + 1;
}
}
Symbol 186 Button
on (release) {
if (_root.ceyes == 0) {
_root.ceyes = 8;
} else {
_root.ceyes = _root.ceyes - 1;
}
}
Symbol 187 Button
on (release) {
if (_root.ceyes == 8) {
_root.ceyes = 1;
} else {
_root.ceyes = _root.ceyes + 1;
}
}
Symbol 190 Button
on (release) {
if (_root.csmile == 0) {
_root.csmile = 8;
} else {
_root.csmile = _root.csmile - 1;
}
}
Symbol 191 Button
on (release) {
if (_root.csmile == 8) {
_root.csmile = 1;
} else {
_root.csmile = _root.csmile + 1;
}
}
Symbol 197 MovieClip Frame 1
cname = "mage";
Symbol 198 Button
on (release) {
_root.char = 2;
_root.Click.start(0, 0);
_root.gotoAndPlay(3);
}
Symbol 204 Button
on (release) {
getURL ("http://www.funny-games.biz", "_BLANK");
}
Symbol 207 Button
on (release) {
_root.Click.start(0, 0);
_root.play();
}
Symbol 212 MovieClip Frame 1
stop();
Symbol 228 MovieClip Frame 1
stop();
Symbol 228 MovieClip Frame 2
stop();
Instance of Symbol 219 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.play();
}
}
Symbol 251 MovieClip Frame 1
if (akf != 2) {
gotoAndPlay(random(200));
afk = 2;
}
Symbol 261 MovieClip Frame 1
stop();
Symbol 286 MovieClip Frame 8
_root.chealth = _root.chealth - 20;
Symbol 292 MovieClip Frame 10
stop();
Symbol 294 MovieClip Frame 10
stop();
Symbol 295 MovieClip Frame 2
_root.monsterdie.start(0, 0);
Symbol 295 MovieClip Frame 10
stop();
_root.xp = _root.xp + 25;
_root.om = _root.om + 1;
Symbol 296 MovieClip Frame 1
stop();
Instance of Symbol 261 MovieClip in Symbol 296 MovieClip Frame 1
onClipEvent (load) {
tx = _parent._x;
xx = _parent._xscale;
thp = _parent.hp;
hp = _parent.hp;
this.gotoAndStop(50);
spd = 2;
dan = random(4);
if ((dan == 1) || (dan == 2)) {
_parent._xscale = -xx;
} else {
_parent._xscale = xx;
}
}
onClipEvent (enterFrame) {
if (_parent._currentframe == 1) {
fls = 50;
}
if (_root.guy.dead == 2) {
if (_parent._currentframe != 4) {
_parent.gotoAndStop(1);
fls = 0;
}
}
if (_root.reset == 2) {
_parent._x = tx;
if (_parent._currentframe != 4) {
hp = thp;
_parent._x = tx;
}
fls = 0;
}
if ((_parent._currentframe == 2) || (_parent._currentframe == 3)) {
if (_root.guy._x < _parent._x) {
_parent._xscale = xx;
} else {
_parent._xscale = -xx;
}
}
this.gotoAndStop(Math.round((hp / thp) * 50));
if (hp < 1) {
this._visible = false;
_parent.gotoAndStop(4);
}
if (_root.fire.fb.fir.hitTest(_parent.monster) && (_root.fire._currentframe > 2)) {
if (_parent._currentframe != 4) {
hp = hp - (_root.fbpower * ((random(11) / 10) + 1));
_root.fire.stop();
_root.fire.fb.gotoAndStop(2);
_root.fcheck.play();
}
}
if (_root.explod.xhit.hitTest(_parent.monster) && (_parent._currentframe != 4)) {
hp = hp - (_root.xpower * ((random(11) / 10) + 1));
}
if (_root.guy.dead != 2) {
if (_parent._currentframe != 4) {
if (_root.guy.hitTest(_parent.bob) == false) {
if ((_root.guy.hitTest(_parent.aggro) || (hp < thp)) || (fls == 2)) {
fls = 2;
_parent.gotoAndStop(2);
} else {
fls = 0;
}
} else {
fls = 2;
_parent.gotoAndStop(3);
}
if (_parent._currentframe == 2) {
if (_parent._xscale < 0) {
_parent._x = _parent._x + spd;
} else {
_parent._x = _parent._x - spd;
}
}
}
}
}
Symbol 296 MovieClip Frame 2
stop();
_root.monsteraggro.start(0, 0);
Symbol 296 MovieClip Frame 3
stop();
Symbol 296 MovieClip Frame 4
stop();
Symbol 297 Button
on (release) {
_root.Click.start(0, 0);
_root.dintellect = _root.dintellect + 1;
if (ptsr._currentframe != 1) {
ptsr.gotoAndStop(ptsr._currentframe - 1);
} else {
_x = -500;
ptsr.gotoAndStop(2);
}
}
Symbol 302 Button
on (release) {
_root.Click.start(0, 0);
_root.dstamina = _root.dstamina + 1;
if (ptsr._currentframe != 1) {
ptsr.gotoAndStop(ptsr._currentframe - 1);
} else {
_x = -500;
ptsr.gotoAndStop(2);
}
}
Symbol 303 Button
on (release) {
_root.Click.start(0, 0);
_root.dpower = _root.dpower + 1;
if (ptsr._currentframe != 1) {
ptsr.gotoAndStop(ptsr._currentframe - 1);
} else {
_x = -500;
ptsr.gotoAndStop(2);
}
}
Symbol 308 MovieClip Frame 1
stop();
Symbol 308 MovieClip Frame 2
stop();
Instance of Symbol 308 MovieClip "ptsr" in Symbol 313 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
}
Symbol 328 MovieClip Frame 1
stop();
Symbol 328 MovieClip Frame 2
stop();
_root.quests.gotoAndStop(2);
_root.quests._visible = true;
Symbol 328 MovieClip Frame 3
stop();
Symbol 328 MovieClip Frame 4
stop();
Symbol 328 MovieClip Frame 5
stop();
Symbol 328 MovieClip Frame 6
stop();
Symbol 354 MovieClip Frame 2
_root.dchickens.play();
Symbol 354 MovieClip Frame 12
stop();
Symbol 355 MovieClip Frame 1
facing = 2;
Symbol 355 MovieClip Frame 80
facing = 1;
Symbol 355 MovieClip Frame 164
gotoAndPlay (1);
Symbol 355 MovieClip Frame 165
stop();
Symbol 355 MovieClip Frame 166
stop();
Symbol 371 MovieClip Frame 2
_root.dchickens.play();
Symbol 371 MovieClip Frame 12
stop();
Symbol 372 MovieClip Frame 1
facing = 1;
Symbol 372 MovieClip Frame 16
facing = 2;
Symbol 372 MovieClip Frame 114
facing = 1;
Symbol 372 MovieClip Frame 186
gotoAndPlay (1);
Symbol 372 MovieClip Frame 187
stop();
Symbol 372 MovieClip Frame 188
stop();
Symbol 389 MovieClip Frame 2
_root.dchickens.play();
Symbol 389 MovieClip Frame 14
stop();
Symbol 390 MovieClip Frame 1
facing = 1;
Symbol 390 MovieClip Frame 44
facing = 2;
Symbol 390 MovieClip Frame 143
facing = 1;
Symbol 390 MovieClip Frame 179
gotoAndPlay (1);
Symbol 390 MovieClip Frame 180
stop();
Symbol 390 MovieClip Frame 181
stop();
Instance of Symbol 315 MovieClip "hit" in Symbol 391 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
if (_parent.orc._currentframe == 1) {
_parent.orc.gotoAndStop(2);
}
if (_parent.orc._currentframe == 3) {
if (_root.quests.tick._alpha == 100) {
_root.xp = _root.xp + 30;
_root.quests.gotoAndStop(3);
_root.land.donthit.gotoAndStop(2);
_parent.orc.gotoAndPlay(5);
} else {
_parent.orc.gotoAndPlay(2);
}
}
if (_parent.orc._currentframe == 6) {
_parent.orc.gotoAndStop(5);
}
}
if ((_root.guy.hitTest(this) == false) && (_parent.orc._currentframe == 2)) {
_parent.orc.gotoAndStop(3);
}
if ((_root.guy.hitTest(this) == false) && (_parent.orc._currentframe == 5)) {
_parent.orc.gotoAndStop(6);
}
}
Instance of Symbol 355 MovieClip in Symbol 391 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.fire.hitTest(this) && (this._currentframe < 165)) && (_root.fire._currentframe > 2)) {
_root.chickens = _root.chickens + 1;
_root.xp = _root.xp + 15;
if (this.facing == 1) {
this.gotoAndStop(165);
} else {
this.gotoAndStop(166);
}
_root.fire.stop();
_root.fire.fb.gotoAndStop(2);
}
}
Instance of Symbol 372 MovieClip in Symbol 391 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.fire.hitTest(this) && (this._currentframe < 187)) && (_root.fire._currentframe > 2)) {
_root.chickens = _root.chickens + 1;
_root.xp = _root.xp + 15;
if (this.facing == 1) {
this.gotoAndStop(187);
} else {
this.gotoAndStop(188);
}
_root.fire.stop();
_root.fire.fb.gotoAndStop(2);
}
}
Instance of Symbol 390 MovieClip in Symbol 391 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.fire.hitTest(this) && (this._currentframe < 180)) && (_root.fire._currentframe > 2)) {
_root.chickens = _root.chickens + 1;
_root.xp = _root.xp + 15;
if (this.facing == 1) {
this.gotoAndStop(180);
} else {
this.gotoAndStop(181);
}
_root.fire.stop();
_root.fire.fb.gotoAndStop(2);
}
}
Symbol 404 MovieClip Frame 6
_root.fireball = 0;
Symbol 404 MovieClip Frame 7
_root.fireball = 0;
stop();
Symbol 405 MovieClip Frame 1
stop();
Symbol 405 MovieClip Frame 2
stop();
_root.fcheck.play();
Symbol 406 MovieClip Frame 1
if (_root.guy._xscale > 0) {
_parent._xscale = _parent.fff;
} else {
_parent._xscale = -_parent.fff;
}
if (_root.fireball == 2) {
_root.fireball = 0;
}
Instance of Symbol 405 MovieClip "fb" in Symbol 406 MovieClip Frame 1
/* no clip actions */
Symbol 406 MovieClip Frame 2
_root.firespell.start(0, 0);
Symbol 406 MovieClip Frame 29
stop();
fb.gotoAndStop(2);
Symbol 406 MovieClip Frame 30
fb.gotoAndStop(2);
stop();
Symbol 406 MovieClip Frame 31
stop();
_root.fireball = 0;
Symbol 418 MovieClip Frame 7
_root.fire.gotoAndPlay(1);
Symbol 418 MovieClip Frame 18
if ((_root.fire.fb._currentframe == 2) || (_root.fireball == 0)) {
_root.fireball = 0;
} else {
_root.fireball = 2;
}
_parent.gotoAndStop(1);
Symbol 421 MovieClip Frame 18
_root.ddd.play();
stop();
Symbol 422 MovieClip Frame 18
_root.ddd.play();
stop();
Symbol 425 MovieClip Frame 20
_root.ddd.play();
stop();
Symbol 426 MovieClip Frame 1
Symbol 426 MovieClip Frame 2
Symbol 426 MovieClip Frame 3
stop();
Symbol 427 MovieClip Frame 1
stop();
Symbol 427 MovieClip Frame 2
stop();
Symbol 427 MovieClip Frame 3
stop();
Symbol 427 MovieClip Frame 4
stop();
Instance of Symbol 426 MovieClip in Symbol 427 MovieClip Frame 4
onClipEvent (load) {
if ((_root._currentframe == 8) && (_root.guy.hitTest(_root.m1))) {
this.gotoAndStop(3);
} else {
ala = random(100);
trace(ala);
if (ala < 50) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
}
Symbol 429 MovieClip Frame 1
stop();
Symbol 429 MovieClip Frame 2
_root.deadchicken.start(0, 0);
Symbol 443 MovieClip Frame 1
stop();
Symbol 443 MovieClip Frame 2
stop();
Instance of Symbol 438 MovieClip "tick" in Symbol 443 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.chickens == 3) {
this._alpha = 100;
}
}
Symbol 443 MovieClip Frame 3
stop();
_root.item.gotoAndStop(2);
Instance of Symbol 440 MovieClip "tick" in Symbol 443 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root._currentframe == 7) {
this._alpha = 100;
}
}
Symbol 443 MovieClip Frame 4
stop();
Instance of Symbol 438 MovieClip "tick" in Symbol 443 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.om == 5) {
this._alpha = 100;
}
}
Symbol 443 MovieClip Frame 5
stop();
Instance of Symbol 440 MovieClip "tick" in Symbol 443 MovieClip Frame 5
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.spidead == 2) {
trace("wat");
this._alpha = 100;
}
}
Symbol 447 MovieClip Frame 1
stop();
Symbol 465 MovieClip Frame 1
stop();
Symbol 465 MovieClip Frame 2
_root.Spell2.start(0, 0);
Symbol 465 MovieClip Frame 12
_root.explode = 0;
Symbol 467 MovieClip Frame 1
stop();
Symbol 467 MovieClip Frame 39
_root.fireball = 0;
Symbol 484 Button
on (release) {
_root.mmine.zed = 2;
}
Symbol 497 MovieClip Frame 1
stop();
Instance of Symbol 470 MovieClip in Symbol 497 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.tshells > 0) {
this.gotoAndStop(4);
}
if (_root.horns == 2) {
this.gotoAndStop(6);
}
}
Symbol 497 MovieClip Frame 2
stop();
Symbol 497 MovieClip Frame 3
stop();
Symbol 497 MovieClip Frame 4
stop();
Instance of Symbol 490 MovieClip in Symbol 497 MovieClip Frame 4
onClipEvent (enterFrame) {
this.gotoAndStop(_root.tshells);
}
Symbol 497 MovieClip Frame 5
stop();
Symbol 497 MovieClip Frame 6
stop();
Symbol 506 MovieClip Frame 1
stop();
Symbol 506 MovieClip Frame 2
_root.Spell3.start(0, 0);
Symbol 508 Button
on (press) {
_root.fbl.gotoAndPlay(2);
if (_root.guy.dead != 2) {
if (_root.fireball == 0) {
if (_root.cmana > (_root.tmana / (_root.cintellect / 2))) {
_root.cmana = _root.cmana - (_root.tmana / (_root.cintellect / 2));
_root.fireball = 1;
_root.fbl.play();
} else {
_root.nomana.gotoAndPlay(2);
}
}
}
}
on (keyPress "h") {
_root.fbl.gotoAndPlay(2);
if (_root.guy.dead != 2) {
if (_root.fireball == 0) {
if (_root.cmana > (_root.tmana / (_root.cintellect / 2))) {
_root.cmana = _root.cmana - (_root.tmana / (_root.cintellect / 2));
_root.fireball = 1;
_root.fbl.play();
} else {
_root.nomana.gotoAndPlay(2);
}
}
}
}
Symbol 514 Button
on (press) {
if (_root.guy.dead != 2) {
if (_root.explode == 0) {
if (_root.cmana > (_root.tmana / (_root.cintellect / 6))) {
_root.cmana = _root.cmana - (_root.tmana / (_root.cintellect / 6));
_root.explode = 1;
} else {
_root.nomana.gotoAndPlay(2);
}
}
}
}
on (keyPress "j") {
if (_root.guy.dead != 2) {
if (_root.explode == 0) {
if (_root.cmana > (_root.tmana / (_root.cintellect / 6))) {
_root.cmana = _root.cmana - (_root.tmana / (_root.cintellect / 6));
_root.explode = 1;
} else {
_root.nomana.gotoAndPlay(2);
}
}
}
}
Symbol 518 Button
on (press) {
if (_root.guy.dead != 2) {
if (_root.chealth > (_root.thealth / 10)) {
_root.chealth = _root.chealth - (_root.thealth / 10);
_root.cmana = _root.cmana + (_root.thealth / 10);
_root.spell3.play();
}
}
}
on (keyPress "k") {
if (_root.guy.dead != 2) {
if (_root.chealth > (_root.thealth / 10)) {
_root.chealth = _root.chealth - (_root.thealth / 10);
_root.cmana = _root.cmana + (_root.thealth / 10);
_root.spell3.play();
}
}
}
Symbol 525 Button
on (press) {
if (_root.guy.dead != 2) {
if (cd._currentframe == 1) {
if (_root.cmana > (_root.tmana / (_root.cintellect / 2.5))) {
_root.cmana = _root.cmana - (_root.tmana / (_root.cintellect / 2.5));
cd.play();
_root.blink = 2;
_root.blinka.play();
} else {
_root.nomana.gotoAndPlay(2);
}
}
}
}
on (keyPress "l") {
if (_root.guy.dead != 2) {
if (cd._currentframe == 1) {
if (_root.cmana > (_root.tmana / (_root.cintellect / 2.5))) {
_root.cmana = _root.cmana - (_root.tmana / (_root.cintellect / 2.5));
cd.play();
_root.blink = 2;
_root.blinka.play();
} else {
_root.nomana.gotoAndPlay(2);
}
}
}
}
Symbol 530 MovieClip Frame 1
stop();
Symbol 530 MovieClip Frame 2
_root.spell4sound.start(0, 0);
Symbol 536 MovieClip Frame 1
stop();
Symbol 540 MovieClip Frame 1
stop();
Symbol 623 MovieClip Frame 1
stop();
Symbol 643 MovieClip Frame 1
stop();
Symbol 643 MovieClip Frame 2
stop();
Symbol 651 MovieClip Frame 1
stop();
Symbol 651 MovieClip Frame 2
stop();
Instance of Symbol 643 MovieClip in Symbol 652 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.mouse.hitTest(this)) {
this.hoh = (Math.round(_root.cmana) + "/") + Math.round(_root.tmana);
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 649 MovieClip in Symbol 652 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.mouse.hitTest(this)) {
this.sstamina = "Stamina: " + _root.cstamina;
this.sintellect = "Intellect: " + _root.cintellect;
this.spower = "Power: " + _root.cpower;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 651 MovieClip in Symbol 652 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.mouse.hitTest(this)) {
this.hoh = (Math.round(_root.chealth) + "/") + Math.round(_root.thealth);
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Symbol 663 Button
on (release) {
getURL ("http://www.funny-games.biz", "_BLANK");
}
Symbol 665 MovieClip Frame 1
stop();
Symbol 665 MovieClip Frame 269
_root.reset = 2;
_root.m2.restet = 0;
_root.guy.dead = 0;
_root.chealth = _root.thealth / 5;
_root.cmana = _root.tmana / 5;
_root.guy.gotoAndStop(1);
_root.dbs = 0;
if (_root.ogredg == 2) {
_root.ogtl = _root.ogre._x - _root.land._x;
}
if (_root._currentframe == 8) {
_root.enviro._x = _root.enviro.tx;
_root.mmtx = _root.land._x - _root.land.tx;
_root.land._x = _root.land.tx;
}
Symbol 665 MovieClip Frame 270
_root.reset = 0;
if (_root.ogredg == 2) {
_root.ogtl = _root.ogre._x - _root.land._x;
_root.ogre = _root.land._x + _root.ogtl;
_root.ogredg = 0;
}
Symbol 672 MovieClip Frame 1
stop();
Symbol 691 Button
on (release) {
_root.Click.start(0, 0);
gotoAndStop (2);
}
on (keyPress "<Space>") {
_root.Click.start(0, 0);
gotoAndPlay (2);
}
Symbol 695 MovieClip Frame 1
stop();
if (_root.asl51 == 2) {
gotoAndPlay (2);
}
Symbol 695 MovieClip Frame 2
stop();
_root.asl51 = 2;
_root.quests.gotoAndStop(4);
Symbol 737 Button
on (release) {
_root.Click.start(0, 0);
play();
}
on (keyPress "<Space>") {
_root.Click.start(0, 0);
play();
}
Symbol 747 Button
on (release) {
_root.Click.start(0, 0);
play();
}
on (keyPress "<Space>") {
_root.Click.start(0, 0);
play();
}
Symbol 776 MovieClip Frame 49
_root.spell4sound.start(0, 0);
Symbol 776 MovieClip Frame 58
_root.play();
Symbol 777 MovieClip Frame 1
stop();
Symbol 777 MovieClip Frame 252
stop();
Symbol 778 MovieClip Frame 1
stop();
Symbol 778 MovieClip Frame 2
_root.item.gotoAndStop(1);
if (_root.qq1 != 1) {
_root.xp = _root.xp + 20;
_root.qq1 = 1;
}
Symbol 778 MovieClip Frame 3
stop();
Symbol 778 MovieClip Frame 4
stop();
Symbol 778 MovieClip Frame 5
stop();
Symbol 778 MovieClip Frame 6
stop();
if (_root.dan09 != 2) {
_root.xp = _root.xp + 10;
_root.dan09 = 2;
}
_root.quests.gotoAndStop(5);
_root.item.gotoAndStop(3);
Symbol 778 MovieClip Frame 7
stop();
Symbol 778 MovieClip Frame 8
stop();
Symbol 778 MovieClip Frame 9
stop();
_root.pickahat.play();
_root.quests.gotoAndStop(1);
_root.item.gotoAndStop(1);
Instance of Symbol 743 MovieClip in Symbol 778 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_root.hat > 0) {
_parent.gotoAndStop(10);
}
}
Symbol 778 MovieClip Frame 10
stop();
_root.xp = _root.xp + 30;
Symbol 787 MovieClip Frame 1
stop();
Symbol 787 MovieClip Frame 2
stop();
Symbol 787 MovieClip Frame 3
stop();
Instance of Symbol 778 MovieClip in Symbol 788 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this._currentframe > 8) == false) {
if ((_root.quests._currentframe == 5) && (_root.spidead == 2)) {
if (this.hitTest(_root.guy)) {
this.gotoAndStop(9);
} else if (this._currentframe != 9) {
this.gotoAndStop(8);
}
}
if ((_root.quests._currentframe == 4) && (_root.om == 5)) {
this.gotoAndStop(4);
if (_root.guy.hitTest(this)) {
this.gotoAndStop(5);
_root.quests.gotoAndStop(1);
}
}
if (_root.guy.hitTest(this)) {
if (this._currentframe == 7) {
this.gotoAndStop(6);
}
if ((this._currentframe == 1) || (this._currentframe == 3)) {
this.gotoAndStop(2);
if (_root.quests._currentframe == 4) {
this.gotoAndStop(2);
}
}
}
if ((this._currentframe == 2) && (_root.guy.hitTest(this) == false)) {
this.gotoAndStop(3);
}
if ((this._currentframe == 6) && (_root.guy.hitTest(this) == false)) {
this.gotoAndStop(7);
}
}
}
Instance of Symbol 787 MovieClip in Symbol 788 MovieClip Frame 1
onClipEvent (load) {
_root.killedkid = 0;
}
onClipEvent (enterFrame) {
if (_root.killedkid == 0) {
if (_root.guy.hitTest(this.hitbox)) {
this.gotoAndStop(2);
if (_root.guy._currentframe == 3) {
_root.killedkid = 1;
_root.killingkid.play();
}
} else {
this.gotoAndStop(1);
}
}
if (_root.killedkid == 2) {
this.gotoAndStop(3);
}
}
Symbol 792 Button
on (release) {
_root.hat = 3;
gotoAndStop (1);
}
Symbol 793 Button
on (release) {
_root.hat = 2;
gotoAndStop (1);
}
Symbol 794 Button
on (release) {
_root.hat = 1;
gotoAndStop (1);
}
Symbol 804 MovieClip Frame 1
stop();
Symbol 804 MovieClip Frame 2
stop();
Instance of Symbol 148 MovieClip in Symbol 804 MovieClip Frame 2
on (release) {
_root.hat = 1;
}
Symbol 828 MovieClip Frame 1
stop();
Symbol 828 MovieClip Frame 2
stop();
Symbol 828 MovieClip Frame 3
_root.Spell2.start(0, 0);
Instance of Symbol 824 MovieClip "hit2" in Symbol 828 MovieClip Frame 7
onClipEvent (load) {
if (_root.guy.hitTest(this)) {
_root.chealth = _root.chealth - 900;
}
}
Symbol 828 MovieClip Frame 10
stop();
Symbol 856 MovieClip Frame 15
stop();
Symbol 859 MovieClip Frame 1
stop();
Instance of Symbol 858 MovieClip in Symbol 859 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.guy)) {
_root.chealth = _root.chealth - 300;
_parent.play();
}
}
Symbol 859 MovieClip Frame 8
stop();
Symbol 874 MovieClip Frame 25
stop();
_root.spidead = 2;
_root.xp = _root.xp + 25;
Symbol 875 MovieClip Frame 1
stop();
Instance of Symbol 261 MovieClip in Symbol 875 MovieClip Frame 1
onClipEvent (load) {
tx = _parent._x;
xx = _parent._xscale;
thp = _parent.hp;
hp = _parent.hp;
this.gotoAndStop(50);
wspd = 1;
spd = 3;
maxd = 300;
cd = 2;
}
onClipEvent (enterFrame) {
if (_root.guy.dead == 2) {
if (_parent._currentframe != 4) {
cd = 2;
_root.mmine.gotoAndStop(1);
_root.mmine.zed = 5;
_root.mmine._alpha = 0;
hp = thp;
_parent.gotoAndStop(1);
fls = 0;
}
}
if (_root.reset == 2) {
if (_parent._currentframe != 4) {
_parent._x = tx;
}
fls = 0;
}
if (_parent._currentframe == 1) {
if ((cd < maxd) && (cd > 0)) {
_parent._x = _parent._x - wspd;
_parent._xscale = xx;
cd = cd + spd;
alsf = 1;
} else {
if (alsf != 2) {
cd = -maxd;
alsf = 2;
}
_parent._x = _parent._x + wspd;
_parent._xscale = -xx;
cd = cd + spd;
}
}
if ((_parent._currentframe == 2) || (_parent._currentframe == 3)) {
if (_root.guy._x < _parent._x) {
_parent._xscale = xx;
} else {
_parent._xscale = -xx;
}
}
this.gotoAndStop(Math.round((hp / thp) * 50));
if (hp < 1) {
this._visible = false;
_parent.gotoAndStop(4);
}
if (_root.fire.fb.fir.hitTest(_parent.fhit) && (_parent._currentframe != 4)) {
hp = hp - (_root.fbpower * ((random(11) / 10) + 1));
_root.fire.stop();
_root.fire.fb.gotoAndStop(2);
}
if (_root.explod.xhit.hitTest(_parent.fhit) && (_parent._currentframe != 4)) {
hp = hp - (_root.xpower * ((random(11) / 10) + 1));
}
if (_root.mmine.hit.hitTest(_parent.fhit) && (_parent._currentframe != 4)) {
_root.mmine.gotoAndPlay(3);
hp = hp - 2000;
}
if (_parent._currentframe != 4) {
if (_root.guy.hitTest(_parent.atkr) == false) {
if ((hp < thp) || (fls == 2)) {
fls = 2;
_parent.gotoAndStop(2);
}
} else {
fls = 2;
_parent.gotoAndStop(3);
}
if (_parent._currentframe == 2) {
if (_parent._xscale < 0) {
_parent._x = _parent._x + spd;
} else {
_parent._x = _parent._x - spd;
}
}
}
}
Symbol 875 MovieClip Frame 2
stop();
Symbol 875 MovieClip Frame 3
stop();
Symbol 875 MovieClip Frame 4
stop();
Symbol 884 MovieClip Frame 1
stop();
Instance of Symbol 405 MovieClip in Symbol 884 MovieClip Frame 45
/* no clip actions */
Symbol 884 MovieClip Frame 55
_root.killedkid = 2;
Symbol 884 MovieClip Frame 82
stop();
Symbol 907 Button
on (release) {
_root.tshells = _root.tshells + 1;
play();
}
Symbol 908 MovieClip Frame 17
stop();
Symbol 908 MovieClip Frame 18
stop();
Symbol 909 MovieClip Frame 1
stop();
Symbol 909 MovieClip Frame 2
stop();
Symbol 914 MovieClip Frame 1
stop();
Symbol 914 MovieClip Frame 2
stop();
Symbol 918 MovieClip Frame 100
stop();
Symbol 919 MovieClip Frame 1
stop();
Symbol 919 MovieClip Frame 2
stop();
Symbol 920 MovieClip Frame 158
stop();
Symbol 921 MovieClip Frame 1
stop();
Symbol 921 MovieClip Frame 2
stop();
Instance of Symbol 919 MovieClip in Symbol 922 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.fire.fb.fir.hitTest(this) && (_root.fire._currentframe > 2)) {
if (dead != 2) {
if (this._currentframe == 2) {
if (this.t._currentframe < 30) {
this.t.turt.gotoAndStop(2);
this.t.stop();
_root.fire.stop();
_root.fire.fb.gotoAndStop(2);
_root.fcheck.play();
dead = 2;
_root.xp = _root.xp + 5;
}
} else {
this.turt.gotoAndStop(2);
_root.fire.stop();
_root.fire.fb.gotoAndStop(2);
_root.fcheck.play();
dead = 2;
_root.xp = _root.xp + 10;
}
}
}
if (_root.guy.hitTest(_parent.agg) && (dead != 2)) {
this.gotoAndStop(2);
} else if (!_root.guy.hitTest(_parent.agg2)) {
if (dead != 2) {
this.gotoAndStop(1);
}
}
}
Instance of Symbol 921 MovieClip "turtle1" in Symbol 922 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.fire.fb.fir.hitTest(this) && (_root.fire._currentframe > 2)) {
if (dead != 2) {
if (this._currentframe == 2) {
if (this.t._currentframe < 88) {
this.t.turt.gotoAndStop(2);
this.t.stop();
_root.fire.stop();
_root.fire.fb.gotoAndStop(2);
_root.fcheck.play();
dead = 2;
_root.xp = _root.xp + 5;
}
} else {
this.turt.gotoAndStop(2);
_root.fire.stop();
_root.fire.fb.gotoAndStop(2);
_root.fcheck.play();
dead = 2;
}
}
}
if (_root.guy.hitTest(_parent.agg) && (dead != 2)) {
this.gotoAndStop(2);
} else if (!_root.guy.hitTest(_parent.agg2)) {
if (dead != 2) {
this.gotoAndStop(1);
}
}
}
Symbol 930 Button
on (release) {
_root.necklacefound = 2;
_alpha = 0;
}
Symbol 945 MovieClip Frame 1
stop();
Instance of Symbol 894 MovieClip in Symbol 945 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.tentburned != 2) {
if (_root.fire.fb.fir.hitTest(this.monster) && (_root.fire._currentframe > 2)) {
_root.tentburned = 2;
_root.fire.stop();
_root.fire.fb.gotoAndStop(2);
_root.fcheck.play();
}
if (_root.explod.xhit.hitTest(this.monster)) {
_root.tentburned = 2;
}
}
if (_root.reset == 2) {
_root.tentburned = 0;
}
}
Instance of Symbol 937 MovieClip in Symbol 945 MovieClip Frame 1
onClipEvent (enterFrame) {
d = 50;
if (_root.guy.hitTest(this)) {
_root.land._x = _root.land._x + d;
_root.enviro._x = _root.enviro._x + d;
_root.fire._x = _root.fire._x + d;
_root.m1._x = _root.m1._x + d;
_root.m2._x = _root.m2._x + d;
_root.m3._x = _root.m3._x + d;
_root.m4._x = _root.m4._x + d;
_root.m5._x = _root.m5._x + d;
_root.spidah._x = _root.spidah._x + d;
}
}
Symbol 945 MovieClip Frame 2
stop();
Instance of Symbol 940 MovieClip in Symbol 945 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.afff.play();
}
}
Symbol 980 MovieClip Frame 19
if (_root.guy._xscale > 0) {
_parent._x = _root.guy._x + 50;
} else {
_parent._x = _root.guy._x - 150;
}
Symbol 980 MovieClip Frame 44
_parent.gotoAndStop(1);
Symbol 988 MovieClip Frame 1
guyx = _root.guy._x;
Symbol 988 MovieClip Frame 29
_root.m3.play();
_root.m3._x = guyx;
Symbol 988 MovieClip Frame 53
_parent.gotoAndStop(1);
Symbol 996 MovieClip Frame 22
if (this.hitTest(_root.guy)) {
_root.chealth = _root.chealth - 150;
}
Symbol 996 MovieClip Frame 37
_parent.gotoAndStop(1);
Symbol 1002 Button
on (release) {
if (_root.stat == 6) {
play();
_root.horns = 2;
}
}
Symbol 1005 MovieClip Frame 35
stop();
Symbol 1005 MovieClip Frame 36
stop();
Symbol 1006 MovieClip Frame 1
stop();
Instance of Symbol 261 MovieClip in Symbol 1006 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(Math.round((_parent.hp / _parent.thp) * 50));
if (_parent.hp < 1) {
this._visible = false;
_parent.gotoAndStop(5);
}
}
Symbol 1006 MovieClip Frame 2
stop();
Symbol 1006 MovieClip Frame 3
stop();
Symbol 1006 MovieClip Frame 4
stop();
Symbol 1006 MovieClip Frame 5
stop();
Symbol 1012 Button
on (release) {
_root.Click.start(0, 0);
play();
stat = 1;
}
on (keyPress "<Space>") {
_root.Click.start(0, 0);
play();
stat = 1;
}
Symbol 1015 Button
on (release) {
_root.Click.start(0, 0);
stat = 2;
}
on (keyPress "<Space>") {
_root.Click.start(0, 0);
stat = 2;
}
Symbol 1026 Button
on (release) {
_root.Click.start(0, 0);
stat = 8;
play();
}
on (keyPress "<Space>") {
_root.Click.start(0, 0);
stat = 8;
play();
}
Symbol 1028 MovieClip Frame 41
_root.land.gotoAndStop(2);
stop();
Symbol 1029 MovieClip Frame 1
stop();
Symbol 1029 MovieClip Frame 2
stop();
Symbol 1029 MovieClip Frame 3
stop();
Symbol 1029 MovieClip Frame 4
_root.quests.q1.gotoAndStop(2);
stop();
Symbol 1029 MovieClip Frame 5
stop();
Symbol 1029 MovieClip Frame 6
stop();
_root.item.gotoAndStop(1);
_root.quests.q1.gotoAndStop(3);
_root.tshells = 0;
stat = 4;
Symbol 1029 MovieClip Frame 7
stop();
_root.quests.q1.gotoAndStop(4);
_root.stat = 6;
_root.item.gotoAndStop(1);
Symbol 1029 MovieClip Frame 8
stop();
_root.quests.q1.gotoAndStop(1);
_root.stat = 8;
_root.horns = 0;
_root.item.gotoAndStop(1);
_root.xp = _root.xp + 30;
Symbol 1029 MovieClip Frame 9
stop();
Symbol 1042 Button
on (release) {
_root.Click.start(0, 0);
stat = 3;
play();
}
on (keyPress "<Space>") {
stat = 3;
_root.Click.start(0, 0);
play();
}
Symbol 1046 MovieClip Frame 2
_root.quests.q2.gotoAndStop(2);
Symbol 1046 MovieClip Frame 4
_root.quests.q2.gotoAndStop(1);
_root.xp = _root.xp + 30;
Symbol 1046 MovieClip Frame 5
_root.quests.q2.gotoAndStop(3);
Symbol 1046 MovieClip Frame 6
stop();
stat = 10;
_root.quests.q2.gotoAndStop(1);
Instance of Symbol 1029 MovieClip "goblin" in Symbol 1047 MovieClip Frame 1
onClipEvent (load) {
stat = 0;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if ((_root.tshells == 2) && (stat == 2)) {
_root.xp = _root.xp + 20;
stat = 3;
}
if ((stat == 4) && (_root.lizardeye == 2)) {
trace("q complete");
_root.xp = _root.xp + 20;
stat = 5;
}
if ((_root.horns == 2) && (this.hit.hitTest(_root.guy))) {
stat = 7;
}
if (stat == 7) {
this.gotoAndStop(8);
}
if (stat == 8) {
this.gotoAndStop(9);
}
if (_root.guy.hitTest(this.hit)) {
if (stat == 0) {
this.gotoAndStop(2);
}
if (stat == 1) {
this.gotoAndStop(3);
}
if (stat == 2) {
this.gotoAndStop(4);
}
if (stat == 3) {
this.gotoAndStop(6);
}
if (stat == 4) {
this.gotoAndStop(6);
}
if ((stat == 5) || (stat == 6)) {
this.gotoAndStop(7);
}
} else if (stat < 2) {
this.gotoAndStop(1);
} else if (stat < 7) {
this.gotoAndStop(5);
}
}
Instance of Symbol 1046 MovieClip in Symbol 1047 MovieClip Frame 1
onClipEvent (load) {
stat = 0;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this.hit)) {
if (_root.necklacefound == 2) {
this.gotoAndStop(6);
} else if (stat == 3) {
this.gotoAndStop(5);
}
if ((stat == 1) && (_root.slimedead == 2)) {
stat = 2;
}
if (stat == 2) {
this.gotoAndStop(4);
}
if (stat < 2) {
this.gotoAndStop(2);
stat = 1;
}
} else {
if ((stat == 1) && (_root.slimedead == 2)) {
this.gotoAndStop(1);
} else if (((stat == 1) || (stat == 3)) || (stat == 10)) {
this.gotoAndStop(3);
}
if (stat == 0) {
this.gotoAndStop(1);
}
}
}
Instance of Symbol 355 MovieClip in Symbol 1047 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_root.fire.hitTest(this) && (this._currentframe < 165)) && (_root.fire._currentframe > 2)) || (_root.explod.xhit.hitTest(this))) {
if (this.facing == 1) {
this.gotoAndStop(165);
} else {
this.gotoAndStop(166);
}
_root.fire.stop();
_root.fire.fb.gotoAndStop(2);
}
}
Instance of Symbol 372 MovieClip in Symbol 1047 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_root.fire.hitTest(this) && (this._currentframe < 165)) && (_root.fire._currentframe > 2)) || (_root.explod.xhit.hitTest(this))) {
_root.chickens = _root.chickens + 1;
_root.xp = _root.xp + 10;
if (this.facing == 1) {
this.gotoAndStop(187);
} else {
this.gotoAndStop(188);
}
_root.fire.stop();
_root.fire.fb.gotoAndStop(2);
}
}
Instance of Symbol 390 MovieClip in Symbol 1047 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_root.fire.hitTest(this) && (this._currentframe < 165)) && (_root.fire._currentframe > 2)) || (_root.explod.xhit.hitTest(this))) {
_root.chickens = _root.chickens + 1;
_root.xp = _root.xp + 10;
if (this.facing == 1) {
this.gotoAndStop(180);
} else {
this.gotoAndStop(181);
}
_root.fire.stop();
_root.fire.fb.gotoAndStop(2);
}
}
Instance of Symbol 355 MovieClip in Symbol 1047 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_root.fire.hitTest(this) && (this._currentframe < 165)) && (_root.fire._currentframe > 2)) || (_root.explod.xhit.hitTest(this))) {
if (this.facing == 1) {
this.gotoAndStop(165);
} else {
this.gotoAndStop(166);
}
_root.fire.stop();
_root.fire.fb.gotoAndStop(2);
}
}
Instance of Symbol 390 MovieClip in Symbol 1047 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_root.fire.hitTest(this) && (this._currentframe < 165)) && (_root.fire._currentframe > 2)) || (_root.explod.xhit.hitTest(this))) {
_root.chickens = _root.chickens + 1;
_root.xp = _root.xp + 10;
if (this.facing == 1) {
this.gotoAndStop(180);
} else {
this.gotoAndStop(181);
}
_root.fire.stop();
_root.fire.fb.gotoAndStop(2);
}
}
Symbol 1055 MovieClip Frame 7
stop();
Symbol 1056 MovieClip Frame 1
stop();
Symbol 1056 MovieClip Frame 2
stop();
Symbol 1057 MovieClip Frame 1
stop();
Symbol 1058 MovieClip Frame 1
stop();
Instance of Symbol 1056 MovieClip in Symbol 1058 MovieClip Frame 2
/* no clip actions */
Instance of Symbol 1057 MovieClip in Symbol 1058 MovieClip Frame 20
onClipEvent (load) {
if (this.hitTest(_root.guy)) {
_root.chealth = _root.chealth - 250;
}
}
Symbol 1066 MovieClip Frame 20
_parent.gotoAndStop(1);
Symbol 1069 MovieClip Frame 14
if (this.hitTest(_root.guy)) {
_root.chealth = _root.chealth - 100;
}
Symbol 1069 MovieClip Frame 23
_parent.gotoAndStop(1);
Symbol 1084 Button
on (release) {
if (_root.enviro.goblin.stat == 4) {
play();
_root.lizardeye = 2;
_root.item.gotoAndStop(5);
}
}
Symbol 1086 MovieClip Frame 16
stop();
Symbol 1086 MovieClip Frame 17
stop();
Symbol 1087 MovieClip Frame 1
stop();
Instance of Symbol 261 MovieClip in Symbol 1087 MovieClip Frame 1
onClipEvent (load) {
tx = _parent._x;
thp = _parent.hp;
hp = _parent.hp;
this.gotoAndStop(50);
spd = 6;
xx = _parent._xscale;
}
onClipEvent (enterFrame) {
if (_parent._currentframe != 4) {
if (_parent._x > _root.guy._x) {
_parent._xscale = xx;
} else {
_parent._xscale = -xx;
}
}
if (_parent._currentframe == 1) {
fls = 50;
}
if (_root.guy.dead == 2) {
if (_parent._currentframe != 4) {
_parent.gotoAndStop(1);
fls = 0;
}
}
if (_root.reset == 2) {
_parent._x = tx;
if (_parent._currentframe != 4) {
hp = thp;
_parent._x = tx;
}
fls = 0;
}
this.gotoAndStop(Math.round((hp / thp) * 50));
if (hp < 1) {
this._visible = false;
_parent.gotoAndStop(4);
}
if (_root.fire.fb.fir.hitTest(_parent.monster) && (_root.fire._currentframe > 2)) {
if (_parent._currentframe != 4) {
hp = hp - (_root.fbpower * ((random(11) / 10) + 1));
_root.fire.stop();
_root.fire.fb.gotoAndStop(2);
_root.fcheck.play();
}
}
if (_root.explod.xhit.hitTest(_parent.monster) && (_parent._currentframe != 4)) {
hp = hp - (_root.xpower * ((random(11) / 10) + 1));
}
if (_root.guy.dead != 2) {
if (_parent._currentframe != 4) {
if (hp < thp) {
fls = 2;
if (_root.guy.hitTest(_parent.range)) {
_parent.gotoAndStop(3);
} else if (_parent._currentframe != 3) {
_parent.gotoAndStop(2);
}
} else {
fls = 0;
_parent.gotoAndStop(1);
}
}
if (_parent._currentframe == 2) {
if (_parent._xscale > 0) {
_parent._x = _parent._x - spd;
} else {
_parent._x = _parent._x + spd;
}
}
}
}
Symbol 1087 MovieClip Frame 2
stop();
Symbol 1087 MovieClip Frame 3
stop();
Symbol 1087 MovieClip Frame 4
stop();
Symbol 1120 MovieClip Frame 24
stop();
Symbol 1121 MovieClip Frame 1
stop();
Instance of Symbol 261 MovieClip in Symbol 1121 MovieClip Frame 1
onClipEvent (load) {
tx = _parent._x;
thp = _parent.hp;
hp = _parent.hp;
this.gotoAndStop(50);
spd = 3;
}
onClipEvent (enterFrame) {
if (_parent.monster.hitTest(_root.guy) && (_parent._currentframe != 3)) {
_root.chealth = _root.chealth - (_root.thealth / 5);
}
if (_parent._currentframe == 1) {
fls = 50;
}
if (_root.guy.dead == 2) {
if (_parent._currentframe != 3) {
_parent.gotoAndStop(1);
fls = 0;
}
}
if (_root.reset == 2) {
_parent._x = tx;
if (_parent._currentframe != 3) {
hp = thp;
_parent._x = tx;
}
fls = 0;
}
this.gotoAndStop(Math.round((hp / thp) * 50));
if (hp < 1) {
this._visible = false;
_parent.gotoAndStop(3);
}
if (_root.fire.fb.fir.hitTest(_parent.monster) && (_root.fire._currentframe > 2)) {
if (_parent._currentframe != 3) {
hp = hp - (_root.fbpower * ((random(11) / 10) + 1));
_root.fire.stop();
_root.fire.fb.gotoAndStop(2);
_root.fcheck.play();
}
}
if (_root.explod.xhit.hitTest(_parent.monster) && (_parent._currentframe != 3)) {
hp = hp - (_root.xpower * ((random(11) / 10) + 1));
}
if (_root.guy.dead != 2) {
if (_parent._currentframe != 3) {
if ((_root.guy.hitTest(_parent.aggro) || (hp < thp)) || (fls == 2)) {
fls = 2;
_parent.gotoAndStop(2);
} else {
fls = 0;
}
}
if (_parent._currentframe == 2) {
_parent._x = _parent._x - spd;
}
}
}
Symbol 1121 MovieClip Frame 2
stop();
Symbol 1121 MovieClip Frame 3
stop();
_root.slimedead = 2;
_root.xp = _root.xp + 20;
Symbol 1127 MovieClip Frame 1
stop();
Symbol 1127 MovieClip Frame 2
stop();
Instance of Symbol 440 MovieClip "tick" in Symbol 1127 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.tshells == 2) {
this._alpha = 100;
}
}
Symbol 1127 MovieClip Frame 3
stop();
Instance of Symbol 440 MovieClip "tick" in Symbol 1127 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.lizardeye == 2) {
this._alpha = 100;
}
}
Symbol 1127 MovieClip Frame 4
stop();
Instance of Symbol 440 MovieClip "tick" in Symbol 1127 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.horns == 2) {
this._alpha = 100;
}
}
Symbol 1132 MovieClip Frame 1
stop();
Symbol 1132 MovieClip Frame 2
stop();
Instance of Symbol 438 MovieClip "tick" in Symbol 1132 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.slimedead == 2) {
this._alpha = 100;
}
}
Symbol 1132 MovieClip Frame 3
stop();
Instance of Symbol 440 MovieClip "tick" in Symbol 1132 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.necklacefound == 2) {
this._alpha = 100;
}
}
Symbol 1133 MovieClip Frame 1
stop();
Symbol 1136 MovieClip Frame 1
stop();
if (_root.alreadyteleported != 2) {
play();
_root.alreadyteleported = 2;
}
Symbol 1140 MovieClip Frame 1
stop();
Symbol 1140 MovieClip Frame 10
_root.play();
Symbol 1140 MovieClip Frame 51
stop();
Symbol 1144 MovieClip Frame 1
stop();
Instance of Symbol 940 MovieClip in Symbol 1144 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.play();
}
}
Symbol 1147 MovieClip Frame 1
stop();
Symbol 1147 MovieClip Frame 2
stop();
Instance of Symbol 1147 MovieClip "guy" in Symbol 1175 MovieClip Frame 1
onClipEvent (load) {
_root.fireball = 0;
slf = _xscale;
spd = 5;
blinkd = 640;
blinkd2 = 320;
}
onClipEvent (enterFrame) {
if (_root.blink == 2) {
if (this._xscale < 0) {
if ((_root.blk.blink11.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink11.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x + blinkd;
_root.enviro._x = _root.enviro._x + blinkd;
_root.fire._x = _root.fire._x + blinkd;
_root.m1._x = _root.m1._x + blinkd;
_root.m2._x = _root.m2._x + blinkd;
_root.m3._x = _root.m3._x + blinkd;
_root.m4._x = _root.m4._x + blinkd;
_root.m5._x = _root.m5._x + blinkd;
_root.spidah._x = _root.spidah._x + blinkd;
} else if ((_root.blk.blink21.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink21.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x + blinkd2;
_root.enviro._x = _root.enviro._x + blinkd2;
_root.fire._x = _root.fire._x + blinkd2;
_root.m1._x = _root.m1._x + blinkd2;
_root.m2._x = _root.m2._x + blinkd2;
_root.m3._x = _root.m3._x + blinkd2;
_root.m4._x = _root.m4._x + blinkd2;
_root.m5._x = _root.m5._x + blinkd2;
_root.spidah._x = _root.spidah._x + blinkd2;
}
} else if ((_root.blk.blink12.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink12.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x - blinkd;
_root.enviro._x = _root.enviro._x - blinkd;
_root.fire._x = _root.fire._x - blinkd;
_root.m1._x = _root.m1._x - blinkd;
_root.m2._x = _root.m2._x - blinkd;
_root.m3._x = _root.m3._x - blinkd;
_root.m4._x = _root.m4._x - blinkd;
_root.m5._x = _root.m5._x - blinkd;
_root.spidah._x = _root.spidah._x - blinkd;
} else if ((_root.blk.blink22.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink22.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x - blinkd2;
_root.enviro._x = _root.enviro._x - blinkd2;
_root.fire._x = _root.fire._x - blinkd2;
_root.m1._x = _root.m1._x - blinkd2;
_root.m2._x = _root.m2._x - blinkd2;
_root.m3._x = _root.m3._x - blinkd2;
_root.m4._x = _root.m4._x - blinkd2;
_root.m5._x = _root.m5._x - blinkd2;
_root.spidah._x = _root.spidah._x - blinkd2;
}
_root.blink = 1;
}
if (dead != 2) {
if (_root.fireball == 1) {
this.gotoAndStop(3);
}
if (Key.isDown(65)) {
if ((this._currentframe == 1) || (this._currentframe == 2)) {
if (_root.land.donthit.hitTest(_x - 18, _y, true) == false) {
this.gotoAndStop(2);
_root.land._x = _root.land._x + spd;
_root.enviro._x = _root.enviro._x + spd;
_root.fire._x = _root.fire._x + spd;
_root.m1._x = _root.m1._x + spd;
_root.m2._x = _root.m2._x + spd;
_root.m3._x = _root.m3._x + spd;
_root.m4._x = _root.m4._x + spd;
_root.m5._x = _root.m5._x + spd;
_root.spidah._x = _root.spidah._x + spd;
if (_root.mmine._currentframe > 1) {
_root.mmine._x = _root.mmine._x + spd;
}
this._xscale = -slf;
} else {
trace("wall");
}
}
} else if (Key.isDown(68)) {
if ((this._currentframe == 1) || (this._currentframe == 2)) {
if (_root.land.donthit.hitTest(_x + 18, _y, true) == false) {
this.gotoAndStop(2);
_root.land._x = _root.land._x - spd;
_root.enviro._x = _root.enviro._x - spd;
_root.fire._x = _root.fire._x - spd;
_root.m1._x = _root.m1._x - spd;
_root.m2._x = _root.m2._x - spd;
_root.m3._x = _root.m3._x - spd;
_root.m4._x = _root.m4._x - spd;
_root.m5._x = _root.m5._x - spd;
_root.spidah._x = _root.spidah._x - spd;
if (_root.mmine._currentframe > 1) {
_root.mmine._x = _root.mmine._x - spd;
}
this._xscale = slf;
} else {
trace("wall");
}
}
} else if (this._currentframe < 3) {
this.gotoAndStop(1);
}
}
if (_root.chealth < 1) {
dead = 2;
}
if (dead == 2) {
this.gotoAndStop(4);
}
}
Instance of Symbol 1144 MovieClip "land" in Symbol 1176 MovieClip Frame 1
onClipEvent (load) {
tx = this._x;
}
onClipEvent (enterFrame) {
if (_root.reset == 2) {
_root.mmtx = this._x - tx;
this._x = tx;
}
}
Instance of Symbol 940 MovieClip in Symbol 1196 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.play();
}
}
Instance of Symbol 1147 MovieClip "guy" in Symbol 1196 MovieClip Frame 1
onClipEvent (load) {
_root.fireball = 0;
slf = _xscale;
spd = 5;
blinkd = 640;
blinkd2 = 320;
}
onClipEvent (enterFrame) {
if (_root.blink == 2) {
if (this._xscale < 0) {
if ((_root.blk.blink11.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink11.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x + blinkd;
_root.enviro._x = _root.enviro._x + blinkd;
_root.fire._x = _root.fire._x + blinkd;
_root.m1._x = _root.m1._x + blinkd;
_root.m2._x = _root.m2._x + blinkd;
_root.m3._x = _root.m3._x + blinkd;
_root.m4._x = _root.m4._x + blinkd;
_root.m5._x = _root.m5._x + blinkd;
_root.spidah._x = _root.spidah._x + blinkd;
} else if ((_root.blk.blink21.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink21.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x + blinkd2;
_root.enviro._x = _root.enviro._x + blinkd2;
_root.fire._x = _root.fire._x + blinkd2;
_root.m1._x = _root.m1._x + blinkd2;
_root.m2._x = _root.m2._x + blinkd2;
_root.m3._x = _root.m3._x + blinkd2;
_root.m4._x = _root.m4._x + blinkd2;
_root.m5._x = _root.m5._x + blinkd2;
_root.spidah._x = _root.spidah._x + blinkd2;
}
} else if ((_root.blk.blink12.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink12.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x - blinkd;
_root.enviro._x = _root.enviro._x - blinkd;
_root.fire._x = _root.fire._x - blinkd;
_root.m1._x = _root.m1._x - blinkd;
_root.m2._x = _root.m2._x - blinkd;
_root.m3._x = _root.m3._x - blinkd;
_root.m4._x = _root.m4._x - blinkd;
_root.m5._x = _root.m5._x - blinkd;
_root.spidah._x = _root.spidah._x - blinkd;
} else if ((_root.blk.blink22.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink22.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x - blinkd2;
_root.enviro._x = _root.enviro._x - blinkd2;
_root.fire._x = _root.fire._x - blinkd2;
_root.m1._x = _root.m1._x - blinkd2;
_root.m2._x = _root.m2._x - blinkd2;
_root.m3._x = _root.m3._x - blinkd2;
_root.m4._x = _root.m4._x - blinkd2;
_root.m5._x = _root.m5._x - blinkd2;
_root.spidah._x = _root.spidah._x - blinkd2;
}
_root.blink = 1;
}
if (dead != 2) {
if (_root.fireball == 1) {
this.gotoAndStop(3);
}
if (Key.isDown(65)) {
if ((this._currentframe == 1) || (this._currentframe == 2)) {
if (_root.land.donthit.hitTest(_x - 18, _y, true) == false) {
this.gotoAndStop(2);
_root.land._x = _root.land._x + spd;
_root.enviro._x = _root.enviro._x + spd;
_root.fire._x = _root.fire._x + spd;
_root.m1._x = _root.m1._x + spd;
_root.m2._x = _root.m2._x + spd;
_root.m3._x = _root.m3._x + spd;
_root.m4._x = _root.m4._x + spd;
_root.m5._x = _root.m5._x + spd;
_root.spidah._x = _root.spidah._x + spd;
if (_root.mmine._currentframe > 1) {
_root.mmine._x = _root.mmine._x + spd;
}
this._xscale = -slf;
} else {
trace("wall");
}
}
} else if (Key.isDown(68)) {
if ((this._currentframe == 1) || (this._currentframe == 2)) {
if (_root.land.donthit.hitTest(_x + 18, _y, true) == false) {
this.gotoAndStop(2);
_root.land._x = _root.land._x - spd;
_root.enviro._x = _root.enviro._x - spd;
_root.fire._x = _root.fire._x - spd;
_root.m1._x = _root.m1._x - spd;
_root.m2._x = _root.m2._x - spd;
_root.m3._x = _root.m3._x - spd;
_root.m4._x = _root.m4._x - spd;
_root.m5._x = _root.m5._x - spd;
_root.spidah._x = _root.spidah._x - spd;
if (_root.mmine._currentframe > 1) {
_root.mmine._x = _root.mmine._x - spd;
}
this._xscale = slf;
} else {
trace("wall");
}
}
} else if (this._currentframe < 3) {
this.gotoAndStop(1);
}
}
if (_root.chealth < 1) {
dead = 2;
}
if (dead == 2) {
this.gotoAndStop(4);
}
}
Symbol 1201 MovieClip Frame 1
stop();
Symbol 1206 MovieClip Frame 1
stop();
Symbol 1209 MovieClip Frame 1
stop();
Instance of Symbol 940 MovieClip in Symbol 1210 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.play();
}
}
Instance of Symbol 1209 MovieClip "guy" in Symbol 1210 MovieClip Frame 1
onClipEvent (load) {
_root.fireball = 0;
slf = _xscale;
spd = 5;
blinkd = 640;
blinkd2 = 320;
}
onClipEvent (enterFrame) {
if (_root.blink == 2) {
if (this._xscale < 0) {
if ((_root.blk.blink11.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink11.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x + blinkd;
_root.enviro._x = _root.enviro._x + blinkd;
_root.fire._x = _root.fire._x + blinkd;
_root.m1._x = _root.m1._x + blinkd;
_root.m2._x = _root.m2._x + blinkd;
_root.m3._x = _root.m3._x + blinkd;
_root.m4._x = _root.m4._x + blinkd;
_root.m5._x = _root.m5._x + blinkd;
_root.spidah._x = _root.spidah._x + blinkd;
} else if ((_root.blk.blink21.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink21.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x + blinkd2;
_root.enviro._x = _root.enviro._x + blinkd2;
_root.fire._x = _root.fire._x + blinkd2;
_root.m1._x = _root.m1._x + blinkd2;
_root.m2._x = _root.m2._x + blinkd2;
_root.m3._x = _root.m3._x + blinkd2;
_root.m4._x = _root.m4._x + blinkd2;
_root.m5._x = _root.m5._x + blinkd2;
_root.spidah._x = _root.spidah._x + blinkd2;
}
} else if ((_root.blk.blink12.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink12.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x - blinkd;
_root.enviro._x = _root.enviro._x - blinkd;
_root.fire._x = _root.fire._x - blinkd;
_root.m1._x = _root.m1._x - blinkd;
_root.m2._x = _root.m2._x - blinkd;
_root.m3._x = _root.m3._x - blinkd;
_root.m4._x = _root.m4._x - blinkd;
_root.m5._x = _root.m5._x - blinkd;
_root.spidah._x = _root.spidah._x - blinkd;
} else if ((_root.blk.blink22.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink22.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x - blinkd2;
_root.enviro._x = _root.enviro._x - blinkd2;
_root.fire._x = _root.fire._x - blinkd2;
_root.m1._x = _root.m1._x - blinkd2;
_root.m2._x = _root.m2._x - blinkd2;
_root.m3._x = _root.m3._x - blinkd2;
_root.m4._x = _root.m4._x - blinkd2;
_root.m5._x = _root.m5._x - blinkd2;
_root.spidah._x = _root.spidah._x - blinkd2;
}
_root.blink = 1;
}
if (dead != 2) {
if (_root.fireball == 1) {
this.gotoAndStop(3);
}
if (Key.isDown(65)) {
if ((this._currentframe == 1) || (this._currentframe == 2)) {
if (_root.land.donthit.hitTest(_x - 18, _y, true) == false) {
this.gotoAndStop(2);
_root.land._x = _root.land._x + spd;
_root.enviro._x = _root.enviro._x + spd;
_root.fire._x = _root.fire._x + spd;
_root.m1._x = _root.m1._x + spd;
_root.m2._x = _root.m2._x + spd;
_root.m3._x = _root.m3._x + spd;
_root.m4._x = _root.m4._x + spd;
_root.m5._x = _root.m5._x + spd;
_root.spidah._x = _root.spidah._x + spd;
if (_root.mmine._currentframe > 1) {
_root.mmine._x = _root.mmine._x + spd;
}
this._xscale = -slf;
} else {
trace("wall");
}
}
} else if (Key.isDown(68)) {
if ((this._currentframe == 1) || (this._currentframe == 2)) {
if (_root.land.donthit.hitTest(_x + 18, _y, true) == false) {
this.gotoAndStop(2);
_root.land._x = _root.land._x - spd;
_root.enviro._x = _root.enviro._x - spd;
_root.fire._x = _root.fire._x - spd;
_root.m1._x = _root.m1._x - spd;
_root.m2._x = _root.m2._x - spd;
_root.m3._x = _root.m3._x - spd;
_root.m4._x = _root.m4._x - spd;
_root.m5._x = _root.m5._x - spd;
_root.spidah._x = _root.spidah._x - spd;
if (_root.mmine._currentframe > 1) {
_root.mmine._x = _root.mmine._x - spd;
}
this._xscale = slf;
} else {
trace("wall");
}
}
} else if (this._currentframe < 3) {
this.gotoAndStop(1);
}
}
if (_root.chealth < 1) {
dead = 2;
}
if (dead == 2) {
this.gotoAndStop(4);
}
}
Instance of Symbol 940 MovieClip in Symbol 1212 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.guy.hitTest(this)) {
_root.play();
}
}
Instance of Symbol 1209 MovieClip "guy" in Symbol 1212 MovieClip Frame 1
onClipEvent (load) {
_root.fireball = 0;
slf = _xscale;
spd = 5;
blinkd = 640;
blinkd2 = 320;
}
onClipEvent (enterFrame) {
if (_root.blink == 2) {
if (this._xscale < 0) {
if ((_root.blk.blink11.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink11.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x + blinkd;
_root.enviro._x = _root.enviro._x + blinkd;
_root.fire._x = _root.fire._x + blinkd;
_root.m1._x = _root.m1._x + blinkd;
_root.m2._x = _root.m2._x + blinkd;
_root.m3._x = _root.m3._x + blinkd;
_root.m4._x = _root.m4._x + blinkd;
_root.m5._x = _root.m5._x + blinkd;
_root.spidah._x = _root.spidah._x + blinkd;
} else if ((_root.blk.blink21.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink21.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x + blinkd2;
_root.enviro._x = _root.enviro._x + blinkd2;
_root.fire._x = _root.fire._x + blinkd2;
_root.m1._x = _root.m1._x + blinkd2;
_root.m2._x = _root.m2._x + blinkd2;
_root.m3._x = _root.m3._x + blinkd2;
_root.m4._x = _root.m4._x + blinkd2;
_root.m5._x = _root.m5._x + blinkd2;
_root.spidah._x = _root.spidah._x + blinkd2;
}
} else if ((_root.blk.blink12.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink12.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x - blinkd;
_root.enviro._x = _root.enviro._x - blinkd;
_root.fire._x = _root.fire._x - blinkd;
_root.m1._x = _root.m1._x - blinkd;
_root.m2._x = _root.m2._x - blinkd;
_root.m3._x = _root.m3._x - blinkd;
_root.m4._x = _root.m4._x - blinkd;
_root.m5._x = _root.m5._x - blinkd;
_root.spidah._x = _root.spidah._x - blinkd;
} else if ((_root.blk.blink22.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink22.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x - blinkd2;
_root.enviro._x = _root.enviro._x - blinkd2;
_root.fire._x = _root.fire._x - blinkd2;
_root.m1._x = _root.m1._x - blinkd2;
_root.m2._x = _root.m2._x - blinkd2;
_root.m3._x = _root.m3._x - blinkd2;
_root.m4._x = _root.m4._x - blinkd2;
_root.m5._x = _root.m5._x - blinkd2;
_root.spidah._x = _root.spidah._x - blinkd2;
}
_root.blink = 1;
}
if (dead != 2) {
if (_root.fireball == 1) {
this.gotoAndStop(3);
}
if (Key.isDown(65)) {
if ((this._currentframe == 1) || (this._currentframe == 2)) {
if (_root.land.donthit.hitTest(_x - 18, _y, true) == false) {
this.gotoAndStop(2);
_root.land._x = _root.land._x + spd;
_root.enviro._x = _root.enviro._x + spd;
_root.fire._x = _root.fire._x + spd;
_root.m1._x = _root.m1._x + spd;
_root.m2._x = _root.m2._x + spd;
_root.m3._x = _root.m3._x + spd;
_root.m4._x = _root.m4._x + spd;
_root.m5._x = _root.m5._x + spd;
_root.spidah._x = _root.spidah._x + spd;
if (_root.mmine._currentframe > 1) {
_root.mmine._x = _root.mmine._x + spd;
}
this._xscale = -slf;
} else {
trace("wall");
}
}
} else if (Key.isDown(68)) {
if ((this._currentframe == 1) || (this._currentframe == 2)) {
if (_root.land.donthit.hitTest(_x + 18, _y, true) == false) {
this.gotoAndStop(2);
_root.land._x = _root.land._x - spd;
_root.enviro._x = _root.enviro._x - spd;
_root.fire._x = _root.fire._x - spd;
_root.m1._x = _root.m1._x - spd;
_root.m2._x = _root.m2._x - spd;
_root.m3._x = _root.m3._x - spd;
_root.m4._x = _root.m4._x - spd;
_root.m5._x = _root.m5._x - spd;
_root.spidah._x = _root.spidah._x - spd;
if (_root.mmine._currentframe > 1) {
_root.mmine._x = _root.mmine._x - spd;
}
this._xscale = slf;
} else {
trace("wall");
}
}
} else if (this._currentframe < 3) {
this.gotoAndStop(1);
}
}
if (_root.chealth < 1) {
dead = 2;
}
if (dead == 2) {
this.gotoAndStop(4);
}
}
Instance of Symbol 1144 MovieClip "land" in Symbol 1215 MovieClip Frame 1
onClipEvent (load) {
tx = this._x;
}
onClipEvent (enterFrame) {
if (_root.reset == 2) {
_root.mmtx = this._x - tx;
this._x = tx;
}
}
Symbol 1218 MovieClip Frame 90
_parent.play();
Instance of Symbol 1230 MovieClip in Symbol 1231 MovieClip Frame 1
onClipEvent (load) {
this.tee = ("And like that, " + _root.cname) + " landed in a new world.";
}
Symbol 1231 MovieClip Frame 50
stop();
Instance of Symbol 1233 MovieClip in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this.cont = "To be continued..";
}
Symbol 1240 Button
on (release) {
_root.gotoAndPlay(3);
}
Symbol 1245 Button
on (release) {
getURL ("http://www.funny-games.biz", "_BLANK");
}
Symbol 1251 MovieClip Frame 180
stop();
Instance of Symbol 1147 MovieClip "guy" in Symbol 1252 MovieClip Frame 238
onClipEvent (load) {
_root.fireball = 0;
slf = _xscale;
spd = 5;
blinkd = 640;
blinkd2 = 320;
}
onClipEvent (enterFrame) {
if (_root.blink == 2) {
if (this._xscale < 0) {
if ((_root.blk.blink11.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink11.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x + blinkd;
_root.enviro._x = _root.enviro._x + blinkd;
_root.fire._x = _root.fire._x + blinkd;
_root.m1._x = _root.m1._x + blinkd;
_root.m2._x = _root.m2._x + blinkd;
_root.m3._x = _root.m3._x + blinkd;
_root.m4._x = _root.m4._x + blinkd;
_root.m5._x = _root.m5._x + blinkd;
_root.spidah._x = _root.spidah._x + blinkd;
} else if ((_root.blk.blink21.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink21.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x + blinkd2;
_root.enviro._x = _root.enviro._x + blinkd2;
_root.fire._x = _root.fire._x + blinkd2;
_root.m1._x = _root.m1._x + blinkd2;
_root.m2._x = _root.m2._x + blinkd2;
_root.m3._x = _root.m3._x + blinkd2;
_root.m4._x = _root.m4._x + blinkd2;
_root.m5._x = _root.m5._x + blinkd2;
_root.spidah._x = _root.spidah._x + blinkd2;
}
} else if ((_root.blk.blink12.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink12.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x - blinkd;
_root.enviro._x = _root.enviro._x - blinkd;
_root.fire._x = _root.fire._x - blinkd;
_root.m1._x = _root.m1._x - blinkd;
_root.m2._x = _root.m2._x - blinkd;
_root.m3._x = _root.m3._x - blinkd;
_root.m4._x = _root.m4._x - blinkd;
_root.m5._x = _root.m5._x - blinkd;
_root.spidah._x = _root.spidah._x - blinkd;
} else if ((_root.blk.blink22.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink22.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x - blinkd2;
_root.enviro._x = _root.enviro._x - blinkd2;
_root.fire._x = _root.fire._x - blinkd2;
_root.m1._x = _root.m1._x - blinkd2;
_root.m2._x = _root.m2._x - blinkd2;
_root.m3._x = _root.m3._x - blinkd2;
_root.m4._x = _root.m4._x - blinkd2;
_root.m5._x = _root.m5._x - blinkd2;
_root.spidah._x = _root.spidah._x - blinkd2;
}
_root.blink = 1;
}
if (dead != 2) {
if (_root.fireball == 1) {
this.gotoAndStop(3);
}
if (Key.isDown(65)) {
if ((this._currentframe == 1) || (this._currentframe == 2)) {
if (_root.land.donthit.hitTest(_x - 18, _y, true) == false) {
this.gotoAndStop(2);
_root.land._x = _root.land._x + spd;
_root.enviro._x = _root.enviro._x + spd;
_root.fire._x = _root.fire._x + spd;
_root.m1._x = _root.m1._x + spd;
_root.m2._x = _root.m2._x + spd;
_root.m3._x = _root.m3._x + spd;
_root.m4._x = _root.m4._x + spd;
_root.m5._x = _root.m5._x + spd;
_root.spidah._x = _root.spidah._x + spd;
if (_root.mmine._currentframe > 1) {
_root.mmine._x = _root.mmine._x + spd;
}
this._xscale = -slf;
} else {
trace("wall");
}
}
} else if (Key.isDown(68)) {
if ((this._currentframe == 1) || (this._currentframe == 2)) {
if (_root.land.donthit.hitTest(_x + 18, _y, true) == false) {
this.gotoAndStop(2);
_root.land._x = _root.land._x - spd;
_root.enviro._x = _root.enviro._x - spd;
_root.fire._x = _root.fire._x - spd;
_root.m1._x = _root.m1._x - spd;
_root.m2._x = _root.m2._x - spd;
_root.m3._x = _root.m3._x - spd;
_root.m4._x = _root.m4._x - spd;
_root.m5._x = _root.m5._x - spd;
_root.spidah._x = _root.spidah._x - spd;
if (_root.mmine._currentframe > 1) {
_root.mmine._x = _root.mmine._x - spd;
}
this._xscale = slf;
} else {
trace("wall");
}
}
} else if (this._currentframe < 3) {
this.gotoAndStop(1);
}
}
if (_root.chealth < 1) {
dead = 2;
}
if (dead == 2) {
this.gotoAndStop(4);
}
}
Instance of Symbol 1201 MovieClip "guy" in Symbol 1252 MovieClip Frame 998
onClipEvent (load) {
_root.fireball = 0;
slf = _xscale;
spd = 5;
blinkd = 640;
blinkd2 = 320;
}
onClipEvent (enterFrame) {
if (_root.blink == 2) {
if (this._xscale < 0) {
if ((_root.blk.blink11.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink11.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x + blinkd;
_root.enviro._x = _root.enviro._x + blinkd;
_root.fire._x = _root.fire._x + blinkd;
_root.m1._x = _root.m1._x + blinkd;
_root.m2._x = _root.m2._x + blinkd;
_root.m3._x = _root.m3._x + blinkd;
_root.m4._x = _root.m4._x + blinkd;
_root.m5._x = _root.m5._x + blinkd;
_root.spidah._x = _root.spidah._x + blinkd;
} else if ((_root.blk.blink21.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink21.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x + blinkd2;
_root.enviro._x = _root.enviro._x + blinkd2;
_root.fire._x = _root.fire._x + blinkd2;
_root.m1._x = _root.m1._x + blinkd2;
_root.m2._x = _root.m2._x + blinkd2;
_root.m3._x = _root.m3._x + blinkd2;
_root.m4._x = _root.m4._x + blinkd2;
_root.m5._x = _root.m5._x + blinkd2;
_root.spidah._x = _root.spidah._x + blinkd2;
}
} else if ((_root.blk.blink12.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink12.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x - blinkd;
_root.enviro._x = _root.enviro._x - blinkd;
_root.fire._x = _root.fire._x - blinkd;
_root.m1._x = _root.m1._x - blinkd;
_root.m2._x = _root.m2._x - blinkd;
_root.m3._x = _root.m3._x - blinkd;
_root.m4._x = _root.m4._x - blinkd;
_root.m5._x = _root.m5._x - blinkd;
_root.spidah._x = _root.spidah._x - blinkd;
} else if ((_root.blk.blink22.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink22.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x - blinkd2;
_root.enviro._x = _root.enviro._x - blinkd2;
_root.fire._x = _root.fire._x - blinkd2;
_root.m1._x = _root.m1._x - blinkd2;
_root.m2._x = _root.m2._x - blinkd2;
_root.m3._x = _root.m3._x - blinkd2;
_root.m4._x = _root.m4._x - blinkd2;
_root.m5._x = _root.m5._x - blinkd2;
_root.spidah._x = _root.spidah._x - blinkd2;
}
_root.blink = 1;
}
if (dead != 2) {
if (_root.fireball == 1) {
this.gotoAndStop(3);
}
if (Key.isDown(65)) {
if ((this._currentframe == 1) || (this._currentframe == 2)) {
if (_root.land.donthit.hitTest(_x - 18, _y, true) == false) {
this.gotoAndStop(2);
_root.land._x = _root.land._x + spd;
_root.enviro._x = _root.enviro._x + spd;
_root.fire._x = _root.fire._x + spd;
_root.m1._x = _root.m1._x + spd;
_root.m2._x = _root.m2._x + spd;
_root.m3._x = _root.m3._x + spd;
_root.m4._x = _root.m4._x + spd;
_root.m5._x = _root.m5._x + spd;
_root.spidah._x = _root.spidah._x + spd;
if (_root.mmine._currentframe > 1) {
_root.mmine._x = _root.mmine._x + spd;
}
this._xscale = -slf;
} else {
trace("wall");
}
}
} else if (Key.isDown(68)) {
if ((this._currentframe == 1) || (this._currentframe == 2)) {
if (_root.land.donthit.hitTest(_x + 18, _y, true) == false) {
this.gotoAndStop(2);
_root.land._x = _root.land._x - spd;
_root.enviro._x = _root.enviro._x - spd;
_root.fire._x = _root.fire._x - spd;
_root.m1._x = _root.m1._x - spd;
_root.m2._x = _root.m2._x - spd;
_root.m3._x = _root.m3._x - spd;
_root.m4._x = _root.m4._x - spd;
_root.m5._x = _root.m5._x - spd;
_root.spidah._x = _root.spidah._x - spd;
if (_root.mmine._currentframe > 1) {
_root.mmine._x = _root.mmine._x - spd;
}
this._xscale = slf;
} else {
trace("wall");
}
}
} else if (this._currentframe < 3) {
this.gotoAndStop(1);
}
}
if (_root.chealth < 1) {
dead = 2;
}
if (dead == 2) {
this.gotoAndStop(4);
}
}
Instance of Symbol 1206 MovieClip "guy" in Symbol 1252 MovieClip Frame 1043
onClipEvent (load) {
_root.fireball = 0;
slf = _xscale;
spd = 5;
blinkd = 640;
blinkd2 = 320;
}
onClipEvent (enterFrame) {
if (_root.blink == 2) {
if (this._xscale < 0) {
if ((_root.blk.blink11.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink11.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x + blinkd;
_root.enviro._x = _root.enviro._x + blinkd;
_root.fire._x = _root.fire._x + blinkd;
_root.m1._x = _root.m1._x + blinkd;
_root.m2._x = _root.m2._x + blinkd;
_root.m3._x = _root.m3._x + blinkd;
_root.m4._x = _root.m4._x + blinkd;
_root.m5._x = _root.m5._x + blinkd;
_root.spidah._x = _root.spidah._x + blinkd;
} else if ((_root.blk.blink21.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink21.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x + blinkd2;
_root.enviro._x = _root.enviro._x + blinkd2;
_root.fire._x = _root.fire._x + blinkd2;
_root.m1._x = _root.m1._x + blinkd2;
_root.m2._x = _root.m2._x + blinkd2;
_root.m3._x = _root.m3._x + blinkd2;
_root.m4._x = _root.m4._x + blinkd2;
_root.m5._x = _root.m5._x + blinkd2;
_root.spidah._x = _root.spidah._x + blinkd2;
}
} else if ((_root.blk.blink12.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink12.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x - blinkd;
_root.enviro._x = _root.enviro._x - blinkd;
_root.fire._x = _root.fire._x - blinkd;
_root.m1._x = _root.m1._x - blinkd;
_root.m2._x = _root.m2._x - blinkd;
_root.m3._x = _root.m3._x - blinkd;
_root.m4._x = _root.m4._x - blinkd;
_root.m5._x = _root.m5._x - blinkd;
_root.spidah._x = _root.spidah._x - blinkd;
} else if ((_root.blk.blink22.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink22.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x - blinkd2;
_root.enviro._x = _root.enviro._x - blinkd2;
_root.fire._x = _root.fire._x - blinkd2;
_root.m1._x = _root.m1._x - blinkd2;
_root.m2._x = _root.m2._x - blinkd2;
_root.m3._x = _root.m3._x - blinkd2;
_root.m4._x = _root.m4._x - blinkd2;
_root.m5._x = _root.m5._x - blinkd2;
_root.spidah._x = _root.spidah._x - blinkd2;
}
_root.blink = 1;
}
if (dead != 2) {
if (_root.fireball == 1) {
this.gotoAndStop(3);
}
if (Key.isDown(65)) {
if ((this._currentframe == 1) || (this._currentframe == 2)) {
if (_root.land.donthit.hitTest(_x - 18, _y, true) == false) {
this.gotoAndStop(2);
_root.land._x = _root.land._x + spd;
_root.enviro._x = _root.enviro._x + spd;
_root.fire._x = _root.fire._x + spd;
_root.m1._x = _root.m1._x + spd;
_root.m2._x = _root.m2._x + spd;
_root.m3._x = _root.m3._x + spd;
_root.m4._x = _root.m4._x + spd;
_root.m5._x = _root.m5._x + spd;
_root.spidah._x = _root.spidah._x + spd;
if (_root.mmine._currentframe > 1) {
_root.mmine._x = _root.mmine._x + spd;
}
this._xscale = -slf;
} else {
trace("wall");
}
}
} else if (Key.isDown(68)) {
if ((this._currentframe == 1) || (this._currentframe == 2)) {
if (_root.land.donthit.hitTest(_x + 18, _y, true) == false) {
this.gotoAndStop(2);
_root.land._x = _root.land._x - spd;
_root.enviro._x = _root.enviro._x - spd;
_root.fire._x = _root.fire._x - spd;
_root.m1._x = _root.m1._x - spd;
_root.m2._x = _root.m2._x - spd;
_root.m3._x = _root.m3._x - spd;
_root.m4._x = _root.m4._x - spd;
_root.m5._x = _root.m5._x - spd;
_root.spidah._x = _root.spidah._x - spd;
if (_root.mmine._currentframe > 1) {
_root.mmine._x = _root.mmine._x - spd;
}
this._xscale = slf;
} else {
trace("wall");
}
}
} else if (this._currentframe < 3) {
this.gotoAndStop(1);
}
}
if (_root.chealth < 1) {
dead = 2;
}
if (dead == 2) {
this.gotoAndStop(4);
}
}
Instance of Symbol 1209 MovieClip in Symbol 1252 MovieClip Frame 1143
onClipEvent (load) {
_root.fireball = 0;
slf = _xscale;
spd = 5;
blinkd = 640;
blinkd2 = 320;
}
onClipEvent (enterFrame) {
if (_root.blink == 2) {
if (this._xscale < 0) {
if ((_root.blk.blink11.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink11.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x + blinkd;
_root.enviro._x = _root.enviro._x + blinkd;
_root.fire._x = _root.fire._x + blinkd;
_root.m1._x = _root.m1._x + blinkd;
_root.m2._x = _root.m2._x + blinkd;
_root.m3._x = _root.m3._x + blinkd;
_root.m4._x = _root.m4._x + blinkd;
_root.m5._x = _root.m5._x + blinkd;
_root.spidah._x = _root.spidah._x + blinkd;
} else if ((_root.blk.blink21.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink21.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x + blinkd2;
_root.enviro._x = _root.enviro._x + blinkd2;
_root.fire._x = _root.fire._x + blinkd2;
_root.m1._x = _root.m1._x + blinkd2;
_root.m2._x = _root.m2._x + blinkd2;
_root.m3._x = _root.m3._x + blinkd2;
_root.m4._x = _root.m4._x + blinkd2;
_root.m5._x = _root.m5._x + blinkd2;
_root.spidah._x = _root.spidah._x + blinkd2;
}
} else if ((_root.blk.blink12.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink12.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x - blinkd;
_root.enviro._x = _root.enviro._x - blinkd;
_root.fire._x = _root.fire._x - blinkd;
_root.m1._x = _root.m1._x - blinkd;
_root.m2._x = _root.m2._x - blinkd;
_root.m3._x = _root.m3._x - blinkd;
_root.m4._x = _root.m4._x - blinkd;
_root.m5._x = _root.m5._x - blinkd;
_root.spidah._x = _root.spidah._x - blinkd;
} else if ((_root.blk.blink22.hitTest(_root.land.donthit.donthit1) == false) && (_root.blk.blink22.hitTest(_root.land.donthit.donthit2) == false)) {
_root.land._x = _root.land._x - blinkd2;
_root.enviro._x = _root.enviro._x - blinkd2;
_root.fire._x = _root.fire._x - blinkd2;
_root.m1._x = _root.m1._x - blinkd2;
_root.m2._x = _root.m2._x - blinkd2;
_root.m3._x = _root.m3._x - blinkd2;
_root.m4._x = _root.m4._x - blinkd2;
_root.m5._x = _root.m5._x - blinkd2;
_root.spidah._x = _root.spidah._x - blinkd2;
}
_root.blink = 1;
}
if (dead != 2) {
if (_root.fireball == 1) {
this.gotoAndStop(3);
}
if (Key.isDown(65)) {
if ((this._currentframe == 1) || (this._currentframe == 2)) {
if (_root.land.donthit.hitTest(_x - 18, _y, true) == false) {
this.gotoAndStop(2);
_root.land._x = _root.land._x + spd;
_root.enviro._x = _root.enviro._x + spd;
_root.fire._x = _root.fire._x + spd;
_root.m1._x = _root.m1._x + spd;
_root.m2._x = _root.m2._x + spd;
_root.m3._x = _root.m3._x + spd;
_root.m4._x = _root.m4._x + spd;
_root.m5._x = _root.m5._x + spd;
_root.spidah._x = _root.spidah._x + spd;
if (_root.mmine._currentframe > 1) {
_root.mmine._x = _root.mmine._x + spd;
}
this._xscale = -slf;
} else {
trace("wall");
}
}
} else if (Key.isDown(68)) {
if ((this._currentframe == 1) || (this._currentframe == 2)) {
if (_root.land.donthit.hitTest(_x + 18, _y, true) == false) {
this.gotoAndStop(2);
_root.land._x = _root.land._x - spd;
_root.enviro._x = _root.enviro._x - spd;
_root.fire._x = _root.fire._x - spd;
_root.m1._x = _root.m1._x - spd;
_root.m2._x = _root.m2._x - spd;
_root.m3._x = _root.m3._x - spd;
_root.m4._x = _root.m4._x - spd;
_root.m5._x = _root.m5._x - spd;
_root.spidah._x = _root.spidah._x - spd;
if (_root.mmine._currentframe > 1) {
_root.mmine._x = _root.mmine._x - spd;
}
this._xscale = slf;
} else {
trace("wall");
}
}
} else if (this._currentframe < 3) {
this.gotoAndStop(1);
}
}
if (_root.chealth < 1) {
dead = 2;
}
if (dead == 2) {
this.gotoAndStop(4);
}
}
Symbol 1252 MovieClip Frame 1394
stop();
Symbol 1252 MovieClip Frame 1395
stop();