Instance of Symbol 78 MovieClip [carregador] "loader" in Frame 1
onClipEvent (load) {
function letsGo() {
_parent.play();
delete onEnterFrame;
}
_parent.stop();
time1 = Math.floor(getTimer() / 1000);
}
onClipEvent (enterFrame) {
loaded = _parent.getBytesLoaded();
total = _parent.getBytesTotal();
percentage = Math.round((loaded / total) * 100);
time = (getTimer() / 1000) - time1;
speed = loaded / time;
rest_bytes = total - loaded;
rest_seconds = Math.ceil(rest_bytes / speed);
minutes = Math.floor(rest_seconds / 60);
if (minutes >= 1) {
rest_seconds = rest_seconds - Math.floor(minutes * 60);
if (rest_seconds < 10) {
rest_seconds = "0" + rest_seconds;
}
} else {
minutes = "0";
if (rest_seconds < 10) {
rest_seconds = "0" + rest_seconds;
}
}
rest_time = (minutes + ":") + rest_seconds;
conection_speed = Math.floor(speed / 1024) + "Kbps";
this.pct.howMuch = percentage + "%";
this.bar._xscale = percentage;
this.pct.infoField = ((((((((("Total size: " + Math.floor(total / 1024)) + "Kb \u2022 ") + "Rest size: ") + Math.floor(rest_bytes / 1024)) + "Kb") + " \n ") + "Rest time: ") + rest_time) + " \u2022 speed: ") + conection_speed;
if (loaded == total) {
setTimeout(letsGo, 500);
}
}
Frame 2
var savefile = SharedObject.getLocal("shinland");
_root.oldmoney = savefile.data.oldmoney;
_root.oldlevel = savefile.data.oldlevel;
_root.oldplayerhp = savefile.data.oldplayerhp;
_root.oldplayerhp1 = savefile.data.oldplayerhp1;
_root.oldplayermp = savefile.data.oldplayermp;
_root.oldplayermp1 = savefile.data.oldplayermp1;
_root.oldexp = savefile.data.oldexp;
_root.oldexp1 = savefile.data.oldexp1;
_root.oldturbo = savefile.data.oldturbo;
_root.oldturbo2 = savefile.data.oldturbo2;
_root.oldgeez = savefile.data.oldgeez;
_root.oldclock = savefile.data.oldclock;
_root.olddamage = savefile.data.olddamage;
_root.olddefense = savefile.data.olddefense;
_root.oldlook = savefile.data.oldlook;
_root.oldcharm = savefile.data.oldcharm;
_root.oldstr = savefile.data.oldstr;
_root.oldability1 = savefile.data.oldability1;
_root.olddagger = savefile.data.olddagger;
_root.oldstar = savefile.data.oldstar;
_root.oldboom = savefile.data.oldboom;
_root.olddart = savefile.data.olddart;
_root.olddaggerer = savefile.data.olddagger;
_root.oldstarer = savefile.data.oldstar;
_root.oldboomer = savefile.data.oldboom;
_root.olddarter = savefile.data.olddart;
_root.oldremove1 = savefile.data.oldremove1;
_root.oldremove4 = savefile.data.oldremove4;
_root.oldremove3 = savefile.data.oldremove3;
_root.oldtokuearrings = savefile.data.oldtokuearrings;
_root.oldearbuy = savefile.data.oldearbuy;
_root.oldstarsbuy = savefile.data.oldstarsbuy;
_root.oldboombuy = savefile.data.oldboombuy;
_root.olddartbuy = savefile.data.olddartbuy;
_root.oldbandana = savefile.data.oldbandana;
_root.oldhatbuy = savefile.data.oldhatbuy;
_root.oldrosebuy = savefile.data.oldrosebuy;
_root.oldrose = savefile.data.oldrose;
_root.oldqbadge = savefile.data.oldqbadge;
_root.oldqegg = savefile.data.oldqegg;
_root.oldremove2 = savefile.data.oldremove2;
_root.oldquest1 = savefile.data.oldquest1;
_root.olditem9gone = savefile.data._root.olditem9gone;
if (savefile.data.level == undefined) {
_root.oldplayerhp = 80;
_root.oldplayerhp1 = 80;
_root.oldplayermp = 80;
_root.oldplayermp1 = 80;
_root.oldexp = 0;
_root.oldexp1 = 65;
_root.oldlevel = 1;
_root.oldmoney = 0;
_root.oldturbo = 0;
_root.oldturbo2 = 0;
_root.oldgeez = 0;
_root.oldclock = 0;
_root.olddamage = 0;
_root.olddefense = 0;
_root.oldlook = 0;
_root.oldcharm = 0;
_root.oldstr = 0;
_root.oldability1 = 0;
_root.olddagger = true;
_root.oldstar = false;
_root.oldboom = false;
_root.olddart = false;
_root.olddaggerer = true;
_root.oldstarer = false;
_root.oldboomer = false;
_root.olddarter = false;
_root.oldremove1 = false;
_root.oldremove4 = false;
_root.oldremove3 = false;
_root.oldtokuearrings = false;
_root.oldearbuy = false;
_root.oldstarsbuy = false;
_root.oldboombuy = false;
_root.olddartbuy = false;
_root.oldbandana = false;
_root.oldhatbuy = false;
_root.oldrosebuy = false;
_root.oldqbadge = false;
_root.oldqegg = false;
_root.oldremove2 = false;
_root.oldquest1 = false;
_root.oldrose = false;
_root.olditem9gone = false;
}
_root.playerhp = 80;
_root.playerhp1 = 80;
_root.playermp = 80;
_root.playermp1 = 80;
_root.exp = 0;
_root.exp1 = 65;
_root.level = 1;
_root.money = 0;
_root.turbo = 0;
_root.turbo2 = 0;
_root.geez = 0;
_root.clock = 0;
_root.charm = 0;
_root.str = 0;
_root.ability1 = 0;
_root.damage = 0;
_root.defense = 0;
_root.look = 0;
_root.rose = false;
_root.boom = false;
_root.star = false;
_root.dart = false;
_root.dagger = false;
_root.boomer = false;
_root.starer = false;
_root.darter = false;
_root.daggerer = false;
_root.remove1 = false;
_root.remove4 = false;
_root.remove3 = false;
_root.tokuearrings = false;
_root.earbuy = false;
_root.starsbuy = false;
_root.boombuy = false;
_root.dartbuy = false;
_root.bandana = false;
_root.hatbuy = false;
_root.rosebuy = false;
_root.qbadge = false;
_root.qegg = false;
_root.remove2 = false;
_root.quest1 = false;
_root.rose = false;
_root.item9gone = false;
mysounda = new Sound();
mysounda.attachSound("title");
mysounda.start(0, 1000);
stop();
Instance of Symbol 206 MovieClip "loada" in Frame 2
on (press) {
var savefile = SharedObject.getLocal("shinland");
if (savefile.data.level == undefined) {
_root.playerhp = 80;
_root.playerhp1 = 80;
_root.playermp = 80;
_root.playermp1 = 80;
_root.exp = 0;
_root.exp1 = 65;
_root.level = 1;
_root.money = 0;
_root.turbo = 0;
_root.turbo2 = 0;
_root.geez = 0;
_root.clock = 0;
_root.charm = 0;
_root.str = 0;
_root.ability1 = 0;
_root.damage = 0;
_root.defense = 0;
_root.look = 0;
_root.dagger = true;
_root.star = false;
_root.boom = false;
_root.dart = false;
_root.daggerer = true;
_root.starer = false;
_root.boomer = false;
_root.darter = false;
_root.remove1 = false;
_root.remove3 = false;
_root.remove4 = false;
_root.tokuearrings = false;
_root.earbuy = false;
_root.starsbuy = false;
_root.boombuy = false;
_root.dartbuy = false;
_root.bandana = false;
_root.hatbuy = false;
_root.rosebuy = false;
_root.qbadge = false;
_root.qegg = false;
_root.remove2 = false;
_root.quest1 = false;
_root.rose = false;
_root.item9gone = false;
} else {
mysoundsa = new Sound();
mysoundsa.attachSound("coin");
mysoundsa.start(0, 1);
_root.gotoAndPlay(21);
_root.money = savefile.data.money;
_root.level = savefile.data.level;
_root.playerhp = savefile.data.playerhp;
_root.playerhp1 = savefile.data.playerhp1;
_root.exp = savefile.data.exp;
_root.exp1 = savefile.data.exp1;
_root.turbo = savefile.data.turbo;
_root.geez = savefile.data.geez;
_root.clock = savefile.data.clock;
_root.damage = savefile.data.damage;
_root.defense = savefile.data.defense;
_root.look = savefile.data.look;
_root.ability1 = savefile.data.ability1;
_root.charm = savefile.data.charm;
_root.str = savefile.data.str;
_root.turbo2 = savefile.data.turbo2;
_root.playermp = savefile.data.playermp;
_root.playermp1 = savefile.data.playermp1;
_root.dagger = savefile.data.dagger;
_root.star = savefile.data.star;
_root.boom = savefile.data.boom;
_root.dart = savefile.data.dart;
_root.daggerer = savefile.data.daggerer;
_root.starer = savefile.data.starer;
_root.boomer = savefile.data.boomer;
_root.darter = savefile.data.darter;
_root.remove1 = savefile.data.remove1;
_root.remove4 = savefile.data.remove4;
_root.tokuearrings = savefile.data.tokuearrings;
_root.earbuy = savefile.data.earbuy;
_root.starsbuy = savefile.data.starsbuy;
_root.boombuy = savefile.data.boombuy;
_root.dartbuy = savefile.data.dartbuy;
_root.bandana = savefile.data.bandana;
_root.hatbuy = savefile.data.hatbuy;
_root.rosebuy = savefile.data.rosebuy;
_root.qbadge = savefile.data.qbadge;
_root.qegg = savefile.data.qegg;
_root.remove2 = savefile.data.remove2;
_root.remove3 = savefile.data.remove3;
_root.quest1 = savefile.data.quest1;
_root.rose = savefile.data.rose;
_root.item9gone = savefile.data.item9gone;
}
}
Frame 3
_root.quest.dragquest.onPress = function () {
_root.quest.startDrag();
};
_root.quest.dragquest.onRelease = (onReleaseOutside = function () {
_root.quest.stopDrag();
});
_root.ability.gotoAndStop(2);
_root.ability.draggy.onPress = function () {
_root.ability.startDrag();
};
_root.ability.draggy.onRelease = (onReleaseOutside = function () {
_root.ability.stopDrag();
});
stop();
_root.game.gotoAndStop(1);
_root.mcPLAYER._x = _global.PLAYERX;
_root.mcPLAYER._y = _global.PLAYERY;
_root.mcPLAYER.YMOVEMENT = 0;
_root.mcPLAYER.XMOVEMENT = 0;
_root.mcPLAYER.JUMPPOWER = 25;
_root.mcPLAYER.GROUNDED = false;
_root.mcPLAYER.FALLING = false;
_root.mcPLAYER.GRAVITY = 1.2;
_root.mcPLAYER.INVERSEGRAVITY = 0.8;
_root.mcPLAYER.DIRECTION = "R";
_root.JUMPKEY = 38;
_root.CROUCHKEY = 40;
_root.RUNLEFTKEY = 37;
_root.RUNRIGHTKEY = 39;
a = 1;
while (a <= 10) {
_root["mcWALL" + a]._visible = false;
_root["mcCEILING" + a]._visible = false;
_root["mcPLATFORM" + a]._visible = false;
a++;
}
onEnterFrame = function () {
if (Key.isDown(_root.JUMPKEY)) {
if (_root.mcPLAYER.GROUNDED == true) {
_root.mcPLAYER.GROUNDED = false;
_root.mcPLAYER.YMOVEMENT = -_root.mcPLAYER.JUMPPOWER;
_root.mcPLAYER.FALLING = false;
}
}
if (_root.mcPLAYER.GROUNDED == false) {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.YMOVEMENT = _root.mcPLAYER.YMOVEMENT * _root.mcPLAYER.INVERSEGRAVITY;
} else {
_root.mcPLAYER.YMOVEMENT = _root.mcPLAYER.YMOVEMENT * _root.mcPLAYER.GRAVITY;
}
if (_root.mcPLAYER.YMOVEMENT > -1) {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.FALLING = true;
_root.mcPLAYER.YMOVEMENT = 1;
}
}
}
_root.mcPLAYER.XMOVEMENT = _root.mcPLAYER.XMOVEMENT * 0.9;
tempX = _root.mcPLAYER._x;
tempY = _root.mcPLAYER._y;
_root.mcPLAYER._y = _root.mcPLAYER._y + _root.mcPLAYER.YMOVEMENT;
_root.mcPLAYER._x = _root.mcPLAYER._x + _root.mcPLAYER.XMOVEMENT;
a = 1;
while (a <= 10) {
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root["mcWALL" + a]) == true) {
_root.mcPLAYER._x = tempX;
_root.mcPLAYER.XMOVEMENT = 0;
}
a++;
}
a = 1;
while (a <= 10) {
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root["mcCEILING" + a]) == true) {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER._y = tempY;
_root.mcPLAYER.YMOVEMENT = 2;
_root.mcPLAYER.FALLING = true;
}
}
a++;
}
a = 1;
while (a <= 10) {
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root["mcPLATFORM" + a]) == true) {
if (_root.mcPLAYER.FALLING == true) {
_root.mcPLAYER.YMOVEMENT = 0;
_root.mcPLAYER._y = _root["mcPLATFORM" + a]._y;
_root.mcPLAYER.GROUNDED = true;
}
}
a++;
}
if (_root.mcPLAYER.GROUNDED == true) {
nohit = false;
a = 1;
while (a <= 10) {
_root.mcPLAYER._y = _root.mcPLAYER._y + 2;
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root["mcPLATFORM" + a]) == true) {
nohit = true;
}
_root.mcPLAYER._y = _root.mcPLAYER._y - 2;
a++;
}
if (nohit == false) {
_root.mcPLAYER.YMOVEMENT = 1;
_root.mcPLAYER.GROUNDED = false;
}
}
if (_root.mcPLAYER.GROUNDED == true) {
if ((_root.mcPLAYER.XMOVEMENT < 0.5) and (_root.mcPLAYER.XMOVEMENT > -0.5)) {
if (_root.mcPLAYER.DIRECTION == "R") {
_root.mcPLAYER.gotoAndStop(1);
} else {
_root.mcPLAYER.gotoAndStop(2);
}
} else if (_root.mcPLAYER.DIRECTION == "R") {
_root.mcPLAYER.gotoAndStop(3);
} else {
_root.mcPLAYER.gotoAndStop(4);
}
} else if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.gotoAndStop(5);
} else {
_root.mcPLAYER.gotoAndStop(6);
}
if (Key.isDown(_root.CROUCHKEY)) {
if (daggerer == true) {
dagger = false;
}
if (starer == true) {
star = false;
}
if (boomer == true) {
boom = false;
}
if (darter == true) {
dart = false;
}
if (_root.mcPLAYER.GROUNDED == true) {
if (_root.mcPLAYER.DIRECTION == "R") {
_root.mcPLAYER.gotoAndStop(8);
} else {
_root.mcPLAYER.gotoAndStop(9);
}
}
} else {
if (daggerer == true) {
dagger = true;
}
if (starer == true) {
star = true;
}
if (boomer == true) {
boom = true;
}
if (darter == true) {
dart = true;
}
if (Key.isDown(_root.RUNRIGHTKEY)) {
_root.mcPLAYER.XMOVEMENT = _root.mcPLAYER.XMOVEMENT + 1;
_root.mcPLAYER._xscale = 100;
_root.mcPLAYER._yscale = 170;
}
if (Key.isDown(_root.RUNLEFTKEY)) {
_root.mcPLAYER.XMOVEMENT = _root.mcPLAYER.XMOVEMENT - 1;
_root.mcPLAYER._xscale = -100;
_root.mcPLAYER._yscale = 170;
}
if (_root.mcPLAYER._xscale == -100) {
_root.bulleter._xscale = -100;
_root.bulleterd._xscale = -100;
}
}
};
mysoundt.stop();
mysounda.stop();
mysoundx.stop();
mysounds = new Sound();
mysounds.attachSound("start");
mysounds.start(0, 1000);
Instance of Symbol 248 MovieClip "chest" in Frame 3
onClipEvent (enterFrame) {
if (_root.remove == true) {
_root.chest.gotoAndStop(85);
}
if (_root.remove == false) {
_root.chest.gotoAndStop(1);
}
}
Instance of Symbol 253 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
mysoundg = new Sound();
mysoundg.attachSound("coin");
mysoundg.start();
_root.money = _root.money + (random(50) + 1);
unloadMovie (this);
}
}
Instance of Symbol 253 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
mysoundg = new Sound();
mysoundg.attachSound("coin");
mysoundg.start();
_root.money = _root.money + (random(50) + 1);
unloadMovie (this);
}
}
Instance of Symbol 253 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
mysoundg = new Sound();
mysoundg.attachSound("coin");
mysoundg.start();
_root.money = _root.money + (random(50) + 1);
unloadMovie (this);
}
}
Instance of Symbol 365 MovieClip "mcPLAYER" in Frame 3
onClipEvent (load) {
speed = 0;
_root.maxshoottime = 8;
_root.maxshoottime2 = 8;
_root.maxshoottime3 = 10;
_root.maxshoottime4 = 7;
var timer3 = getTimer();
var timer4 = getTimer();
_root.enemydamage = random(5);
}
onClipEvent (enterFrame) {
if (_root.item9gone == true) {
_root.item9.unloadMovie();
}
_root.enemies.enemiesdamage = _root.enemydamage + _root.damage;
_root.enemies1.enemiesdamage = _root.enemydamage + _root.damage;
_root.enemies2.enemiesdamage = _root.enemydamage + _root.damage;
_root.ability.ability = _root.ability1;
_root.ability.damage = _root.damage;
_root.ability.defense = _root.defense;
_root.ability.look = _root.look;
if (Key.isDown(40)) {
if (getTimer() > (timer3 + 1000)) {
timer3 = getTimer();
_root.playermp++;
}
if (_root.playermp > _root.playermp1) {
_root.playermp = _root.playermp1;
}
}
if (Key.isDown(40)) {
if (getTimer() > (timer4 + 2000)) {
timer4 = getTimer();
_root.playerhp++;
}
if (_root.playerhp > _root.playerhp1) {
_root.playerhp = _root.playerhp1;
}
}
if (!_root.shooting) {
_root.timer2 = 0;
_root.mvsp = _xscale / 3;
}
if (Key.isDown(87)) {
trace("You pressed 'W' ");
if ((_root.dagger == true) && (!_root.shooting)) {
mysoundd = new Sound();
mysoundd.attachSound("boomer");
mysoundd.start(0, 1);
_root.mcPLAYER.shin.body.tap.gotoAndStop(1);
_root.mcPLAYER.hit.gotoAndPlay(2);
_root.mcPLAYER.shin.face.gotoAndStop(30);
_root.mcPLAYER.larm.gotoAndPlay(56);
_root.mcPLAYER.shin.hair.gotoAndStop(2);
_root.playermp = _root.playermp - random(3);
_root.attachMovie("bullet", "bulleter", 1, {_x:_root.mcPLAYER._x - 0, _y:_root.mcPLAYER._y - 33});
_root.shooting = true;
with (_root.bulleter) {
onEnterFrame = function () {
if (_root.timer2 > _root.maxshoottime2) {
_root.shooting = false;
unloadMovie(this);
}
_root.timer2++;
_x = _x + _root.mvsp;
};
}
attacking = true;
speed = 0;
}
} else if (((speed < 1) && (speed > -1)) && (!attacking)) {
speed = 0;
}
if (!_root.shooting) {
_root.timer1 = 0;
_root.mvsp2 = _xscale / 3;
}
if (Key.isDown(87)) {
trace("You pressed 'W' ");
if ((_root.star == true) && (!_root.shooting)) {
mysoundd = new Sound();
mysoundd.attachSound("stars");
mysoundd.start(0, 1);
_root.mcPLAYER.shin.body.tap.gotoAndStop(1);
_root.mcPLAYER.hit.gotoAndPlay(2);
_root.mcPLAYER.shin.face.gotoAndStop(30);
_root.mcPLAYER.larm.gotoAndPlay(56);
_root.mcPLAYER.shin.hair.gotoAndStop(2);
_root.playermp = _root.playermp - random(4);
_root.attachMovie("bulletb", "bulleterb", 1, {_x:_root.mcPLAYER._x - 0, _y:_root.mcPLAYER._y - 30});
_root.shooting = true;
with (_root.bulleterb) {
onEnterFrame = function () {
if (_root.timer1 > _root.maxshoottime3) {
_root.shooting = false;
unloadMovie(this);
}
_root.timer1++;
_x = _x + _root.mvsp2;
};
}
attacking = true;
speed = 0;
}
} else if (((speed < 1) && (speed > -1)) && (!attacking)) {
speed = 0;
}
if (!_root.shooting) {
_root.timer1 = 0;
_root.mvsp2 = _xscale / 2;
}
if (Key.isDown(87)) {
trace("You pressed 'W' ");
if ((_root.boom == true) && (!_root.shooting)) {
mysoundd = new Sound();
mysoundd.attachSound("baba");
mysoundd.start(0, 1);
_root.mcPLAYER.shin.body.tap.gotoAndStop(1);
_root.mcPLAYER.hit.gotoAndPlay(2);
_root.mcPLAYER.shin.face.gotoAndStop(30);
_root.mcPLAYER.larm.gotoAndPlay(56);
_root.mcPLAYER.shin.hair.gotoAndStop(2);
_root.playermp = _root.playermp - random(5);
_root.attachMovie("bulletc", "bulleterc", 1, {_x:_root.mcPLAYER._x - 0, _y:_root.mcPLAYER._y - 30});
_root.shooting = true;
with (_root.bulleterc) {
onEnterFrame = function () {
if (_root.timer1 > _root.maxshoottime3) {
_root.shooting = false;
unloadMovie(this);
}
_root.timer1++;
_x = _x + _root.mvsp2;
};
}
attacking = true;
speed = 0;
}
} else if (((speed < 1) && (speed > -1)) && (!attacking)) {
speed = 0;
}
if (!_root.shooting) {
_root.timer1 = 0;
_root.mvsp2 = _xscale / 2;
}
if (Key.isDown(87)) {
trace("You pressed 'W' ");
if ((_root.dart == true) && (!_root.shooting)) {
mysoundd = new Sound();
mysoundd.attachSound("blade");
mysoundd.start(0, 1);
_root.mcPLAYER.shin.body.tap.gotoAndStop(1);
_root.mcPLAYER.hit.gotoAndPlay(2);
_root.mcPLAYER.shin.face.gotoAndStop(30);
_root.mcPLAYER.larm.gotoAndPlay(56);
_root.mcPLAYER.shin.hair.gotoAndStop(2);
_root.playermp = _root.playermp - random(6);
_root.attachMovie("bulletd", "bulleterd", 1, {_x:_root.mcPLAYER._x - 0, _y:_root.mcPLAYER._y - 30});
_root.shooting = true;
with (_root.bulleterd) {
onEnterFrame = function () {
if (_root.timer1 > _root.maxshoottime4) {
_root.shooting = false;
unloadMovie(this);
}
_root.timer1++;
_x = _x + _root.mvsp2;
};
}
attacking = true;
speed = 0;
}
} else if (((speed < 1) && (speed > -1)) && (!attacking)) {
speed = 0;
}
if (_root.exp > _root.exp1) {
_root.ability1 = _root.ability1 + 1;
_root.level = _root.level + 1;
_root.exp = 0;
_root.exp1 = _root.exp1 + 30;
_root.playerhp1 = _root.playerhp1 + (random(15) + 2);
_root.playerhp = _root.playerhp1;
_root.playermp1 = _root.playermp1 + (random(20) + 2);
_root.playermp = _root.playermp1;
_root.levelup.gotoAndPlay(2);
mysoundb = new Sound();
mysoundb.attachSound("level");
mysoundb.start(0, 1);
}
if (_root.exp == _root.exp1) {
_root.ability1 = _root.ability1 + 1;
_root.level = _root.level + 1;
_root.exp = 0;
_root.exp1 = _root.exp1 + 30;
_root.playerhp1 = _root.playerhp1 + random(17);
_root.playerhp = _root.playerhp1;
_root.playermp1 = _root.playermp1 + (random(20) + 2);
_root.playermp = _root.playermp1;
_root.levelup.gotoAndPlay(2);
mysoundb = new Sound();
mysoundb.attachSound("level");
mysoundb.start(0, 1);
}
if (_root.ability1 > 0) {
_root.ability.strup.gotoAndStop(2);
_root.ability.defup.gotoAndStop(2);
_root.ability.lookup.gotoAndStop(2);
} else if (_root.ability1 < 1) {
_root.ability.strup.gotoAndStop(1);
_root.ability.defup.gotoAndStop(1);
_root.ability.lookup.gotoAndStop(1);
}
if (_root.playerhp < 25) {
_root.health.gotoAndStop(2);
}
if (_root.playerhp > 25) {
_root.health.gotoAndStop(1);
}
if (_root.playermp < 25) {
_root.mp.gotoAndStop(2);
}
if (_root.playermp > 25) {
_root.mp.gotoAndStop(1);
}
if (_root.money > 1999) {
_root.qmoney == true;
_root.quest.qmoney._alpha = 100;
}
if (_root.qbadge == true) {
_root.quest.qbadge._alpha = 100;
}
if (_root.qegg == true) {
_root.quest.qegg._alpha = 100;
_root.dino.dinodead.egg.egg1.gotoAndStop(9);
}
if (_root.playerhp < 1) {
_root.game.gotoAndStop(2);
this._x = -200;
_root.playerhp = 0;
_root.playermp = 0;
_root.exp = 0;
_root.money = 0;
}
if ((_root.playermp < 1) && (_root.dagger == true)) {
_root.playermp = 0;
_root.dagger = false;
_root.daggerer = false;
_root.daggeractive = 1;
} else if ((_root.playermp > 1) && (_root.daggeractive > 0)) {
_root.dagger = true;
_root.daggerer = true;
_root.daggeractive = -1;
}
if ((_root.playermp < 1) && (_root.star == true)) {
_root.playermp = 0;
_root.star = false;
_root.starer = false;
_root.daggeractive1 = 1;
} else if ((_root.playermp > 1) && (_root.daggeractive1 > 0)) {
_root.star = true;
_root.starer = true;
_root.daggeractive1 = -1;
}
if ((_root.playermp < 1) && (_root.boom == true)) {
_root.playermp = 0;
_root.boom = false;
_root.boomer = false;
_root.daggeractive2 = 1;
} else if ((_root.playermp > 1) && (_root.daggeractive2 > 0)) {
_root.boom = true;
_root.boomer = true;
_root.daggeractive2 = -1;
}
if ((_root.playermp < 1) && (_root.dart == true)) {
_root.playermp = 0;
_root.dart = false;
_root.darter = false;
_root.daggeractive3 = 1;
} else if ((_root.playermp > 1) && (_root.daggeractive3 > 0)) {
_root.dart = true;
_root.darter = true;
_root.daggeractive3 = -1;
}
if (_root.bandana == true) {
_root.mcPLAYER.bandana._alpha = 100;
}
if (_root.bandana == false) {
_root.mcPLAYER.bandana._alpha = 0;
}
if (_root.tokuearrings == true) {
_root.mcPLAYER.earrings._alpha = 0;
_root.mcPLAYER.tokuearrings._alpha = 100;
}
if (_root.tokuearrings == false) {
_root.mcPLAYER.earrings._alpha = 100;
_root.mcPLAYER.tokuearrings._alpha = 0;
}
if (_root.rose == true) {
_root.mcPLAYER.roses._alpha = 100;
}
if (_root.rose == false) {
_root.mcPLAYER.roses._alpha = 0;
}
if (_root.quest1 == true) {
_root.quest._alpha = 100;
}
if (_root.quest1 == false) {
_root.quest._alpha = 0;
}
}
Instance of Symbol 373 MovieClip "teleport" in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside) == true) {
_global.PLAYERX = 100;
_global.PLAYERY = 480;
_root.gotoAndStop(4);
}
}
Instance of Symbol 463 MovieClip "health" in Frame 3
onClipEvent (enterFrame) {
finalhp = (_root.playerhp / _root.playerhp1) * 90;
this._xscale = finalhp;
}
Instance of Symbol 470 MovieClip in Frame 3
onClipEvent (enterFrame) {
finalexp = (_root.exp / _root.exp1) * 100;
this._xscale = finalexp;
}
Instance of Symbol 489 MovieClip "mp" in Frame 3
onClipEvent (enterFrame) {
finalmp = (_root.playermp / _root.playermp1) * 150;
this._xscale = finalmp;
}
Frame 4
stop();
_root.mcPLAYER._x = _global.PLAYERX;
_root.mcPLAYER._y = _global.PLAYERY;
_root.mcPLAYER.YMOVEMENT = 0;
_root.mcPLAYER.XMOVEMENT = 0;
_root.mcPLAYER.JUMPPOWER = 25;
_root.mcPLAYER.GROUNDED = false;
_root.mcPLAYER.FALLING = false;
_root.mcPLAYER.GRAVITY = 1.2;
_root.mcPLAYER.INVERSEGRAVITY = 0.8;
_root.mcPLAYER.DIRECTION = "R";
_root.JUMPKEY = 38;
_root.CROUCHKEY = 40;
_root.RUNLEFTKEY = 37;
_root.RUNRIGHTKEY = 39;
a = 1;
while (a <= 10) {
_root["mcWALL" + a]._visible = false;
_root["mcCEILING" + a]._visible = false;
_root["mcPLATFORM" + a]._visible = false;
a++;
}
_root.ant2.anthp = random(25) + 1;
Instance of Symbol 524 MovieClip "ant2" in Frame 4
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
_root.ant2.anth._xscale = _root.ant2.anthp;
if (_root.ant2.anthp < 0) {
_root.ant2.anthp = 0;
_root.exp = _root.exp + (random(35) + 1);
nextFrame();
this.gotoAndStop(undefined);
_root.antkill.kills = _root.antkill.kills + 1;
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
}
if (this.hitTest(_root.mcPLAYER) && (!dead)) {
_root.mcPLAYER.jumping = false;
_root.dead = true;
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 526 MovieClip "enemies" in Frame 4
onClipEvent (enterFrame) {
this._x = _root.ant2._x;
this._y = _root.ant2._y;
}
Instance of Symbol 373 MovieClip "teleport" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside) == true) {
_global.PLAYERX = 100;
_global.PLAYERY = 480;
_root.gotoAndStop(5);
}
}
Frame 5
stop();
_root.mcPLAYER._x = _global.PLAYERX;
_root.mcPLAYER._y = _global.PLAYERY;
_root.mcPLAYER.YMOVEMENT = 0;
_root.mcPLAYER.XMOVEMENT = 0;
_root.mcPLAYER.JUMPPOWER = 25;
_root.mcPLAYER.GROUNDED = false;
_root.mcPLAYER.FALLING = false;
_root.mcPLAYER.GRAVITY = 1.2;
_root.mcPLAYER.INVERSEGRAVITY = 0.8;
_root.mcPLAYER.DIRECTION = "R";
_root.JUMPKEY = 38;
_root.CROUCHKEY = 40;
_root.RUNLEFTKEY = 37;
_root.RUNRIGHTKEY = 39;
a = 1;
while (a <= 10) {
_root["mcWALL" + a]._visible = false;
_root["mcCEILING" + a]._visible = false;
_root["mcPLATFORM" + a]._visible = false;
a++;
}
_root.apple.applehp = random(30) + 15;
_root.ant.anthp = random(25) + 1;
_root.ant1.anthp = random(25) + 1;
_root.ant2.anthp = random(25) + 1;
_root.ant3.anthp = random(25) + 1;
_root.ant4.anthp = random(25) + 1;
_root.ant5.anthp = random(25) + 1;
Instance of Symbol 590 MovieClip "ant3" in Frame 5
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
_root.ant3.anth._xscale = _root.ant3.anthp;
if (_root.ant3.anthp < 0) {
_root.ant3.anthp = 0;
nextFrame();
this.gotoAndStop(undefined);
_root.exp = _root.exp + (random(35) + 1);
_root.antkill.kills = _root.antkill.kills + 1;
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
}
if (this.hitTest(_root.mcPLAYER) && (!dead)) {
_root.mcPLAYER.jumping = false;
_root.dead = true;
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 2;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 2;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 591 MovieClip "ant2" in Frame 5
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
_root.ant2.anth._xscale = _root.ant2.anthp;
if (_root.ant2.anthp < 0) {
_root.ant2.anthp = 0;
nextFrame();
this.gotoAndStop(undefined);
_root.exp = _root.exp + (random(35) + 1);
_root.antkill.kills = _root.antkill.kills + 1;
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
}
if (this.hitTest(_root.mcPLAYER) && (!dead)) {
_root.mcPLAYER.jumping = false;
_root.dead = true;
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 627 MovieClip "apple" in Frame 5
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
thisX = this._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 3) && (remainingX < 400)) {
this._x = this._x - 3;
this._xscale = 100;
} else if ((remainingX <= -3) && (remainingX > -400)) {
this._x = this._x + 3;
this._xscale = -100;
}
if (this.hitTest(_root.mcWALL1)) {
_root.apple._x = _root.apple._x - 20;
}
if (this.hitTest(_root.mcWALL2)) {
_root.apple._x = _root.apple._x + 20;
}
_root.apple.appleh._xscale = _root.apple.applehp;
if (_root.apple.applehp < 0) {
_root.apple.applehp = 0;
nextFrame();
this.gotoAndStop(undefined);
thisX = this._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 3) && (remainingX < 300)) {
this._x = this._x - 0;
} else if ((remainingX <= -3) && (remainingX > -300)) {
this._x = this._x + 0;
}
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
}
if (this.hitTest(_root.bulleter)) {
_root.bulleter.unloadMovie();
enemyspeed = 3;
_root.enemies2.gotoAndPlay(2);
_root.apple.applehp = _root.apple.applehp - (((_root.enemydamage = random(4))) + _root.damage);
_root.apple.applein.gotoAndStop(2);
thisX = this._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 10) && (remainingX < 150)) {
this._x = this._x + 20;
this._xscale = 100;
} else if ((remainingX <= -10) && (remainingX > -150)) {
this._x = this._x - 20;
this._xscale = -100;
}
}
if (this.hitTest(_root.bulleterb)) {
_root.bulleterb.unloadMovie();
enemyspeed = 3;
_root.enemies2.gotoAndPlay(2);
_root.apple.applehp = _root.apple.applehp - (((_root.enemydamage = random(5))) + _root.damage);
_root.apple.applein.gotoAndStop(2);
thisX = this._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 10) && (remainingX < 150)) {
this._x = this._x + 20;
this._xscale = 100;
} else if ((remainingX <= -10) && (remainingX > -150)) {
this._x = this._x - 20;
this._xscale = -100;
}
}
if (this.hitTest(_root.bulleterc)) {
_root.bulleterc.unloadMovie();
enemyspeed = 3;
_root.enemies2.gotoAndPlay(2);
_root.apple.applehp = _root.apple.applehp - (((_root.enemydamage = random(6))) + _root.damage);
_root.apple.applein.gotoAndStop(2);
thisX = this._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 10) && (remainingX < 150)) {
this._x = this._x + 20;
this._xscale = 100;
} else if ((remainingX <= -10) && (remainingX > -150)) {
this._x = this._x - 20;
this._xscale = -100;
}
}
if (this.hitTest(_root.bulleterd)) {
_root.bulleterd.unloadMovie();
enemyspeed = 3;
_root.enemies2.gotoAndPlay(2);
_root.apple.applehp = _root.apple.applehp - (((_root.enemydamage = random(7))) + _root.damage);
_root.apple.applein.gotoAndStop(2);
thisX = this._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 10) && (remainingX < 150)) {
this._x = this._x + 20;
this._xscale = 100;
} else if ((remainingX <= -10) && (remainingX > -150)) {
this._x = this._x - 20;
this._xscale = -100;
}
}
}
Instance of Symbol 526 MovieClip "enemies2" in Frame 5
onClipEvent (enterFrame) {
this._x = _root.apple._x;
this._y = _root.apple._y;
}
Instance of Symbol 526 MovieClip "enemies1" in Frame 5
onClipEvent (enterFrame) {
this._x = _root.ant3._x;
this._y = _root.ant3._y;
}
Instance of Symbol 629 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside) == true) {
_global.PLAYERX = 150;
_global.PLAYERY = 480;
_root.gotoAndPlay(6);
}
}
Instance of Symbol 629 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside) == true) {
_global.PLAYERX = 150;
_global.PLAYERY = 250;
_root.gotoAndPlay(6);
}
}
Frame 6
stop();
_root.mcPLAYER._x = _global.PLAYERX;
_root.mcPLAYER._y = _global.PLAYERY;
_root.mcPLAYER.YMOVEMENT = 0;
_root.mcPLAYER.XMOVEMENT = 0;
_root.mcPLAYER.JUMPPOWER = 25;
_root.mcPLAYER.GROUNDED = false;
_root.mcPLAYER.FALLING = false;
_root.mcPLAYER.GRAVITY = 1.2;
_root.mcPLAYER.INVERSEGRAVITY = 0.8;
_root.mcPLAYER.DIRECTION = "R";
_root.JUMPKEY = 38;
_root.CROUCHKEY = 40;
_root.RUNLEFTKEY = 37;
_root.RUNRIGHTKEY = 39;
a = 1;
while (a <= 10) {
_root["mcWALL" + a]._visible = false;
_root["mcCEILING" + a]._visible = false;
_root["mcPLATFORM" + a]._visible = false;
a++;
}
_root.apple.applehp = random(30) + 15;
_root.ant.anthp = random(30) + 1;
_root.ant1.anthp = random(30) + 1;
_root.ant2.anthp = random(30) + 1;
_root.ant3.anthp = random(30) + 1;
_root.ant4.anthp = random(30) + 1;
Instance of Symbol 639 MovieClip "chest" in Frame 6
onClipEvent (enterFrame) {
if (_root.remove1 == true) {
_root.chest.gotoAndStop(85);
}
}
Instance of Symbol 641 MovieClip "ant3" in Frame 6
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
_root.ant3.anth._xscale = _root.ant3.anthp;
if (_root.ant3.anthp < 0) {
_root.ant3.anthp = 0;
nextFrame();
this.gotoAndStop(undefined);
_root.exp = _root.exp + (random(35) + 1);
_root.antkill.kills = _root.antkill.kills + 1;
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
}
if (this.hitTest(_root.mcPLAYER) && (!dead)) {
_root.mcPLAYER.jumping = false;
_root.dead = true;
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 642 MovieClip "ant2" in Frame 6
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
_root.ant2.anth._xscale = _root.ant2.anthp;
if (_root.ant2.anthp < 0) {
_root.ant2.anthp = 0;
nextFrame();
this.gotoAndStop(undefined);
_root.exp = _root.exp + (random(35) + 1);
_root.antkill.kills = _root.antkill.kills + 1;
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
}
if (this.hitTest(_root.mcPLAYER) && (!dead)) {
_root.mcPLAYER.jumping = false;
_root.dead = true;
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 2;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 2;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 643 MovieClip "apple" in Frame 6
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
thisX = this._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 3) && (remainingX < 400)) {
this._x = this._x - 3;
this._xscale = 100;
} else if ((remainingX <= -3) && (remainingX > -400)) {
this._x = this._x + 3;
this._xscale = -100;
}
if (this.hitTest(_root.mcWALL1)) {
_root.apple._x = _root.apple._x - 20;
}
if (this.hitTest(_root.mcWALL2)) {
_root.apple._x = _root.apple._x + 20;
}
_root.apple.appleh._xscale = _root.apple.applehp;
if (_root.apple.applehp < 0) {
_root.apple.applehp = 0;
nextFrame();
this.gotoAndStop(undefined);
thisX = this._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 3) && (remainingX < 300)) {
this._x = this._x - 0;
} else if ((remainingX <= -3) && (remainingX > -300)) {
this._x = this._x + 0;
}
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
}
if (this.hitTest(_root.bulleter)) {
_root.bulleter.unloadMovie();
enemyspeed = 3;
_root.enemies2.gotoAndPlay(2);
_root.apple.applehp = _root.apple.applehp - (((_root.enemydamage = random(4))) + _root.damage);
_root.apple.applein.gotoAndStop(2);
thisX = this._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 10) && (remainingX < 150)) {
this._x = this._x + 20;
this._xscale = 100;
} else if ((remainingX <= -10) && (remainingX > -150)) {
this._x = this._x - 20;
this._xscale = -100;
}
}
if (this.hitTest(_root.bulleterb)) {
_root.bulleterb.unloadMovie();
enemyspeed = 3;
_root.enemies2.gotoAndPlay(2);
_root.apple.applehp = _root.apple.applehp - (((_root.enemydamage = random(5))) + _root.damage);
_root.apple.applein.gotoAndStop(2);
thisX = this._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 10) && (remainingX < 150)) {
this._x = this._x + 20;
this._xscale = 100;
} else if ((remainingX <= -10) && (remainingX > -150)) {
this._x = this._x - 20;
this._xscale = -100;
}
}
if (this.hitTest(_root.bulleterc)) {
_root.bulleterc.unloadMovie();
enemyspeed = 3;
_root.enemies2.gotoAndPlay(2);
_root.apple.applehp = _root.apple.applehp - (((_root.enemydamage = random(6))) + _root.damage);
_root.apple.applein.gotoAndStop(2);
thisX = this._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 10) && (remainingX < 150)) {
this._x = this._x + 20;
this._xscale = 100;
} else if ((remainingX <= -10) && (remainingX > -150)) {
this._x = this._x - 20;
this._xscale = -100;
}
}
if (this.hitTest(_root.bulleterd)) {
_root.bulleterd.unloadMovie();
enemyspeed = 3;
_root.enemies2.gotoAndPlay(2);
_root.apple.applehp = _root.apple.applehp - (((_root.enemydamage = random(7))) + _root.damage);
_root.apple.applein.gotoAndStop(2);
thisX = this._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 10) && (remainingX < 150)) {
this._x = this._x + 20;
this._xscale = 100;
} else if ((remainingX <= -10) && (remainingX > -150)) {
this._x = this._x - 20;
this._xscale = -100;
}
}
}
Instance of Symbol 526 MovieClip "enemies1" in Frame 6
onClipEvent (enterFrame) {
this._x = _root.ant3._x;
this._y = _root.ant3._y;
}
Instance of Symbol 629 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside) == true) {
_global.PLAYERX = 730;
_global.PLAYERY = 240;
_root.gotoAndStop(5);
}
}
Instance of Symbol 629 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside) == true) {
_global.PLAYERX = 730;
_global.PLAYERY = 480;
_root.gotoAndStop(5);
}
}
Instance of Symbol 629 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside) == true) {
_global.PLAYERX = 150;
_global.PLAYERY = 350;
_root.gotoAndPlay(8);
}
}
Frame 7
mysoundt.stop();
mysounds = new Sound();
mysounds.attachSound("start");
mysounds.start(0, 1000);
_root.gotoAndStop(6);
Frame 9
mysounds.stop();
mysoundz.stop();
mysoundt = new Sound();
mysoundt.attachSound("house");
mysoundt.start(0, 1000);
Frame 10
stop();
_root.mcPLAYER._x = _global.PLAYERX;
_root.mcPLAYER._y = _global.PLAYERY;
_root.mcPLAYER.YMOVEMENT = 0;
_root.mcPLAYER.XMOVEMENT = 0;
_root.mcPLAYER.JUMPPOWER = 25;
_root.mcPLAYER.GROUNDED = false;
_root.mcPLAYER.FALLING = false;
_root.mcPLAYER.GRAVITY = 1.2;
_root.mcPLAYER.INVERSEGRAVITY = 0.8;
_root.mcPLAYER.DIRECTION = "R";
_root.JUMPKEY = 38;
_root.CROUCHKEY = 40;
_root.RUNLEFTKEY = 37;
_root.RUNRIGHTKEY = 39;
a = 1;
while (a <= 10) {
_root["mcWALL" + a]._visible = false;
_root["mcCEILING" + a]._visible = false;
_root["mcPLATFORM" + a]._visible = false;
a++;
}
Instance of Symbol 629 MovieClip "tele1" in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside) == true) {
_global.PLAYERX = 730;
_global.PLAYERY = 220;
_root.gotoAndStop(7);
}
}
Instance of Symbol 629 MovieClip "tele3" in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside) == true) {
_global.PLAYERX = 150;
_global.PLAYERY = 500;
_root.gotoAndStop(11);
}
}
Instance of Symbol 629 MovieClip "tele" in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside) == true) {
_global.PLAYERX = 450;
_global.PLAYERY = 0;
_root.gotoAndStop(13);
}
}
Instance of Symbol 629 MovieClip "tele2" in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside) == true) {
_root.gotoAndStop(21);
}
}
Frame 11
stop();
_root.mcPLAYER._x = _global.PLAYERX;
_root.mcPLAYER._y = _global.PLAYERY;
_root.mcPLAYER.YMOVEMENT = 0;
_root.mcPLAYER.XMOVEMENT = 0;
_root.mcPLAYER.JUMPPOWER = 25;
_root.mcPLAYER.GROUNDED = false;
_root.mcPLAYER.FALLING = false;
_root.mcPLAYER.GRAVITY = 1.2;
_root.mcPLAYER.INVERSEGRAVITY = 0.8;
_root.mcPLAYER.DIRECTION = "R";
_root.JUMPKEY = 38;
_root.CROUCHKEY = 40;
_root.RUNLEFTKEY = 37;
_root.RUNRIGHTKEY = 39;
a = 1;
while (a <= 10) {
_root["mcWALL" + a]._visible = false;
_root["mcCEILING" + a]._visible = false;
_root["mcPLATFORM" + a]._visible = false;
a++;
}
Instance of Symbol 629 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside) == true) {
_global.PLAYERX = 730;
_global.PLAYERY = 500;
_root.gotoAndStop(10);
}
}
Instance of Symbol 629 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside) == true) {
if (Key.isDown(65)) {
trace("You pressed 'A' ");
_global.PLAYERX = 650;
_global.PLAYERY = 500;
_root.gotoAndStop(12);
}
}
}
Instance of Symbol 629 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside) == true) {
_global.PLAYERX = 150;
_global.PLAYERY = 500;
_root.gotoAndPlay(16);
}
}
Frame 12
stop();
mysoundm = new Sound();
mysoundm.attachSound("magic");
mysoundm.start(0, 1);
_root.mcPLAYER._x = _global.PLAYERX;
_root.mcPLAYER._y = _global.PLAYERY;
_root.mcPLAYER.YMOVEMENT = 0;
_root.mcPLAYER.XMOVEMENT = 0;
_root.mcPLAYER.JUMPPOWER = 25;
_root.mcPLAYER.GROUNDED = false;
_root.mcPLAYER.FALLING = false;
_root.mcPLAYER.GRAVITY = 1.2;
_root.mcPLAYER.INVERSEGRAVITY = 0.8;
_root.mcPLAYER.DIRECTION = "R";
_root.JUMPKEY = 38;
_root.CROUCHKEY = 40;
_root.RUNLEFTKEY = 37;
_root.RUNRIGHTKEY = 39;
a = 1;
while (a <= 10) {
_root["mcWALL" + a]._visible = false;
_root["mcCEILING" + a]._visible = false;
_root["mcPLATFORM" + a]._visible = false;
a++;
}
Instance of Symbol 629 MovieClip "teleport2" in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
if (Key.isDown(65)) {
trace("You pressed 'A' ");
_root.gotoAndStop(11);
_global.PLAYERX = 700;
_global.PLAYERY = 480;
}
}
}
Frame 13
stop();
mysoundm = new Sound();
mysoundm.attachSound("magic");
mysoundm.start(0, 1);
_root.mcPLAYER._x = _global.PLAYERX;
_root.mcPLAYER._y = _global.PLAYERY;
_root.mcPLAYER.YMOVEMENT = 0;
_root.mcPLAYER.XMOVEMENT = 0;
_root.mcPLAYER.JUMPPOWER = 25;
_root.mcPLAYER.GROUNDED = false;
_root.mcPLAYER.FALLING = false;
_root.mcPLAYER.GRAVITY = 1.2;
_root.mcPLAYER.INVERSEGRAVITY = 0.8;
_root.mcPLAYER.DIRECTION = "R";
_root.JUMPKEY = 38;
_root.CROUCHKEY = 40;
_root.RUNLEFTKEY = 37;
_root.RUNRIGHTKEY = 39;
a = 1;
while (a <= 10) {
_root["mcWALL" + a]._visible = false;
_root["mcCEILING" + a]._visible = false;
_root["mcPLATFORM" + a]._visible = false;
a++;
}
Instance of Symbol 629 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside) == true) {
_global.PLAYERX = 450;
_global.PLAYERY = 100;
_root.gotoAndPlay(14);
}
}
Frame 14
stop();
_root.mcPLAYER._x = _global.PLAYERX;
_root.mcPLAYER._y = _global.PLAYERY;
_root.mcPLAYER.YMOVEMENT = 0;
_root.mcPLAYER.XMOVEMENT = 0;
_root.mcPLAYER.JUMPPOWER = 25;
_root.mcPLAYER.GROUNDED = false;
_root.mcPLAYER.FALLING = false;
_root.mcPLAYER.GRAVITY = 1.2;
_root.mcPLAYER.INVERSEGRAVITY = 0.8;
_root.mcPLAYER.DIRECTION = "R";
_root.JUMPKEY = 38;
_root.CROUCHKEY = 40;
_root.RUNLEFTKEY = 37;
_root.RUNRIGHTKEY = 39;
a = 1;
while (a <= 10) {
_root["mcWALL" + a]._visible = false;
_root["mcCEILING" + a]._visible = false;
_root["mcPLATFORM" + a]._visible = false;
a++;
}
Instance of Symbol 933 MovieClip "chest3" in Frame 14
onClipEvent (enterFrame) {
if (_root.remove2 == true) {
_root.chest3.gotoAndStop(85);
_root.chest3._alpha = 100;
}
}
Instance of Symbol 629 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
if (Key.isDown(65)) {
trace("You pressed 'A' ");
_global.PLAYERX = 600;
_global.PLAYERY = 400;
_root.gotoAndStop(10);
}
}
}
Frame 15
mysounds.stop();
mysoundt = new Sound();
mysoundt.attachSound("house");
mysoundt.start(0, 1000);
_root.gotoAndStop(11);
Frame 19
stop();
_root.mcPLAYER._x = _global.PLAYERX;
_root.mcPLAYER._y = _global.PLAYERY;
_root.mcPLAYER.YMOVEMENT = 0;
_root.mcPLAYER.XMOVEMENT = 0;
_root.mcPLAYER.JUMPPOWER = 25;
_root.mcPLAYER.GROUNDED = false;
_root.mcPLAYER.FALLING = false;
_root.mcPLAYER.GRAVITY = 1.2;
_root.mcPLAYER.INVERSEGRAVITY = 0.8;
_root.mcPLAYER.DIRECTION = "R";
_root.JUMPKEY = 38;
_root.CROUCHKEY = 40;
_root.RUNLEFTKEY = 37;
_root.RUNRIGHTKEY = 39;
a = 1;
while (a <= 10) {
_root["mcWALL" + a]._visible = false;
_root["mcCEILING" + a]._visible = false;
_root["mcPLATFORM" + a]._visible = false;
a++;
}
mysoundt.stop();
mysoundu = new Sound();
mysoundu.attachSound("forest");
mysoundu.start(0, 1000);
_root.ant.anthp = random(20) + 40;
_root.ant1.anthp = random(20) + 40;
_root.ant2.anthp = random(20) + 40;
_root.ant3.anthp = random(20) + 40;
_root.ant4.anthp = random(20) + 40;
Instance of Symbol 985 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
_root.mcPLAYER._y = _root.mcPLAYER._y - 1;
}
}
Instance of Symbol 985 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
_root.mcPLAYER._y = _root.mcPLAYER._y - 1;
}
}
Instance of Symbol 985 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
_root.mcPLAYER._y = _root.mcPLAYER._y - 1;
}
}
Instance of Symbol 999 MovieClip "ant3" in Frame 19
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
_root.ant3.anth._xscale = _root.ant3.anthp;
if (_root.ant3.anthp < 0) {
_root.ant3.anthp = 0;
nextFrame();
this.gotoAndStop(undefined);
_root.exp = _root.exp + (random(70) + 10);
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
}
if (this.hitTest(_root.mcPLAYER) && (!dead)) {
_root.mcPLAYER.jumping = false;
_root.dead = true;
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 2;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 2;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 1000 MovieClip "ant2" in Frame 19
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
_root.ant2.anth._xscale = _root.ant2.anthp;
if (_root.ant2.anthp < 0) {
_root.ant2.anthp = 0;
nextFrame();
this.gotoAndStop(undefined);
_root.exp = _root.exp + (random(70) + 10);
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
}
if (this.hitTest(_root.mcPLAYER) && (!dead)) {
_root.mcPLAYER.jumping = false;
_root.dead = true;
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 526 MovieClip "enemies" in Frame 19
onClipEvent (enterFrame) {
this._x = _root.ant2._x;
this._y = _root.ant2._y;
}
Instance of Symbol 526 MovieClip "enemies1" in Frame 19
onClipEvent (enterFrame) {
this._x = _root.ant3._x;
this._y = _root.ant3._y;
}
Instance of Symbol 629 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside) == true) {
_global.PLAYERX = 730;
_global.PLAYERY = 500;
_root.gotoAndStop(15);
}
}
Instance of Symbol 629 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside) == true) {
_global.PLAYERX = 150;
_global.PLAYERY = 170;
_root.gotoAndStop(20);
}
}
Frame 20
stop();
_root.mcPLAYER._x = _global.PLAYERX;
_root.mcPLAYER._y = _global.PLAYERY;
_root.mcPLAYER.YMOVEMENT = 0;
_root.mcPLAYER.XMOVEMENT = 0;
_root.mcPLAYER.JUMPPOWER = 25;
_root.mcPLAYER.GROUNDED = false;
_root.mcPLAYER.FALLING = false;
_root.mcPLAYER.GRAVITY = 1.2;
_root.mcPLAYER.INVERSEGRAVITY = 0.8;
_root.mcPLAYER.DIRECTION = "R";
_root.JUMPKEY = 38;
_root.CROUCHKEY = 40;
_root.RUNLEFTKEY = 37;
_root.RUNRIGHTKEY = 39;
a = 1;
while (a <= 10) {
_root["mcWALL" + a]._visible = false;
_root["mcCEILING" + a]._visible = false;
_root["mcPLATFORM" + a]._visible = false;
a++;
}
mysoundu.stop();
mysoundv = new Sound();
mysoundv.attachSound("boss");
mysoundv.start(0, 1000);
_root.dino.dinohp = 300;
_root.dino.dinohp1 = 300;
Instance of Symbol 1015 MovieClip "chest" in Frame 20
onClipEvent (enterFrame) {
if (_root.remove4 == true) {
_root.chest.gotoAndStop(85);
}
}
Instance of Symbol 1037 MovieClip "dino" in Frame 20
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
speed = 0;
_root.maxshoottime2 = 8;
}
onClipEvent (enterFrame) {
_root.dino.dinoh._xscale = _root.dino.dinohp;
if ((_root.dino.dinohp < 100) && (this._xscale == 100)) {
_root.dino.dinoh.gotoAndStop(2);
_root.dino.fireball.gotoAndStop(2);
}
if (_root.dino.dinohp < 0) {
_root.dino.dinohp = 0;
nextFrame();
this.gotoAndStop(undefined);
_root.exp = _root.exp + (random(120) + 50);
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
}
if (this.hitTest(_root.mcPLAYER) && (!dead)) {
_root.mcPLAYER.jumping = false;
_root.dead = true;
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 526 MovieClip "enemies" in Frame 20
onClipEvent (enterFrame) {
this._x = _root.dino._x;
this._y = _root.dino._y;
}
Instance of Symbol 629 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside) == true) {
_global.PLAYERX = 730;
_global.PLAYERY = 170;
_root.gotoAndStop(19);
}
}
Instance of Symbol 629 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside) == true) {
_global.PLAYERX = 730;
_global.PLAYERY = 420;
_root.gotoAndStop(24);
}
}
Frame 21
stop();
_root.quest.dragquest.onPress = function () {
_root.quest.startDrag();
};
_root.quest.dragquest.onRelease = (onReleaseOutside = function () {
_root.quest.stopDrag();
});
_root.ability.gotoAndStop(2);
_root.ability.draggy.onPress = function () {
_root.ability.startDrag();
};
_root.ability.draggy.onRelease = (onReleaseOutside = function () {
_root.ability.stopDrag();
});
_global.PLAYERX = 550;
_global.PLAYERY = 100;
_root.game.gotoAndStop(1);
_root.mcPLAYER._x = _global.PLAYERX;
_root.mcPLAYER._y = _global.PLAYERY;
_root.mcPLAYER.YMOVEMENT = 0;
_root.mcPLAYER.XMOVEMENT = 0;
_root.mcPLAYER.JUMPPOWER = 25;
_root.mcPLAYER.GROUNDED = false;
_root.mcPLAYER.FALLING = false;
_root.mcPLAYER.GRAVITY = 1.2;
_root.mcPLAYER.INVERSEGRAVITY = 0.8;
_root.mcPLAYER.DIRECTION = "R";
_root.JUMPKEY = 38;
_root.CROUCHKEY = 40;
_root.RUNLEFTKEY = 37;
_root.RUNRIGHTKEY = 39;
a = 1;
while (a <= 10) {
_root["mcWALL" + a]._visible = false;
_root["mcCEILING" + a]._visible = false;
_root["mcPLATFORM" + a]._visible = false;
a++;
}
onEnterFrame = function () {
if (Key.isDown(_root.JUMPKEY)) {
if (_root.mcPLAYER.GROUNDED == true) {
_root.mcPLAYER.GROUNDED = false;
_root.mcPLAYER.YMOVEMENT = -_root.mcPLAYER.JUMPPOWER;
_root.mcPLAYER.FALLING = false;
}
}
if (_root.mcPLAYER.GROUNDED == false) {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.YMOVEMENT = _root.mcPLAYER.YMOVEMENT * _root.mcPLAYER.INVERSEGRAVITY;
} else {
_root.mcPLAYER.YMOVEMENT = _root.mcPLAYER.YMOVEMENT * _root.mcPLAYER.GRAVITY;
}
if (_root.mcPLAYER.YMOVEMENT > -1) {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.FALLING = true;
_root.mcPLAYER.YMOVEMENT = 1;
}
}
}
_root.mcPLAYER.XMOVEMENT = _root.mcPLAYER.XMOVEMENT * 0.9;
tempX = _root.mcPLAYER._x;
tempY = _root.mcPLAYER._y;
_root.mcPLAYER._y = _root.mcPLAYER._y + _root.mcPLAYER.YMOVEMENT;
_root.mcPLAYER._x = _root.mcPLAYER._x + _root.mcPLAYER.XMOVEMENT;
a = 1;
while (a <= 10) {
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root["mcWALL" + a]) == true) {
_root.mcPLAYER._x = tempX;
_root.mcPLAYER.XMOVEMENT = 0;
}
a++;
}
a = 1;
while (a <= 10) {
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root["mcCEILING" + a]) == true) {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER._y = tempY;
_root.mcPLAYER.YMOVEMENT = 2;
_root.mcPLAYER.FALLING = true;
}
}
a++;
}
a = 1;
while (a <= 10) {
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root["mcPLATFORM" + a]) == true) {
if (_root.mcPLAYER.FALLING == true) {
_root.mcPLAYER.YMOVEMENT = 0;
_root.mcPLAYER._y = _root["mcPLATFORM" + a]._y;
_root.mcPLAYER.GROUNDED = true;
}
}
a++;
}
if (_root.mcPLAYER.GROUNDED == true) {
nohit = false;
a = 1;
while (a <= 10) {
_root.mcPLAYER._y = _root.mcPLAYER._y + 2;
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root["mcPLATFORM" + a]) == true) {
nohit = true;
}
_root.mcPLAYER._y = _root.mcPLAYER._y - 2;
a++;
}
if (nohit == false) {
_root.mcPLAYER.YMOVEMENT = 1;
_root.mcPLAYER.GROUNDED = false;
}
}
if (_root.mcPLAYER.GROUNDED == true) {
if ((_root.mcPLAYER.XMOVEMENT < 0.5) and (_root.mcPLAYER.XMOVEMENT > -0.5)) {
if (_root.mcPLAYER.DIRECTION == "R") {
_root.mcPLAYER.gotoAndStop(1);
} else {
_root.mcPLAYER.gotoAndStop(2);
}
} else if (_root.mcPLAYER.DIRECTION == "R") {
_root.mcPLAYER.gotoAndStop(3);
} else {
_root.mcPLAYER.gotoAndStop(4);
}
} else if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.gotoAndStop(5);
} else {
_root.mcPLAYER.gotoAndStop(6);
}
if (Key.isDown(_root.CROUCHKEY)) {
if (daggerer == true) {
dagger = false;
}
if (starer == true) {
star = false;
}
if (boomer == true) {
boom = false;
}
if (darter == true) {
dart = false;
}
if (_root.mcPLAYER.GROUNDED == true) {
if (_root.mcPLAYER.DIRECTION == "R") {
_root.mcPLAYER.gotoAndStop(8);
} else {
_root.mcPLAYER.gotoAndStop(9);
}
}
} else {
if (daggerer == true) {
dagger = true;
}
if (starer == true) {
star = true;
}
if (boomer == true) {
boom = true;
}
if (darter == true) {
dart = true;
}
if (Key.isDown(_root.RUNRIGHTKEY)) {
_root.mcPLAYER.XMOVEMENT = _root.mcPLAYER.XMOVEMENT + 1;
_root.mcPLAYER._xscale = 100;
_root.mcPLAYER._yscale = 170;
}
if (Key.isDown(_root.RUNLEFTKEY)) {
_root.mcPLAYER.XMOVEMENT = _root.mcPLAYER.XMOVEMENT - 1;
_root.mcPLAYER._xscale = -100;
_root.mcPLAYER._yscale = 170;
}
if (_root.mcPLAYER._xscale == -100) {
_root.bulleter._xscale = -100;
_root.bulleterd._xscale = -100;
}
}
};
mysoundt.stop();
mysounda.stop();
mysoundz = new Sound();
mysoundz.attachSound("item");
mysoundz.start(0, 1000);
_root.gotoAndStop(22);
Frame 22
stop();
mysoundm = new Sound();
mysoundm.attachSound("magic");
mysoundm.start(0, 1);
_root.loada.gotoAndStop(21);
_root.game.gotoAndStop(1);
_root.mcPLAYER._x = _global.PLAYERX;
_root.mcPLAYER._y = _global.PLAYERY;
_root.mcPLAYER.YMOVEMENT = 0;
_root.mcPLAYER.XMOVEMENT = 0;
_root.mcPLAYER.JUMPPOWER = 25;
_root.mcPLAYER.GROUNDED = false;
_root.mcPLAYER.FALLING = false;
_root.mcPLAYER.GRAVITY = 1.2;
_root.mcPLAYER.INVERSEGRAVITY = 0.8;
_root.mcPLAYER.DIRECTION = "R";
_root.JUMPKEY = 38;
_root.CROUCHKEY = 40;
_root.RUNLEFTKEY = 37;
_root.RUNRIGHTKEY = 39;
a = 1;
while (a <= 10) {
_root["mcWALL" + a]._visible = false;
_root["mcCEILING" + a]._visible = false;
_root["mcPLATFORM" + a]._visible = false;
a++;
}
Instance of Symbol 1073 MovieClip "sweep" in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.bulleter)) {
_root.monkey.gotoAndPlay(2);
_root.sweep.gotoAndStop(2);
_root.convoshop.gotoAndPlay(2);
_root.go.gotoAndStop(1);
}
if (this.hitTest(_root.bulleterb)) {
_root.monkey.gotoAndPlay(2);
_root.sweep.gotoAndStop(2);
_root.convoshop.gotoAndPlay(2);
_root.go.gotoAndStop(1);
}
if (this.hitTest(_root.bulleterc)) {
_root.monkey.gotoAndPlay(2);
_root.sweep.gotoAndStop(2);
_root.convoshop.gotoAndPlay(2);
_root.go.gotoAndStop(1);
}
if (this.hitTest(_root.bulleterd)) {
_root.monkey.gotoAndPlay(2);
_root.sweep.gotoAndStop(2);
_root.convoshop.gotoAndPlay(2);
_root.go.gotoAndStop(1);
}
}
Instance of Symbol 629 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
if (Key.isDown(65)) {
trace("You pressed 'A' ");
_global.PLAYERX = 350;
_global.PLAYERY = 400;
_root.gotoAndPlay(9);
}
}
}
Frame 23
function dragItem(_item) {
_item.nowX = _item._x;
_item.nowY = _item._y;
_item.startDrag(true);
_item.onMouseMove = updateDrag;
}
function dropItem(_item) {
_item.stopDrag();
delete _item.onMouseMove;
i = 0;
while (i < slots_array.length) {
currentSlot = eval (slots_array[i]);
if ((eval (_item._droptarget) == currentSlot) && (currentSlot.itemID == "empty")) {
_item._x = currentSlot._x;
_item._y = currentSlot._y;
currentSlot.itemID = this;
temp = eval (_item.slotID);
temp.itemID = "empty";
_item.slotID = currentSlot.myName;
return(undefined);
}
_item._x = _item.nowX;
_item._y = _item.nowY;
i++;
}
}
function updateDrag() {
updateAfterEvent();
}
function createInventoryItem() {
var _item = attachMovie("item", "item" + uniqueItemId, _root.getNextHighestDepth());
_root.item1.onPress = function () {
_root.inventory.tell = "";
_root.equip = "Dagger 'equipped'";
_root.star = false;
_root.starer = false;
_root.boom = false;
_root.boomer = false;
_root.dagger = true;
_root.daggerer = true;
_root.dart = false;
_root.darter = false;
_root.inventory.weapon.gotoAndStop(1);
_root.item1.startDrag();
dragItem(item1);
};
_root.item1.onRelease = (_root.item1.onReleaseOutside = function () {
dropItem(item1);
_root.item1.stopDrag();
});
_root.item2.onPress = function () {
_root.inventory.tell = "+1";
_root.equip = "Ninja Stars 'equipped'";
_root.star = true;
_root.starer = true;
_root.dagger = false;
_root.daggerer = false;
_root.boom = false;
_root.boomer = false;
_root.dart = false;
_root.darter = false;
_root.inventory.weapon.gotoAndStop(2);
_root.item2.startDrag();
dragItem(item2);
};
_root.item2.onRelease = (_root.item2.onReleaseOutside = function () {
dropItem(item2);
_root.item2.stopDrag();
});
_root.item3.onPress = function () {
_root.inventory.tell = "+2";
_root.equip = "Boomerang 'equipped'";
_root.star = false;
_root.dagger = false;
_root.daggerer = false;
_root.boom = true;
_root.starer = false;
_root.boomer = true;
_root.dart = false;
_root.darter = false;
_root.inventory.weapon.gotoAndStop(3);
_root.item3.startDrag();
dragItem(item3);
};
_root.item3.onRelease = (_root.item3.onReleaseOutside = function () {
dropItem(item3);
_root.item3.stopDrag();
});
_root.item4.onPress = function () {
_root.equip = "Bandana 'equipped'";
_root.bandana = true;
_root.inventory.clothes.gotoAndStop(2);
_root.item4.startDrag();
dragItem(item4);
};
_root.item4.onRelease = (_root.item4.onReleaseOutside = function () {
dropItem(item4);
_root.item4.stopDrag();
});
_root.item5.onPress = function () {
_root.equip = "Toku Earrings 'equipped'";
_root.tokuearrings = true;
_root.inventory.ear.gotoAndStop(2);
_root.item5.startDrag();
dragItem(item5);
};
_root.item5.onRelease = (_root.item5.onReleaseOutside = function () {
dropItem(item5);
_root.item5.stopDrag();
});
_root.item6.onPress = function () {
_root.equip = "Hair 'equipped'";
_root.bandana = false;
_root.inventory.clothes.gotoAndStop(1);
_root.item6.startDrag();
dragItem(item6);
};
_root.item6.onRelease = (_root.item6.onReleaseOutside = function () {
dropItem(item6);
_root.item6.stopDrag();
});
_root.item7.onPress = function () {
_root.equip = "Earrings 'equipped'";
_root.tokuearrings = false;
_root.inventory.ear.gotoAndStop(1);
_root.item7.startDrag();
dragItem(item7);
};
_root.item7.onRelease = (_root.item7.onReleaseOutside = function () {
dropItem(item7);
_root.item7.stopDrag();
});
_root.item8.onPress = function () {
_root.inventory.tell = "+3";
_root.equip = "Deadly Darts 'equipped'";
_root.star = false;
_root.dagger = false;
_root.daggerer = false;
_root.boom = false;
_root.starer = false;
_root.boomer = false;
_root.dart = true;
_root.darter = true;
_root.inventory.weapon.gotoAndStop(4);
_root.item8.startDrag();
dragItem(item8);
};
_root.item8.onRelease = (_root.item8.onReleaseOutside = function () {
dropItem(item8);
_root.item8.stopDrag();
});
_root.item9.onPress = function () {
_root.equip = "Red Rose 'equipped'";
_root.rose = true;
_root.inventory.weapon.gotoAndStop(5);
_root.item9.startDrag();
dragItem(item9);
};
_root.item9.onRelease = (_root.item9.onReleaseOutside = function () {
dropItem(item9);
_root.item9.stopDrag();
});
_item.myName = "item" + uniqueItemId;
_item.slotID = "empty";
_item.onPress = function () {
dragItem(this);
};
_item.onRelease = function () {
dropItem(this);
};
_item.onReleaseOutside = function () {
_root.mcPLAYER.shin.hair.gotoAndStop(2);
_item.removeMovieClip();
};
items_array.push(_item);
uniqueItemId++;
}
var slots_array = new Array(slot0, slot1, slot2, slot3, slot4, slot5, slot6, slot7, slot8, slot9, slot10, slot11, slot12, slot13, slot14, slot15);
var items_array;
var uniqueItemId = 0;
createInventoryItem();
i = 0;
while (i < slots_array.length) {
var _currentSlot = slots_array[i];
_currentSlot.itemID = "empty";
_currentSlot.num = i;
_currentSlot.myName = "slot" + i;
i++;
}
var myTween;
var myTween2;
_root.inventory.door.onPress = function () {
_root.gotoAndStop(22);
_global.PLAYERX = 500;
_global.PLAYERY = 480;
};
_root.inventory.as2.onPress = function () {
_root.inventory.weapon.gotoAndStop(2);
};
_root.inventory.asbuy2.onPress = function () {
if (_root.charm < 1) {
mysoundsac = new Sound();
mysoundsac.attachSound("no");
mysoundsac.start(0, 1);
_root.inventory.buy = "Sorry -_-' Charm Required.";
_root.inventory.bum._alpha = 70;
}
if (_root.money < 500) {
mysoundsad = new Sound();
mysoundsad.attachSound("no");
mysoundsad.start(0, 1);
_root.inventory.buy = "Sorry -_-' Insufficient Gin.";
_root.inventory.bum._alpha = 70;
} else if ((_root.money > 500) && (_root.charm > 0)) {
mysoundsa = new Sound();
mysoundsa.attachSound("coin");
mysoundsa.start(0, 1);
_root.money = _root.money - 500;
_root.inventory.weapon.gotoAndStop(2);
_root.inventory.tell = "+1";
_root.inventory.buy = "Thank you ^_^', you have purchased";
_root.inventory.bum._alpha = 70;
_root.equip = "Ninja Stars 'equipped'";
myTween = new mx.transitions.Tween(_root.inventory.purchased, "_alpha", mx.transitions.easing.Regular.easeOut, 0, 100, 3, true);
_root.inventory.asbuy2._visible = false;
_root.item2.gotoAndStop(2);
_root.starsbuy = true;
_root.star = true;
_root.starer = true;
_root.dagger = false;
_root.daggerer = false;
_root.boom = false;
_root.boomer = false;
_root.dart = false;
_root.darter = false;
}
};
_root.inventory.as2.onRollOut = function () {
_root.inventory.buy = "";
_root.inventory.bum._alpha = 0;
};
if (_root.starsbuy == true) {
myTween = new mx.transitions.Tween(_root.inventory.purchased, "_alpha", mx.transitions.easing.Regular.easeOut, 0, 100, 3, true);
_root.inventory.asbuy2._visible = false;
_root.item2.gotoAndStop(2);
}
_root.inventory.as5.onPress = function () {
_root.inventory.weapon.gotoAndStop(3);
};
_root.inventory.asbuy5.onPress = function () {
if (_root.charm < 2) {
mysoundsac = new Sound();
mysoundsac.attachSound("no");
mysoundsac.start(0, 1);
_root.inventory.buy = "Sorry -_-' Charm Required.";
_root.inventory.bum._alpha = 70;
}
if (_root.money < 750) {
mysoundsad = new Sound();
mysoundsad.attachSound("no");
mysoundsad.start(0, 1);
_root.inventory.buy = "Sorry -_-' Insufficient Gin.";
_root.inventory.bum._alpha = 70;
} else if ((_root.money > 750) && (_root.charm > 1)) {
mysoundsa = new Sound();
mysoundsa.attachSound("coin");
mysoundsa.start(0, 1);
_root.money = _root.money - 750;
_root.inventory.weapon.gotoAndStop(3);
_root.inventory.tell = "+2";
_root.inventory.buy = "Thank you ^_^', you have purchased";
_root.inventory.bum._alpha = 70;
_root.equip = "Boomerang 'equipped'";
myTween = new mx.transitions.Tween(_root.inventory.purchased5, "_alpha", mx.transitions.easing.Regular.easeOut, 0, 100, 3, true);
_root.inventory.asbuy5._visible = false;
_root.item3.gotoAndStop(2);
_root.boombuy = true;
_root.star = false;
_root.starer = false;
_root.dagger = false;
_root.daggerer = false;
_root.dart = false;
_root.darter = false;
_root.boom = true;
_root.boomer = true;
}
};
_root.inventory.as5.onRollOut = function () {
_root.inventory.buy = "";
_root.inventory.bum._alpha = 0;
};
if (_root.boombuy == true) {
myTween = new mx.transitions.Tween(_root.inventory.purchased5, "_alpha", mx.transitions.easing.Regular.easeOut, 0, 100, 3, true);
_root.inventory.asbuy5._visible = false;
_root.item3.gotoAndStop(2);
}
_root.inventory.as7.onPress = function () {
_root.inventory.weapon.gotoAndStop(4);
};
_root.inventory.asbuy7.onPress = function () {
if (_root.charm < 5) {
mysoundsac = new Sound();
mysoundsac.attachSound("no");
mysoundsac.start(0, 1);
_root.inventory.buy = "Sorry -_-' Charm Required.";
_root.inventory.bum._alpha = 70;
}
if (_root.money < 1200) {
mysoundsad = new Sound();
mysoundsad.attachSound("no");
mysoundsad.start(0, 1);
_root.inventory.buy = "Sorry -_-' Insufficient Gin.";
_root.inventory.bum._alpha = 70;
} else if ((_root.money > 1200) && (_root.charm > 4)) {
mysoundsa = new Sound();
mysoundsa.attachSound("coin");
mysoundsa.start(0, 1);
_root.money = _root.money - 1200;
_root.inventory.weapon.gotoAndStop(4);
_root.inventory.tell = "+3";
_root.inventory.buy = "Thank you ^_^', you have purchased";
_root.inventory.bum._alpha = 70;
_root.equip = "Deadly Darts 'equipped'";
myTween = new mx.transitions.Tween(_root.inventory.purchased7, "_alpha", mx.transitions.easing.Regular.easeOut, 0, 100, 3, true);
_root.inventory.asbuy7._visible = false;
_root.item8.gotoAndStop(2);
_root.dartbuy = true;
_root.star = false;
_root.starer = false;
_root.dagger = false;
_root.daggerer = false;
_root.boom = false;
_root.boomer = false;
_root.dart = true;
_root.darter = true;
}
};
_root.inventory.as7.onRollOut = function () {
_root.inventory.buy = "";
_root.inventory.bum._alpha = 0;
};
if (_root.dartbuy == true) {
myTween = new mx.transitions.Tween(_root.inventory.purchased7, "_alpha", mx.transitions.easing.Regular.easeOut, 0, 100, 3, true);
_root.inventory.asbuy7._visible = false;
_root.item8.gotoAndStop(2);
}
_root.inventory.as1.onPress = function () {
_root.inventory.clothes.gotoAndStop(2);
};
_root.inventory.asbuy1.onPress = function () {
if (_root.money < 500) {
mysoundsad = new Sound();
mysoundsad.attachSound("no");
mysoundsad.start(0, 1);
_root.inventory.buy = "Sorry -_-' Insufficient Gin.";
_root.inventory.bum._alpha = 70;
} else if (_root.money > 500) {
mysoundsa = new Sound();
mysoundsa.attachSound("coin");
mysoundsa.start(0, 1);
_root.money = _root.money - 500;
_root.inventory.clothes.gotoAndStop(2);
_root.inventory.buy = "Thank you ^_^', you have purchased";
_root.inventory.bum._alpha = 70;
_root.equip = "Bandana 'equipped'";
myTween = new mx.transitions.Tween(_root.inventory.purchased1, "_alpha", mx.transitions.easing.Regular.easeOut, 0, 100, 3, true);
_root.inventory.asbuy1._visible = false;
_root.item4.gotoAndStop(2);
_root.bandana = true;
_root.hatbuy = true;
_root.playerhp1 = _root.playerhp1 + 25;
}
};
_root.inventory.as1.onRollOut = function () {
_root.inventory.buy = "";
_root.inventory.bum._alpha = 0;
};
if (_root.hatbuy == true) {
myTween = new mx.transitions.Tween(_root.inventory.purchased1, "_alpha", mx.transitions.easing.Regular.easeOut, 0, 100, 3, true);
_root.inventory.asbuy1._visible = false;
_root.item4.gotoAndStop(2);
}
_root.inventory.as4.onPress = function () {
_root.inventory.ear.gotoAndStop(2);
};
_root.inventory.asbuy4.onPress = function () {
if (_root.money < 500) {
mysoundsad = new Sound();
mysoundsad.attachSound("no");
mysoundsad.start(0, 1);
_root.inventory.buy = "Sorry -_-' Insufficient Gin.";
_root.inventory.bum._alpha = 70;
} else if (_root.money > 500) {
mysoundsa = new Sound();
mysoundsa.attachSound("coin");
mysoundsa.start(0, 1);
_root.money = _root.money - 500;
_root.inventory.ear.gotoAndStop(2);
_root.inventory.buy = "Thank you ^_^', you have purchased";
_root.inventory.bum._alpha = 70;
_root.equip = "Toku Earrings 'equipped'";
myTween = new mx.transitions.Tween(_root.inventory.purchased4, "_alpha", mx.transitions.easing.Regular.easeOut, 0, 100, 3, true);
_root.inventory.asbuy4._visible = false;
_root.item5.gotoAndStop(2);
_root.tokuearrings = true;
_root.playermp1 = _root.playermp1 + 25;
_root.earbuy = true;
}
};
_root.inventory.as4.onRollOut = function () {
_root.inventory.buy = "";
_root.inventory.bum._alpha = 0;
};
if (_root.earbuy == true) {
myTween = new mx.transitions.Tween(_root.inventory.purchased4, "_alpha", mx.transitions.easing.Regular.easeOut, 0, 100, 3, true);
_root.inventory.asbuy4._visible = false;
_root.item5.gotoAndStop(2);
}
_root.inventory.as6.onPress = function () {
_root.inventory.weapon.gotoAndStop(5);
};
_root.inventory.asbuy6.onPress = function () {
if (_root.charm < 3) {
mysoundsac = new Sound();
mysoundsac.attachSound("no");
mysoundsac.start(0, 1);
_root.inventory.buy = "Sorry -_-' Charm Required.";
_root.inventory.bum._alpha = 70;
}
if (_root.money < 600) {
mysoundsad = new Sound();
mysoundsad.attachSound("no");
mysoundsad.start(0, 1);
_root.inventory.buy = "Sorry -_-' Insufficient Gin.";
_root.inventory.bum._alpha = 70;
} else if ((_root.money > 600) && (_root.charm > 2)) {
mysoundsa = new Sound();
mysoundsa.attachSound("coin");
mysoundsa.start(0, 1);
_root.money = _root.money - 600;
_root.inventory.weapon.gotoAndStop(5);
_root.inventory.buy = "Thank you ^_^', you have purchased";
_root.inventory.bum._alpha = 70;
_root.equip = "Red Rose 'equipped'";
myTween = new mx.transitions.Tween(_root.inventory.purchased6, "_alpha", mx.transitions.easing.Regular.easeOut, 0, 100, 3, true);
_root.inventory.asbuy6._visible = false;
_root.item9.gotoAndStop(2);
_root.rose = true;
_root.rosebuy = true;
}
};
_root.inventory.as6.onRollOut = function () {
_root.inventory.buy = "";
_root.inventory.bum._alpha = 0;
};
if (_root.rosebuy == true) {
myTween = new mx.transitions.Tween(_root.inventory.purchased6, "_alpha", mx.transitions.easing.Regular.easeOut, 0, 100, 3, true);
_root.inventory.asbuy6._visible = false;
_root.item9.gotoAndStop(2);
}
_root.inventory.asbuy3.onPress = function () {
if (_root.money < 100) {
mysoundsad = new Sound();
mysoundsad.attachSound("no");
mysoundsad.start(0, 1);
_root.inventory.buy = "Sorry -_-' Insufficient Gin.";
_root.inventory.bum._alpha = 70;
}
if ((_root.playermp == _root.playermp1) && (_root.money > 100)) {
mysoundsa = new Sound();
mysoundsa.attachSound("no");
mysoundsa.start(0, 1);
_root.inventory.buy = "Sorry -_-', MP is full already.";
_root.inventory.bum._alpha = 70;
} else if ((_root.playermp == _root.playermp1) && (_root.money == 100)) {
mysoundsa = new Sound();
mysoundsa.attachSound("no");
mysoundsa.start(0, 1);
_root.inventory.buy = "Sorry -_-', MP is full already.";
_root.inventory.bum._alpha = 70;
} else if ((_root.playermp < _root.playermp1) && (_root.money > 100)) {
mysoundsa = new Sound();
mysoundsa.attachSound("coin");
mysoundsa.start(0, 1);
_root.money = _root.money - 100;
_root.inventory.buy = "Thank you ^_^', Regain full MP";
_root.inventory.bum._alpha = 70;
_root.playermp = _root.playermp1;
}
if ((_root.playermp < _root.playermp1) && (_root.money == 100)) {
mysoundsa = new Sound();
mysoundsa.attachSound("coin");
mysoundsa.start(0, 1);
_root.money = _root.money - 100;
_root.inventory.buy = "Thank you ^_^', Regain full MP";
_root.inventory.bum._alpha = 70;
_root.playermp = _root.playermp1;
}
};
_root.inventory.as3.onRollOut = function () {
_root.inventory.buy = "";
_root.inventory.bum._alpha = 0;
};
_root.inventory.asbuy8.onPress = function () {
if (_root.money < 50) {
mysoundsad = new Sound();
mysoundsad.attachSound("no");
mysoundsad.start(0, 1);
_root.inventory.buy = "Sorry -_-' Insufficient Gin.";
_root.inventory.bum._alpha = 70;
}
if ((_root.playerhp == _root.playerhp1) && (_root.money > 50)) {
mysoundsa = new Sound();
mysoundsa.attachSound("no");
mysoundsa.start(0, 1);
_root.inventory.buy = "Sorry -_-', HP is full already.";
_root.inventory.bum._alpha = 70;
} else if ((_root.playerhp == _root.playerhp1) && (_root.money == 50)) {
mysoundsa = new Sound();
mysoundsa.attachSound("no");
mysoundsa.start(0, 1);
_root.inventory.buy = "Sorry -_-', HP is full already.";
_root.inventory.bum._alpha = 70;
} else if ((_root.playerhp < _root.playerhp1) && (_root.money > 50)) {
mysoundsa = new Sound();
mysoundsa.attachSound("coin");
mysoundsa.start(0, 1);
_root.money = _root.money - 50;
_root.inventory.buy = "Thank you ^_^', Regain full HP";
_root.inventory.bum._alpha = 70;
_root.playerhp = _root.playerhp1;
}
if ((_root.playerhp < _root.playerhp1) && (_root.money == 50)) {
mysoundsa = new Sound();
mysoundsa.attachSound("coin");
mysoundsa.start(0, 1);
_root.money = _root.money - 50;
_root.inventory.buy = "Thank you ^_^', Regain full HP";
_root.inventory.bum._alpha = 70;
_root.playerhp = _root.playerhp1;
}
};
_root.inventory.as8.onRollOut = function () {
_root.inventory.buy = "";
_root.inventory.bum._alpha = 0;
};
Frame 24
_root.gotoAndStop(25);
mysoundv.stop();
mysoundvv = new Sound();
mysoundvv.attachSound("moon");
mysoundvv.start(0, 1000);
Instance of Symbol 463 MovieClip "health" in Frame 24
onClipEvent (enterFrame) {
finalhp = (_root.playerhp / _root.playerhp1) * 90;
this._xscale = finalhp;
}
Instance of Symbol 470 MovieClip in Frame 24
onClipEvent (enterFrame) {
finalexp = (_root.exp / _root.exp1) * 100;
this._xscale = finalexp;
}
Instance of Symbol 489 MovieClip "mp" in Frame 24
onClipEvent (enterFrame) {
finalmp = (_root.playermp / _root.playermp1) * 150;
this._xscale = finalmp;
}
Frame 25
stop();
_root.loada.gotoAndStop(21);
_root.game.gotoAndStop(1);
_root.mcPLAYER._x = _global.PLAYERX;
_root.mcPLAYER._y = _global.PLAYERY;
_root.mcPLAYER.YMOVEMENT = 0;
_root.mcPLAYER.XMOVEMENT = 0;
_root.mcPLAYER.JUMPPOWER = 25;
_root.mcPLAYER.GROUNDED = false;
_root.mcPLAYER.FALLING = false;
_root.mcPLAYER.GRAVITY = 1.2;
_root.mcPLAYER.INVERSEGRAVITY = 0.8;
_root.mcPLAYER.DIRECTION = "R";
_root.JUMPKEY = 38;
_root.CROUCHKEY = 40;
_root.RUNLEFTKEY = 37;
_root.RUNRIGHTKEY = 39;
a = 1;
while (a <= 10) {
_root["mcWALL" + a]._visible = false;
_root["mcCEILING" + a]._visible = false;
_root["mcPLATFORM" + a]._visible = false;
a++;
}
_root.ant.anthp = random(30) + 30;
_root.ant1.anthp = random(30) + 30;
_root.ant2.anthp = random(30) + 30;
_root.ant3.anthp = random(30) + 30;
_root.ant4.anthp = random(30) + 30;
Instance of Symbol 641 MovieClip "ant3" in Frame 25
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
_root.ant3.anth._xscale = _root.ant3.anthp;
if (_root.ant3.anthp < 0) {
_root.ant3.anthp = 0;
nextFrame();
this.gotoAndStop(undefined);
_root.exp = _root.exp + (random(60) + 1);
_root.antkill.kills = _root.antkill.kills + 1;
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
}
if (this.hitTest(_root.mcPLAYER) && (!dead)) {
_root.mcPLAYER.jumping = false;
_root.dead = true;
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 642 MovieClip "ant2" in Frame 25
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
_root.ant2.anth._xscale = _root.ant2.anthp;
if (_root.ant2.anthp < 0) {
_root.ant2.anthp = 0;
nextFrame();
this.gotoAndStop(undefined);
_root.exp = _root.exp + (random(60) + 1);
_root.antkill.kills = _root.antkill.kills + 1;
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
}
if (this.hitTest(_root.mcPLAYER) && (!dead)) {
_root.mcPLAYER.jumping = false;
_root.dead = true;
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 2;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 2;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 526 MovieClip "enemies" in Frame 25
onClipEvent (enterFrame) {
this._x = _root.ant2._x;
this._y = _root.ant2._y;
}
Instance of Symbol 526 MovieClip "enemies1" in Frame 25
onClipEvent (enterFrame) {
this._x = _root.ant3._x;
this._y = _root.ant3._y;
}
Instance of Symbol 629 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside) == true) {
_global.PLAYERX = 150;
_global.PLAYERY = 420;
_root.gotoAndStop(20);
}
}
Instance of Symbol 629 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside) == true) {
_global.PLAYERX = 730;
_global.PLAYERY = 420;
_root.gotoAndStop(26);
}
}
Instance of Symbol 629 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside) == true) {
_global.PLAYERX = 730;
_global.PLAYERY = 170;
_root.gotoAndStop(26);
}
}
Frame 26
stop();
_root.loada.gotoAndStop(21);
_root.game.gotoAndStop(1);
_root.mcPLAYER._x = _global.PLAYERX;
_root.mcPLAYER._y = _global.PLAYERY;
_root.mcPLAYER.YMOVEMENT = 0;
_root.mcPLAYER.XMOVEMENT = 0;
_root.mcPLAYER.JUMPPOWER = 25;
_root.mcPLAYER.GROUNDED = false;
_root.mcPLAYER.FALLING = false;
_root.mcPLAYER.GRAVITY = 1.2;
_root.mcPLAYER.INVERSEGRAVITY = 0.8;
_root.mcPLAYER.DIRECTION = "R";
_root.JUMPKEY = 38;
_root.CROUCHKEY = 40;
_root.RUNLEFTKEY = 37;
_root.RUNRIGHTKEY = 39;
a = 1;
while (a <= 10) {
_root["mcWALL" + a]._visible = false;
_root["mcCEILING" + a]._visible = false;
_root["mcPLATFORM" + a]._visible = false;
a++;
}
Instance of Symbol 1221 MovieClip "chest" in Frame 26
onClipEvent (enterFrame) {
if (_root.remove3 == true) {
_root.chest.gotoAndStop(85);
}
}
Instance of Symbol 629 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside) == true) {
_global.PLAYERX = 150;
_global.PLAYERY = 520;
_root.gotoAndStop(25);
}
}
Instance of Symbol 629 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside) == true) {
_global.PLAYERX = 150;
_global.PLAYERY = 170;
_root.gotoAndStop(25);
}
}
Instance of Symbol 629 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside) == true) {
_global.PLAYERX = 800;
_global.PLAYERY = 550;
_root.gotoAndStop(27);
}
}
Frame 27
stop();
_root.loada.gotoAndStop(21);
_root.game.gotoAndStop(1);
_root.mcPLAYER._x = _global.PLAYERX;
_root.mcPLAYER._y = _global.PLAYERY;
_root.mcPLAYER.YMOVEMENT = 0;
_root.mcPLAYER.XMOVEMENT = 0;
_root.mcPLAYER.JUMPPOWER = 25;
_root.mcPLAYER.GROUNDED = false;
_root.mcPLAYER.FALLING = false;
_root.mcPLAYER.GRAVITY = 1.2;
_root.mcPLAYER.INVERSEGRAVITY = 0.8;
_root.mcPLAYER.DIRECTION = "R";
_root.JUMPKEY = 38;
_root.CROUCHKEY = 40;
_root.RUNLEFTKEY = 37;
_root.RUNRIGHTKEY = 39;
a = 1;
while (a <= 10) {
_root["mcWALL" + a]._visible = false;
_root["mcCEILING" + a]._visible = false;
_root["mcPLATFORM" + a]._visible = false;
a++;
}
_root.ant.anthp = random(30) + 30;
_root.ant1.anthp = random(30) + 30;
_root.ant2.anthp = random(30) + 30;
_root.ant3.anthp = random(30) + 30;
_root.ant4.anthp = random(30) + 30;
_root.medicine.hp = random(150) + 150;
Instance of Symbol 1233 MovieClip "medicine" in Frame 27
onClipEvent (enterFrame) {
_root.medicine.hp1._xscale = _root.medicine.hp;
if (_root.medicine.hp < 0) {
_root.medicine.hp = 0;
nextFrame();
this.gotoAndStop(undefined);
_root.exp = _root.exp + (random(60) + 40);
_root.antkill.medicine = _root.antkill.medicine + 1;
}
if (_root.medicine.hp < 60) {
_root.medicine.hp1.gotoAndStop(2);
}
}
Instance of Symbol 641 MovieClip "ant3" in Frame 27
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
_root.ant3.anth._xscale = _root.ant3.anthp;
if (_root.ant3.anthp < 0) {
_root.ant3.anthp = 0;
nextFrame();
this.gotoAndStop(undefined);
_root.exp = _root.exp + (random(60) + 1);
_root.antkill.kills = _root.antkill.kills + 1;
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
dead = true;
}
if (this.hitTest(_root.mcPLAYER) && (!dead)) {
_root.mcPLAYER.jumping = false;
_root.dead = true;
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 1;
this._xscale = -100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 1;
this._xscale = 100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Instance of Symbol 526 MovieClip "enemies" in Frame 27
onClipEvent (enterFrame) {
this._x = _root.medicine._x;
this._y = _root.medicine._y;
}
Instance of Symbol 526 MovieClip "enemies1" in Frame 27
onClipEvent (enterFrame) {
this._x = _root.ant3._x;
this._y = _root.ant3._y;
}
Instance of Symbol 629 MovieClip in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside) == true) {
_global.PLAYERX = 220;
_global.PLAYERY = 550;
_root.gotoAndStop(26);
}
}
Frame 29
stop();
var myTween;
myTween = new mx.transitions.Tween(_root.start.words, "_y", mx.transitions.easing.Regular.easeIn, this._y, -300, 40, true);
mysoundv = new Sound();
mysoundv.attachSound("theend");
mysoundv.start(0, 100);
Symbol 48 MovieClip [explosion] Frame 18
removeMovieClip(this);
Symbol 59 MovieClip [ebullet] Frame 1
stop();
Symbol 59 MovieClip [ebullet] Frame 2
stop();
Symbol 71 MovieClip [bubble] Frame 12
stop();
Symbol 1241 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon
{
function OnEnterFrameBeacon () {
}
static function init() {
var _local4 = _global.MovieClip;
if (!_root.__OnEnterFrameBeacon) {
mx.transitions.BroadcasterMX.initialize(_local4);
var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876);
_local3.onEnterFrame = function () {
_global.MovieClip.broadcastMessage("onEnterFrame");
};
}
}
static var version = "1.1.0.52";
}
Symbol 1242 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX
{
var _listeners;
function BroadcasterMX () {
}
static function initialize(o, dontCreateArray) {
if (o.broadcastMessage != undefined) {
delete o.broadcastMessage;
}
o.addListener = mx.transitions.BroadcasterMX.prototype.addListener;
o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener;
if (!dontCreateArray) {
o._listeners = new Array();
}
}
function addListener(o) {
removeListener(o);
if (broadcastMessage == undefined) {
broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage;
}
return(_listeners.push(o));
}
function removeListener(o) {
var _local2 = _listeners;
var _local3 = _local2.length;
while (_local3--) {
if (_local2[_local3] == o) {
_local2.splice(_local3, 1);
if (!_local2.length) {
broadcastMessage = undefined;
}
return(true);
}
}
return(false);
}
function broadcastMessage() {
var _local5 = String(arguments.shift());
var _local4 = _listeners.concat();
var _local6 = _local4.length;
var _local3 = 0;
while (_local3 < _local6) {
_local4[_local3][_local5].apply(_local4[_local3], arguments);
_local3++;
}
}
static var version = "1.1.0.52";
}
Symbol 1243 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween
{
var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime;
function Tween (obj, prop, func, begin, finish, duration, useSeconds) {
mx.transitions.OnEnterFrameBeacon.init();
if (!arguments.length) {
return;
}
this.obj = obj;
this.prop = prop;
this.begin = begin;
position = (begin);
this.duration = (duration);
this.useSeconds = useSeconds;
if (func) {
this.func = func;
}
this.finish = (finish);
_listeners = [];
addListener(this);
start();
}
function set time(t) {
prevTime = _time;
if (t > duration) {
if (looping) {
rewind(t - _duration);
update();
broadcastMessage("onMotionLooped", this);
} else {
if (useSeconds) {
_time = _duration;
update();
}
stop();
broadcastMessage("onMotionFinished", this);
}
} else if (t < 0) {
rewind();
update();
} else {
_time = t;
update();
}
//return(time);
}
function get time() {
return(_time);
}
function set duration(d) {
_duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d));
//return(duration);
}
function get duration() {
return(_duration);
}
function set FPS(fps) {
var _local2 = isPlaying;
stopEnterFrame();
_fps = fps;
if (_local2) {
startEnterFrame();
}
//return(FPS);
}
function get FPS() {
return(_fps);
}
function set position(p) {
setPosition(p);
//return(position);
}
function setPosition(p) {
prevPos = _pos;
obj[prop] = (_pos = p);
broadcastMessage("onMotionChanged", this, _pos);
updateAfterEvent();
}
function get position() {
return(getPosition());
}
function getPosition(t) {
if (t == undefined) {
t = _time;
}
return(func(t, begin, change, _duration));
}
function set finish(f) {
change = f - begin;
//return(finish);
}
function get finish() {
return(begin + change);
}
function continueTo(finish, duration) {
begin = position;
this.finish = (finish);
if (duration != undefined) {
this.duration = (duration);
}
start();
}
function yoyo() {
continueTo(begin, time);
}
function startEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.addListener(this);
} else {
_intervalID = setInterval(this, "onEnterFrame", 1000 / _fps);
}
isPlaying = true;
}
function stopEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.removeListener(this);
} else {
clearInterval(_intervalID);
}
isPlaying = false;
}
function start() {
rewind();
startEnterFrame();
broadcastMessage("onMotionStarted", this);
}
function stop() {
stopEnterFrame();
broadcastMessage("onMotionStopped", this);
}
function resume() {
fixTime();
startEnterFrame();
broadcastMessage("onMotionResumed", this);
}
function rewind(t) {
_time = ((t == undefined) ? 0 : (t));
fixTime();
update();
}
function fforward() {
time = (_duration);
fixTime();
}
function nextFrame() {
if (useSeconds) {
time = ((getTimer() - _startTime) / 1000);
} else {
time = (_time + 1);
}
}
function onEnterFrame() {
nextFrame();
}
function prevFrame() {
if (!useSeconds) {
time = (_time - 1);
}
}
function toString() {
return("[Tween]");
}
function fixTime() {
if (useSeconds) {
_startTime = getTimer() - (_time * 1000);
}
}
function update() {
position = (getPosition(_time));
}
static var version = "1.1.0.52";
static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init();
static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true);
function func(t, b, c, d) {
return(((c * t) / d) + b);
}
}
Symbol 1244 MovieClip [__Packages.mx.transitions.easing.Regular] Frame 0
class mx.transitions.easing.Regular
{
function Regular () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return(((c * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = t / d;
return((((-c) * t) * (t - 2)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return((((c / 2) * t) * t) + b);
}
t--;
return((((-c) / 2) * ((t * (t - 2)) - 1)) + b);
}
static var version = "1.1.0.52";
}
Symbol 101 MovieClip Frame 1
stop();
Symbol 103 MovieClip Frame 1
stop();
Symbol 109 MovieClip Frame 501
stop();
Symbol 141 MovieClip Frame 1
stop();
Symbol 141 MovieClip Frame 2
stop();
Symbol 166 MovieClip Frame 14
_parent._parent.antwalk.gotoAndStop(1);
Symbol 167 MovieClip Frame 1
stop();
Symbol 167 MovieClip Frame 2
stop();
Symbol 179 MovieClip Frame 17
_parent._parent.applein.gotoAndStop(1);
Symbol 180 MovieClip Frame 1
stop();
Symbol 180 MovieClip Frame 2
stop();
Symbol 194 MovieClip Frame 18
gotoAndPlay (2);
Symbol 196 MovieClip Frame 14
_parent._parent.dinoinside.gotoAndStop(1);
Symbol 197 MovieClip Frame 1
stop();
Symbol 197 MovieClip Frame 2
stop();
Symbol 200 MovieClip Frame 1
Symbol 200 MovieClip Frame 69
stop();
title.onPress = function () {
gotoAndStop (70);
mysoundd = new Sound();
mysoundd.attachSound("click");
mysoundd.start(0, 1);
_root.loada.gotoAndStop(21);
};
Symbol 200 MovieClip Frame 70
stop();
next.onPress = function () {
gotoAndPlay (71);
mysounde = new Sound();
mysounde.attachSound("click");
mysounde.start(0, 1);
};
Symbol 200 MovieClip Frame 71
stop();
next.onPress = function () {
_root.gotoAndPlay(3);
mysounde = new Sound();
mysounde.attachSound("click");
mysounde.start(0, 1);
};
text2 = "";
a.onRollOver = function () {
bluer.gotoAndStop(2);
text2 = "Baby blue Ants. Not Harmful";
};
a.onRollOut = function () {
bluer.gotoAndStop(1);
text2 = "";
};
b.onRollOver = function () {
bluer.gotoAndStop(2);
text2 = "Watch out! if this guy dies he will explode!! Run...";
};
b.onRollOut = function () {
bluer.gotoAndStop(1);
text2 = "";
};
c.onRollOver = function () {
bluer.gotoAndStop(2);
text2 = "Green Ants. Strong.";
};
c.onRollOut = function () {
bluer.gotoAndStop(1);
text2 = "";
};
d.onRollOver = function () {
bluer.gotoAndStop(2);
text2 = "Big boss";
};
d.onRollOut = function () {
bluer.gotoAndStop(1);
text2 = "";
};
Symbol 206 MovieClip Frame 69
stop();
Symbol 206 MovieClip Frame 70
stop();
Instance of Symbol 208 MovieClip in Symbol 210 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bulleter)) {
_root.bulleter.unloadMovie();
}
if (this.hitTest(_root.bulleterb)) {
_root.bulleterb.unloadMovie();
}
if (this.hitTest(_root.bulleterc)) {
_root.bulleterc.unloadMovie();
}
if (this.hitTest(_root.bulleterd)) {
_root.bulleterd.unloadMovie();
}
}
Instance of Symbol 209 MovieClip in Symbol 210 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bulleter)) {
_root.bulleter.unloadMovie();
}
if (this.hitTest(_root.bulleterb)) {
_root.bulleterb.unloadMovie();
}
if (this.hitTest(_root.bulleterc)) {
_root.bulleterc.unloadMovie();
}
if (this.hitTest(_root.bulleterd)) {
_root.bulleterd.unloadMovie();
}
}
Symbol 232 MovieClip Frame 167
stop();
Symbol 236 MovieClip Frame 8
stop();
Symbol 248 MovieClip Frame 1
stop();
Instance of Symbol 238 MovieClip in Symbol 248 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
if (Key.isDown(65)) {
trace("You pressed 'A' ");
_root.mcPLAYER.arm.gotoAndPlay(2);
_root.chest.gotoAndPlay(2);
_root.sword.gotoAndPlay(2);
}
}
if (this.hitTest(_root.mcPLAYER.inside)) {
if (Key.isDown(37) && (Key.isDown(65))) {
_root.mcPLAYER.arm.gotoAndPlay(2);
_root.chest.gotoAndPlay(2);
_root.sword.gotoAndPlay(2);
}
}
if (this.hitTest(_root.mcPLAYER.inside)) {
if (Key.isDown(39) && (Key.isDown(65))) {
_root.mcPLAYER.arm.gotoAndPlay(2);
_root.chest.gotoAndPlay(2);
_root.sword.gotoAndPlay(2);
}
}
}
Symbol 248 MovieClip Frame 84
_root.dagger = true;
_root.daggerer = true;
_root.daggericon._alpha = 100;
Symbol 248 MovieClip Frame 85
stop();
_root.teleport.gotoAndPlay(2);
_root.remove = true;
Symbol 256 MovieClip Frame 1
stop();
Symbol 256 MovieClip Frame 22
gotoAndStop (1);
Symbol 268 MovieClip Frame 1
stop();
Symbol 268 MovieClip Frame 8
stop();
Symbol 271 MovieClip Frame 1
stop();
Symbol 271 MovieClip Frame 8
stop();
Symbol 272 MovieClip Frame 1
stop();
_root.katana = false;
Symbol 272 MovieClip Frame 2
stop();
_root.katana = true;
Symbol 272 MovieClip Frame 3
stop();
_root.katana = true;
Symbol 282 MovieClip Frame 70
gotoAndPlay (55);
Symbol 284 MovieClip Frame 1
stop();
Symbol 284 MovieClip Frame 2
stop();
Symbol 294 MovieClip Frame 29
gotoAndPlay (1);
Symbol 294 MovieClip Frame 30
stop();
Symbol 297 MovieClip Frame 1
stop();
Symbol 297 MovieClip Frame 2
stop();
Symbol 312 MovieClip Frame 1
stop();
Symbol 312 MovieClip Frame 11
gotoAndPlay (2);
Symbol 312 MovieClip Frame 38
stop();
Symbol 313 MovieClip Frame 1
stop();
Symbol 313 MovieClip Frame 2
stop();
Symbol 325 MovieClip Frame 1
stop();
Symbol 325 MovieClip Frame 11
gotoAndPlay (2);
Symbol 325 MovieClip Frame 38
stop();
Symbol 326 MovieClip Frame 1
stop();
Symbol 326 MovieClip Frame 2
stop();
Symbol 332 MovieClip Frame 55
gotoAndPlay (1);
Symbol 332 MovieClip Frame 60
gotoAndPlay (1);
Symbol 332 MovieClip Frame 70
gotoAndPlay (61);
Symbol 332 MovieClip Frame 71
stop();
Symbol 332 MovieClip Frame 83
stop();
Symbol 348 MovieClip Frame 1
stop();
Symbol 348 MovieClip Frame 10
gotoAndPlay (2);
Symbol 348 MovieClip Frame 35
stop();
Symbol 348 MovieClip Frame 36
stop();
Symbol 350 MovieClip Frame 1
stop();
Symbol 350 MovieClip Frame 14
stop();
Symbol 364 MovieClip Frame 22
_root.mcPLAYER.unloadMovie();
Symbol 365 MovieClip Frame 1
bandana.gotoAndStop(1);
larm.gotoAndPlay(1);
tokuearrings.tokuinside.gotoAndStop(1);
earrings.earinside.gotoAndStop(1);
stop();
_root.mcPLAYER.roses.gotoAndStop(1);
mcCOLLIDER._visible = false;
Symbol 365 MovieClip Frame 2
stop();
Symbol 365 MovieClip Frame 3
bandana.gotoAndPlay(2);
larm.gotoAndPlay(61);
tokuearrings.tokuinside.gotoAndPlay(2);
earrings.earinside.gotoAndPlay(2);
stop();
_root.mcPLAYER.roses.gotoAndStop(2);
Symbol 365 MovieClip Frame 4
stop();
Symbol 365 MovieClip Frame 5
bandana.gotoAndStop(2);
larm.gotoAndPlay(71);
tokuearrings.tokuinside.gotoAndStop(1);
earrings.earinside.gotoAndStop(1);
stop();
Symbol 365 MovieClip Frame 6
bandana.gotoAndPlay(11);
larm.gotoAndPlay(72);
tokuearrings.tokuinside.gotoAndPlay(12);
earrings.earinside.gotoAndPlay(12);
stop();
Symbol 365 MovieClip Frame 8
bandana.gotoAndStop(36);
tokuearrings.tokuinside.gotoAndStop(38);
earrings.earinside.gotoAndStop(38);
stop();
_root.mcPLAYER.roses.gotoAndStop(3);
Symbol 365 MovieClip Frame 9
stop();
Symbol 365 MovieClip Frame 10
stop();
Symbol 373 MovieClip Frame 1
stop();
Symbol 373 MovieClip Frame 83
gotoAndPlay (2);
Symbol 394 MovieClip Frame 1
stop();
Symbol 394 MovieClip Frame 2
stop();
Symbol 403 MovieClip Frame 1
stop();
Plays1 = true;
close.onPress = function () {
if (Plays1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
};
strup.onPress = function () {
_root.damage = _root.damage + 1;
_root.ability1 = _root.ability1 - 1;
_root.str = _root.str + 1;
};
defup.onPress = function () {
_root.defense = _root.defense + 1;
_root.ability1 = _root.ability1 - 1;
_root.playerhp1 = _root.playerhp1 + (random(30) + 5);
};
lookup.onPress = function () {
_root.look = _root.look + 1;
_root.charm = _root.charm + 1;
_root.ability1 = _root.ability1 - 1;
};
Symbol 403 MovieClip Frame 2
stop();
Plays1 = true;
open.onPress = function () {
if (Plays1) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
};
Symbol 409 MovieClip Frame 1
stop();
Symbol 409 MovieClip Frame 3
mysoundg = new Sound();
mysoundg.attachSound("got");
mysoundg.start(0, 1);
_root.turbo = _root.turbo + 25;
Symbol 413 MovieClip Frame 1
stop();
Symbol 413 MovieClip Frame 2
stop();
Symbol 434 MovieClip Frame 1
Plays = true;
minimize.onPress = function () {
if (Plays) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
};
stop();
var myTween;
var myTween1;
qmoney.onRollOver = function () {
myTween = new mx.transitions.Tween(_root.quest.moneyicon, "_alpha", mx.transitions.easing.Regular.easeOut, 0, 60, 1, true);
};
qmoney.onRollOut = function () {
myTween = new mx.transitions.Tween(_root.quest.moneyicon, "_alpha", mx.transitions.easing.Regular.easeOut, 60, 0, 1, true);
};
qbadge.onRollOver = function () {
myTween = new mx.transitions.Tween(_root.quest.badgeicon, "_alpha", mx.transitions.easing.Regular.easeOut, 0, 60, 1, true);
};
qbadge.onRollOut = function () {
myTween = new mx.transitions.Tween(_root.quest.badgeicon, "_alpha", mx.transitions.easing.Regular.easeOut, 60, 0, 1, true);
};
qegg.onRollOver = function () {
myTween = new mx.transitions.Tween(_root.quest.eggicon, "_alpha", mx.transitions.easing.Regular.easeOut, 0, 60, 1, true);
};
qegg.onRollOut = function () {
myTween = new mx.transitions.Tween(_root.quest.eggicon, "_alpha", mx.transitions.easing.Regular.easeOut, 60, 0, 1, true);
};
Symbol 434 MovieClip Frame 2
Plays = true;
minimize.onPress = function () {
if (Plays) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
};
stop();
Symbol 451 MovieClip Frame 1
stop();
Symbol 451 MovieClip Frame 12
stop();
Symbol 451 MovieClip Frame 24
stop();
Symbol 454 MovieClip Frame 1
stop();
onRelease = function () {
mysoundx = new Sound();
mysoundx.attachSound("level");
mysoundx.start(0, 1);
gotoAndPlay (2);
};
onRollOver = function () {
mysoundx = new Sound();
mysoundx.attachSound("click");
mysoundx.start(0, 1);
};
Symbol 454 MovieClip Frame 31
stop();
_global.PLAYERX = 150;
_global.PLAYERY = 350;
_root.gotoAndPlay(9);
_root.money = 0;
_root.exp = 0;
_root.playerhp = _root.playerhp1;
_root.playermp = _root.playermp1;
_root.game.gotoAndStop(1);
_root.game.game1.gotoAndStop(2);
Symbol 457 MovieClip Frame 1
stop();
Symbol 457 MovieClip Frame 2
Symbol 457 MovieClip Frame 3
stop();
Symbol 458 MovieClip Frame 1
stop();
Symbol 458 MovieClip Frame 2
stop();
_root.mysounds.stop();
_root.mysoundt.stop();
_root.mysoundu.stop();
_root.mysoundv.stop();
mysoundx = new Sound();
mysoundx.attachSound("end");
mysoundx.start(0, 1000);
Symbol 463 MovieClip Frame 1
stop();
Symbol 463 MovieClip Frame 2
stop();
Symbol 489 MovieClip Frame 1
stop();
Symbol 489 MovieClip Frame 2
stop();
Symbol 495 MovieClip Frame 1
stop();
Symbol 508 MovieClip Frame 1
stop();
gotoAndStop(random(7));
Symbol 508 MovieClip Frame 2
stop();
Instance of Symbol 252 MovieClip in Symbol 508 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
mysoundg = new Sound();
mysoundg.attachSound("coin");
mysoundg.start();
_root.money = _root.money + (random(100) + 1);
unloadMovie (this);
}
}
Symbol 508 MovieClip Frame 3
stop();
Instance of Symbol 505 MovieClip in Symbol 508 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
mysoundg = new Sound();
mysoundg.attachSound("hearta");
mysoundg.start();
_root.playerhp = _root.playerhp + (random(20) + 1);
if (_root.playerhp > _root.playerhp1) {
_root.playerhp = _root.playerhp1;
}
unloadMovie (this);
}
}
Symbol 508 MovieClip Frame 4
stop();
Instance of Symbol 252 MovieClip in Symbol 508 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
mysoundg = new Sound();
mysoundg.attachSound("coin");
mysoundg.start();
_root.money = _root.money + (random(100) + 1);
unloadMovie (this);
}
}
Symbol 508 MovieClip Frame 5
stop();
Instance of Symbol 505 MovieClip in Symbol 508 MovieClip Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
mysoundg = new Sound();
mysoundg.attachSound("hearta");
mysoundg.start();
_root.playerhp = _root.playerhp + (random(20) + 1);
if (_root.playerhp > _root.playerhp1) {
_root.playerhp = _root.playerhp1;
}
unloadMovie (this);
}
}
Symbol 508 MovieClip Frame 6
stop();
Instance of Symbol 507 MovieClip in Symbol 508 MovieClip Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
mysoundg = new Sound();
mysoundg.attachSound("hearta");
mysoundg.start();
_root.playermp = _root.playermp + (random(30) + 1);
if (_root.playermp > _root.playermp1) {
_root.playermp = _root.playermp1;
}
unloadMovie (this);
}
}
Symbol 508 MovieClip Frame 7
stop();
Symbol 512 MovieClip Frame 1
stop();
Symbol 512 MovieClip Frame 2
stop();
Symbol 523 MovieClip Frame 51
stop();
Symbol 524 MovieClip Frame 1
stop();
Instance of Symbol 514 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcWALL1)) {
_root.ant2._x = _root.ant2._x - 20;
}
if (this.hitTest(_root.mcWALL2)) {
_root.ant2._x = _root.ant2._x + 20;
}
if (this.hitTest(_root.mcPLAYER.inside)) {
_root.playerhp = _root.playerhp - random(2);
_root.mcPLAYER.hit.gotoAndPlay(2);
}
if (this.hitTest(_root.bulleter)) {
_root.bulleter.unloadMovie();
_root.enemies.gotoAndPlay(2);
_root.ant2.anthp = _root.ant2.anthp - ((_root.enemydamage = random(5)));
enemyspeed = 3;
_root.ant2.antwalk.gotoAndStop(2);
thisX = _root.ant2._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 5) && (remainingX < 150)) {
_root.ant2._x = _root.ant2._x + 10;
} else if ((remainingX <= -5) && (remainingX > -150)) {
_root.ant2._x = _root.ant2._x - 10;
}
}
if (this.hitTest(_root.bulleterb)) {
_root.bulleterb.unloadMovie();
_root.enemies.gotoAndPlay(2);
_root.ant2.anthp = _root.ant2.anthp - ((_root.enemydamage = random(5)));
enemyspeed = 3;
_root.ant2.antwalk.gotoAndStop(2);
thisX = _root.ant2._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 5) && (remainingX < 150)) {
_root.ant2._x = _root.ant2._x + 10;
} else if ((remainingX <= -5) && (remainingX > -150)) {
_root.ant2._x = _root.ant2._x - 10;
}
}
if (this.hitTest(_root.bulleterc)) {
_root.bulleterc.unloadMovie();
_root.enemies.gotoAndPlay(2);
_root.ant2.anthp = _root.ant2.anthp - ((_root.enemydamage = random(5)));
enemyspeed = 3;
_root.ant2.antwalk.gotoAndStop(2);
thisX = _root.ant2._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 5) && (remainingX < 150)) {
_root.ant2._x = _root.ant2._x + 10;
} else if ((remainingX <= -5) && (remainingX > -150)) {
_root.ant2._x = _root.ant2._x - 10;
}
}
if (this.hitTest(_root.bulleterd)) {
_root.bulleterd.unloadMovie();
_root.enemies.gotoAndPlay(2);
_root.ant2.anthp = _root.ant2.anthp - ((_root.enemydamage = random(5)));
enemyspeed = 3;
_root.ant2.antwalk.gotoAndStop(2);
thisX = _root.ant2._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 5) && (remainingX < 150)) {
_root.ant2._x = _root.ant2._x + 10;
} else if ((remainingX <= -5) && (remainingX > -150)) {
_root.ant2._x = _root.ant2._x - 10;
}
}
}
Symbol 524 MovieClip Frame 2
stop();
Instance of Symbol 523 MovieClip in Symbol 524 MovieClip Frame 2
onClipEvent (keyUp) {
if (Key.isDown(16)) {
thisX = this._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 0) && (remainingX < 0)) {
this._x = this._x + 0;
this._xscale = 100;
} else if ((remainingX <= 0) && (remainingX > 0)) {
this._x = this._x - 0;
this._xscale = -100;
}
}
}
Symbol 526 MovieClip Frame 1
stop();
Symbol 562 MovieClip Frame 1
stop();
Symbol 562 MovieClip Frame 2
stop();
Symbol 566 MovieClip Frame 1
stop();
Symbol 566 MovieClip Frame 2
stop();
Symbol 583 MovieClip Frame 20
stop();
next.onPress = function () {
gotoAndPlay (21);
};
Symbol 583 MovieClip Frame 39
stop();
next.onPress = function () {
gotoAndPlay (39);
};
Symbol 583 MovieClip Frame 57
stop();
next.onPress = function () {
gotoAndPlay (58);
};
Symbol 583 MovieClip Frame 80
stop();
yes.onPress = function () {
gotoAndPlay (81);
};
no.onPress = function () {
gotoAndPlay (81);
};
yes.onRollOver = function () {
yes.gotoAndStop(2);
};
yes.onRollOut = function () {
yes.gotoAndStop(1);
};
no.onRollOver = function () {
no.gotoAndStop(2);
};
no.onRollOut = function () {
no.gotoAndStop(1);
};
Symbol 583 MovieClip Frame 95
stop();
next.onPress = function () {
gotoAndPlay (96);
};
Symbol 583 MovieClip Frame 108
stop();
next.onPress = function () {
gotoAndPlay (109);
};
Symbol 583 MovieClip Frame 122
stop();
next.onPress = function () {
gotoAndPlay (123);
};
Symbol 583 MovieClip Frame 135
stop();
next.onPress = function () {
gotoAndPlay (136);
};
Symbol 583 MovieClip Frame 154
stop();
next.onPress = function () {
gotoAndPlay (155);
};
Symbol 583 MovieClip Frame 169
stop();
next.onPress = function () {
gotoAndPlay (170);
};
Symbol 583 MovieClip Frame 188
stop();
next.onPress = function () {
gotoAndPlay (189);
};
Symbol 583 MovieClip Frame 206
stop();
next.onPress = function () {
gotoAndPlay (207);
};
Symbol 583 MovieClip Frame 229
stop();
next.onPress = function () {
_root.convo.unloadMovie();
_root.teleport.gotoAndPlay(2);
};
Symbol 584 MovieClip Frame 1
stop();
Instance of Symbol 543 MovieClip in Symbol 584 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
if (Key.isDown(65)) {
trace("You pressed 'A' ");
_root.convo.gotoAndPlay(2);
}
}
}
Symbol 584 MovieClip Frame 2
mysounds = new Sound();
mysounds.attachSound("oh");
mysounds.start(0, 1);
Symbol 584 MovieClip Frame 20
stop();
Symbol 589 MovieClip Frame 1
stop();
gotoAndStop(random(7));
Symbol 589 MovieClip Frame 2
stop();
Instance of Symbol 252 MovieClip in Symbol 589 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
mysoundg = new Sound();
mysoundg.attachSound("coin");
mysoundg.start();
_root.money = _root.money + (random(50) + 1);
unloadMovie (this);
}
}
Symbol 589 MovieClip Frame 3
stop();
Instance of Symbol 505 MovieClip in Symbol 589 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
mysoundg = new Sound();
mysoundg.attachSound("hearta");
mysoundg.start();
_root.playerhp = _root.playerhp + (random(20) + 1);
if (_root.playerhp > _root.playerhp1) {
_root.playerhp = _root.playerhp1;
}
unloadMovie (this);
}
}
Symbol 589 MovieClip Frame 4
stop();
Instance of Symbol 252 MovieClip in Symbol 589 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
mysoundg = new Sound();
mysoundg.attachSound("coin");
mysoundg.start();
_root.money = _root.money + (random(100) + 1);
unloadMovie (this);
}
}
Symbol 589 MovieClip Frame 5
stop();
Instance of Symbol 507 MovieClip in Symbol 589 MovieClip Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
mysoundg = new Sound();
mysoundg.attachSound("hearta");
mysoundg.start();
_root.playermp = _root.playermp + (random(30) + 1);
if (_root.playermp > _root.playermp1) {
_root.playermp = _root.playermp1;
}
unloadMovie (this);
}
}
Symbol 589 MovieClip Frame 6
stop();
Instance of Symbol 505 MovieClip in Symbol 589 MovieClip Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
mysoundg = new Sound();
mysoundg.attachSound("hearta");
mysoundg.start();
_root.playerhp = _root.playerhp + (random(20) + 1);
if (_root.playerhp > _root.playerhp1) {
_root.playerhp = _root.playerhp1;
}
unloadMovie (this);
}
}
Symbol 589 MovieClip Frame 7
stop();
Symbol 590 MovieClip Frame 1
stop();
Instance of Symbol 514 MovieClip in Symbol 590 MovieClip Frame 1
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcWALL1)) {
_root.ant3._x = _root.ant3._x - 20;
}
if (this.hitTest(_root.mcWALL2)) {
_root.ant3._x = _root.ant3._x + 20;
}
if (this.hitTest(_root.mcPLAYER.inside)) {
_root.playerhp = _root.playerhp - random(2);
_root.mcPLAYER.hit.gotoAndPlay(2);
}
if (this.hitTest(_root.bulleter)) {
_root.bulleter.unloadMovie();
_root.enemies1.gotoAndPlay(2);
_root.ant3.anthp = _root.ant3.anthp - (((_root.enemydamage = random(4))) + _root.damage);
enemyspeed = 4;
_root.ant3.antwalk.gotoAndStop(2);
thisX = _root.ant3._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 5) && (remainingX < 150)) {
_root.ant3._x = _root.ant3._x + 10;
} else if ((remainingX <= -5) && (remainingX > -150)) {
_root.ant3._x = _root.ant3._x - 10;
}
}
if (this.hitTest(_root.bulleterb)) {
_root.bulleterb.unloadMovie();
_root.enemies1.gotoAndPlay(2);
_root.ant3.anthp = _root.ant3.anthp - (((_root.enemydamage = random(5))) + _root.damage);
enemyspeed = 4;
_root.ant3.antwalk.gotoAndStop(2);
thisX = _root.ant3._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 5) && (remainingX < 150)) {
_root.ant3._x = _root.ant3._x + 10;
} else if ((remainingX <= -5) && (remainingX > -150)) {
_root.ant3._x = _root.ant3._x - 10;
}
}
if (this.hitTest(_root.bulleterc)) {
_root.bulleterc.unloadMovie();
_root.enemies1.gotoAndPlay(2);
_root.ant3.anthp = _root.ant3.anthp - (((_root.enemydamage = random(6))) + _root.damage);
enemyspeed = 4;
_root.ant3.antwalk.gotoAndStop(2);
thisX = _root.ant3._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 5) && (remainingX < 150)) {
_root.ant3._x = _root.ant3._x + 10;
} else if ((remainingX <= -5) && (remainingX > -150)) {
_root.ant3._x = _root.ant3._x - 10;
}
}
if (this.hitTest(_root.bulleterd)) {
_root.bulleterd.unloadMovie();
_root.enemies1.gotoAndPlay(2);
_root.ant3.anthp = _root.ant3.anthp - (((_root.enemydamage = random(7))) + _root.damage);
enemyspeed = 4;
_root.ant3.antwalk.gotoAndStop(2);
thisX = _root.ant3._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 5) && (remainingX < 150)) {
_root.ant3._x = _root.ant3._x + 10;
} else if ((remainingX <= -5) && (remainingX > -150)) {
_root.ant3._x = _root.ant3._x - 10;
}
}
}
Symbol 590 MovieClip Frame 2
stop();
Instance of Symbol 523 MovieClip in Symbol 590 MovieClip Frame 2
onClipEvent (keyUp) {
if (this.hitTest(_root.mcPLAYER.dagger.daginside.action)) {
if (Key.getCode() == 32) {
thisX = this._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 0) && (remainingX < 0)) {
this._x = this._x + 0;
this._xscale = 100;
} else if ((remainingX <= 0) && (remainingX > 0)) {
this._x = this._x - 0;
this._xscale = -100;
}
}
}
}
Symbol 591 MovieClip Frame 1
stop();
Instance of Symbol 514 MovieClip in Symbol 591 MovieClip Frame 1
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcWALL1)) {
_root.ant2._x = _root.ant2._x - 20;
}
if (this.hitTest(_root.mcWALL2)) {
_root.ant2._x = _root.ant2._x + 20;
}
if (this.hitTest(_root.mcPLAYER.inside)) {
_root.playerhp = _root.playerhp - random(2);
_root.mcPLAYER.hit.gotoAndPlay(2);
}
if (this.hitTest(_root.bulleter)) {
_root.bulleter.unloadMovie();
_root.enemies.gotoAndPlay(2);
_root.ant2.anthp = _root.ant2.anthp - (((_root.enemydamage = random(4))) + _root.damage);
enemyspeed = 3;
_root.ant2.antwalk.gotoAndStop(2);
thisX = _root.ant2._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 5) && (remainingX < 150)) {
_root.ant2._x = _root.ant2._x + 10;
} else if ((remainingX <= -5) && (remainingX > -150)) {
_root.ant2._x = _root.ant2._x - 10;
}
}
if (this.hitTest(_root.bulleterb)) {
_root.bulleterb.unloadMovie();
_root.enemies.gotoAndPlay(2);
_root.ant2.anthp = _root.ant2.anthp - (((_root.enemydamage = random(5))) + _root.damage);
enemyspeed = 3;
_root.ant2.antwalk.gotoAndStop(2);
thisX = _root.ant2._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 5) && (remainingX < 150)) {
_root.ant2._x = _root.ant2._x + 10;
} else if ((remainingX <= -5) && (remainingX > -150)) {
_root.ant2._x = _root.ant2._x - 10;
}
}
if (this.hitTest(_root.bulleterc)) {
_root.bulleterc.unloadMovie();
_root.enemies.gotoAndPlay(2);
_root.ant2.anthp = _root.ant2.anthp - (((_root.enemydamage = random(6))) + _root.damage);
enemyspeed = 3;
_root.ant2.antwalk.gotoAndStop(2);
thisX = _root.ant2._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 5) && (remainingX < 150)) {
_root.ant2._x = _root.ant2._x + 10;
} else if ((remainingX <= -5) && (remainingX > -150)) {
_root.ant2._x = _root.ant2._x - 10;
}
}
if (this.hitTest(_root.bulleterd)) {
_root.bulleterd.unloadMovie();
_root.enemies.gotoAndPlay(2);
_root.ant2.anthp = _root.ant2.anthp - (((_root.enemydamage = random(7))) + _root.damage);
enemyspeed = 3;
_root.ant2.antwalk.gotoAndStop(2);
thisX = _root.ant2._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 5) && (remainingX < 150)) {
_root.ant2._x = _root.ant2._x + 10;
} else if ((remainingX <= -5) && (remainingX > -150)) {
_root.ant2._x = _root.ant2._x - 10;
}
}
}
Symbol 591 MovieClip Frame 2
stop();
Instance of Symbol 523 MovieClip in Symbol 591 MovieClip Frame 2
onClipEvent (keyUp) {
if (this.hitTest(_root.mcPLAYER.dagger.daginside.action)) {
if (Key.getCode() == 32) {
_root.ant2._x = _root.ant2._x + 0;
}
}
}
Symbol 625 MovieClip Frame 10
stop();
Instance of Symbol 625 MovieClip "explode" in Symbol 626 MovieClip Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
_root.playerhp = _root.playerhp - random(4);
_root.mcPLAYER.hit.gotoAndPlay(2);
}
}
Symbol 626 MovieClip Frame 41
stop();
_root.exp = _root.exp + (random(60) + 2);
Symbol 627 MovieClip Frame 1
stop();
Instance of Symbol 180 MovieClip "applein" in Symbol 627 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
_root.playerhp = _root.playerhp - random(3);
_root.mcPLAYER.hit.gotoAndPlay(2);
}
}
Symbol 627 MovieClip Frame 2
stop();
Symbol 629 MovieClip Frame 1
stop();
Symbol 629 MovieClip Frame 2
stop();
Symbol 639 MovieClip Frame 1
stop();
Instance of Symbol 238 MovieClip in Symbol 639 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
if (Key.isDown(65)) {
trace("You pressed 'A' ");
_root.mcPLAYER.arm.gotoAndPlay(2);
_root.chest.gotoAndPlay(2);
_root.sword.gotoAndPlay(2);
}
}
}
Symbol 639 MovieClip Frame 84
_root.money = _root.money + (random(150) + 350);
Symbol 639 MovieClip Frame 85
stop();
_root.remove1 = true;
Symbol 640 MovieClip Frame 1
stop();
gotoAndStop(random(6));
Symbol 640 MovieClip Frame 2
stop();
Instance of Symbol 252 MovieClip in Symbol 640 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
mysoundg = new Sound();
mysoundg.attachSound("coin");
mysoundg.start();
_root.money = _root.money + (random(80) + 1);
unloadMovie (this);
}
}
Symbol 640 MovieClip Frame 3
stop();
Instance of Symbol 505 MovieClip in Symbol 640 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
mysoundg = new Sound();
mysoundg.attachSound("hearta");
mysoundg.start();
_root.playerhp = _root.playerhp + (random(20) + 1);
if (_root.playerhp > _root.playerhp1) {
_root.playerhp = _root.playerhp1;
}
unloadMovie (this);
}
}
Symbol 640 MovieClip Frame 4
stop();
Instance of Symbol 507 MovieClip in Symbol 640 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
mysoundg = new Sound();
mysoundg.attachSound("hearta");
mysoundg.start();
_root.playermp = _root.playermp + (random(30) + 1);
if (_root.playermp > _root.playermp1) {
_root.playermp = _root.playermp1;
}
unloadMovie (this);
}
}
Symbol 640 MovieClip Frame 5
stop();
Instance of Symbol 252 MovieClip in Symbol 640 MovieClip Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
mysoundg = new Sound();
mysoundg.attachSound("coin");
mysoundg.start();
_root.money = _root.money + (random(80) + 1);
unloadMovie (this);
}
}
Symbol 640 MovieClip Frame 6
stop();
Symbol 641 MovieClip Frame 1
stop();
Instance of Symbol 514 MovieClip in Symbol 641 MovieClip Frame 1
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcWALL1)) {
_root.ant3._x = _root.ant3._x - 20;
}
if (this.hitTest(_root.mcWALL2)) {
_root.ant3._x = _root.ant3._x + 20;
}
if (this.hitTest(_root.mcPLAYER.inside)) {
_root.playerhp = _root.playerhp - random(2);
_root.mcPLAYER.hit.gotoAndPlay(2);
}
if (this.hitTest(_root.bulleter)) {
_root.bulleter.unloadMovie();
_root.enemies1.gotoAndPlay(2);
_root.ant3.anthp = _root.ant3.anthp - (((_root.enemydamage = random(4))) + _root.damage);
enemyspeed = 4;
_root.ant3.antwalk.gotoAndStop(2);
thisX = _root.ant3._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 5) && (remainingX < 150)) {
_root.ant3._x = _root.ant3._x + 10;
} else if ((remainingX <= -5) && (remainingX > -150)) {
_root.ant3._x = _root.ant3._x - 10;
}
}
if (this.hitTest(_root.bulleterb)) {
_root.bulleterb.unloadMovie();
_root.enemies1.gotoAndPlay(2);
_root.ant3.anthp = _root.ant3.anthp - (((_root.enemydamage = random(5))) + _root.damage);
enemyspeed = 4;
_root.ant3.antwalk.gotoAndStop(2);
thisX = _root.ant3._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 5) && (remainingX < 150)) {
_root.ant3._x = _root.ant3._x + 10;
} else if ((remainingX <= -5) && (remainingX > -150)) {
_root.ant3._x = _root.ant3._x - 10;
}
}
if (this.hitTest(_root.bulleterc)) {
_root.bulleterc.unloadMovie();
_root.enemies1.gotoAndPlay(2);
_root.ant3.anthp = _root.ant3.anthp - (((_root.enemydamage = random(5))) + _root.damage);
enemyspeed = 4;
_root.ant3.antwalk.gotoAndStop(2);
thisX = _root.ant3._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 5) && (remainingX < 150)) {
_root.ant3._x = _root.ant3._x + 10;
} else if ((remainingX <= -5) && (remainingX > -150)) {
_root.ant3._x = _root.ant3._x - 10;
}
}
if (this.hitTest(_root.bulleterd)) {
_root.bulleterd.unloadMovie();
_root.enemies1.gotoAndPlay(2);
_root.ant3.anthp = _root.ant3.anthp - (((_root.enemydamage = random(6))) + _root.damage);
enemyspeed = 4;
_root.ant3.antwalk.gotoAndStop(2);
thisX = _root.ant3._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 5) && (remainingX < 150)) {
_root.ant3._x = _root.ant3._x + 10;
} else if ((remainingX <= -5) && (remainingX > -150)) {
_root.ant3._x = _root.ant3._x - 10;
}
}
}
Symbol 641 MovieClip Frame 2
stop();
Instance of Symbol 523 MovieClip in Symbol 641 MovieClip Frame 2
onClipEvent (keyUp) {
if (this.hitTest(_root.mcPLAYER.dagger.daginside.action)) {
if (Key.getCode() == 32) {
thisX = this._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 0) && (remainingX < 0)) {
this._x = this._x + 0;
this._xscale = 100;
} else if ((remainingX <= 0) && (remainingX > 0)) {
this._x = this._x - 0;
this._xscale = -100;
}
}
}
}
Symbol 642 MovieClip Frame 1
stop();
Instance of Symbol 514 MovieClip in Symbol 642 MovieClip Frame 1
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcWALL1)) {
_root.ant2._x = _root.ant2._x - 20;
}
if (this.hitTest(_root.mcWALL2)) {
_root.ant2._x = _root.ant2._x + 20;
}
if (this.hitTest(_root.mcPLAYER.inside)) {
_root.playerhp = _root.playerhp - random(2);
_root.mcPLAYER.hit.gotoAndPlay(2);
}
if (this.hitTest(_root.bulleter)) {
_root.bulleter.unloadMovie();
_root.enemies.gotoAndPlay(2);
_root.ant2.anthp = _root.ant2.anthp - (((_root.enemydamage = random(4))) + _root.damage);
enemyspeed = 4;
_root.ant2.antwalk.gotoAndStop(2);
thisX = _root.ant2._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 5) && (remainingX < 150)) {
_root.ant2._x = _root.ant2._x + 10;
} else if ((remainingX <= -5) && (remainingX > -150)) {
_root.ant2._x = _root.ant2._x - 10;
}
}
if (this.hitTest(_root.bulleterb)) {
_root.bulleterb.unloadMovie();
_root.enemies.gotoAndPlay(2);
_root.ant2.anthp = _root.ant2.anthp - (((_root.enemydamage = random(5))) + _root.damage);
enemyspeed = 4;
_root.ant2.antwalk.gotoAndStop(2);
thisX = _root.ant2._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 5) && (remainingX < 150)) {
_root.ant2._x = _root.ant2._x + 10;
} else if ((remainingX <= -5) && (remainingX > -150)) {
_root.ant2._x = _root.ant2._x - 10;
}
}
if (this.hitTest(_root.bulleterc)) {
_root.bulleterc.unloadMovie();
_root.enemies.gotoAndPlay(2);
_root.ant2.anthp = _root.ant2.anthp - (((_root.enemydamage = random(6))) + _root.damage);
enemyspeed = 4;
_root.ant2.antwalk.gotoAndStop(2);
thisX = _root.ant2._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 5) && (remainingX < 150)) {
_root.ant2._x = _root.ant2._x + 10;
} else if ((remainingX <= -5) && (remainingX > -150)) {
_root.ant2._x = _root.ant2._x - 10;
}
}
if (this.hitTest(_root.bulleterd)) {
_root.bulleterd.unloadMovie();
_root.enemies.gotoAndPlay(2);
_root.ant2.anthp = _root.ant2.anthp - (((_root.enemydamage = random(7))) + _root.damage);
enemyspeed = 4;
_root.ant2.antwalk.gotoAndStop(2);
thisX = _root.ant2._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 5) && (remainingX < 150)) {
_root.ant2._x = _root.ant2._x + 10;
} else if ((remainingX <= -5) && (remainingX > -150)) {
_root.ant2._x = _root.ant2._x - 10;
}
}
}
Symbol 642 MovieClip Frame 2
stop();
Instance of Symbol 523 MovieClip in Symbol 642 MovieClip Frame 2
onClipEvent (keyUp) {
if (this.hitTest(_root.mcPLAYER.dagger.daginside.action)) {
if (Key.getCode() == 32) {
thisX = this._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 0) && (remainingX < 0)) {
this._x = this._x + 0;
this._xscale = 100;
} else if ((remainingX <= 0) && (remainingX > 0)) {
this._x = this._x - 0;
this._xscale = -100;
}
}
}
}
Symbol 643 MovieClip Frame 1
stop();
Instance of Symbol 180 MovieClip "applein" in Symbol 643 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
_root.playerhp = _root.playerhp - random(3);
_root.mcPLAYER.hit.gotoAndPlay(2);
}
}
Symbol 643 MovieClip Frame 2
stop();
Symbol 666 MovieClip Frame 167
stop();
Symbol 688 MovieClip Frame 20
stop();
next.onPress = function () {
gotoAndPlay (21);
};
Symbol 688 MovieClip Frame 39
stop();
next.onPress = function () {
gotoAndPlay (39);
};
Symbol 688 MovieClip Frame 57
stop();
next.onPress = function () {
gotoAndPlay (58);
};
Symbol 688 MovieClip Frame 72
stop();
next.onPress = function () {
gotoAndPlay (73);
};
Symbol 688 MovieClip Frame 91
stop();
next.onPress = function () {
gotoAndPlay (92);
};
Symbol 688 MovieClip Frame 109
stop();
next.onPress = function () {
_root.convo.unloadMovie();
};
Symbol 695 MovieClip Frame 1
stop();
Symbol 695 MovieClip Frame 2
stop();
Symbol 699 MovieClip Frame 1
stop();
Symbol 699 MovieClip Frame 2
stop();
Symbol 714 MovieClip Frame 20
stop();
next.onPress = function () {
gotoAndPlay (21);
};
Symbol 714 MovieClip Frame 39
stop();
next.onPress = function () {
gotoAndPlay (39);
};
Symbol 714 MovieClip Frame 57
stop();
yes1.onPress = function () {
gotoAndPlay (73);
};
no1.onPress = function () {
gotoAndPlay (58);
};
yes1.onRollOver = function () {
yes1.gotoAndStop(2);
};
yes1.onRollOut = function () {
yes1.gotoAndStop(1);
};
no1.onRollOver = function () {
no1.gotoAndStop(2);
};
no1.onRollOut = function () {
no1.gotoAndStop(1);
};
Symbol 714 MovieClip Frame 72
stop();
next.onPress = function () {
_root.convo.unloadMovie();
};
Symbol 714 MovieClip Frame 73
mysounds = new Sound();
mysounds.attachSound("hehe");
mysounds.start(0, 1);
_root.guy.hearts._alpha = 100;
Symbol 714 MovieClip Frame 87
stop();
next.onPress = function () {
gotoAndPlay (88);
};
Symbol 714 MovieClip Frame 105
stop();
next.onPress = function () {
gotoAndPlay (106);
};
Symbol 714 MovieClip Frame 123
stop();
next.onPress = function () {
gotoAndPlay (124);
};
Symbol 714 MovieClip Frame 125
_root.guy.hearts._alpha = 0;
Symbol 714 MovieClip Frame 138
stop();
next.onPress = function () {
gotoAndPlay (139);
};
Symbol 714 MovieClip Frame 156
stop();
next.onPress = function () {
gotoAndPlay (157);
};
Symbol 714 MovieClip Frame 174
stop();
next.onPress = function () {
gotoAndPlay (175);
};
Symbol 714 MovieClip Frame 189
stop();
next.onPress = function () {
gotoAndPlay (190);
};
Symbol 714 MovieClip Frame 207
stop();
next.onPress = function () {
gotoAndPlay (208);
};
Symbol 714 MovieClip Frame 225
stop();
next.onPress = function () {
gotoAndPlay (226);
};
Symbol 714 MovieClip Frame 257
stop();
yes.onPress = function () {
_root.convo.unloadMovie();
_root.rose = false;
_root.item9gone = true;
_root.photo.gotoAndStop(2);
_root.tele1.gotoAndStop(2);
_root.tele3.gotoAndStop(2);
};
no.onPress = function () {
gotoAndPlay (58);
};
yes.onRollOver = function () {
yes.gotoAndStop(2);
};
yes.onRollOut = function () {
yes.gotoAndStop(1);
};
no.onRollOver = function () {
no.gotoAndStop(2);
};
no.onRollOut = function () {
no.gotoAndStop(1);
};
Symbol 715 MovieClip Frame 1
stop();
Instance of Symbol 543 MovieClip in Symbol 715 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.rose == false) {
if (this.hitTest(_root.mcPLAYER.inside)) {
if (Key.isDown(65)) {
trace("You pressed 'A' ");
_root.convo.gotoAndPlay(2);
}
}
}
if (_root.rose == true) {
if (this.hitTest(_root.mcPLAYER.inside)) {
if (Key.isDown(65)) {
trace("You pressed 'A' ");
_root.convo.gotoAndPlay(21);
}
}
}
}
Symbol 715 MovieClip Frame 2
mysounds = new Sound();
mysounds.attachSound("giggle");
mysounds.start(0, 1);
Symbol 715 MovieClip Frame 20
stop();
Symbol 715 MovieClip Frame 21
mysounds = new Sound();
mysounds.attachSound("giggle");
mysounds.start(0, 1);
Symbol 715 MovieClip Frame 33
stop();
Symbol 741 MovieClip Frame 56
_root.photo.gotoAndStop(3);
Symbol 758 MovieClip Frame 81
stop();
nextFrame();
_parent.gotoAndStop(undefined);
Symbol 762 MovieClip Frame 81
stop();
_parent.gotoAndStop(2);
Symbol 765 MovieClip Frame 81
_parent.gotoAndStop(3);
Symbol 767 MovieClip Frame 81
_parent.gotoAndStop(4);
Symbol 769 MovieClip Frame 81
_parent.gotoAndStop(1);
Symbol 770 MovieClip Frame 1
abc.gotoAndPlay(1);
abcd.gotoAndPlay(1);
stop();
Symbol 770 MovieClip Frame 2
abc.gotoAndPlay(1);
abcd.gotoAndPlay(1);
stop();
Symbol 770 MovieClip Frame 3
abc.gotoAndPlay(1);
abcd.gotoAndPlay(1);
stop();
Symbol 770 MovieClip Frame 4
abc.gotoAndPlay(1);
abcd.gotoAndPlay(1);
stop();
Symbol 786 MovieClip Frame 1
stop();
Symbol 786 MovieClip Frame 38
stop();
Symbol 797 MovieClip Frame 15
stop();
next.onPress = function () {
gotoAndPlay (16);
};
Symbol 797 MovieClip Frame 30
stop();
next.onPress = function () {
gotoAndPlay (31);
};
Symbol 797 MovieClip Frame 45
stop();
next.onPress = function () {
_root.photo.gotoAndStop(8);
};
Symbol 797 MovieClip Frame 60
stop();
next.onPress = function () {
gotoAndPlay (61);
};
Symbol 797 MovieClip Frame 75
stop();
next.onPress = function () {
gotoAndPlay (76);
};
Symbol 797 MovieClip Frame 90
stop();
next.onPress = function () {
gotoAndPlay (91);
};
Symbol 797 MovieClip Frame 105
stop();
next.onPress = function () {
_root.photo.gotoAndStop(8);
};
Symbol 798 MovieClip Frame 1
stop();
Symbol 798 MovieClip Frame 2
stop();
_root.mysoundt.stop();
mysounds = new Sound();
mysounds.attachSound("mission");
mysounds.start(0, 1000);
Symbol 798 MovieClip Frame 3
stop();
stop();
_root.photo.timer = 100;
clearInterval(idsetInterval());
id = setInterval(function () {
_root.photo.timer--;
if (_root.photo.timer == 0) {
_root.photo.gotoAndStop(6);
mysoundsq = new Sound();
mysoundsq.attachSound("horn");
mysoundsq.start(0, 1);
}
}, 500);
onEnterFrame = function () {
if (_root.photo.timer < 30) {
_root.photo.hurry.gotoAndPlay(2);
}
};
_root.photo.score = 0;
_root.photo.bt.useHandCursor = false;
_root.photo.bt.onPress = function () {
_root.photo.bt._alpha = 100;
if ((_root.photo.bt._alpha = 100)) {
_root.photo.bt.enabled = false;
}
_root.photo.score = _root.photo.score + 20;
mysounds = new Sound();
mysounds.attachSound("coin");
mysounds.start(0, 1);
if (_root.photo.score == 100) {
_root.photo.gotoAndStop(7);
}
};
_root.photo.bt1.useHandCursor = false;
_root.photo.bt1.onPress = function () {
_root.photo.bt1._alpha = 100;
if ((_root.photo.bt1._alpha = 100)) {
_root.photo.bt1.enabled = false;
}
_root.photo.score = _root.photo.score + 20;
mysounds = new Sound();
mysounds.attachSound("coin");
mysounds.start(0, 1);
if (_root.photo.score == 100) {
_root.photo.gotoAndStop(7);
}
};
_root.photo.bt2.useHandCursor = false;
_root.photo.bt2.onPress = function () {
_root.photo.bt2._alpha = 100;
if ((_root.photo.bt2._alpha = 100)) {
_root.photo.bt2.enabled = false;
}
_root.photo.score = _root.photo.score + 20;
mysounds = new Sound();
mysounds.attachSound("coin");
mysounds.start(0, 1);
if (_root.photo.score == 100) {
_root.photo.gotoAndStop(7);
}
};
_root.photo.bt3.useHandCursor = false;
_root.photo.bt3.onPress = function () {
_root.photo.bt3._alpha = 100;
if ((_root.photo.bt3._alpha = 100)) {
_root.photo.bt3.enabled = false;
}
_root.photo.score = _root.photo.score + 20;
mysounds = new Sound();
mysounds.attachSound("coin");
mysounds.start(0, 1);
if (_root.photo.score == 100) {
_root.photo.gotoAndStop(7);
}
};
_root.photo.bt4.useHandCursor = false;
_root.photo.bt4.onPress = function () {
_root.photo.bt4._alpha = 100;
if ((_root.photo.bt4._alpha = 100)) {
_root.photo.bt4.enabled = false;
}
_root.photo.score = _root.photo.score + 20;
mysounds = new Sound();
mysounds.attachSound("coin");
mysounds.start(0, 1);
if (_root.photo.score == 100) {
_root.photo.gotoAndStop(7);
}
};
if (_root.photo.score == 20) {
bubbleconvo.abc.gotoAndPlay(1);
bubbleconvo.abcd.gotoAndPlay(1);
bubbleconvo.gotoAndStop(2);
}
if (_root.photo.score == 40) {
bubbleconvo.abc.gotoAndPlay(1);
bubbleconvo.abcd.gotoAndPlay(1);
bubbleconvo.gotoAndStop(3);
}
if (_root.photo.score == 60) {
bubbleconvo.abc.gotoAndPlay(1);
bubbleconvo.abcd.gotoAndPlay(1);
bubbleconvo.gotoAndStop(4);
}
if (_root.photo.score == 80) {
bubbleconvo.abc.gotoAndPlay(1);
bubbleconvo.abcd.gotoAndPlay(1);
bubbleconvo.gotoAndStop(5);
}
_root.photo.life = 3;
_root.photo.pic.useHandCursor = false;
_root.photo.pic.onPress = function () {
nextFrame();
_root.photo.gotoAndStop(undefined);
_root.photo.life--;
mysounds = new Sound();
mysounds.attachSound("hearta");
mysounds.start(0, 1);
if (_root.photo.life == 0) {
_root.photo.gotoAndStop(6);
}
};
_root.photo.pic1.useHandCursor = false;
_root.photo.pic1.onPress = function () {
nextFrame();
_root.photo.gotoAndStop(undefined);
_root.photo.life--;
mysounds = new Sound();
mysounds.attachSound("hearta");
mysounds.start(0, 1);
if (_root.photo.life == 0) {
_root.photo.gotoAndStop(6);
}
};
Instance of Symbol 775 MovieClip in Symbol 798 MovieClip Frame 3
onClipEvent (enterFrame) {
this._xscale = _root.photo.timer;
}
Symbol 798 MovieClip Frame 4
stop();
Symbol 798 MovieClip Frame 5
stop();
Symbol 798 MovieClip Frame 6
_root.money = 0;
_root.mcPLAYER._y = _root.mcPLAYER._y - 1000;
_root.photo.timer = 100;
stop();
Symbol 798 MovieClip Frame 7
_root.photo.convor.gotoAndPlay(46);
_root.money = _root.money + 1000;
_root.mcPLAYER._y = _root.mcPLAYER._y - 1000;
_root.photo.timer = 100;
stop();
Symbol 798 MovieClip Frame 8
stop();
_root.photo.unloadMovie();
_root.gotoAndPlay(9);
_root.tele1.gotoAndStop(1);
_root.tele2.gotoAndStop(1);
mysounds.stop();
_root.rose = false;
Symbol 827 MovieClip Frame 1
stop();
Symbol 827 MovieClip Frame 20
stop();
Symbol 832 MovieClip Frame 55
stop();
_root.convo.unloadMovie();
_root.lady.gotoAndPlay(2);
Symbol 833 MovieClip Frame 1
stop();
Instance of Symbol 543 MovieClip in Symbol 833 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
if (Key.isDown(65)) {
trace("You pressed 'A' ");
_root.convo.gotoAndPlay(2);
}
}
}
Symbol 833 MovieClip Frame 20
stop();
Symbol 844 MovieClip Frame 167
stop();
Symbol 855 MovieClip Frame 20
stop();
next.onPress = function () {
gotoAndPlay (21);
};
Symbol 855 MovieClip Frame 39
stop();
next.onPress = function () {
gotoAndPlay (39);
};
Symbol 855 MovieClip Frame 57
stop();
next.onPress = function () {
gotoAndPlay (58);
};
Symbol 855 MovieClip Frame 80
stop();
next.onPress = function () {
gotoAndPlay (81);
};
Symbol 855 MovieClip Frame 94
stop();
next.onPress = function () {
gotoAndPlay (95);
};
Symbol 855 MovieClip Frame 108
stop();
next.onPress = function () {
gotoAndPlay (109);
};
Symbol 855 MovieClip Frame 122
stop();
next.onPress = function () {
gotoAndPlay (123);
};
Symbol 855 MovieClip Frame 154
stop();
next.onPress = function () {
_root.convo.unloadMovie();
_root.gotoAndStop(29);
};
Symbol 856 MovieClip Frame 1
stop();
Instance of Symbol 543 MovieClip in Symbol 856 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
if (Key.isDown(65)) {
trace("You pressed 'A' ");
_root.wizard2.convo.gotoAndPlay(2);
}
}
}
Symbol 856 MovieClip Frame 2
mysounds = new Sound();
mysounds.attachSound("oh");
mysounds.start(0, 1);
Symbol 856 MovieClip Frame 20
stop();
Symbol 857 MovieClip Frame 1
stop();
Symbol 857 MovieClip Frame 2
stop();
Symbol 874 MovieClip Frame 1
stop();
Instance of Symbol 871 MovieClip "mayorin" in Symbol 874 MovieClip Frame 1
onClipEvent (load) {
enemyspeed = 1;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER) && (!dead)) {
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 2;
this._xscale = 100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 2;
this._xscale = -100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Symbol 874 MovieClip Frame 2
stop();
Instance of Symbol 873 MovieClip in Symbol 874 MovieClip Frame 2
onClipEvent (load) {
enemyspeed = 0;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER) && (!dead)) {
}
if (!dead) {
if (enemydir == "right") {
enemystepsright = enemystepsright + 0;
this._xscale = 100;
this._x = this._x + enemyspeed;
} else if (enemydir == "left") {
enemystepsleft = enemystepsleft + 0;
this._xscale = -100;
this._x = this._x - enemyspeed;
}
if (enemystepsright == 100) {
enemystepsright = 0;
enemydir = "left";
} else if (enemystepsleft == 100) {
enemystepsleft = 0;
enemydir = "right";
}
}
}
Symbol 901 MovieClip Frame 20
stop();
next.onPress = function () {
gotoAndPlay (21);
};
Symbol 901 MovieClip Frame 39
stop();
next.onPress = function () {
gotoAndPlay (39);
};
Symbol 901 MovieClip Frame 57
stop();
next.onPress = function () {
gotoAndPlay (58);
};
Symbol 901 MovieClip Frame 80
stop();
next.onPress = function () {
gotoAndPlay (81);
};
Symbol 901 MovieClip Frame 94
stop();
next.onPress = function () {
gotoAndPlay (95);
};
Symbol 901 MovieClip Frame 108
stop();
next.onPress = function () {
gotoAndPlay (109);
};
Symbol 901 MovieClip Frame 122
stop();
next.onPress = function () {
gotoAndPlay (123);
};
Symbol 901 MovieClip Frame 135
stop();
next.onPress = function () {
gotoAndPlay (136);
};
Symbol 901 MovieClip Frame 150
stop();
next.onPress = function () {
gotoAndPlay (151);
};
Symbol 901 MovieClip Frame 169
stop();
next.onPress = function () {
gotoAndPlay (170);
};
Symbol 901 MovieClip Frame 187
stop();
next.onPress = function () {
gotoAndPlay (188);
};
Symbol 901 MovieClip Frame 210
stop();
next.onPress = function () {
gotoAndPlay (211);
};
Symbol 901 MovieClip Frame 225
stop();
next.onPress = function () {
gotoAndPlay (226);
};
Symbol 901 MovieClip Frame 244
stop();
next.onPress = function () {
gotoAndPlay (245);
};
Symbol 901 MovieClip Frame 262
stop();
next.onPress = function () {
gotoAndPlay (263);
};
Symbol 901 MovieClip Frame 285
stop();
next.onPress = function () {
gotoAndPlay (286);
};
Symbol 901 MovieClip Frame 300
stop();
next.onPress = function () {
gotoAndPlay (301);
};
Symbol 901 MovieClip Frame 319
stop();
next.onPress = function () {
gotoAndPlay (320);
};
Symbol 901 MovieClip Frame 343
stop();
next.onPress = function () {
_root.convo.unloadMovie();
_root.quest._alpha = 100;
_root.quest1 = true;
_root.geez = _root.geez + 20;
};
Symbol 914 MovieClip Frame 20
stop();
next.onPress = function () {
gotoAndPlay (21);
};
Symbol 914 MovieClip Frame 39
stop();
next.onPress = function () {
gotoAndPlay (39);
};
Symbol 914 MovieClip Frame 57
stop();
next.onPress = function () {
gotoAndPlay (58);
};
Symbol 914 MovieClip Frame 80
stop();
next.onPress = function () {
gotoAndPlay (81);
};
Symbol 914 MovieClip Frame 94
stop();
next.onPress = function () {
gotoAndPlay (95);
};
Symbol 914 MovieClip Frame 108
stop();
next.onPress = function () {
gotoAndPlay (109);
};
Symbol 914 MovieClip Frame 122
stop();
next.onPress = function () {
gotoAndPlay (123);
};
Symbol 914 MovieClip Frame 135
stop();
next.onPress = function () {
gotoAndPlay (136);
};
Symbol 914 MovieClip Frame 150
_root.mysounds.stop();
_root.mysoundt.stop();
_root.mysoundu.stop();
_root.mysoundv.stop();
_root.quest1 = false;
_root.quest._alpha = 0;
_root.money = _root.money - 2000;
_root.turbo == 0;
_root.teleport2._x = -100;
Symbol 914 MovieClip Frame 153
mysoundg = new Sound();
mysoundg.attachSound("win");
mysoundg.start(0, 1);
Symbol 914 MovieClip Frame 159
stop();
var myTween;
next.onPress = function () {
_root.convo.unloadMovie();
_root.wizard2.gotoAndStop(2);
myTween = new mx.transitions.Tween(wizard2, "_alpha", mx.transitions.easing.Regular.easeOut, 0, 100, 2, true);
};
Symbol 915 MovieClip Frame 1
stop();
Instance of Symbol 543 MovieClip in Symbol 915 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.turbo2 < 24) {
if (this.hitTest(_root.mcPLAYER.inside)) {
if (Key.isDown(65)) {
trace("You pressed 'A' ");
_root.convo.gotoAndPlay(2);
_root.mayor.gotoAndStop(2);
}
}
}
if ((_root.money > 1999) && (_root.turbo > 24)) {
if (_root.turbo2 > 24) {
if (this.hitTest(_root.mcPLAYER.inside)) {
if (Key.isDown(65)) {
trace("You pressed 'A' ");
_root.convo.gotoAndPlay(21);
}
}
}
}
}
Symbol 915 MovieClip Frame 2
mysounds = new Sound();
mysounds.attachSound("yawn");
mysounds.start(0, 1);
Symbol 915 MovieClip Frame 20
stop();
Symbol 915 MovieClip Frame 21
mysounds = new Sound();
mysounds.attachSound("yawn");
mysounds.start(0, 1);
Symbol 915 MovieClip Frame 33
stop();
Symbol 933 MovieClip Frame 1
stop();
Symbol 933 MovieClip Frame 2
stop();
Instance of Symbol 238 MovieClip in Symbol 933 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
if (Key.isDown(65)) {
trace("You pressed 'A' ");
_root.mcPLAYER.arm.gotoAndPlay(2);
_root.chest3.gotoAndPlay(2);
_root.sword.gotoAndPlay(2);
}
}
}
Symbol 933 MovieClip Frame 84
mysoundg = new Sound();
mysoundg.attachSound("got");
mysoundg.start(0, 1);
_root.turbo2 = _root.turbo2 + 25;
Symbol 933 MovieClip Frame 85
stop();
_root.remove2 = true;
_root.qbadge = true;
Symbol 947 MovieClip Frame 20
stop();
next.onPress = function () {
gotoAndPlay (21);
};
Symbol 947 MovieClip Frame 39
stop();
next.onPress = function () {
gotoAndPlay (39);
};
Symbol 947 MovieClip Frame 57
stop();
next.onPress = function () {
gotoAndPlay (58);
};
Symbol 947 MovieClip Frame 74
stop();
var myTween;
next.onPress = function () {
myTween = new mx.transitions.Tween(_root.chest3, "_alpha", mx.transitions.easing.Regular.easeOut, 0, 100, 1, true);
_root.chest3.gotoAndStop(2);
_root.convo.unloadMovie();
_root.antkill._alpha = 0;
_root.antkill.gotoAndStop(1);
};
Symbol 951 MovieClip Frame 20
stop();
next.onPress = function () {
gotoAndPlay (21);
};
Symbol 951 MovieClip Frame 39
stop();
next.onPress = function () {
gotoAndPlay (39);
};
Symbol 951 MovieClip Frame 57
stop();
next.onPress = function () {
gotoAndPlay (58);
};
Symbol 951 MovieClip Frame 74
stop();
next.onPress = function () {
_root.convo.unloadMovie();
_root.antkill._alpha = 100;
_root.antkill.gotoAndPlay(2);
_root.antkill.kills = 0;
};
Symbol 955 MovieClip Frame 20
stop();
next.onPress = function () {
gotoAndPlay (21);
};
Symbol 955 MovieClip Frame 39
stop();
next.onPress = function () {
gotoAndPlay (39);
};
Symbol 955 MovieClip Frame 57
stop();
next.onPress = function () {
gotoAndPlay (58);
};
Symbol 955 MovieClip Frame 74
stop();
next.onPress = function () {
_root.convo.unloadMovie();
};
Symbol 961 MovieClip Frame 20
stop();
next.onPress = function () {
gotoAndPlay (21);
};
Symbol 961 MovieClip Frame 39
stop();
next.onPress = function () {
gotoAndPlay (39);
};
Symbol 961 MovieClip Frame 57
stop();
next.onPress = function () {
gotoAndPlay (58);
};
Symbol 961 MovieClip Frame 74
stop();
next.onPress = function () {
_root.convo.unloadMovie();
_root.antkill._alpha = 100;
_root.antkill.gotoAndPlay(13);
_root.antkill.medicine = 0;
};
Symbol 962 MovieClip Frame 1
stop();
Instance of Symbol 543 MovieClip in Symbol 962 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.geez > 19) {
if (_root.antkill.medicine > 2) {
if (this.hitTest(_root.mcPLAYER.inside)) {
if (Key.isDown(65)) {
trace("You pressed 'A' ");
_root.convo.gotoAndPlay(2);
}
}
}
}
if (_root.geez > 19) {
if (_root.antkill.kills > 19) {
if (this.hitTest(_root.mcPLAYER.inside)) {
if (Key.isDown(65)) {
trace("You pressed 'A' ");
_root.convo.gotoAndPlay(47);
}
}
}
}
if (_root.geez > 19) {
if (this.hitTest(_root.mcPLAYER.inside)) {
if (Key.isDown(65)) {
trace("You pressed 'A' ");
_root.convo.gotoAndPlay(21);
}
}
} else if (this.hitTest(_root.mcPLAYER.inside)) {
if (Key.isDown(65)) {
trace("You pressed 'A' ");
_root.convo.gotoAndPlay(34);
}
}
}
Symbol 962 MovieClip Frame 2
mysounds = new Sound();
mysounds.attachSound("cough");
mysounds.start(0, 1);
Symbol 962 MovieClip Frame 20
stop();
Symbol 962 MovieClip Frame 21
mysounds = new Sound();
mysounds.attachSound("cough");
mysounds.start(0, 1);
Symbol 962 MovieClip Frame 33
stop();
Symbol 962 MovieClip Frame 34
mysounds = new Sound();
mysounds.attachSound("cough");
mysounds.start(0, 1);
Symbol 962 MovieClip Frame 46
stop();
Symbol 962 MovieClip Frame 47
mysounds = new Sound();
mysounds.attachSound("cough");
mysounds.start(0, 1);
Symbol 962 MovieClip Frame 59
stop();
Symbol 990 MovieClip Frame 166
stop();
Symbol 991 MovieClip Frame 1
stop();
gotoAndStop(random(6));
Symbol 991 MovieClip Frame 2
stop();
Instance of Symbol 252 MovieClip in Symbol 991 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
mysoundg = new Sound();
mysoundg.attachSound("coin");
mysoundg.start();
_root.money = _root.money + (random(200) + 5);
unloadMovie (this);
}
}
Symbol 991 MovieClip Frame 3
stop();
Instance of Symbol 505 MovieClip in Symbol 991 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
mysoundg = new Sound();
mysoundg.attachSound("hearta");
mysoundg.start();
_root.playerhp = _root.playerhp + (random(20) + 5);
if (_root.playerhp > _root.playerhp1) {
_root.playerhp = _root.playerhp1;
}
unloadMovie (this);
}
}
Symbol 991 MovieClip Frame 4
stop();
Instance of Symbol 507 MovieClip in Symbol 991 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
mysoundg = new Sound();
mysoundg.attachSound("hearta");
mysoundg.start();
_root.playermp = _root.playermp + (random(30) + 5);
if (_root.playermp > _root.playermp1) {
_root.playermp = _root.playermp1;
}
unloadMovie (this);
}
}
Symbol 991 MovieClip Frame 5
stop();
Symbol 991 MovieClip Frame 6
stop();
Instance of Symbol 507 MovieClip in Symbol 991 MovieClip Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
mysoundg = new Sound();
mysoundg.attachSound("hearta");
mysoundg.start();
_root.playermp = _root.playermp + (random(30) + 5);
if (_root.playermp > _root.playermp1) {
_root.playermp = _root.playermp1;
}
unloadMovie (this);
}
}
Symbol 997 MovieClip Frame 1
stop();
gotoAndStop(random(6));
Symbol 997 MovieClip Frame 2
stop();
Instance of Symbol 252 MovieClip in Symbol 997 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
mysoundg = new Sound();
mysoundg.attachSound("coin");
mysoundg.start();
_root.money = _root.money + (random(200) + 10);
unloadMovie (this);
}
}
Symbol 997 MovieClip Frame 3
stop();
Instance of Symbol 505 MovieClip in Symbol 997 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
mysoundg = new Sound();
mysoundg.attachSound("hearta");
mysoundg.start();
_root.playerhp = _root.playerhp + (random(35) + 2);
if (_root.playerhp > _root.playerhp1) {
_root.playerhp = _root.playerhp1;
}
unloadMovie (this);
}
}
Symbol 997 MovieClip Frame 4
stop();
Instance of Symbol 996 MovieClip in Symbol 997 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
mysoundg = new Sound();
mysoundg.attachSound("hearta");
mysoundg.start();
_root.exp = _root.exp + (random(50) + 10);
unloadMovie (this);
}
}
Symbol 997 MovieClip Frame 5
stop();
Symbol 997 MovieClip Frame 6
stop();
Instance of Symbol 507 MovieClip in Symbol 997 MovieClip Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
mysoundg = new Sound();
mysoundg.attachSound("hearta");
mysoundg.start();
_root.playermp = _root.playermp + (random(30) + 5);
if (_root.playermp > _root.playermp1) {
_root.playermp = _root.playermp1;
}
unloadMovie (this);
}
}
Symbol 998 MovieClip Frame 51
stop();
Symbol 999 MovieClip Frame 1
stop();
Instance of Symbol 514 MovieClip in Symbol 999 MovieClip Frame 1
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcWALL1)) {
_root.ant3._x = _root.ant3._x - 20;
}
if (this.hitTest(_root.anthit1)) {
_root.ant3._x = _root.ant3._x + 20;
}
if (this.hitTest(_root.mcPLAYER.inside)) {
_root.playerhp = _root.playerhp - random(4);
_root.mcPLAYER.hit.gotoAndPlay(2);
}
if (this.hitTest(_root.bulleter)) {
_root.bulleter.unloadMovie();
_root.enemies1.gotoAndPlay(2);
_root.ant3.anthp = _root.ant3.anthp - (((_root.enemydamage = random(2))) + _root.damage);
enemyspeed = 4;
_root.ant3.antwalk.gotoAndStop(2);
thisX = _root.ant3._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 5) && (remainingX < 150)) {
_root.ant3._x = _root.ant3._x + 10;
} else if ((remainingX <= -5) && (remainingX > -150)) {
_root.ant3._x = _root.ant3._x - 10;
}
}
if (this.hitTest(_root.bulleterb)) {
_root.bulleterb.unloadMovie();
_root.enemies1.gotoAndPlay(2);
_root.ant3.anthp = _root.ant3.anthp - (((_root.enemydamage = random(3))) + _root.damage);
enemyspeed = 4;
_root.ant3.antwalk.gotoAndStop(2);
thisX = _root.ant3._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 5) && (remainingX < 150)) {
_root.ant3._x = _root.ant3._x + 10;
} else if ((remainingX <= -5) && (remainingX > -150)) {
_root.ant3._x = _root.ant3._x - 10;
}
}
if (this.hitTest(_root.bulleterc)) {
_root.bulleterc.unloadMovie();
_root.enemies1.gotoAndPlay(2);
_root.ant3.anthp = _root.ant3.anthp - (((_root.enemydamage = random(4))) + _root.damage);
enemyspeed = 4;
_root.ant3.antwalk.gotoAndStop(2);
thisX = _root.ant3._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 5) && (remainingX < 150)) {
_root.ant3._x = _root.ant3._x + 10;
} else if ((remainingX <= -5) && (remainingX > -150)) {
_root.ant3._x = _root.ant3._x - 10;
}
}
if (this.hitTest(_root.bulleterd)) {
_root.bulleterd.unloadMovie();
_root.enemies1.gotoAndPlay(2);
_root.ant3.anthp = _root.ant3.anthp - (((_root.enemydamage = random(5))) + _root.damage);
enemyspeed = 4;
_root.ant3.antwalk.gotoAndStop(2);
thisX = _root.ant3._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 5) && (remainingX < 150)) {
_root.ant3._x = _root.ant3._x + 10;
} else if ((remainingX <= -5) && (remainingX > -150)) {
_root.ant3._x = _root.ant3._x - 10;
}
}
}
Symbol 999 MovieClip Frame 2
stop();
Instance of Symbol 998 MovieClip in Symbol 999 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.bulleter)) {
thisX = this._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 0) && (remainingX < 0)) {
this._x = this._x + 0;
this._xscale = 100;
} else if ((remainingX <= 0) && (remainingX > 0)) {
this._x = this._x - 0;
this._xscale = -100;
}
}
}
Symbol 1000 MovieClip Frame 1
stop();
Instance of Symbol 514 MovieClip in Symbol 1000 MovieClip Frame 1
onClipEvent (load) {
enemyspeed = 2;
enemystepsright = 0;
enemystepsleft = 0;
enemydir = "left";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.anthit)) {
_root.ant2._x = _root.ant2._x - 20;
}
if (this.hitTest(_root.mcWALL2)) {
_root.ant2._x = _root.ant2._x + 20;
}
if (this.hitTest(_root.mcPLAYER.inside)) {
_root.playerhp = _root.playerhp - random(4);
_root.mcPLAYER.hit.gotoAndPlay(2);
}
if (this.hitTest(_root.bulleter)) {
_root.bulleter.unloadMovie();
_root.enemies.gotoAndPlay(2);
_root.ant2.anthp = _root.ant2.anthp - (((_root.enemydamage = random(2))) + _root.damage);
enemyspeed = 4;
_root.ant2.antwalk.gotoAndStop(2);
thisX = _root.ant2._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 5) && (remainingX < 150)) {
_root.ant2._x = _root.ant2._x + 10;
} else if ((remainingX <= -5) && (remainingX > -150)) {
_root.ant2._x = _root.ant2._x - 10;
}
}
if (this.hitTest(_root.bulleterb)) {
_root.bulleterb.unloadMovie();
_root.enemies.gotoAndPlay(2);
_root.ant2.anthp = _root.ant2.anthp - (((_root.enemydamage = random(3))) + _root.damage);
enemyspeed = 4;
_root.ant2.antwalk.gotoAndStop(2);
thisX = _root.ant2._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 5) && (remainingX < 150)) {
_root.ant2._x = _root.ant2._x + 10;
} else if ((remainingX <= -5) && (remainingX > -150)) {
_root.ant2._x = _root.ant2._x - 10;
}
}
if (this.hitTest(_root.bulleterc)) {
_root.bulleterc.unloadMovie();
_root.enemies.gotoAndPlay(2);
_root.ant2.anthp = _root.ant2.anthp - (((_root.enemydamage = random(4))) + _root.damage);
enemyspeed = 4;
_root.ant2.antwalk.gotoAndStop(2);
thisX = _root.ant2._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 5) && (remainingX < 150)) {
_root.ant2._x = _root.ant2._x + 10;
} else if ((remainingX <= -5) && (remainingX > -150)) {
_root.ant2._x = _root.ant2._x - 10;
}
}
if (this.hitTest(_root.bulleterd)) {
_root.bulleterd.unloadMovie();
_root.enemies.gotoAndPlay(2);
_root.ant2.anthp = _root.ant2.anthp - (((_root.enemydamage = random(5))) + _root.damage);
enemyspeed = 4;
_root.ant2.antwalk.gotoAndStop(2);
thisX = _root.ant2._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 5) && (remainingX < 150)) {
_root.ant2._x = _root.ant2._x + 10;
} else if ((remainingX <= -5) && (remainingX > -150)) {
_root.ant2._x = _root.ant2._x - 10;
}
}
}
Symbol 1000 MovieClip Frame 2
stop();
Instance of Symbol 998 MovieClip in Symbol 1000 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.bulleter)) {
thisX = this._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 0) && (remainingX < 0)) {
this._x = this._x + 0;
this._xscale = 100;
} else if ((remainingX <= 0) && (remainingX > 0)) {
this._x = this._x - 0;
this._xscale = -100;
}
}
}
Symbol 1015 MovieClip Frame 1
stop();
Instance of Symbol 238 MovieClip in Symbol 1015 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
if (Key.isDown(65)) {
trace("You pressed 'A' ");
_root.mcPLAYER.arm.gotoAndPlay(2);
_root.chest.gotoAndPlay(2);
_root.sword.gotoAndPlay(2);
}
}
}
Symbol 1015 MovieClip Frame 84
_root.money = _root.money + (random(350) + 200);
Symbol 1015 MovieClip Frame 85
stop();
_root.remove4 = true;
Symbol 1019 MovieClip Frame 1
stop();
Symbol 1019 MovieClip Frame 2
stop();
Symbol 1034 MovieClip Frame 8
stop();
Symbol 1034 MovieClip Frame 9
stop();
Symbol 1035 MovieClip Frame 1
stop();
gotoAndStop(random(5));
Symbol 1035 MovieClip Frame 2
stop();
Instance of Symbol 1034 MovieClip "egg1" in Symbol 1035 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
mysoundg = new Sound();
mysoundg.attachSound("hearta");
mysoundg.start(0, 1);
_root.qegg = true;
_root.turbo = _root.turbo + 25;
unloadMovie (this);
}
}
Symbol 1035 MovieClip Frame 3
stop();
Symbol 1035 MovieClip Frame 4
stop();
Symbol 1035 MovieClip Frame 5
stop();
Symbol 1036 MovieClip Frame 1
_root.shake.gotoAndStop(1);
Symbol 1036 MovieClip Frame 81
stop();
Symbol 1037 MovieClip Frame 1
stop();
Instance of Symbol 514 MovieClip in Symbol 1037 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.mchit)) {
_root.dino._x = _root.dino._x + 20;
}
if (this.hitTest(_root.mcWALL2)) {
_root.dino._x = _root.dino._x - 20;
}
if (this.hitTest(_root.mcPLAYER.inside)) {
_root.playerhp = _root.playerhp - random(10);
_root.mcPLAYER.hit.gotoAndPlay(2);
}
if (_root.level > 9) {
if (this.hitTest(_root.bulleter)) {
_root.bulleter.unloadMovie();
_root.enemies.gotoAndPlay(2);
_root.dino.dinohp = _root.dino.dinohp - (((_root.enemydamage = random(2))) + _root.damage);
enemyspeed = 4;
_root.dino.dinoinside.gotoAndStop(2);
thisX = this._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 5) && (remainingX < 150)) {
this._x = this._x + 12;
} else if ((remainingX <= -5) && (remainingX > -150)) {
this._x = this._x - 12;
}
}
}
if (_root.level > 9) {
if (this.hitTest(_root.bulleterb)) {
_root.bulleterb.unloadMovie();
_root.enemies.gotoAndPlay(2);
_root.dino.dinohp = _root.dino.dinohp - (((_root.enemydamage = random(3))) + _root.damage);
enemyspeed = 4;
_root.dino.dinoinside.gotoAndStop(2);
thisX = this._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 5) && (remainingX < 150)) {
this._x = this._x + 12;
} else if ((remainingX <= -5) && (remainingX > -150)) {
this._x = this._x - 12;
}
}
}
if (_root.level > 9) {
if (this.hitTest(_root.bulleterc)) {
_root.bulleterc.unloadMovie();
_root.enemies.gotoAndPlay(2);
_root.dino.dinohp = _root.dino.dinohp - (((_root.enemydamage = random(4))) + _root.damage);
enemyspeed = 4;
_root.dino.dinoinside.gotoAndStop(2);
thisX = this._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 5) && (remainingX < 150)) {
this._x = this._x + 12;
} else if ((remainingX <= -5) && (remainingX > -150)) {
this._x = this._x - 12;
}
}
}
if (_root.level > 9) {
if (this.hitTest(_root.bulleterd)) {
_root.bulleterd.unloadMovie();
_root.enemies.gotoAndPlay(2);
_root.dino.dinohp = _root.dino.dinohp - (((_root.enemydamage = random(5))) + _root.damage);
enemyspeed = 4;
_root.dino.dinoinside.gotoAndStop(2);
thisX = this._x;
manX = _root.mcPLAYER._x;
remainingX = thisX - manX;
if ((remainingX >= 5) && (remainingX < 150)) {
this._x = this._x + 12;
} else if ((remainingX <= -5) && (remainingX > -150)) {
this._x = this._x - 12;
}
}
}
if (_root.level < 10) {
if (this.hitTest(_root.bulleter)) {
_root.bulleter.unloadMovie();
_root.dino.dinoinside.gotoAndStop(2);
}
}
if (_root.level < 10) {
if (this.hitTest(_root.bulleterb)) {
_root.bulleterb.unloadMovie();
_root.dino.dinoinside.gotoAndStop(2);
}
}
if (_root.level < 10) {
if (this.hitTest(_root.bulleterc)) {
_root.bulleterc.unloadMovie();
_root.dino.dinoinside.gotoAndStop(2);
}
}
if (_root.level < 10) {
if (this.hitTest(_root.bulleterd)) {
_root.bulleterd.unloadMovie();
_root.dino.dinoinside.gotoAndStop(2);
}
}
}
Instance of Symbol 59 MovieClip [ebullet] "fireball" in Symbol 1037 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
_root.playerhp = _root.playerhp - random(8);
_root.mcPLAYER.hit.gotoAndPlay(2);
}
}
Symbol 1037 MovieClip Frame 2
stop();
Symbol 1053 MovieClip Frame 31
stop();
next.onPress = function () {
gotoAndPlay (32);
};
Symbol 1053 MovieClip Frame 71
stop();
_root.gotoAndStop(23);
_root.convoshop.unloadMovie();
_root.mcPLAYER._y = -1000;
Symbol 1054 MovieClip Frame 1
stop();
Symbol 1054 MovieClip Frame 2
mysounds = new Sound();
mysounds.attachSound("monkey");
mysounds.start(0, 1);
Symbol 1054 MovieClip Frame 25
stop();
Symbol 1071 MovieClip Frame 1
stop();
Instance of Symbol 1062 MovieClip in Symbol 1071 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER)) {
_root.mcPLAYER._x = _root.mcPLAYER._x + 4;
}
}
Symbol 1071 MovieClip Frame 5
stop();
Symbol 1073 MovieClip Frame 1
stop();
Symbol 1073 MovieClip Frame 2
stop();
Symbol 1152 MovieClip Frame 1
stop();
Symbol 1152 MovieClip Frame 2
stop();
Symbol 1152 MovieClip Frame 3
stop();
Symbol 1152 MovieClip Frame 4
stop();
Symbol 1152 MovieClip Frame 5
stop();
Symbol 1153 MovieClip Frame 1
stop();
Symbol 1153 MovieClip Frame 2
stop();
Symbol 1154 MovieClip Frame 1
stop();
Symbol 1154 MovieClip Frame 2
stop();
Symbol 1165 MovieClip Frame 1
time = new Date();
var seconds = time.getSeconds();
var minutes = time.getMinutes();
var hours = time.getHours();
if (hours < 12) {
ampm = "AM";
} else {
ampm = "PM";
}
while (hours > 12) {
hours = hours - 12;
}
if (hours < 10) {
hours = "0" + hours;
}
if (minutes < 10) {
minutes = "0" + minutes;
}
if (seconds < 10) {
seconds = "0" + seconds;
}
Clock_text.text = (((((hours + ":") + minutes) + ":") + seconds) + " ") + ampm;
Symbol 1165 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1174 MovieClip Frame 1
stop();
Symbol 1174 MovieClip Frame 2
stop();
Symbol 1176 MovieClip Frame 1
stop();
Symbol 1176 MovieClip Frame 2
stop();
Symbol 1177 MovieClip Frame 1
stop();
Symbol 1177 MovieClip Frame 2
stop();
Symbol 1179 MovieClip Frame 1
stop();
Symbol 1179 MovieClip Frame 2
stop();
Symbol 1183 MovieClip Frame 1
stop();
Symbol 1183 MovieClip Frame 2
stop();
Symbol 1186 MovieClip Frame 1
stop();
Symbol 1186 MovieClip Frame 2
stop();
Symbol 1198 Button
on (press) {
savefile.data.money = _root.money;
savefile.data.level = _root.level;
savefile.data.playerhp = _root.playerhp;
savefile.data.playerhp1 = _root.playerhp1;
savefile.data.exp = _root.exp;
savefile.data.exp1 = _root.exp1;
savefile.data.turbo = _root.turbo;
savefile.data.geez = _root.geez;
savefile.data.clock = _root.clock;
savefile.data.damage = _root.damage;
savefile.data.defense = _root.defense;
savefile.data.look = _root.look;
savefile.data.ability1 = _root.ability1;
savefile.data.charm = _root.charm;
savefile.data.str = _root.str;
savefile.data.turbo2 = _root.turbo2;
savefile.data.playermp = _root.playermp;
savefile.data.playermp1 = _root.playermp1;
savefile.data.dagger = _root.dagger;
savefile.data.star = _root.star;
savefile.data.boom = _root.boom;
savefile.data.dart = _root.dart;
savefile.data.daggerer = _root.daggerer;
savefile.data.starer = _root.starer;
savefile.data.boomer = _root.boomer;
savefile.data.darter = _root.darter;
savefile.data.remove1 = _root.remove1;
savefile.data.remove4 = _root.remove4;
savefile.data.remove3 = _root.remove3;
savefile.data.tokuearrings = _root.tokuearrings;
savefile.data.earbuy = _root.earbuy;
savefile.data.starsbuy = _root.starsbuy;
savefile.data.boombuy = _root.boombuy;
savefile.data.dartbuy = _root.dartbuy;
savefile.data.bandana = _root.bandana;
savefile.data.hatbuy = _root.hatbuy;
savefile.data.rosebuy = _root.rosebuy;
savefile.data.qbadge = _root.qbadge;
savefile.data.qegg = _root.qegg;
savefile.data.remove2 = _root.remove2;
savefile.data.quest1 = _root.quest1;
savefile.data.item9gone = _root.item9gone;
savefile.data.rose = _root.rose;
savefile.flush();
mysoundsa = new Sound();
mysoundsa.attachSound("coin");
mysoundsa.start(0, 1);
_root.inventory.bum._alpha = 70;
_root.inventory.buy = "You have saved successfully.";
}
Symbol 1220 MovieClip Frame 1
var w = water_mc._width;
trace(w);
var h = water_mc._height;
ripple = new flash.display.BitmapData(w, h);
ripple3 = new flash.display.BitmapData(w, h / 2);
ripple2 = new flash.display.BitmapData(w, h / 4);
ripple1 = new flash.display.BitmapData(w, h / 4);
gradient = new flash.display.BitmapData(ripple.width, ripple.height);
gradient.draw(gradient_mc, new flash.geom.Matrix(1, 0, 0, 1, 0, 0));
gradient_mc._visible = false;
offset3 = new flash.geom.Point(0, 0);
offset2 = new flash.geom.Point(0, 0);
offset1 = new flash.geom.Point(0, 0);
speed1 = -0.3;
speed2 = -0.6;
speed3 = -1.2;
pt = new flash.geom.Point(0, 0);
rect = new flash.geom.Rectangle(0, 0, ripple.width, ripple.height);
this.onEnterFrame = function () {
offset1.y = offset1.y + speed1;
offset2.y = offset2.y + speed2;
offset3.y = offset3.y + speed3;
ripple3.perlinNoise(0, 15, 1, seed, true, true, 1, true, [offset3]);
ripple2.perlinNoise(0, 10, 1, seed, true, true, 1, true, [offset2]);
ripple1.perlinNoise(0, 5, 1, seed, true, true, 1, true, [offset1]);
ripple.copyPixels(ripple1, r1rect, r1pt);
ripple.copyPixels(ripple2, r2rect, r2pt);
ripple.copyPixels(ripple3, r3rect, r3pt);
ripple.merge(gradient, rect, pt2, 127, 127, 127);
dMap = new flash.filters.DisplacementMapFilter(ripple, pt, null, 1, 100, 100, "WRAP");
water_mc.filters = [dMap];
};
r1rect = new flash.geom.Rectangle(0, 0, ripple1.width, ripple1.height);
r2rect = new flash.geom.Rectangle(0, 0, ripple2.width, ripple2.height);
r3rect = new flash.geom.Rectangle(0, 0, ripple3.width, ripple3.height);
r1pt = new flash.geom.Point(0, 0);
r2pt = new flash.geom.Point(0, ripple1.height);
r3pt = new flash.geom.Point(0, ripple1.height + ripple2.height);
Symbol 1221 MovieClip Frame 1
stop();
Instance of Symbol 238 MovieClip in Symbol 1221 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
if (Key.isDown(65)) {
trace("You pressed 'A' ");
_root.mcPLAYER.arm.gotoAndPlay(2);
_root.chest.gotoAndPlay(2);
_root.sword.gotoAndPlay(2);
}
}
}
Symbol 1221 MovieClip Frame 84
_root.money = _root.money + (random(200) + 200);
Symbol 1221 MovieClip Frame 85
stop();
_root.remove3 = true;
Symbol 1229 MovieClip Frame 17
_parent._parent.walk.gotoAndStop(1);
Symbol 1230 MovieClip Frame 1
stop();
Symbol 1230 MovieClip Frame 2
stop();
Symbol 1232 MovieClip Frame 66
stop();
Symbol 1233 MovieClip Frame 1
stop();
Instance of Symbol 514 MovieClip in Symbol 1233 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bulleter)) {
_root.bulleter.unloadMovie();
_root.enemies.gotoAndPlay(2);
_root.medicine.hp = _root.medicine.hp - (((_root.enemydamage = random(4))) + _root.damage);
enemyspeed = 4;
_root.medicine.walk.gotoAndStop(2);
}
if (this.hitTest(_root.bulleterb)) {
_root.bulleterb.unloadMovie();
_root.enemies.gotoAndPlay(2);
_root.medicine.hp = _root.medicine.hp - (((_root.enemydamage = random(5))) + _root.damage);
enemyspeed = 4;
_root.medicine.walk.gotoAndStop(2);
}
if (this.hitTest(_root.bulleterc)) {
_root.bulleterc.unloadMovie();
_root.enemies.gotoAndPlay(2);
_root.medicine.hp = _root.medicine.hp - (((_root.enemydamage = random(6))) + _root.damage);
enemyspeed = 4;
_root.medicine.walk.gotoAndStop(2);
}
if (this.hitTest(_root.bulleterd)) {
_root.bulleterd.unloadMovie();
_root.enemies.gotoAndPlay(2);
_root.medicine.hp = _root.medicine.hp - (((_root.enemydamage = random(7))) + _root.damage);
enemyspeed = 4;
_root.medicine.walk.gotoAndStop(2);
}
}
Instance of Symbol 514 MovieClip in Symbol 1233 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.inside)) {
_root.playerhp = _root.playerhp - random(2);
_root.mcPLAYER.hit.gotoAndPlay(2);
}
}
Symbol 1233 MovieClip Frame 2
stop();
Symbol 1236 MovieClip Frame 1
var w = water_mc._width;
trace(w);
var h = water_mc._height;
ripple = new flash.display.BitmapData(w, h);
ripple3 = new flash.display.BitmapData(w, h / 2);
ripple2 = new flash.display.BitmapData(w, h / 4);
ripple1 = new flash.display.BitmapData(w, h / 4);
gradient = new flash.display.BitmapData(ripple.width, ripple.height);
gradient.draw(gradient_mc, new flash.geom.Matrix(1, 0, 0, 1, 0, 0));
gradient_mc._visible = false;
offset3 = new flash.geom.Point(0, 0);
offset2 = new flash.geom.Point(0, 0);
offset1 = new flash.geom.Point(0, 0);
speed1 = -0.3;
speed2 = -0.6;
speed3 = -1.2;
pt = new flash.geom.Point(0, 0);
rect = new flash.geom.Rectangle(0, 0, ripple.width, ripple.height);
this.onEnterFrame = function () {
offset1.y = offset1.y + speed1;
offset2.y = offset2.y + speed2;
offset3.y = offset3.y + speed3;
ripple3.perlinNoise(0, 15, 1, seed, true, true, 1, true, [offset3]);
ripple2.perlinNoise(0, 10, 1, seed, true, true, 1, true, [offset2]);
ripple1.perlinNoise(0, 5, 1, seed, true, true, 1, true, [offset1]);
ripple.copyPixels(ripple1, r1rect, r1pt);
ripple.copyPixels(ripple2, r2rect, r2pt);
ripple.copyPixels(ripple3, r3rect, r3pt);
ripple.merge(gradient, rect, pt2, 127, 127, 127);
dMap = new flash.filters.DisplacementMapFilter(ripple, pt, null, 1, 100, 100, "WRAP");
water_mc.filters = [dMap];
};
r1rect = new flash.geom.Rectangle(0, 0, ripple1.width, ripple1.height);
r2rect = new flash.geom.Rectangle(0, 0, ripple2.width, ripple2.height);
r3rect = new flash.geom.Rectangle(0, 0, ripple3.width, ripple3.height);
r1pt = new flash.geom.Point(0, 0);
r2pt = new flash.geom.Point(0, ripple1.height);
r3pt = new flash.geom.Point(0, ripple1.height + ripple2.height);
Symbol 1239 MovieClip Frame 45
stop();