Frame 1
Stage.showMenu = false;
_root.foreststones = 0;
_root.cliffsstones = 0;
_root.flowerstones = 0;
_root.junglestones = 0;
_root.desertstones = 0;
_root.swampstones = 0;
_root.rockystones = 0;
_root.winterlandstones = 0;
_root.cabinstones = 0;
_root.oasisstones = 0;
_root.stones = 0;
_root.gold = 10;
_root.exp = 0;
_root.level = 1;
_root.hp = 20;
_root.hptotal = 20;
_root.defense = 13;
_root.attack = 3;
_root.magicattack = 3;
_root.mptotal = 15;
_root.mp = 15;
_root.potion = 1;
_root.hipotion = 0;
_root.xpotion = 0;
_root.ether = 1;
_root.hiether = 0;
_root.xether = 0;
_root.normalshirt = true;
_root.woodenshirt = false;
_root.ironedshirt = false;
_root.magicshirt = false;
_root.slickshirt = false;
_root.armorshirt = false;
_root.pricklyshirt = false;
_root.megashirt = false;
_root.normalshoes = true;
_root.spikeyshoes = false;
_root.heavyshoes = false;
_root.magicshoes = false;
_root.shinyshoes = false;
_root.shieldshoes = false;
_root.fuzzyshoes = false;
_root.megashoes = false;
_root.woodenshirtgot = false;
_root.ironedshirtgot = false;
_root.magicshirtgot = false;
_root.slickshirtgot = false;
_root.armorshirtgot = false;
_root.pricklyshirtgot = false;
_root.megashirtgot = false;
_root.spikeyshoesgot = false;
_root.heavyshoesgot = false;
_root.magicshoesgot = false;
_root.shinyshoesgot = false;
_root.shieldshoesgot = false;
_root.fuzzyshoesgot = false;
_root.megashoesgot = false;
_root.menuscreenon = false;
_root.Turn = "guy";
Frame 2
stop();
Frame 3
_global.battlecounter = 0;
_root.Turn = "guy";
Instance of Symbol 493 MovieClip in Frame 3
onClipEvent (enterFrame) {
_x = _root.camera._x;
_y = _root.camera._y;
}
Instance of Symbol 495 MovieClip in Frame 3
onClipEvent (enterFrame) {
_x = _root.camera._x;
_y = _root.camera._y;
}
Instance of Symbol 504 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_global.battlecounter = 0;
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone1 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.foreststones = _root.foreststones + 1;
}
if (_root.stone1 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone3 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.foreststones = _root.foreststones + 1;
}
if (_root.stone3 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone2 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.flowerstones = _root.flowerstones + 1;
}
if (_root.stone2 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone50 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.foreststones = _root.foreststones + 1;
}
if (_root.stone50 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone49 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.foreststones = _root.foreststones + 1;
}
if (_root.stone49 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone48 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.swampstones = _root.swampstones + 1;
}
if (_root.stone48 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone47 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.junglestones = _root.junglestones + 1;
}
if (_root.stone47 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone46 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.swampstones = _root.swampstones + 1;
}
if (_root.stone46 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone45 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cliffsstones = _root.cliffsstones + 1;
}
if (_root.stone45 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone44 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.winterlandstones = _root.winterlandstones + 1;
}
if (_root.stone44 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone43 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.oasisstones = _root.oasisstones + 1;
}
if (_root.stone43 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone42 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.desertstones = _root.desertstones + 1;
}
if (_root.stone42 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone41 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.foreststones = _root.foreststones + 1;
}
if (_root.stone41 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone40 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.flowerstones = _root.flowerstones + 1;
}
if (_root.stone40 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone39 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cliffsstones = _root.cliffsstones + 1;
}
if (_root.stone39 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone38 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.rockystones = _root.rockystones + 1;
}
if (_root.stone38 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone37 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.winterlandstones = _root.winterlandstones + 1;
}
if (_root.stone37 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone36 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.oasisstones = _root.oasisstones + 1;
}
if (_root.stone36 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone35 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.foreststones = _root.foreststones + 1;
}
if (_root.stone35 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone34 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.foreststones = _root.foreststones + 1;
}
if (_root.stone34 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone33 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.junglestones = _root.junglestones + 1;
}
if (_root.stone33 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone32 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cliffsstones = _root.cliffsstones + 1;
}
if (_root.stone32 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone31 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cliffsstones = _root.cliffsstones + 1;
}
if (_root.stone31 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone30 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cabinstones = _root.cabinstones + 1;
}
if (_root.stone30 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone29 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cabinstones = _root.cabinstones + 1;
}
if (_root.stone29 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone28 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cliffsstones = _root.cliffsstones + 1;
}
if (_root.stone28 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone27 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cliffsstones = _root.cliffsstones + 1;
}
if (_root.stone27 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone26 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.oasisstones = _root.oasisstones + 1;
}
if (_root.stone26 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone25 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.desertstones = _root.desertstones + 1;
}
if (_root.stone25 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone24 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.oasisstones = _root.oasisstones + 1;
}
if (_root.stone24 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone23 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cabinstones = _root.cabinstones + 1;
}
if (_root.stone23 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone22 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cabinstones = _root.cabinstones + 1;
}
if (_root.stone22 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone21 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.winterlandstones = _root.winterlandstones + 1;
}
if (_root.stone21 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone20 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.foreststones = _root.foreststones + 1;
}
if (_root.stone20 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone19 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.winterlandstones = _root.winterlandstones + 1;
}
if (_root.stone19 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone18 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.winterlandstones = _root.winterlandstones + 1;
}
if (_root.stone18 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone17 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.swampstones = _root.swampstones + 1;
}
if (_root.stone17 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone16 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.swampstones = _root.swampstones + 1;
}
if (_root.stone16 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone15 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cliffsstones = _root.cliffsstones + 1;
}
if (_root.stone15 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone14 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cliffsstones = _root.cliffsstones + 1;
}
if (_root.stone14 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone13 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.junglestones = _root.junglestones + 1;
}
if (_root.stone13 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone12 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.flowerstones = _root.flowerstones + 1;
}
if (_root.stone12 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone11 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.junglestones = _root.junglestones + 1;
}
if (_root.stone11 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone10 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.junglestones = _root.junglestones + 1;
}
if (_root.stone10 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone9 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.rockystones = _root.rockystones + 1;
}
if (_root.stone9 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone8 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.flowerstones = _root.flowerstones + 1;
}
if (_root.stone8 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone7 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.rockystones = _root.rockystones + 1;
}
if (_root.stone7 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone6 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.foreststones = _root.foreststones + 1;
}
if (_root.stone6 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone5 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.foreststones = _root.foreststones + 1;
}
if (_root.stone5 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone4 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.desertstones = _root.desertstones + 1;
}
if (_root.stone4 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 842 MovieClip "bridge" in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_global.battlecounter = 0;
}
}
Instance of Symbol 842 MovieClip "bridge" in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_global.battlecounter = 0;
}
}
Instance of Symbol 842 MovieClip "bridge" in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_global.battlecounter = 0;
}
}
Instance of Symbol 842 MovieClip "bridge" in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_global.battlecounter = 0;
}
}
Instance of Symbol 842 MovieClip "bridge" in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_global.battlecounter = 0;
}
}
Instance of Symbol 859 MovieClip "shadow" in Frame 3
onClipEvent (load) {
moveSpeed = 0.8;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (Key.isDown(16)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + (moveSpeed + 0.5);
_root.guy.gotoAndPlay(26);
}
} else if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (Key.isDown(16)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - (moveSpeed + 0.5);
_root.guy.gotoAndPlay(30);
}
} else if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (Key.isDown(16)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + (moveSpeed + 0.5);
_root.guy.gotoAndPlay(22);
}
} else if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (Key.isDown(16)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - (moveSpeed + 0.5);
_root.guy.gotoAndPlay(34);
}
} else if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
}
} else if (_root.menu == true) {
}
}
Instance of Symbol 493 MovieClip in Frame 3
onClipEvent (enterFrame) {
_x = _root.camera._x;
_y = _root.camera._y;
}
Instance of Symbol 956 MovieClip "guy" in Frame 3
onClipEvent (enterFrame) {
this._x = _root.shadow._x;
this._y = _root.shadow._y;
}
Instance of Symbol 817 MovieClip "wiztrees6" in Frame 3
/* no clip actions */
Instance of Symbol 978 MovieClip "shop" in Frame 3
onClipEvent (enterFrame) {
this._x = _root.camera._x;
this._y = _root.camera._y;
}
Instance of Symbol 990 MovieClip "goldstats" in Frame 3
onClipEvent (enterFrame) {
this._x = _root.camera._x;
this._y = _root.camera._y;
}
Instance of Symbol 992 MovieClip "camera" in Frame 3
onClipEvent (enterFrame) {
_x = _root.Shadow._x;
_y = (_root.Shadow._y - 5);
}
Instance of Symbol 994 MovieClip in Frame 3
onClipEvent (enterFrame) {
this._x = _root.camera._x;
this._y = _root.camera._y;
}
Instance of Symbol 1024 MovieClip "wiztalk" in Frame 3
onClipEvent (enterFrame) {
_x = _root.camera._x;
_y = _root.camera._y;
this._xscale = _root.camera._xscale;
this._yscale = _root.camera._yscale;
}
Instance of Symbol 1400 MovieClip "menuscreen" in Frame 3
onClipEvent (enterFrame) {
if (Key.isDown(8) && (_root.menu == false)) {
this.gotoAndStop("Main");
_root.menu = true;
}
}
onClipEvent (enterFrame) {
_x = _root.camera._x;
_y = _root.camera._y;
}
Frame 4
stop();
_root.Turn = "guy";
Frame 5
stop();
_global.Menu = true;
_root.run = true;
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone1 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.foreststones = _root.foreststones + 1;
}
if (_root.stone1 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone3 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.foreststones = _root.foreststones + 1;
}
if (_root.stone3 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone2 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.flowerstones = _root.flowerstones + 1;
}
if (_root.stone2 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone50 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.foreststones = _root.foreststones + 1;
}
if (_root.stone50 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone49 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.foreststones = _root.foreststones + 1;
}
if (_root.stone49 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone48 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.swampstones = _root.swampstones + 1;
}
if (_root.stone48 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone47 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.junglestones = _root.junglestones + 1;
}
if (_root.stone47 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone46 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.swampstones = _root.swampstones + 1;
}
if (_root.stone46 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone45 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cliffsstones = _root.cliffsstones + 1;
}
if (_root.stone45 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone44 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.winterlandstones = _root.winterlandstones + 1;
}
if (_root.stone44 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone43 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.oasisstones = _root.oasisstones + 1;
}
if (_root.stone43 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone42 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.desertstones = _root.desertstones + 1;
}
if (_root.stone42 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone41 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.foreststones = _root.foreststones + 1;
}
if (_root.stone41 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone40 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.flowerstones = _root.flowerstones + 1;
}
if (_root.stone40 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone39 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cliffsstones = _root.cliffsstones + 1;
}
if (_root.stone39 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone38 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.rockystones = _root.rockystones + 1;
}
if (_root.stone38 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone37 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.winterlandstones = _root.winterlandstones + 1;
}
if (_root.stone37 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone36 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.oasisstones = _root.oasisstones + 1;
}
if (_root.stone36 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone35 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.foreststones = _root.foreststones + 1;
}
if (_root.stone35 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone34 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.foreststones = _root.foreststones + 1;
}
if (_root.stone34 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone33 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.junglestones = _root.junglestones + 1;
}
if (_root.stone33 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone32 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cliffsstones = _root.cliffsstones + 1;
}
if (_root.stone32 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone31 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cliffsstones = _root.cliffsstones + 1;
}
if (_root.stone31 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone30 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cabinstones = _root.cabinstones + 1;
}
if (_root.stone30 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone29 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cabinstones = _root.cabinstones + 1;
}
if (_root.stone29 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone28 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cliffsstones = _root.cliffsstones + 1;
}
if (_root.stone28 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone27 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cliffsstones = _root.cliffsstones + 1;
}
if (_root.stone27 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone26 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.oasisstones = _root.oasisstones + 1;
}
if (_root.stone26 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone25 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.desertstones = _root.desertstones + 1;
}
if (_root.stone25 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone24 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.oasisstones = _root.oasisstones + 1;
}
if (_root.stone24 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone23 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cabinstones = _root.cabinstones + 1;
}
if (_root.stone23 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone22 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cabinstones = _root.cabinstones + 1;
}
if (_root.stone22 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone21 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.winterlandstones = _root.winterlandstones + 1;
}
if (_root.stone21 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone20 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.foreststones = _root.foreststones + 1;
}
if (_root.stone20 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone19 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.winterlandstones = _root.winterlandstones + 1;
}
if (_root.stone19 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone18 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.winterlandstones = _root.winterlandstones + 1;
}
if (_root.stone18 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone17 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.swampstones = _root.swampstones + 1;
}
if (_root.stone17 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone16 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.swampstones = _root.swampstones + 1;
}
if (_root.stone16 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone15 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cliffsstones = _root.cliffsstones + 1;
}
if (_root.stone15 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone14 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cliffsstones = _root.cliffsstones + 1;
}
if (_root.stone14 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone13 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.junglestones = _root.junglestones + 1;
}
if (_root.stone13 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone12 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.flowerstones = _root.flowerstones + 1;
}
if (_root.stone12 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone11 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.junglestones = _root.junglestones + 1;
}
if (_root.stone11 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone10 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.junglestones = _root.junglestones + 1;
}
if (_root.stone10 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone9 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.rockystones = _root.rockystones + 1;
}
if (_root.stone9 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone8 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.flowerstones = _root.flowerstones + 1;
}
if (_root.stone8 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone7 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.rockystones = _root.rockystones + 1;
}
if (_root.stone7 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone6 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.foreststones = _root.foreststones + 1;
}
if (_root.stone6 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone5 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.foreststones = _root.foreststones + 1;
}
if (_root.stone5 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 541 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone4 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.desertstones = _root.desertstones + 1;
}
if (_root.stone4 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 956 MovieClip "guy" in Frame 5
onClipEvent (enterFrame) {
this._x = _root.shadow._x;
this._y = _root.shadow._y;
}
Frame 6
stop();
Frame 7
stop();
Frame 8
stop();
_root.run = false;
_global.Menu = true;
_root.wiztalk = false;
Frame 9
stop();
Symbol 18 MovieClip Frame 10
stop();
Symbol 21 Button
on (release) {
_root.play();
}
Symbol 24 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
gotoAndStop (3);
}
Symbol 24 MovieClip Frame 2
gotoAndPlay (1);
Symbol 24 MovieClip Frame 3
stop();
Symbol 31 Button
on (release) {
getURL ("http://www.starogre.com", _blank);
}
Symbol 36 Button
on (release) {
getURL ("http://www.whitneystudios.com", _blank);
}
Symbol 39 Button
on (release) {
getURL ("http://www.gamesofgondor.com", _blank);
}
Symbol 42 MovieClip Frame 11
stop();
Symbol 55 MovieClip Frame 1877
gotoAndPlay (1);
_root.intromovie.gotoAndPlay(1);
Symbol 58 Button
on (release) {
_parent.play();
}
Symbol 59 MovieClip Frame 1
stop();
Symbol 59 MovieClip Frame 2
stop();
Symbol 66 MovieClip Frame 21
stop();
stop();
Symbol 82 Button
on (release) {
_parent.play();
}
Symbol 86 Button
on (release) {
_root.pos = sharedobject.getLocal("RPGDATA");
_root.shadow._x = _root.pos.data.shadowx;
_root.shadow._y = _root.pos.data.shadowy;
_root.level = _root.pos.data.level;
_root.hp = _root.pos.data.hp;
_root.hptotal = _root.pos.data.hptotal;
_root.mp = _root.pos.data.mp;
_root.mptotal = _root.pos.data.mptotal;
_root.attack = _root.pos.data.attack;
_root.magicattack = _root.pos.data.magicattack;
_root.exp = _root.pos.data.exp;
_root.gold = _root.pos.data.gold;
_root.stones = _root.pos.data.stones;
_root.potion = _root.pos.data.potion;
_root.hipotion = _root.pos.data.hipotion;
_root.xpotion = _root.pos.data.xpotion;
_root.ether = _root.pos.data.ether;
_root.hiether = _root.pos.data.hiether;
_root.xether = _root.pos.data.xether;
_root.normalshirt = _root.pos.data.normalshirt;
_root.woodenshirt = _root.pos.data.woodenshirt;
_root.ironedshirt = _root.pos.data.ironedshirt;
_root.magicshirt = _root.pos.data.magicshirt;
_root.armorshirt = _root.pos.data.armorshirt;
_root.pricklyshirt = _root.pos.data.pricklyshirt;
_root.megashirt = _root.pos.data.megashirt;
_root.slickshirt = _root.pos.data.slickshirt;
_root.normalshirtgot = _root.pos.data.normalshirtgot;
_root.woodenshirtgot = _root.pos.data.woodenshirtgot;
_root.ironedshirtgot = _root.pos.data.ironedshirtgot;
_root.magicshirtgot = _root.pos.data.magicshirtgot;
_root.armorshirtgot = _root.pos.data.armorshirtgot;
_root.pricklyshirtgot = _root.pos.data.pricklyshirtgot;
_root.megashirtgot = _root.pos.data.megashirtgot;
_root.slickshirtgot = _root.pos.data.slickshirtgot;
_root.normalshoes = _root.pos.data.normalshoes;
_root.spikeyshoes = _root.pos.data.spikeyshoes;
_root.heavyshoes = _root.pos.data.heavyshoes;
_root.magicshoes = _root.pos.data.magicshoes;
_root.shinyshoes = _root.pos.data.shinyshoes;
_root.shieldshoes = _root.pos.data.shieldshoes;
_root.fuzzyshoes = _root.pos.data.fuzzyshoes;
_root.megashoes = _root.pos.data.megashoes;
_root.normalshoesgot = _root.pos.data.normalshoesgot;
_root.spikeyshoesgot = _root.pos.data.spikeyshoesgot;
_root.heavyshoesgot = _root.pos.data.heavyshoesgot;
_root.magicshoesgot = _root.pos.data.magicshoesgot;
_root.shinyshoesgot = _root.pos.data.shinyshoesgot;
_root.shieldshoesgot = _root.pos.data.shieldshoesgot;
_root.fuzzyshoesgot = _root.pos.data.fuzzyshoesgot;
_root.megashoesgot = _root.pos.data.megashoesgot;
_root.stone1 = _root.pos.data.stone1;
_root.stone2 = _root.pos.data.stone2;
_root.stone3 = _root.pos.data.stone3;
_root.stone4 = _root.pos.data.stone4;
_root.stone5 = _root.pos.data.stone5;
_root.stone6 = _root.pos.data.stone6;
_root.stone7 = _root.pos.data.stone7;
_root.stone8 = _root.pos.data.stone8;
_root.stone9 = _root.pos.data.stone9;
_root.stone10 = _root.pos.data.stone10;
_root.stone11 = _root.pos.data.stone11;
_root.stone12 = _root.pos.data.stone12;
_root.stone13 = _root.pos.data.stone13;
_root.stone14 = _root.pos.data.stone14;
_root.stone15 = _root.pos.data.stone15;
_root.stone16 = _root.pos.data.stone16;
_root.stone17 = _root.pos.data.stone17;
_root.stone18 = _root.pos.data.stone18;
_root.stone19 = _root.pos.data.stone19;
_root.stone20 = _root.pos.data.stone20;
_root.stone21 = _root.pos.data.stone21;
_root.stone22 = _root.pos.data.stone22;
_root.stone23 = _root.pos.data.stone23;
_root.stone24 = _root.pos.data.stone24;
_root.stone25 = _root.pos.data.stone25;
_root.stone26 = _root.pos.data.stone26;
_root.stone27 = _root.pos.data.stone27;
_root.stone28 = _root.pos.data.stone28;
_root.stone29 = _root.pos.data.stone29;
_root.stone30 = _root.pos.data.stone30;
_root.stone31 = _root.pos.data.stone31;
_root.stone32 = _root.pos.data.stone32;
_root.stone33 = _root.pos.data.stone33;
_root.stone34 = _root.pos.data.stone34;
_root.stone35 = _root.pos.data.stone35;
_root.stone36 = _root.pos.data.stone36;
_root.stone37 = _root.pos.data.stone37;
_root.stone38 = _root.pos.data.stone38;
_root.stone39 = _root.pos.data.stone39;
_root.stone40 = _root.pos.data.stone40;
_root.stone41 = _root.pos.data.stone41;
_root.stone42 = _root.pos.data.stone42;
_root.stone43 = _root.pos.data.stone43;
_root.stone44 = _root.pos.data.stone44;
_root.stone45 = _root.pos.data.stone45;
_root.stone46 = _root.pos.data.stone46;
_root.stone47 = _root.pos.data.stone47;
_root.stone48 = _root.pos.data.stone48;
_root.stone49 = _root.pos.data.stone49;
_root.stone50 = _root.pos.data.stone50;
_root.foreststones = _root.pos.data.foreststones;
_root.cliffsstones = _root.pos.data.cliffsstones;
_root.flowerstones = _root.pos.data.flowerstones;
_root.junglestones = _root.pos.data.junglestones;
_root.desertstones = _root.pos.data.desertstones;
_root.swampstones = _root.pos.data.swampstones;
_root.rockystones = _root.pos.data.rockystones;
_root.winterlandstones = _root.pos.data.winterlandstones;
_root.cabinstones = _root.pos.data.cabinstones;
_root.oasisstones = _root.pos.data.oasisstones;
_root.gotoAndPlay(3);
}
Symbol 87 Button
on (release) {
nextFrame();
}
Symbol 91 Button
on (release) {
gotoAndPlay (33);
}
Symbol 99 Button
on (release) {
_root.intromovie.gamemenu.fade.play();
}
Symbol 106 MovieClip Frame 1
stop();
Symbol 106 MovieClip Frame 16
_root.intromovie.gotoAndPlay(1);
Symbol 115 Button
on (release) {
nextFrame();
}
Symbol 120 Button
on (release) {
_parent.prevFrame();
}
Symbol 126 Button
on (release) {
prevFrame();
}
Symbol 135 MovieClip Frame 1
stop();
Symbol 135 MovieClip Frame 2
stop();
Symbol 135 MovieClip Frame 3
stop();
Symbol 135 MovieClip Frame 4
stop();
Symbol 138 MovieClip Frame 31
stop();
Symbol 138 MovieClip Frame 32
stop();
Symbol 138 MovieClip Frame 40
_root.gotoAndStop("credits");
Symbol 148 Button
on (release) {
_root.gotoAndPlay(3);
}
Symbol 267 MovieClip Frame 1
stop();
Symbol 267 MovieClip Frame 12
stop();
Symbol 291 MovieClip Frame 1
goldget = _root.goldget;
Symbol 293 MovieClip Frame 1
expget = _root.expget;
Symbol 298 Button
on (release) {
if (_root.battlespikey == true) {
_root.EnemyMain.spikey.play();
}
if (_root.battlepointy == true) {
_root.EnemyMain.pointy.play();
}
if (_root.battlewingy == true) {
_root.EnemyMain.wingy.play();
}
if (_root.battleblasty == true) {
_root.EnemyMain.blasty.play();
}
if (_root.battleshelly == true) {
_root.EnemyMain.shelly.play();
}
if (_root.battlebuffy == true) {
_root.EnemyMain.buffy.play();
}
if (_root.battlerocky == true) {
_root.EnemyMain.rocky.play();
}
if (_root.battlefishy == true) {
_root.EnemyMain.fishy.play();
}
if (_root.battlehelly == true) {
_root.EnemyMain.helly.play();
}
if (_root.battlespongy == true) {
_root.EnemyMain.spongy.play();
}
if (_root.battlewormy == true) {
_root.EnemyMain.wormy.play();
}
if (_root.battlepuffy == true) {
_root.EnemyMain.puffy.play();
}
if (_root.battlescreamy == true) {
_root.EnemyMain.screamy.play();
}
if (_root.battlesticky == true) {
_root.EnemyMain.sticky.play();
}
if (_root.battleslimey == true) {
_root.EnemyMain.slimey.play();
}
if (_root.battleghosty == true) {
_root.EnemyMain.ghosty.play();
}
_root.battleguy.swapDepths(_root.EnemyMain);
}
Symbol 300 MovieClip Frame 1
stop();
Symbol 300 MovieClip Frame 2
stop();
Symbol 308 MovieClip Frame 1
stop();
Symbol 308 MovieClip Frame 2
stop();
_root.potion = _root.potion + 1;
Symbol 308 MovieClip Frame 3
stop();
_root.hipotion = _root.hipotion + 1;
Symbol 308 MovieClip Frame 4
stop();
_root.xpotion = _root.xpotion + 1;
Symbol 308 MovieClip Frame 5
stop();
_root.ether = _root.ether + 1;
Symbol 308 MovieClip Frame 6
stop();
_root.hiether = _root.hiether + 1;
Symbol 308 MovieClip Frame 7
stop();
_root.xether = _root.xether + 1;
Symbol 331 Button
on (release) {
_root.hptotal = _root.hptotal + 5;
_root.hp = _root.hptotal;
if (_root.battlespikey == true) {
_root.EnemyMain.spikey.okbutton.gotoAndStop(1);
}
if (_root.battlepointy == true) {
_root.EnemyMain.pointy.okbutton.gotoAndStop(1);
}
if (_root.battlewingy == true) {
_root.EnemyMain.wingy.okbutton.gotoAndStop(1);
}
if (_root.battleblasty == true) {
_root.EnemyMain.blasty.okbutton.gotoAndStop(1);
}
if (_root.battleshelly == true) {
_root.EnemyMain.shelly.okbutton.gotoAndStop(1);
}
if (_root.battlebuffy == true) {
_root.EnemyMain.buffy.okbutton.gotoAndStop(1);
}
if (_root.battlerocky == true) {
_root.EnemyMain.rocky.okbutton.gotoAndStop(1);
}
if (_root.battlefishy == true) {
_root.EnemyMain.fishy.okbutton.gotoAndStop(1);
}
if (_root.battlehelly == true) {
_root.EnemyMain.helly.okbutton.gotoAndStop(1);
}
if (_root.battlespongy == true) {
_root.EnemyMain.spongy.okbutton.gotoAndStop(1);
}
if (_root.battlewormy == true) {
_root.EnemyMain.wormy.okbutton.gotoAndStop(1);
}
if (_root.battlepuffy == true) {
_root.EnemyMain.puffy.okbutton.gotoAndStop(1);
}
if (_root.battlescreamy == true) {
_root.EnemyMain.screamy.okbutton.gotoAndStop(1);
}
if (_root.battlesticky == true) {
_root.EnemyMain.sticky.okbutton.gotoAndStop(1);
}
if (_root.battleslimey == true) {
_root.EnemyMain.slimey.okbutton.gotoAndStop(1);
}
if (_root.battleghosty == true) {
_root.EnemyMain.ghosty.okbutton.gotoAndStop(1);
}
nextFrame();
}
Symbol 336 Button
on (release) {
_root.mptotal = _root.mptotal + 5;
_root.mp = _root.mptotal;
if (_root.battlespikey == true) {
_root.EnemyMain.spikey.okbutton.gotoAndStop(1);
}
if (_root.battlepointy == true) {
_root.EnemyMain.pointy.okbutton.gotoAndStop(1);
}
if (_root.battlewingy == true) {
_root.EnemyMain.wingy.okbutton.gotoAndStop(1);
}
if (_root.battleblasty == true) {
_root.EnemyMain.blasty.okbutton.gotoAndStop(1);
}
if (_root.battleshelly == true) {
_root.EnemyMain.shelly.okbutton.gotoAndStop(1);
}
if (_root.battlebuffy == true) {
_root.EnemyMain.buffy.okbutton.gotoAndStop(1);
}
if (_root.battlerocky == true) {
_root.EnemyMain.rocky.okbutton.gotoAndStop(1);
}
if (_root.battlefishy == true) {
_root.EnemyMain.fishy.okbutton.gotoAndStop(1);
}
if (_root.battlehelly == true) {
_root.EnemyMain.helly.okbutton.gotoAndStop(1);
}
if (_root.battlespongy == true) {
_root.EnemyMain.spongy.okbutton.gotoAndStop(1);
}
if (_root.battlewormy == true) {
_root.EnemyMain.wormy.okbutton.gotoAndStop(1);
}
if (_root.battlepuffy == true) {
_root.EnemyMain.puffy.okbutton.gotoAndStop(1);
}
if (_root.battlescreamy == true) {
_root.EnemyMain.screamy.okbutton.gotoAndStop(1);
}
if (_root.battlesticky == true) {
_root.EnemyMain.sticky.okbutton.gotoAndStop(1);
}
if (_root.battleslimey == true) {
_root.EnemyMain.slimey.okbutton.gotoAndStop(1);
}
if (_root.battleghosty == true) {
_root.EnemyMain.ghosty.okbutton.gotoAndStop(1);
}
nextFrame();
}
Symbol 341 Button
on (release) {
_root.attack = _root.attack + 1;
if (_root.battlespikey == true) {
_root.EnemyMain.spikey.okbutton.gotoAndStop(1);
}
if (_root.battlepointy == true) {
_root.EnemyMain.pointy.okbutton.gotoAndStop(1);
}
if (_root.battlewingy == true) {
_root.EnemyMain.wingy.okbutton.gotoAndStop(1);
}
if (_root.battleblasty == true) {
_root.EnemyMain.blasty.okbutton.gotoAndStop(1);
}
if (_root.battleshelly == true) {
_root.EnemyMain.shelly.okbutton.gotoAndStop(1);
}
if (_root.battlebuffy == true) {
_root.EnemyMain.buffy.okbutton.gotoAndStop(1);
}
if (_root.battlerocky == true) {
_root.EnemyMain.rocky.okbutton.gotoAndStop(1);
}
if (_root.battlefishy == true) {
_root.EnemyMain.fishy.okbutton.gotoAndStop(1);
}
if (_root.battlehelly == true) {
_root.EnemyMain.helly.okbutton.gotoAndStop(1);
}
if (_root.battlespongy == true) {
_root.EnemyMain.spongy.okbutton.gotoAndStop(1);
}
if (_root.battlewormy == true) {
_root.EnemyMain.wormy.okbutton.gotoAndStop(1);
}
if (_root.battlepuffy == true) {
_root.EnemyMain.puffy.okbutton.gotoAndStop(1);
}
if (_root.battlescreamy == true) {
_root.EnemyMain.screamy.okbutton.gotoAndStop(1);
}
if (_root.battlesticky == true) {
_root.EnemyMain.sticky.okbutton.gotoAndStop(1);
}
if (_root.battleslimey == true) {
_root.EnemyMain.slimey.okbutton.gotoAndStop(1);
}
if (_root.battleghosty == true) {
_root.EnemyMain.ghosty.okbutton.gotoAndStop(1);
}
nextFrame();
}
Symbol 346 Button
on (release) {
_root.magicattack = _root.magicattack + 1;
if (_root.battlespikey == true) {
_root.EnemyMain.spikey.okbutton.gotoAndStop(1);
}
if (_root.battlepointy == true) {
_root.EnemyMain.pointy.okbutton.gotoAndStop(1);
}
if (_root.battlewingy == true) {
_root.EnemyMain.wingy.okbutton.gotoAndStop(1);
}
if (_root.battleblasty == true) {
_root.EnemyMain.blasty.okbutton.gotoAndStop(1);
}
if (_root.battleshelly == true) {
_root.EnemyMain.shelly.okbutton.gotoAndStop(1);
}
if (_root.battlebuffy == true) {
_root.EnemyMain.buffy.okbutton.gotoAndStop(1);
}
if (_root.battlerocky == true) {
_root.EnemyMain.rocky.okbutton.gotoAndStop(1);
}
if (_root.battlefishy == true) {
_root.EnemyMain.fishy.okbutton.gotoAndStop(1);
}
if (_root.battlehelly == true) {
_root.EnemyMain.helly.okbutton.gotoAndStop(1);
}
if (_root.battlespongy == true) {
_root.EnemyMain.spongy.okbutton.gotoAndStop(1);
}
if (_root.battlewormy == true) {
_root.EnemyMain.wormy.okbutton.gotoAndStop(1);
}
if (_root.battlepuffy == true) {
_root.EnemyMain.puffy.okbutton.gotoAndStop(1);
}
if (_root.battlescreamy == true) {
_root.EnemyMain.screamy.okbutton.gotoAndStop(1);
}
if (_root.battlesticky == true) {
_root.EnemyMain.sticky.okbutton.gotoAndStop(1);
}
if (_root.battleslimey == true) {
_root.EnemyMain.slimey.okbutton.gotoAndStop(1);
}
if (_root.battleghosty == true) {
_root.EnemyMain.ghosty.okbutton.gotoAndStop(1);
}
nextFrame();
}
Symbol 347 MovieClip Frame 55
stop();
Symbol 347 MovieClip Frame 56
stop();
Symbol 348 MovieClip Frame 1
stop();
Symbol 348 MovieClip Frame 2
_root.levelisplaying = true;
Symbol 379 MovieClip Frame 16
stop();
Symbol 383 MovieClip Frame 1
_root.enemyHP = random(10) + 5;
_root.enemyMP = 15;
Symbol 383 MovieClip Frame 2
stop();
Symbol 383 MovieClip Frame 3
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 383 MovieClip Frame 22
block = true;
spikeydmg = random(3) + 1;
Symbol 383 MovieClip Frame 23
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 383 MovieClip Frame 24
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.spikey.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 383 MovieClip Frame 25
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.spikey.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 383 MovieClip Frame 26
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.spikey.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeydmg;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 383 MovieClip Frame 27
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 383 MovieClip Frame 28
if (block == false) {
spikeydmg = spikeydmg + 1;
}
Symbol 383 MovieClip Frame 36
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 383 MovieClip Frame 37
_root.turn = "comp";
_root.battleguy.gotoAndStop(1);
Symbol 383 MovieClip Frame 54
_root.levelupisplaying = false;
Symbol 383 MovieClip Frame 55
_root.dead = true;
_root.EnemyMain.swapDepths(_root.battleguy);
stop();
_root.goldget = random(4) + 2;
_root.gold = _root.gold + _root.goldget;
_root.expget = 11 - _root.level;
_root.itemget = random(4);
if (_root.itemget == 3) {
_root.enemyMain.spikey.itemchooser.gotoAndStop("potion");
} else {
_root.enemyMain.spikey.itemchooser.gotoAndStop("none");
}
if ((_root.expget < 0) || (_root.expget == 0)) {
_root.expget = 1;
}
_root.exp = _root.exp + _root.expget;
if ((_root.exp == 100) || (_root.exp > 100)) {
_root.EnemyMain.spikey.okbutton.gotoAndStop(2);
if (_root.level == 30) {
_root.level = 30;
_root.exp = 100;
} else {
_root.level = _root.level + 1;
_root.exp = 0;
}
_root.EnemyMain.spikey.levelup.gotoAndStop(2);
_root.hp = _root.hptotal;
_root.mp = _root.mptotal;
}
Symbol 383 MovieClip Frame 56
_root.gotoAndPlay("map1");
_root.Menu = false;
_root.Turn = "guy";
_root.battlespikey = false;
_root.EnemyMain.gotoAndStop(1);
_root.enemychooser = 0;
Symbol 383 MovieClip Frame 67
_root.spikeyplay = random(2) + 1;
if (_root.spikeyplay == 1) {
_root.EnemyMain.spikey.gotoAndPlay("attacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.spikey.gotoAndPlay("magicattacking");
} else {
_root.EnemyMain.spikey.gotoAndPlay("attacking");
}
}
Symbol 383 MovieClip Frame 69
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 383 MovieClip Frame 84
block = true;
spikeymagic = random(4) + 2;
Symbol 383 MovieClip Frame 85
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 383 MovieClip Frame 86
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.spikey.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 383 MovieClip Frame 87
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.spikey.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 383 MovieClip Frame 88
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.spikey.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeymagic;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 383 MovieClip Frame 89
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
_root.enemyMP = _root.enemyMP - 3;
Symbol 383 MovieClip Frame 90
if (block == false) {
spikeymagic = spikeymagic + 2;
}
Symbol 383 MovieClip Frame 102
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Instance of Symbol 257 MovieClip "spikeyrotate" in Symbol 396 MovieClip Frame 1
onClipEvent (load) {
_root.SpikeyMad == true;
}
onClipEvent (enterFrame) {
if (_root.spikeyshadow._x > _x) {
_root.spikey._x = _root.spikey._x + 5;
}
}
onClipEvent (enterFrame) {
if (_root.spikeyshadow._x < _x) {
_root.spikey._x = _root.spikey._x - 5;
}
}
onClipEvent (enterFrame) {
if (_root.spikeyshadow._y > _y) {
_root.spikey._y = _root.spikey._y + 5;
}
}
onClipEvent (enterFrame) {
if (_root.spikeyshadow._y < _y) {
_root.spikey._y = _root.spikey._y - 5;
}
}
Symbol 408 MovieClip Frame 6
_global.battlecounter = _global.battlecounter + 1;
Symbol 491 MovieClip Frame 1
_root.intromovie.menumusic.gotoAndPlay(1);
Symbol 491 MovieClip Frame 124
stop();
Symbol 491 MovieClip Frame 125
stop();
Symbol 491 MovieClip Frame 1614
_root.gotoAndPlay(3);
Symbol 541 MovieClip Frame 1
stop();
Instance of Symbol 540 MovieClip in Symbol 541 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_global.battlecounter = 0;
}
}
Symbol 541 MovieClip Frame 2
stop();
Symbol 575 Button
on (release) {
play();
}
Symbol 580 Button
on (release) {
gotoAndStop (1);
_root.menu = false;
_root.guy.swapDepths(_root.obstacles);
_root.shopspace1.gotoAndStop(2);
_root.shopspace1.operate = false;
}
Symbol 613 MovieClip Frame 1
stop();
Symbol 614 MovieClip Frame 1
stop();
Symbol 619 Button
on (release) {
if (_root.potion < 100) {
if ((_root.gold == 10) || (_root.gold > 10)) {
_root.potion = _root.potion + 1;
_root.gold = _root.gold - 10;
_root.shop.shopmenu.buy.play();
} else {
_root.shop.shopmenu.nobuy.play();
}
}
}
Symbol 623 Button
on (release) {
if (_root.ether < 100) {
if ((_root.gold == 5) || (_root.gold > 5)) {
_root.ether = _root.ether + 1;
_root.gold = _root.gold - 5;
_root.shop.shopmenu.buy.play();
} else {
_root.shop.shopmenu.nobuy.play();
}
}
}
Symbol 633 Button
on (release) {
if ((_root.gold == 20) || (_root.gold > 20)) {
_root.woodenshirtgot = true;
_root.gold = _root.gold - 20;
_root.shop.shopmenu.buy.gotoAndPlay(2);
} else {
_root.shop.shopmenu.nobuy.play();
}
}
Symbol 635 MovieClip Frame 1
stop();
Symbol 635 MovieClip Frame 2
stop();
Symbol 640 Button
on (release) {
if ((_root.gold == 15) || (_root.gold > 15)) {
_root.spikeyshoesgot = true;
_root.gold = _root.gold - 15;
_root.shop.shopmenu.buy.play();
} else {
_root.shop.shopmenu.nobuy.play();
}
}
Symbol 642 MovieClip Frame 1
stop();
Symbol 642 MovieClip Frame 2
stop();
Symbol 647 Button
on (release) {
if ((_root.gold == 25) || (_root.gold > 25)) {
_root.ironedshirtgot = true;
_root.gold = _root.gold - 25;
_root.shop.shopmenu.buy.play();
} else {
_root.shop.shopmenu.nobuy.play();
}
}
Symbol 649 MovieClip Frame 1
stop();
Symbol 649 MovieClip Frame 2
stop();
Symbol 654 Button
on (release) {
if ((_root.gold == 20) || (_root.gold > 20)) {
_root.heavyshoesgot = true;
_root.gold = _root.gold - 20;
_root.shop.shopmenu.buy.play();
} else {
_root.shop.shopmenu.nobuy.play();
}
}
Symbol 656 MovieClip Frame 1
stop();
Symbol 656 MovieClip Frame 2
stop();
Symbol 661 Button
on (release) {
if ((_root.gold == 25) || (_root.gold > 25)) {
_root.magicshirtgot = true;
_root.gold = _root.gold - 25;
_root.shop.shopmenu.buy.play();
} else {
_root.shop.shopmenu.nobuy.play();
}
}
Symbol 663 MovieClip Frame 1
stop();
Symbol 663 MovieClip Frame 2
stop();
Symbol 668 Button
on (release) {
if ((_root.gold == 20) || (_root.gold > 20)) {
_root.magicshoesgot = true;
_root.gold = _root.gold - 20;
_root.shop.shopmenu.buy.play();
} else {
_root.shop.shopmenu.nobuy.play();
}
}
Symbol 670 MovieClip Frame 1
stop();
Symbol 670 MovieClip Frame 2
stop();
Symbol 675 Button
on (release) {
if ((_root.gold == 20) || (_root.gold > 20)) {
_root.slickshirtgot = true;
_root.gold = _root.gold - 20;
_root.shop.shopmenu.buy.play();
} else {
_root.shop.shopmenu.nobuy.play();
}
}
Symbol 677 MovieClip Frame 1
stop();
Symbol 677 MovieClip Frame 2
stop();
Symbol 682 Button
on (release) {
if ((_root.gold == 15) || (_root.gold > 15)) {
_root.shinyshoesgot = true;
_root.gold = _root.gold - 15;
_root.shop.shopmenu.buy.play();
} else {
_root.shop.shopmenu.nobuy.play();
}
}
Symbol 684 MovieClip Frame 1
stop();
Symbol 684 MovieClip Frame 2
stop();
Symbol 689 Button
on (release) {
if (_root.hipotion < 100) {
if ((_root.gold == 20) || (_root.gold > 20)) {
_root.hipotion = _root.hipotion + 1;
_root.gold = _root.gold - 20;
_root.shop.shopmenu.buy.play();
} else {
_root.shop.shopmenu.nobuy.play();
}
}
}
Symbol 694 Button
on (release) {
if (_root.hiether < 100) {
if ((_root.gold == 10) || (_root.gold > 10)) {
_root.hiether = _root.hiether + 1;
_root.gold = _root.gold - 10;
_root.shop.shopmenu.buy.play();
} else {
_root.shop.shopmenu.nobuy.play();
}
}
}
Symbol 701 Button
on (release) {
if ((_root.gold == 40) || (_root.gold > 40)) {
_root.armorshirtgot = true;
_root.gold = _root.gold - 40;
_root.shop.shopmenu.buy.play();
} else {
_root.shop.shopmenu.nobuy.play();
}
}
Symbol 703 MovieClip Frame 1
stop();
Symbol 703 MovieClip Frame 2
stop();
Symbol 708 Button
on (release) {
if ((_root.gold == 30) || (_root.gold > 30)) {
_root.shieldshoesgot = true;
_root.gold = _root.gold - 30;
_root.shop.shopmenu.buy.play();
} else {
_root.shop.shopmenu.nobuy.play();
}
}
Symbol 710 MovieClip Frame 1
stop();
Symbol 710 MovieClip Frame 2
stop();
Symbol 717 Button
on (release) {
if ((_root.gold == 45) || (_root.gold > 45)) {
_root.pricklyshirtgot = true;
_root.gold = _root.gold - 45;
_root.shop.shopmenu.buy.play();
} else {
_root.shop.shopmenu.nobuy.play();
}
}
Symbol 719 MovieClip Frame 1
stop();
Symbol 719 MovieClip Frame 2
stop();
Symbol 724 Button
on (release) {
if ((_root.gold == 35) || (_root.gold > 35)) {
_root.fuzzyshoesgot = true;
_root.gold = _root.gold - 35;
_root.shop.shopmenu.buy.play();
} else {
_root.shop.shopmenu.nobuy.play();
}
}
Symbol 726 MovieClip Frame 1
stop();
Symbol 726 MovieClip Frame 2
stop();
Symbol 731 Button
on (release) {
if (_root.xpotion < 100) {
if ((_root.gold == 40) || (_root.gold > 40)) {
_root.xpotion = _root.xpotion + 1;
_root.gold = _root.gold - 40;
_root.shop.shopmenu.buy.play();
} else {
_root.shop.shopmenu.nobuy.play();
}
}
}
Symbol 736 Button
on (release) {
if (_root.xether < 100) {
if ((_root.gold == 100) || (_root.gold > 100)) {
_root.xether = _root.xether + 1;
_root.gold = _root.gold - 100;
_root.shop.shopmenu.buy.play();
} else {
_root.shop.shopmenu.nobuy.play();
}
}
}
Symbol 742 Button
on (release) {
if ((_root.gold == 200) || (_root.gold > 200)) {
_root.megashirtgot = true;
_root.gold = _root.gold - 200;
_root.shop.shopmenu.buy.play();
} else {
_root.shop.shopmenu.nobuy.play();
}
}
Symbol 744 MovieClip Frame 1
stop();
Symbol 744 MovieClip Frame 2
stop();
Symbol 749 Button
on (release) {
if ((_root.gold == 200) || (_root.gold > 200)) {
_root.megashoesgot = true;
_root.gold = _root.gold - 200;
_root.shop.shopmenu.buy.play();
} else {
_root.shop.shopmenu.nobuy.play();
}
}
Symbol 751 MovieClip Frame 1
stop();
Symbol 751 MovieClip Frame 2
stop();
Symbol 752 MovieClip Frame 1
if (_root.shopchooser == 1) {
gotoAndStop (2);
}
if (_root.shopchooser == 2) {
gotoAndStop (3);
}
if (_root.shopchooser == 3) {
gotoAndStop (4);
}
if (_root.shopchooser == 4) {
gotoAndStop (5);
}
if (_root.shopchooser == 5) {
gotoAndStop (6);
}
Symbol 752 MovieClip Frame 2
stop();
Instance of Symbol 635 MovieClip "woodenshirtmc" in Symbol 752 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.woodenshirtgot == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 642 MovieClip "spikeyshoesmc" in Symbol 752 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.spikeyshoesgot == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 649 MovieClip "ironedshirtmc" in Symbol 752 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.ironedshirtgot == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 656 MovieClip "heavyshoesmc" in Symbol 752 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.heavyshoesgot == true) {
this.gotoAndStop(2);
}
}
Symbol 752 MovieClip Frame 3
stop();
Instance of Symbol 663 MovieClip "magicshirtmc" in Symbol 752 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.magicshirtgot == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 670 MovieClip "magicshoesmc" in Symbol 752 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.magicshoesgot == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 677 MovieClip "slickshirtmc" in Symbol 752 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.slickshirtgot == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 684 MovieClip "shinyshoesmc" in Symbol 752 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.shinyshoesgot == true) {
this.gotoAndStop(2);
}
}
Symbol 752 MovieClip Frame 4
stop();
Instance of Symbol 703 MovieClip "armorshirtmc" in Symbol 752 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.armorshirtgot == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 710 MovieClip "shieldshoesmc" in Symbol 752 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.shieldshoesgot == true) {
this.gotoAndStop(2);
}
}
Symbol 752 MovieClip Frame 5
stop();
Instance of Symbol 719 MovieClip "pricklyshirtmc" in Symbol 752 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.pricklyshirtgot == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 726 MovieClip "fuzzyshoesmc" in Symbol 752 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.fuzzyshoesgot == true) {
this.gotoAndStop(2);
}
}
Symbol 752 MovieClip Frame 6
stop();
Instance of Symbol 744 MovieClip "megashirtmc" in Symbol 752 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.megashirtgot == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 751 MovieClip "megashoesmc" in Symbol 752 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.megashoesgot == true) {
this.gotoAndStop(2);
}
}
Symbol 753 MovieClip Frame 1
stop();
Symbol 753 MovieClip Frame 2
_root.menu = true;
_root.camera.xscale = 100;
_root.camera.yscale = 100;
Symbol 753 MovieClip Frame 3
stop();
Symbol 753 MovieClip Frame 30
stop();
Symbol 853 MovieClip Frame 1
operate = true;
Symbol 853 MovieClip Frame 2
stop();
Instance of Symbol 846 MovieClip in Symbol 853 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.shopchooser = 1;
_root.menu = true;
nextFrame();
operate = false;
_root.showshop = true;
_global.battlecounter = 0;
}
}
Symbol 853 MovieClip Frame 3
stop();
_root.showshop = false;
Instance of Symbol 848 MovieClip in Symbol 853 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Instance of Symbol 850 MovieClip in Symbol 853 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Instance of Symbol 852 MovieClip in Symbol 853 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Instance of Symbol 852 MovieClip in Symbol 853 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Instance of Symbol 852 MovieClip in Symbol 853 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Symbol 854 MovieClip Frame 1
operate = true;
Symbol 854 MovieClip Frame 2
stop();
Instance of Symbol 846 MovieClip in Symbol 854 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.shopchooser = 2;
_root.menu = true;
nextFrame();
operate = false;
_root.showshop = true;
_global.battlecounter = 0;
}
}
Symbol 854 MovieClip Frame 3
stop();
_root.showshop = false;
Instance of Symbol 848 MovieClip in Symbol 854 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Instance of Symbol 850 MovieClip in Symbol 854 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Instance of Symbol 852 MovieClip in Symbol 854 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Instance of Symbol 852 MovieClip in Symbol 854 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Instance of Symbol 852 MovieClip in Symbol 854 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Symbol 855 MovieClip Frame 1
operate = true;
Symbol 855 MovieClip Frame 2
stop();
Instance of Symbol 846 MovieClip in Symbol 855 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.shopchooser = 3;
_root.menu = true;
nextFrame();
operate = false;
_root.showshop = true;
_global.battlecounter = 0;
}
}
Symbol 855 MovieClip Frame 3
stop();
_root.showshop = false;
Instance of Symbol 848 MovieClip in Symbol 855 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Instance of Symbol 850 MovieClip in Symbol 855 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Instance of Symbol 852 MovieClip in Symbol 855 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Instance of Symbol 852 MovieClip in Symbol 855 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Instance of Symbol 852 MovieClip in Symbol 855 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Symbol 856 MovieClip Frame 1
operate = true;
Symbol 856 MovieClip Frame 2
stop();
Instance of Symbol 846 MovieClip in Symbol 856 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.shopchooser = 4;
_root.menu = true;
nextFrame();
operate = false;
_root.showshop = true;
_global.battlecounter = 0;
}
}
Symbol 856 MovieClip Frame 3
stop();
_root.showshop = false;
Instance of Symbol 848 MovieClip in Symbol 856 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Instance of Symbol 850 MovieClip in Symbol 856 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Instance of Symbol 852 MovieClip in Symbol 856 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Instance of Symbol 852 MovieClip in Symbol 856 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Instance of Symbol 852 MovieClip in Symbol 856 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Symbol 857 MovieClip Frame 1
operate = true;
Symbol 857 MovieClip Frame 2
stop();
Instance of Symbol 846 MovieClip in Symbol 857 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.shopchooser = 5;
_root.menu = true;
nextFrame();
operate = false;
_root.showshop = true;
_global.battlecounter = 0;
}
}
Symbol 857 MovieClip Frame 3
stop();
_root.showshop = false;
Instance of Symbol 848 MovieClip in Symbol 857 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Instance of Symbol 850 MovieClip in Symbol 857 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Instance of Symbol 852 MovieClip in Symbol 857 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Instance of Symbol 852 MovieClip in Symbol 857 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Instance of Symbol 852 MovieClip in Symbol 857 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Symbol 878 MovieClip Frame 7
_global.battlecounter = _global.battlecounter + 1;
Symbol 878 MovieClip Frame 15
_global.battlecounter = _global.battlecounter + 1;
Symbol 895 MovieClip Frame 5
_global.battlecounter = _global.battlecounter + 1;
Symbol 895 MovieClip Frame 12
_global.battlecounter = _global.battlecounter + 1;
Symbol 912 MovieClip Frame 8
_global.battlecounter = _global.battlecounter + 1;
Symbol 912 MovieClip Frame 14
_global.battlecounter = _global.battlecounter + 1;
Symbol 940 MovieClip Frame 1
_root.menu = true;
Symbol 940 MovieClip Frame 40
_root.guy.gotoAndStop(1);
_root.menu = false;
Symbol 948 MovieClip Frame 6
_global.battlecounter = _global.battlecounter + 1;
Symbol 955 MovieClip Frame 6
_global.battlecounter = _global.battlecounter + 1;
Symbol 956 MovieClip Frame 1
stop();
_root.menu = false;
Instance of Symbol 878 MovieClip in Symbol 956 MovieClip Frame 2
/* no clip actions */
Symbol 956 MovieClip Frame 4
gotoAndStop (1);
Symbol 956 MovieClip Frame 5
stop();
Symbol 956 MovieClip Frame 8
gotoAndStop (5);
Instance of Symbol 895 MovieClip in Symbol 956 MovieClip Frame 8
/* no clip actions */
Symbol 956 MovieClip Frame 9
stop();
Symbol 956 MovieClip Frame 12
gotoAndStop (9);
Symbol 956 MovieClip Frame 13
stop();
Symbol 956 MovieClip Frame 16
gotoAndStop (13);
Symbol 956 MovieClip Frame 17
stop();
Symbol 956 MovieClip Frame 21
stop();
_root.menu = false;
Symbol 956 MovieClip Frame 24
gotoAndStop (1);
Symbol 956 MovieClip Frame 25
stop();
Symbol 956 MovieClip Frame 28
gotoAndStop (5);
Symbol 956 MovieClip Frame 29
stop();
Symbol 956 MovieClip Frame 32
gotoAndStop (9);
Symbol 956 MovieClip Frame 33
stop();
Symbol 956 MovieClip Frame 36
gotoAndStop (13);
Symbol 960 Button
on (release) {
gotoAndPlay (1);
_root.menu = false;
_root.shopspace1.gotoAndStop(3);
_root.shopspace2.gotoAndStop(3);
_root.shopspace3.gotoAndStop(3);
_root.shopspace4.gotoAndStop(3);
_root.shopspace5.gotoAndStop(3);
_root.showshop = false;
}
Symbol 977 Button
on (release) {
gotoAndPlay (1);
_root.menu = false;
_root.shopspace1.gotoAndStop(3);
_root.shopspace2.gotoAndStop(3);
_root.shopspace3.gotoAndStop(3);
_root.shopspace4.gotoAndStop(3);
_root.shopspace5.gotoAndStop(3);
_root.showshop = false;
}
Symbol 978 MovieClip Frame 1
if (_root.showshop == true) {
gotoAndStop (3);
}
Symbol 978 MovieClip Frame 2
gotoAndPlay (1);
Symbol 978 MovieClip Frame 3
stop();
Symbol 978 MovieClip Frame 30
stop();
Symbol 987 Button
on (release) {
_root.goldstats.gotoAndStop(1);
}
Symbol 989 MovieClip Frame 2
shopgold = 30;
stop();
Symbol 990 MovieClip Frame 1
stop();
Symbol 990 MovieClip Frame 2
stop();
Symbol 992 MovieClip Frame 1
onEnterFrame = function () {
Mcamera = new Color(this);
parent = new Color(_parent);
parent.setTransform(Mcamera.getTransform());
this._visible = false;
_parent._x = ((-(this._x - (this._width / 2))) * Stage.width) / this._width;
_parent._y = ((-(this._y - (this._height / 2))) * Stage.height) / this._height;
_parent._xscale = (Stage.width / this._width) * 100;
_parent._yscale = (Stage.height / this._height) * 100;
};
onUnload = function () {
myColorTransform = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
parent.setTransform(myColorTransform);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
};
stop();
Symbol 994 MovieClip Frame 21
stop();
Symbol 997 MovieClip Frame 1
stop();
Symbol 997 MovieClip Frame 2
stop();
Symbol 1002 MovieClip Frame 1
stop();
Symbol 1002 MovieClip Frame 2
stop();
Instance of Symbol 996 MovieClip in Symbol 1002 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.mapwizard.mapwizardtouch.gotoAndStop(1);
}
}
Instance of Symbol 996 MovieClip in Symbol 1002 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.mapwizard.mapwizardtouch.gotoAndStop(1);
}
}
Instance of Symbol 996 MovieClip in Symbol 1002 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.mapwizard.mapwizardtouch.gotoAndStop(1);
}
}
Instance of Symbol 996 MovieClip in Symbol 1002 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.mapwizard.mapwizardtouch.gotoAndStop(1);
}
}
Instance of Symbol 997 MovieClip "mapwizardtouch" in Symbol 1002 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.menu = true;
_root.wiztalk = true;
}
}
Instance of Symbol 1001 MovieClip in Symbol 1002 MovieClip Frame 2
/* no clip actions */
Symbol 1004 MovieClip Frame 2
if (_root.stones == 50) {
_root.mapwizard.gotoAndStop(2);
}
Symbol 1006 MovieClip Frame 2
if (_root.stones > 50) {
_root.stones = 50;
}
Symbol 1013 Button
on (release) {
play();
}
Symbol 1018 Button
on (release) {
gotoAndPlay (1);
_root.menu = false;
_root.wiztalk = false;
_root.mapwizard.mapwizardtouch.gotoAndStop(2);
_root.mapmusic.play();
}
Symbol 1024 MovieClip Frame 1
if (_root.wiztalk == true) {
gotoAndStop (3);
_root.wiztalk = false;
}
Symbol 1024 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1024 MovieClip Frame 3
stop();
_root.mapmusic.gotoAndStop(1);
Symbol 1024 MovieClip Frame 420
gotoAndPlay (1);
_root.mapmusic.play();
_root.gotoAndStop("wizardbattle");
_root.menu = false;
_root.wiztalk = false;
_root.mapwizard.mapwizardtouch.gotoAndStop(2);
Symbol 1025 MovieClip Frame 1
menumagicattack = _root.magicattack;
menuattack = _root.attack;
Symbol 1033 Button
on (release) {
_root.menuscreen.stonetracker.gotoAndStop(2);
}
Symbol 1038 Button
on (release) {
gotoAndStop (1);
}
Symbol 1053 MovieClip Frame 2
if (_root.foreststones > 10) {
_root.foreststones = 10;
}
if (_root.desertstones > 3) {
_root.desertstones = 3;
}
if (_root.cliffsstones > 8) {
_root.cliffsstones = 8;
}
if (_root.oasisstones > 4) {
_root.oasisstones = 4;
}
if (_root.flowerstones > 4) {
_root.flowerstones = 4;
}
if (_root.junglestones > 5) {
_root.junglestones = 5;
}
if (_root.rockystones > 3) {
_root.rockystones = 3;
}
if (_root.cabinstones > 4) {
_root.cabinstones = 4;
}
if (_root.swampstones > 4) {
_root.swampstones = 4;
}
if (_root.winterlandstones > 5) {
_root.winterlandstones = 5;
}
Symbol 1054 MovieClip Frame 1
stop();
Symbol 1054 MovieClip Frame 2
stop();
Symbol 1059 Button
on (release) {
gotoAndStop (2);
}
Symbol 1064 Button
on (release) {
gotoAndStop (1);
}
Symbol 1065 MovieClip Frame 1
stop();
_root.mapmusic.play();
Symbol 1065 MovieClip Frame 2
stop();
_root.mapmusic.gotoAndStop(1);
Symbol 1086 Button
on (release) {
_root.menuscreen.gotoAndStop("equipment");
}
Symbol 1089 Button
on (release) {
_root.menuscreen.gotoAndStop("magic");
}
Symbol 1092 Button
on (release) {
_root.menuscreen.gotoAndStop("items");
}
Symbol 1095 Button
on (release) {
_root.menuscreen.gotoAndStop("save");
}
Symbol 1098 Button
on (release) {
_root.menuscreen.gotoAndStop("quit");
}
Symbol 1101 Button
on (release) {
_root.menuscreen.gotoAndStop(1);
}
Symbol 1104 MovieClip Frame 1
hp = (_root.hp + "/") + _root.hptotal;
Symbol 1106 MovieClip Frame 1
mp = (_root.mp + "/") + _root.mptotal;
Symbol 1108 MovieClip Frame 1
level = _root.level;
Symbol 1111 MovieClip Frame 1
stones = _root.stones;
Symbol 1113 MovieClip Frame 1
exp = _root.exp;
Symbol 1115 MovieClip Frame 1
menuattack = _root.attack;
Symbol 1117 MovieClip Frame 1
menumagicattack = _root.magicattack;
Symbol 1124 Button
on (release) {
_quality = "LOW";
}
Symbol 1128 Button
on (release) {
_quality = "HIGH";
}
Symbol 1133 Button
on (release) {
_quality = "MEDIUM";
}
Symbol 1139 MovieClip Frame 1
gold = _root.gold;
Symbol 1139 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1147 Button
on (release) {
_root.gotoAndPlay(1);
}
Symbol 1153 Button
on (release) {
_root.menuscreen.gotoAndStop("main");
}
Symbol 1161 Button
on (release) {
_root.menuscreen.gotoAndStop("main");
}
Symbol 1178 MovieClip Frame 1
stop();
Symbol 1194 Button
on (release) {
if (_root.hp == _root.hptotal) {
} else if ((_root.mp == 4) || (_root.mp > 4)) {
_root.mp = _root.mp - 4;
_root.hp = _root.hp + 10;
_root.menuscreen.magicmenu.cureinmenu.play();
if (_root.hp > _root.hptotal) {
_root.hp = _root.hptotal;
}
if (_root.mp < 0) {
_root.mp = 0;
}
}
}
Symbol 1214 Button
on (release) {
if (_root.hp == _root.hptotal) {
} else if ((_root.mp == 8) || (_root.mp > 8)) {
_root.mp = _root.mp - 8;
_root.hp = _root.hp + 30;
_root.menuscreen.magicmenu.cureinmenu.play();
if (_root.hp > _root.hptotal) {
_root.hp = _root.hptotal;
}
if (_root.mp < 0) {
_root.mp = 0;
}
}
}
Symbol 1234 Button
on (release) {
if (_root.hp == _root.hptotal) {
} else if ((_root.mp == 12) || (_root.mp > 12)) {
_root.mp = _root.mp - 12;
_root.hp = _root.hptotal;
_root.menuscreen.magicmenu.cureinmenu.play();
if (_root.hp > _root.hptotal) {
_root.hp = _root.hptotal;
}
if (_root.mp < 0) {
_root.mp = 0;
}
}
}
Symbol 1235 MovieClip Frame 1
stop();
Symbol 1235 MovieClip Frame 2
stop();
Symbol 1235 MovieClip Frame 3
stop();
Symbol 1235 MovieClip Frame 4
stop();
Symbol 1235 MovieClip Frame 5
stop();
Symbol 1235 MovieClip Frame 6
stop();
Symbol 1235 MovieClip Frame 7
stop();
Symbol 1235 MovieClip Frame 8
stop();
Symbol 1235 MovieClip Frame 9
stop();
Symbol 1235 MovieClip Frame 10
stop();
Symbol 1235 MovieClip Frame 11
stop();
Symbol 1235 MovieClip Frame 12
stop();
Symbol 1235 MovieClip Frame 13
stop();
Symbol 1251 MovieClip Frame 1
stop();
Symbol 1251 MovieClip Frame 2
stop();
Symbol 1251 MovieClip Frame 3
stop();
Symbol 1251 MovieClip Frame 4
stop();
Symbol 1251 MovieClip Frame 5
stop();
Symbol 1251 MovieClip Frame 6
stop();
Symbol 1251 MovieClip Frame 7
stop();
Symbol 1251 MovieClip Frame 8
stop();
Symbol 1261 MovieClip Frame 1
stop();
Symbol 1261 MovieClip Frame 2
stop();
Symbol 1261 MovieClip Frame 3
stop();
Symbol 1261 MovieClip Frame 4
stop();
Symbol 1261 MovieClip Frame 5
stop();
Symbol 1261 MovieClip Frame 6
stop();
Symbol 1261 MovieClip Frame 7
stop();
Symbol 1261 MovieClip Frame 8
stop();
Symbol 1265 Button
on (release) {
if (_root.normalshirt == false) {
if (_root.woodenshirt == true) {
if ((_root.hp == 10) || (_root.hp < 10)) {
} else {
_root.woodenshirt = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
_root.menuscreen.bluebox.gotoAndStop("normal");
_root.normalshirt = true;
}
}
if (_root.ironedshirt == true) {
if ((_root.hp == 20) || (_root.hp < 20)) {
} else {
_root.ironedshirt = false;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
_root.menuscreen.bluebox.gotoAndStop("normal");
_root.normalshirt = true;
}
}
if (_root.magicshirt == true) {
if (_root.mp < 20) {
} else {
_root.magicshirt = false;
_root.hp = _root.hp + 5;
_root.hptotal = _root.hptotal + 5;
_root.mp = _root.mp - 20;
_root.mptotal = _root.mptotal - 20;
_root.menuscreen.bluebox.gotoAndStop("normal");
_root.normalshirt = true;
}
}
if (_root.slickshirt == true) {
if (_root.mp < 10) {
} else {
_root.slickshirt = false;
_root.mp = _root.mp - 10;
_root.mptotal = _root.mptotal - 10;
_root.menuscreen.bluebox.gotoAndStop("normal");
_root.normalshirt = true;
}
}
if (_root.armorshirt == true) {
if ((_root.hp == 30) || (_root.hp < 30)) {
} else {
_root.armorshirt = false;
_root.hp = _root.hp - 30;
_root.hptotal = _root.hptotal - 30;
_root.menuscreen.bluebox.gotoAndStop("normal");
_root.normalshirt = true;
}
}
if (_root.pricklyshirt == true) {
if ((_root.hp == 10) || (_root.hp < 10)) {
} else {
_root.pricklyshirt = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
_root.attack = _root.attack - 4;
_root.menuscreen.bluebox.gotoAndStop("normal");
_root.normalshirt = true;
}
}
if (_root.megashirt == true) {
if (((_root.hp == 20) || (_root.hp < 20)) || (_root.mp < 20)) {
} else {
_root.megashirt = false;
_root.attack = _root.attack - 5;
_root.magicattack = _root.magicattack - 5;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp - 20;
_root.mptotal = _root.mptotal - 20;
_root.menuscreen.bluebox.gotoAndStop("normal");
_root.normalshirt = true;
}
}
}
}
Symbol 1266 Button
on (release) {
if (_root.normalshoes == false) {
if (_root.spikeyshoes == true) {
_root.spikeyshoes = false;
_root.attack = _root.attack - 2;
_root.menuscreen.redbox.gotoAndStop("normal");
_root.normalshoes = true;
}
if (_root.heavyshoes == true) {
_root.heavyshoes = false;
_root.magicattack = _root.magicattack + 2;
_root.attack = _root.attack - 4;
_root.menuscreen.redbox.gotoAndStop("normal");
_root.normalshoes = true;
}
if (_root.magicshoes == true) {
_root.magicshoes = false;
_root.attack = _root.attack + 2;
_root.magicattack = _root.magicattack - 4;
_root.menuscreen.redbox.gotoAndStop("normal");
_root.normalshoes = true;
}
if (_root.shinyshoes == true) {
_root.shinyshoes = false;
_root.magicattack = _root.magicattack - 2;
_root.menuscreen.redbox.gotoAndStop("normal");
_root.normalshoes = true;
}
if (_root.shieldshoes == true) {
if (((_root.hp < 10) || (_root.hp == 10)) || (_root.mp < 5)) {
} else {
_root.shieldshoes = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
_root.menuscreen.redbox.gotoAndStop("normal");
_root.normalshoes = true;
}
}
if (_root.fuzzyshoes == true) {
_root.fuzzyshoes = false;
_root.hp = _root.hp + 5;
_root.hptotal = _root.hptotal + 5;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
_root.attack = _root.attack - 3;
_root.magicattack = _root.magicattack - 3;
_root.menuscreen.redbox.gotoAndStop("normal");
_root.normalshoes = true;
}
if (_root.megashoes == true) {
if (((_root.hp < 20) || (_root.hp == 20)) || (_root.mp < 10)) {
} else {
_root.megashoes = false;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp - 10;
_root.mptotal = _root.mptotal - 10;
_root.attack = _root.attack - 4;
_root.magicattack = _root.magicattack - 4;
_root.menuscreen.redbox.gotoAndStop("normal");
_root.normalshoes = true;
}
}
}
}
Symbol 1270 Button
on (release) {
if (_root.armorshirt == false) {
if (_root.normalshirt == true) {
_root.normalshirt = false;
_root.menuscreen.bluebox.gotoAndStop("armor");
_root.armorshirt = true;
_root.hp = _root.hp + 30;
_root.hptotal = _root.hptotal + 30;
}
if (_root.woodenshirt == true) {
if ((_root.hp == 10) || (_root.hp < 10)) {
} else {
_root.woodenshirt = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
_root.menuscreen.bluebox.gotoAndStop("armor");
_root.armorshirt = true;
_root.hp = _root.hp + 30;
_root.hptotal = _root.hptotal + 30;
}
}
if (_root.ironedshirt == true) {
if ((_root.hp == 20) || (_root.hp < 20)) {
} else {
_root.ironedshirt = false;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
_root.menuscreen.bluebox.gotoAndStop("armor");
_root.armorshirt = true;
_root.hp = _root.hp + 30;
_root.hptotal = _root.hptotal + 30;
}
}
if (_root.magicshirt == true) {
if (_root.mp < 20) {
} else {
_root.magicshirt = false;
_root.hp = _root.hp + 5;
_root.hptotal = _root.hptotal + 5;
_root.mp = _root.mp - 20;
_root.mptotal = _root.mptotal - 20;
_root.menuscreen.bluebox.gotoAndStop("armor");
_root.armorshirt = true;
_root.hp = _root.hp + 30;
_root.hptotal = _root.hptotal + 30;
}
}
if (_root.slickshirt == true) {
if (_root.mp < 10) {
} else {
_root.slickshirt = false;
_root.mp = _root.mp - 10;
_root.mptotal = _root.mptotal - 10;
_root.menuscreen.bluebox.gotoAndStop("armor");
_root.armorshirt = true;
_root.hp = _root.hp + 30;
_root.hptotal = _root.hptotal + 30;
}
}
if (_root.pricklyshirt == true) {
if ((_root.hp == 10) || (_root.hp < 10)) {
} else {
_root.pricklyshirt = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
_root.attack = _root.attack - 4;
_root.menuscreen.bluebox.gotoAndStop("armor");
_root.armorshirt = true;
_root.hp = _root.hp + 30;
_root.hptotal = _root.hptotal + 30;
}
}
if (_root.megashirt == true) {
if (((_root.hp == 20) || (_root.hp < 20)) || (_root.mp < 20)) {
} else {
_root.megashirt = false;
_root.attack = _root.attack - 5;
_root.magicattack = _root.magicattack - 5;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp - 20;
_root.mptotal = _root.mptotal - 20;
_root.menuscreen.bluebox.gotoAndStop("armor");
_root.armorshirt = true;
_root.hp = _root.hp + 30;
_root.hptotal = _root.hptotal + 30;
}
}
}
}
Symbol 1271 MovieClip Frame 1
stop();
Symbol 1271 MovieClip Frame 2
stop();
Symbol 1275 Button
on (release) {
if (_root.woodenshirt == false) {
if (_root.normalshirt == true) {
_root.normalshirt = false;
_root.menuscreen.bluebox.gotoAndStop("wooden");
_root.woodenshirt = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
}
if (_root.ironedshirt == true) {
if ((_root.hp == 20) || (_root.hp < 20)) {
} else {
_root.ironedshirt = false;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
_root.menuscreen.bluebox.gotoAndStop("wooden");
_root.woodenshirt = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
}
}
if (_root.magicshirt == true) {
if (_root.mp < 20) {
} else {
_root.magicshirt = false;
_root.hp = _root.hp + 5;
_root.hptotal = _root.hptotal + 5;
_root.mp = _root.mp - 20;
_root.mptotal = _root.mptotal - 20;
_root.menuscreen.bluebox.gotoAndStop("wooden");
_root.woodenshirt = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
}
}
if (_root.slickshirt == true) {
if (_root.mp < 10) {
} else {
_root.slickshirt = false;
_root.mp = _root.mp - 10;
_root.mptotal = _root.mptotal - 10;
_root.menuscreen.bluebox.gotoAndStop("wooden");
_root.woodenshirt = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
}
}
if (_root.armorshirt == true) {
if ((_root.hp == 30) || (_root.hp < 30)) {
} else {
_root.armorshirt = false;
_root.hp = _root.hp - 30;
_root.hptotal = _root.hptotal - 30;
_root.menuscreen.bluebox.gotoAndStop("wooden");
_root.woodenshirt = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
}
}
if (_root.pricklyshirt == true) {
if ((_root.hp == 10) || (_root.hp < 10)) {
} else {
_root.pricklyshirt = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
_root.attack = _root.attack - 4;
_root.menuscreen.bluebox.gotoAndStop("wooden");
_root.woodenshirt = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
}
}
if (_root.megashirt == true) {
if (((_root.hp == 20) || (_root.hp < 20)) || (_root.mp < 20)) {
} else {
_root.megashirt = false;
_root.attack = _root.attack - 5;
_root.magicattack = _root.magicattack - 5;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp - 20;
_root.mptotal = _root.mptotal - 20;
_root.menuscreen.bluebox.gotoAndStop("wooden");
_root.woodenshirt = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
}
}
}
}
Symbol 1276 MovieClip Frame 1
stop();
Symbol 1276 MovieClip Frame 2
stop();
Symbol 1280 Button
on (release) {
if (_root.hp > 5) {
if (_root.magicshirt == false) {
if (_root.normalshirt == true) {
_root.normalshirt = false;
_root.menuscreen.bluebox.gotoAndStop("magic");
_root.magicshirt = true;
_root.hp = _root.hp - 5;
_root.hptotal = _root.hptotal - 5;
_root.mp = _root.mp + 20;
_root.mptotal = _root.mptotal + 20;
}
if (_root.woodenshirt == true) {
if ((_root.hp == 10) || (_root.hp < 10)) {
} else {
_root.woodenshirt = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
_root.menuscreen.bluebox.gotoAndStop("magic");
_root.magicshirt = true;
_root.hp = _root.hp - 5;
_root.hptotal = _root.hptotal - 5;
_root.mp = _root.mp + 20;
_root.mptotal = _root.mptotal + 20;
}
}
if (_root.ironedshirt == true) {
if ((_root.hp == 20) || (_root.hp < 20)) {
} else {
_root.ironedshirt = false;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
_root.menuscreen.bluebox.gotoAndStop("magic");
_root.magicshirt = true;
_root.hp = _root.hp - 5;
_root.hptotal = _root.hptotal - 5;
_root.mp = _root.mp + 20;
_root.mptotal = _root.mptotal + 20;
}
}
if (_root.slickshirt == true) {
if (_root.mp < 10) {
} else {
_root.slickshirt = false;
_root.mp = _root.mp - 10;
_root.mptotal = _root.mptotal - 10;
_root.menuscreen.bluebox.gotoAndStop("magic");
_root.magicshirt = true;
_root.hp = _root.hp - 5;
_root.hptotal = _root.hptotal - 5;
_root.mp = _root.mp + 20;
_root.mptotal = _root.mptotal + 20;
}
}
if (_root.armorshirt == true) {
if ((_root.hp == 35) || (_root.hp < 35)) {
} else {
_root.armorshirt = false;
_root.hp = _root.hp - 30;
_root.hptotal = _root.hptotal - 30;
_root.menuscreen.bluebox.gotoAndStop("magic");
_root.magicshirt = true;
_root.hp = _root.hp - 5;
_root.hptotal = _root.hptotal - 5;
_root.mp = _root.mp + 20;
_root.mptotal = _root.mptotal + 20;
}
}
if (_root.pricklyshirt == true) {
if ((_root.hp == 10) || (_root.hp < 10)) {
} else {
_root.pricklyshirt = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
_root.attack = _root.attack - 4;
_root.menuscreen.bluebox.gotoAndStop("magic");
_root.magicshirt = true;
_root.hp = _root.hp - 5;
_root.hptotal = _root.hptotal - 5;
_root.mp = _root.mp + 20;
_root.mptotal = _root.mptotal + 20;
}
}
if (_root.megashirt == true) {
if (((_root.hp == 20) || (_root.hp < 20)) || (_root.mp < 20)) {
} else {
_root.megashirt = false;
_root.attack = _root.attack - 5;
_root.magicattack = _root.magicattack - 5;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp - 20;
_root.mptotal = _root.mptotal - 20;
_root.menuscreen.bluebox.gotoAndStop("magic");
_root.magicshirt = true;
_root.hp = _root.hp - 5;
_root.hptotal = _root.hptotal - 5;
_root.mp = _root.mp + 20;
_root.mptotal = _root.mptotal + 20;
}
}
}
}
}
Symbol 1281 MovieClip Frame 1
stop();
Symbol 1281 MovieClip Frame 2
stop();
Symbol 1285 Button
on (release) {
if (_root.pricklyshirt == false) {
if (_root.normalshirt == true) {
_root.normalshirt = false;
_root.menuscreen.bluebox.gotoAndStop("prickly");
_root.pricklyshirt = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
_root.attack = _root.attack + 4;
}
if (_root.woodenshirt == true) {
if ((_root.hp == 10) || (_root.hp < 10)) {
} else {
_root.woodenshirt = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
_root.menuscreen.bluebox.gotoAndStop("prickly");
_root.pricklyshirt = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
_root.attack = _root.attack + 4;
}
}
if (_root.ironedshirt == true) {
if ((_root.hp == 20) || (_root.hp < 20)) {
} else {
_root.ironedshirt = false;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
_root.menuscreen.bluebox.gotoAndStop("prickly");
_root.pricklyshirt = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
_root.attack = _root.attack + 4;
}
}
if (_root.magicshirt == true) {
if (_root.mp < 20) {
} else {
_root.magicshirt = false;
_root.hp = _root.hp + 5;
_root.hptotal = _root.hptotal + 5;
_root.mp = _root.mp - 20;
_root.mptotal = _root.mptotal - 20;
_root.menuscreen.bluebox.gotoAndStop("prickly");
_root.pricklyshirt = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
_root.attack = _root.attack + 4;
}
}
if (_root.slickshirt == true) {
if (_root.mp < 10) {
} else {
_root.slickshirt = false;
_root.mp = _root.mp - 10;
_root.mptotal = _root.mptotal - 10;
_root.menuscreen.bluebox.gotoAndStop("prickly");
_root.pricklyshirt = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
_root.attack = _root.attack + 4;
}
}
if (_root.armorshirt == true) {
if ((_root.hp == 30) || (_root.hp < 30)) {
} else {
_root.armorshirt = false;
_root.hp = _root.hp - 30;
_root.hptotal = _root.hptotal - 30;
_root.menuscreen.bluebox.gotoAndStop("prickly");
_root.pricklyshirt = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
_root.attack = _root.attack + 4;
}
}
if (_root.megashirt == true) {
if (((_root.hp == 20) || (_root.hp < 20)) || (_root.mp < 20)) {
} else {
_root.megashirt = false;
_root.attack = _root.attack - 5;
_root.magicattack = _root.magicattack - 5;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp - 20;
_root.mptotal = _root.mptotal - 20;
_root.menuscreen.bluebox.gotoAndStop("prickly");
_root.pricklyshirt = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
_root.attack = _root.attack + 4;
}
}
}
}
Symbol 1286 MovieClip Frame 1
stop();
Symbol 1286 MovieClip Frame 2
stop();
Symbol 1290 Button
on (release) {
if (_root.slickshirt == false) {
if (_root.normalshirt == true) {
_root.normalshirt = false;
_root.menuscreen.bluebox.gotoAndStop("slick");
_root.slickshirt = true;
_root.mp = _root.mp + 10;
_root.mptotal = _root.mptotal + 10;
}
if (_root.woodenshirt == true) {
if ((_root.hp == 10) || (_root.hp < 10)) {
} else {
_root.woodenshirt = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
_root.menuscreen.bluebox.gotoAndStop("slick");
_root.slickshirt = true;
_root.mp = _root.mp + 10;
_root.mptotal = _root.mptotal + 10;
}
}
if (_root.ironedshirt == true) {
if ((_root.hp == 20) || (_root.hp < 20)) {
} else {
_root.ironedshirt = false;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
_root.menuscreen.bluebox.gotoAndStop("slick");
_root.slickshirt = true;
_root.mp = _root.mp + 10;
_root.mptotal = _root.mptotal + 10;
}
}
if (_root.magicshirt == true) {
if (_root.mp < 20) {
} else {
_root.magicshirt = false;
_root.hp = _root.hp + 5;
_root.hptotal = _root.hptotal + 5;
_root.mp = _root.mp - 20;
_root.mptotal = _root.mptotal - 20;
_root.menuscreen.bluebox.gotoAndStop("slick");
_root.slickshirt = true;
_root.mp = _root.mp + 10;
_root.mptotal = _root.mptotal + 10;
}
}
if (_root.armorshirt == true) {
if ((_root.hp == 30) || (_root.hp < 30)) {
} else {
_root.armorshirt = false;
_root.hp = _root.hp - 30;
_root.hptotal = _root.hptotal - 30;
_root.menuscreen.bluebox.gotoAndStop("slick");
_root.slickshirt = true;
_root.mp = _root.mp + 10;
_root.mptotal = _root.mptotal + 10;
}
}
if (_root.pricklyshirt == true) {
if ((_root.hp == 10) || (_root.hp < 10)) {
} else {
_root.pricklyshirt = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
_root.attack = _root.attack - 4;
_root.menuscreen.bluebox.gotoAndStop("slick");
_root.slickshirt = true;
_root.mp = _root.mp + 10;
_root.mptotal = _root.mptotal + 10;
}
}
if (_root.megashirt == true) {
if (((_root.hp == 20) || (_root.hp < 20)) || (_root.mp < 20)) {
} else {
_root.megashirt = false;
_root.attack = _root.attack - 5;
_root.magicattack = _root.magicattack - 5;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp - 20;
_root.mptotal = _root.mptotal - 20;
_root.menuscreen.bluebox.gotoAndStop("slick");
_root.slickshirt = true;
_root.mp = _root.mp + 10;
_root.mptotal = _root.mptotal + 10;
}
}
}
}
Symbol 1291 MovieClip Frame 1
stop();
Symbol 1291 MovieClip Frame 2
stop();
Symbol 1295 Button
on (release) {
if (_root.mp > 5) {
if (_root.ironedshirt == false) {
if (_root.normalshirt == true) {
_root.normalshirt = false;
_root.menuscreen.bluebox.gotoAndStop("ironed");
_root.ironedshirt = true;
_root.hp = _root.hp + 20;
_root.hptotal = _root.hptotal + 20;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
}
if (_root.woodenshirt == true) {
if ((_root.hp == 10) || (_root.hp < 10)) {
} else {
_root.woodenshirt = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
_root.menuscreen.bluebox.gotoAndStop("ironed");
_root.ironedshirt = true;
_root.hp = _root.hp + 20;
_root.hptotal = _root.hptotal + 20;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
}
}
if (_root.magicshirt == true) {
if (_root.mp < 20) {
} else {
_root.magicshirt = false;
_root.hp = _root.hp + 5;
_root.hptotal = _root.hptotal + 5;
_root.mp = _root.mp - 20;
_root.mptotal = _root.mptotal - 20;
_root.menuscreen.bluebox.gotoAndStop("ironed");
_root.ironedshirt = true;
_root.hp = _root.hp + 20;
_root.hptotal = _root.hptotal + 20;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
}
}
if (_root.slickshirt == true) {
if (_root.mp < 10) {
} else {
_root.slickshirt = false;
_root.mp = _root.mp - 10;
_root.mptotal = _root.mptotal - 10;
_root.menuscreen.bluebox.gotoAndStop("ironed");
_root.ironedshirt = true;
_root.hp = _root.hp + 20;
_root.hptotal = _root.hptotal + 20;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
}
}
if (_root.armorshirt == true) {
if ((_root.hp == 30) || (_root.hp < 30)) {
} else {
_root.armorshirt = false;
_root.hp = _root.hp - 30;
_root.hptotal = _root.hptotal - 30;
_root.menuscreen.bluebox.gotoAndStop("ironed");
_root.ironedshirt = true;
_root.hp = _root.hp + 20;
_root.hptotal = _root.hptotal + 20;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
}
}
if (_root.pricklyshirt == true) {
if ((_root.hp == 10) || (_root.hp < 10)) {
} else {
_root.pricklyshirt = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
_root.attack = _root.attack - 4;
_root.menuscreen.bluebox.gotoAndStop("ironed");
_root.ironedshirt = true;
_root.hp = _root.hp + 20;
_root.hptotal = _root.hptotal + 20;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
}
}
if (_root.megashirt == true) {
if (((_root.hp == 20) || (_root.hp < 20)) || (_root.mp < 20)) {
} else {
_root.megashirt = false;
_root.attack = _root.attack - 5;
_root.magicattack = _root.magicattack - 5;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp - 20;
_root.mptotal = _root.mptotal - 20;
_root.menuscreen.bluebox.gotoAndStop("ironed");
_root.ironedshirt = true;
_root.hp = _root.hp + 20;
_root.hptotal = _root.hptotal + 20;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
}
}
}
}
}
Symbol 1296 MovieClip Frame 1
stop();
Symbol 1296 MovieClip Frame 2
stop();
Symbol 1300 Button
on (release) {
if (_root.megashirt == false) {
_root.menuscreen.bluebox.gotoAndStop("mega");
if (_root.normalshirt == true) {
_root.normalshirt = false;
}
if (_root.woodenshirt == true) {
if ((_root.hp == 10) || (_root.hp < 10)) {
} else {
_root.woodenshirt = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
}
}
if (_root.ironedshirt == true) {
if ((_root.hp == 20) || (_root.hp < 20)) {
} else {
_root.ironedshirt = false;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
}
}
if (_root.magicshirt == true) {
if (_root.mp < 20) {
} else {
_root.magicshirt = false;
_root.hp = _root.hp + 5;
_root.hptotal = _root.hptotal + 5;
_root.mp = _root.mp - 20;
_root.mptotal = _root.mptotal - 20;
}
}
if (_root.slickshirt == true) {
if (_root.mp < 10) {
} else {
_root.slickshirt = false;
_root.mp = _root.mp - 10;
_root.mptotal = _root.mptotal - 10;
}
}
if (_root.armorshirt == true) {
if ((_root.hp == 30) || (_root.hp < 30)) {
} else {
_root.armorshirt = false;
_root.hp = _root.hp - 30;
_root.hptotal = _root.hptotal - 30;
}
}
if (_root.pricklyshirt == true) {
if ((_root.hp == 10) || (_root.hp < 10)) {
} else {
_root.pricklyshirt = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
_root.attack = _root.attack - 4;
}
}
_root.megashirt = true;
_root.attack = _root.attack + 5;
_root.magicattack = _root.magicattack + 5;
_root.hp = _root.hp + 20;
_root.hptotal = _root.hptotal + 20;
_root.mp = _root.mp + 20;
_root.mptotal = _root.mptotal + 20;
}
}
Symbol 1301 MovieClip Frame 1
stop();
Symbol 1301 MovieClip Frame 2
stop();
Symbol 1305 Button
on (release) {
if (_root.spikeyshoes == false) {
if (_root.normalshoes == true) {
_root.normalshoes = false;
_root.menuscreen.redbox.gotoAndStop("spikey");
_root.spikeyshoes = true;
_root.attack = _root.attack + 2;
}
if (_root.heavyshoes == true) {
_root.heavyshoes = false;
_root.magicattack = _root.magicattack + 2;
_root.attack = _root.attack - 4;
_root.menuscreen.redbox.gotoAndStop("spikey");
_root.spikeyshoes = true;
_root.attack = _root.attack + 2;
}
if (_root.magicshoes == true) {
_root.magicshoes = false;
_root.attack = _root.attack + 2;
_root.magicattack = _root.magicattack - 4;
_root.menuscreen.redbox.gotoAndStop("spikey");
_root.spikeyshoes = true;
_root.attack = _root.attack + 2;
}
if (_root.shinyshoes == true) {
_root.shinyshoes = false;
_root.magicattack = _root.magicattack - 2;
_root.menuscreen.redbox.gotoAndStop("spikey");
_root.spikeyshoes = true;
_root.attack = _root.attack + 2;
}
if (_root.shieldshoes == true) {
if (((_root.hp < 10) || (_root.hp == 10)) || (_root.mp < 5)) {
} else {
_root.shieldshoes = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
_root.menuscreen.redbox.gotoAndStop("spikey");
_root.spikeyshoes = true;
_root.attack = _root.attack + 2;
}
}
if (_root.fuzzyshoes == true) {
_root.fuzzyshoes = false;
_root.hp = _root.hp + 5;
_root.hptotal = _root.hptotal + 5;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
_root.attack = _root.attack - 3;
_root.magicattack = _root.magicattack - 3;
_root.menuscreen.redbox.gotoAndStop("spikey");
_root.spikeyshoes = true;
_root.attack = _root.attack + 2;
}
if (_root.megashoes == true) {
if (((_root.hp < 20) || (_root.hp == 20)) || (_root.mp < 10)) {
} else {
_root.megashoes = false;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp - 10;
_root.mptotal = _root.mptotal - 10;
_root.attack = _root.attack - 4;
_root.magicattack = _root.magicattack - 4;
_root.menuscreen.redbox.gotoAndStop("spikey");
_root.spikeyshoes = true;
_root.attack = _root.attack + 2;
}
}
}
}
Symbol 1306 MovieClip Frame 1
stop();
Symbol 1306 MovieClip Frame 2
stop();
Symbol 1310 Button
on (release) {
if (_root.heavyshoes == false) {
if (_root.normalshoes == true) {
_root.normalshoes = false;
_root.menuscreen.redbox.gotoAndStop("heavy");
_root.heavyshoes = true;
_root.magicattack = _root.magicattack - 2;
_root.attack = _root.attack + 4;
}
if (_root.spikeyshoes == true) {
_root.spikeyshoes = false;
_root.attack = _root.attack - 2;
_root.menuscreen.redbox.gotoAndStop("heavy");
_root.heavyshoes = true;
_root.magicattack = _root.magicattack - 2;
_root.attack = _root.attack + 4;
}
if (_root.magicshoes == true) {
_root.magicshoes = false;
_root.attack = _root.attack + 2;
_root.magicattack = _root.magicattack - 4;
_root.menuscreen.redbox.gotoAndStop("heavy");
_root.heavyshoes = true;
_root.magicattack = _root.magicattack - 2;
_root.attack = _root.attack + 4;
}
if (_root.shinyshoes == true) {
_root.shinyshoes = false;
_root.magicattack = _root.magicattack - 2;
_root.menuscreen.redbox.gotoAndStop("heavy");
_root.heavyshoes = true;
_root.magicattack = _root.magicattack - 2;
_root.attack = _root.attack + 4;
}
if (_root.shieldshoes == true) {
if (((_root.hp < 10) || (_root.hp == 10)) || (_root.mp < 5)) {
} else {
_root.shieldshoes = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
_root.menuscreen.redbox.gotoAndStop("heavy");
_root.heavyshoes = true;
_root.magicattack = _root.magicattack - 2;
_root.attack = _root.attack + 4;
}
}
if (_root.fuzzyshoes == true) {
_root.fuzzyshoes = false;
_root.hp = _root.hp + 5;
_root.hptotal = _root.hptotal + 5;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
_root.attack = _root.attack - 3;
_root.magicattack = _root.magicattack - 3;
_root.menuscreen.redbox.gotoAndStop("heavy");
_root.heavyshoes = true;
_root.magicattack = _root.magicattack - 2;
_root.attack = _root.attack + 4;
}
if (_root.megashoes == true) {
if (((_root.hp < 20) || (_root.hp == 20)) || (_root.mp < 10)) {
} else {
_root.megashoes = false;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp - 10;
_root.mptotal = _root.mptotal - 10;
_root.attack = _root.attack - 4;
_root.magicattack = _root.magicattack - 4;
_root.menuscreen.redbox.gotoAndStop("heavy");
_root.heavyshoes = true;
_root.magicattack = _root.magicattack - 2;
_root.attack = _root.attack + 4;
}
}
}
}
Symbol 1311 MovieClip Frame 1
stop();
Symbol 1311 MovieClip Frame 2
stop();
Symbol 1312 Button
on (release) {
if (_root.magicshoes == false) {
if (_root.normalshoes == true) {
_root.normalshoes = false;
_root.menuscreen.redbox.gotoAndStop("magic");
_root.magicshoes = true;
_root.attack = _root.attack - 2;
_root.magicattack = _root.magicattack + 4;
}
if (_root.spikeyshoes == true) {
_root.spikeyshoes = false;
_root.attack = _root.attack - 2;
_root.menuscreen.redbox.gotoAndStop("magic");
_root.magicshoes = true;
_root.attack = _root.attack - 2;
_root.magicattack = _root.magicattack + 4;
}
if (_root.heavyshoes == true) {
_root.heavyshoes = false;
_root.magicattack = _root.magicattack + 2;
_root.attack = _root.attack - 4;
_root.menuscreen.redbox.gotoAndStop("magic");
_root.magicshoes = true;
_root.attack = _root.attack - 2;
_root.magicattack = _root.magicattack + 4;
}
if (_root.shinyshoes == true) {
_root.shinyshoes = false;
_root.magicattack = _root.magicattack - 2;
_root.menuscreen.redbox.gotoAndStop("magic");
_root.magicshoes = true;
_root.attack = _root.attack - 2;
_root.magicattack = _root.magicattack + 4;
}
if (_root.shieldshoes == true) {
if (((_root.hp < 10) || (_root.hp == 10)) || (_root.mp < 5)) {
} else {
_root.shieldshoes = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
_root.menuscreen.redbox.gotoAndStop("magic");
_root.magicshoes = true;
_root.attack = _root.attack - 2;
_root.magicattack = _root.magicattack + 4;
}
}
if (_root.fuzzyshoes == true) {
_root.fuzzyshoes = false;
_root.hp = _root.hp + 5;
_root.hptotal = _root.hptotal + 5;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
_root.attack = _root.attack - 3;
_root.magicattack = _root.magicattack - 3;
_root.menuscreen.redbox.gotoAndStop("magic");
_root.magicshoes = true;
_root.attack = _root.attack - 2;
_root.magicattack = _root.magicattack + 4;
}
if (_root.megashoes == true) {
if (((_root.hp < 20) || (_root.hp == 20)) || (_root.mp < 10)) {
} else {
_root.megashoes = false;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp - 10;
_root.mptotal = _root.mptotal - 10;
_root.attack = _root.attack - 4;
_root.magicattack = _root.magicattack - 4;
_root.menuscreen.redbox.gotoAndStop("magic");
_root.magicshoes = true;
_root.attack = _root.attack - 2;
_root.magicattack = _root.magicattack + 4;
}
}
}
}
Symbol 1313 MovieClip Frame 1
stop();
Symbol 1313 MovieClip Frame 2
stop();
Symbol 1317 Button
on (release) {
if (_root.shinyshoes == false) {
if (_root.normalshoes == true) {
_root.normalshoes = false;
_root.menuscreen.redbox.gotoAndStop("shiny");
_root.shinyshoes = true;
_root.magicattack = _root.magicattack + 2;
}
if (_root.spikeyshoes == true) {
_root.spikeyshoes = false;
_root.attack = _root.attack - 2;
_root.menuscreen.redbox.gotoAndStop("shiny");
_root.shinyshoes = true;
_root.magicattack = _root.magicattack + 2;
}
if (_root.heavyshoes == true) {
_root.heavyshoes = false;
_root.magicattack = _root.magicattack + 2;
_root.attack = _root.attack - 4;
_root.menuscreen.redbox.gotoAndStop("shiny");
_root.shinyshoes = true;
_root.magicattack = _root.magicattack + 2;
}
if (_root.magicshoes == true) {
_root.magicshoes = false;
_root.attack = _root.attack + 2;
_root.magicattack = _root.magicattack - 4;
_root.menuscreen.redbox.gotoAndStop("shiny");
_root.shinyshoes = true;
_root.magicattack = _root.magicattack + 2;
}
if (_root.shieldshoes == true) {
if (((_root.hp < 10) || (_root.hp == 10)) || (_root.mp < 5)) {
} else {
_root.shieldshoes = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
_root.menuscreen.redbox.gotoAndStop("shiny");
_root.shinyshoes = true;
_root.magicattack = _root.magicattack + 2;
}
}
if (_root.fuzzyshoes == true) {
_root.fuzzyshoes = false;
_root.hp = _root.hp + 5;
_root.hptotal = _root.hptotal + 5;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
_root.attack = _root.attack - 3;
_root.magicattack = _root.magicattack - 3;
_root.menuscreen.redbox.gotoAndStop("shiny");
_root.shinyshoes = true;
_root.magicattack = _root.magicattack + 2;
}
if (_root.megashoes == true) {
if (((_root.hp < 20) || (_root.hp == 20)) || (_root.mp < 10)) {
} else {
_root.megashoes = false;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp - 10;
_root.mptotal = _root.mptotal - 10;
_root.attack = _root.attack - 4;
_root.magicattack = _root.magicattack - 4;
_root.menuscreen.redbox.gotoAndStop("shiny");
_root.shinyshoes = true;
_root.magicattack = _root.magicattack + 2;
}
}
}
}
Symbol 1318 MovieClip Frame 1
stop();
Symbol 1318 MovieClip Frame 2
stop();
Symbol 1322 Button
on (release) {
if (_root.shieldshoes == false) {
if (_root.normalshoes == true) {
_root.normalshoes = false;
_root.menuscreen.redbox.gotoAndStop("shield");
_root.shieldshoes = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
}
if (_root.spikeyshoes == true) {
_root.spikeyshoes = false;
_root.attack = _root.attack - 2;
_root.menuscreen.redbox.gotoAndStop("shield");
_root.shieldshoes = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
}
if (_root.heavyshoes == true) {
_root.heavyshoes = false;
_root.magicattack = _root.magicattack + 2;
_root.attack = _root.attack - 4;
_root.menuscreen.redbox.gotoAndStop("shield");
_root.shieldshoes = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
}
if (_root.magicshoes == true) {
_root.magicshoes = false;
_root.attack = _root.attack + 2;
_root.magicattack = _root.magicattack - 4;
_root.menuscreen.redbox.gotoAndStop("shield");
_root.shieldshoes = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
}
if (_root.shinyshoes == true) {
_root.shinyshoes = false;
_root.magicattack = _root.magicattack - 2;
_root.menuscreen.redbox.gotoAndStop("shield");
_root.shieldshoes = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
}
if (_root.fuzzyshoes == true) {
_root.fuzzyshoes = false;
_root.hp = _root.hp + 5;
_root.hptotal = _root.hptotal + 5;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
_root.attack = _root.attack - 3;
_root.magicattack = _root.magicattack - 3;
_root.menuscreen.redbox.gotoAndStop("shield");
_root.shieldshoes = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
}
if (_root.megashoes == true) {
if (((_root.hp < 20) || (_root.hp == 20)) || (_root.mp < 10)) {
} else {
_root.megashoes = false;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp - 10;
_root.mptotal = _root.mptotal - 10;
_root.attack = _root.attack - 4;
_root.magicattack = _root.magicattack - 4;
_root.menuscreen.redbox.gotoAndStop("shield");
_root.shieldshoes = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
}
}
}
}
Symbol 1323 MovieClip Frame 1
stop();
Symbol 1323 MovieClip Frame 2
stop();
Symbol 1327 Button
on (release) {
if ((_root.hp < 5) || (_root.mp < 5)) {
} else if (_root.fuzzyshoes == false) {
if (_root.normalshoes == true) {
_root.normalshoes = false;
_root.menuscreen.redbox.gotoAndStop("fuzzy");
_root.fuzzyshoes = true;
_root.hp = _root.hp - 5;
_root.hptotal = _root.hptotal - 5;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
_root.attack = _root.attack + 3;
_root.magicattack = _root.magicattack + 3;
}
if (_root.spikeyshoes == true) {
_root.spikeyshoes = false;
_root.attack = _root.attack - 2;
_root.menuscreen.redbox.gotoAndStop("fuzzy");
_root.fuzzyshoes = true;
_root.hp = _root.hp - 5;
_root.hptotal = _root.hptotal - 5;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
_root.attack = _root.attack + 3;
_root.magicattack = _root.magicattack + 3;
}
if (_root.heavyshoes == true) {
_root.heavyshoes = false;
_root.magicattack = _root.magicattack + 2;
_root.attack = _root.attack - 4;
_root.menuscreen.redbox.gotoAndStop("fuzzy");
_root.fuzzyshoes = true;
_root.hp = _root.hp - 5;
_root.hptotal = _root.hptotal - 5;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
_root.attack = _root.attack + 3;
_root.magicattack = _root.magicattack + 3;
}
if (_root.magicshoes == true) {
_root.magicshoes = false;
_root.attack = _root.attack + 2;
_root.magicattack = _root.magicattack - 4;
_root.menuscreen.redbox.gotoAndStop("fuzzy");
_root.fuzzyshoes = true;
_root.hp = _root.hp - 5;
_root.hptotal = _root.hptotal - 5;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
_root.attack = _root.attack + 3;
_root.magicattack = _root.magicattack + 3;
}
if (_root.shinyshoes == true) {
_root.shinyshoes = false;
_root.magicattack = _root.magicattack - 2;
_root.menuscreen.redbox.gotoAndStop("fuzzy");
_root.fuzzyshoes = true;
_root.hp = _root.hp - 5;
_root.hptotal = _root.hptotal - 5;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
_root.attack = _root.attack + 3;
_root.magicattack = _root.magicattack + 3;
}
if (_root.shieldshoes == true) {
if (((_root.hp < 10) || (_root.hp == 10)) || (_root.mp < 5)) {
} else {
_root.shieldshoes = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
_root.menuscreen.redbox.gotoAndStop("fuzzy");
_root.fuzzyshoes = true;
_root.hp = _root.hp - 5;
_root.hptotal = _root.hptotal - 5;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
_root.attack = _root.attack + 3;
_root.magicattack = _root.magicattack + 3;
}
}
if (_root.megashoes == true) {
if (((_root.hp < 20) || (_root.hp == 20)) || (_root.mp < 10)) {
} else {
_root.megashoes = false;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp - 10;
_root.mptotal = _root.mptotal - 10;
_root.attack = _root.attack - 4;
_root.magicattack = _root.magicattack - 4;
_root.menuscreen.redbox.gotoAndStop("fuzzy");
_root.fuzzyshoes = true;
_root.hp = _root.hp - 5;
_root.hptotal = _root.hptotal - 5;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
_root.attack = _root.attack + 3;
_root.magicattack = _root.magicattack + 3;
}
}
}
}
Symbol 1328 MovieClip Frame 1
stop();
Symbol 1328 MovieClip Frame 2
stop();
Symbol 1329 Button
on (release) {
if (_root.megashoes == false) {
if (_root.normalshoes == true) {
_root.normalshoes = false;
_root.menuscreen.redbox.gotoAndStop("mega");
_root.megashoes = true;
_root.hp = _root.hp + 20;
_root.hptotal = _root.hptotal + 20;
_root.mp = _root.mp + 10;
_root.mptotal = _root.mptotal + 10;
_root.attack = _root.attack + 4;
_root.magicattack = _root.magicattack + 4;
}
if (_root.spikeyshoes == true) {
_root.spikeyshoes = false;
_root.attack = _root.attack - 2;
_root.menuscreen.redbox.gotoAndStop("mega");
_root.megashoes = true;
_root.hp = _root.hp + 20;
_root.hptotal = _root.hptotal + 20;
_root.mp = _root.mp + 10;
_root.mptotal = _root.mptotal + 10;
_root.attack = _root.attack + 4;
_root.magicattack = _root.magicattack + 4;
}
if (_root.heavyshoes == true) {
_root.heavyshoes = false;
_root.magicattack = _root.magicattack + 2;
_root.attack = _root.attack - 4;
_root.menuscreen.redbox.gotoAndStop("mega");
_root.megashoes = true;
_root.hp = _root.hp + 20;
_root.hptotal = _root.hptotal + 20;
_root.mp = _root.mp + 10;
_root.mptotal = _root.mptotal + 10;
_root.attack = _root.attack + 4;
_root.magicattack = _root.magicattack + 4;
}
if (_root.magicshoes == true) {
_root.magicshoes = false;
_root.attack = _root.attack + 2;
_root.magicattack = _root.magicattack - 4;
_root.menuscreen.redbox.gotoAndStop("mega");
_root.megashoes = true;
_root.hp = _root.hp + 20;
_root.hptotal = _root.hptotal + 20;
_root.mp = _root.mp + 10;
_root.mptotal = _root.mptotal + 10;
_root.attack = _root.attack + 4;
_root.magicattack = _root.magicattack + 4;
}
if (_root.shinyshoes == true) {
_root.shinyshoes = false;
_root.magicattack = _root.magicattack - 2;
_root.menuscreen.redbox.gotoAndStop("mega");
_root.megashoes = true;
_root.hp = _root.hp + 20;
_root.hptotal = _root.hptotal + 20;
_root.mp = _root.mp + 10;
_root.mptotal = _root.mptotal + 10;
_root.attack = _root.attack + 4;
_root.magicattack = _root.magicattack + 4;
}
if (_root.shieldshoes == true) {
if (((_root.hp < 10) || (_root.hp == 10)) || (_root.mp < 5)) {
} else {
_root.shieldshoes = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
_root.menuscreen.redbox.gotoAndStop("mega");
_root.megashoes = true;
_root.hp = _root.hp + 20;
_root.hptotal = _root.hptotal + 20;
_root.mp = _root.mp + 10;
_root.mptotal = _root.mptotal + 10;
_root.attack = _root.attack + 4;
_root.magicattack = _root.magicattack + 4;
}
}
if (_root.fuzzyshoes == true) {
_root.fuzzyshoes = false;
_root.hp = _root.hp + 5;
_root.hptotal = _root.hptotal + 5;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
_root.attack = _root.attack - 3;
_root.magicattack = _root.magicattack - 3;
_root.menuscreen.redbox.gotoAndStop("mega");
_root.megashoes = true;
_root.hp = _root.hp + 20;
_root.hptotal = _root.hptotal + 20;
_root.mp = _root.mp + 10;
_root.mptotal = _root.mptotal + 10;
_root.attack = _root.attack + 4;
_root.magicattack = _root.magicattack + 4;
}
}
}
Symbol 1330 MovieClip Frame 1
stop();
Symbol 1330 MovieClip Frame 2
stop();
Symbol 1345 Button
on (release) {
if (_root.potion > 0) {
_root.potion = _root.potion - 1;
_root.hp = _root.hp + 10;
if (_root.hp > _root.hptotal) {
_root.hp = _root.hptotal;
}
_root.menuscreen.cureinmenu.gotoAndPlay(1);
}
}
Symbol 1352 Button
on (release) {
if (_root.hipotion > 0) {
_root.hipotion = _root.hipotion - 1;
_root.hp = _root.hp + 30;
if (_root.hp > _root.hptotal) {
_root.hp = _root.hptotal;
}
_root.menuscreen.cureinmenu.gotoAndPlay(1);
}
}
Symbol 1359 Button
on (release) {
if (_root.xpotion > 0) {
_root.xpotion = _root.xpotion - 1;
_root.hp = _root.hptotal;
_root.menuscreen.cureinmenu.gotoAndPlay(1);
}
}
Symbol 1367 Button
on (release) {
if (_root.ether > 0) {
_root.ether = _root.ether - 1;
_root.mp = _root.mp + 10;
if (_root.mp > _root.mptotal) {
_root.mp = _root.mptotal;
}
_root.menuscreen.cureinmenu2.gotoAndPlay(1);
}
}
Symbol 1374 Button
on (release) {
if (_root.hiether > 0) {
_root.hiether = _root.hiether - 1;
_root.mp = _root.mp + 30;
if (_root.mp > _root.mptotal) {
_root.mp = _root.mptotal;
}
_root.menuscreen.cureinmenu2.gotoAndPlay(1);
}
}
Symbol 1381 Button
on (release) {
if (_root.xether > 0) {
_root.xether = _root.xether - 1;
_root.mp = _root.mptotal;
_root.menuscreen.cureinmenu2.gotoAndPlay(1);
}
}
Symbol 1383 MovieClip Frame 1
potion = _root.potion;
Symbol 1383 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1385 MovieClip Frame 1
hipotion = _root.hipotion;
Symbol 1385 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1387 MovieClip Frame 1
xpotion = _root.xpotion;
Symbol 1387 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1389 MovieClip Frame 1
ether = _root.ether;
Symbol 1389 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1391 MovieClip Frame 1
hiether = _root.hiether;
Symbol 1391 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1393 MovieClip Frame 1
xether = _root.xether;
Symbol 1393 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1398 Button
on (release) {
_root.menuscreen.gotoAndStop("main");
_root.pos = sharedobject.getLocal("RPGDATA");
_root.pos.data.shadowx = _root.shadow._x;
_root.pos.data.shadowy = _root.shadow._y;
_root.pos.data.level = _root.level;
_root.pos.data.hp = _root.hp;
_root.pos.data.hptotal = _root.hptotal;
_root.pos.data.mp = _root.mp;
_root.pos.data.mptotal = _root.mptotal;
_root.pos.data.attack = _root.attack;
_root.pos.data.magicattack = _root.magicattack;
_root.pos.data.exp = _root.exp;
_root.pos.data.gold = _root.gold;
_root.pos.data.stones = _root.stones;
_root.pos.data.potion = _root.potion;
_root.pos.data.hipotion = _root.hipotion;
_root.pos.data.xpotion = _root.xpotion;
_root.pos.data.ether = _root.ether;
_root.pos.data.hiether = _root.hiether;
_root.pos.data.xether = _root.xether;
_root.pos.data.normalshirt = _root.normalshirt;
_root.pos.data.woodenshirt = _root.woodenshirt;
_root.pos.data.ironedshirt = _root.ironedshirt;
_root.pos.data.magicshirt = _root.magicshirt;
_root.pos.data.armorshirt = _root.armorshirt;
_root.pos.data.pricklyshirt = _root.pricklyshirt;
_root.pos.data.megashirt = _root.megashirt;
_root.pos.data.slickshirt = _root.slickshirt;
_root.pos.data.normalshirtgot = _root.normalshirtgot;
_root.pos.data.woodenshirtgot = _root.woodenshirtgot;
_root.pos.data.ironedshirtgot = _root.ironedshirtgot;
_root.pos.data.magicshirtgot = _root.magicshirtgot;
_root.pos.data.armorshirtgot = _root.armorshirtgot;
_root.pos.data.pricklyshirtgot = _root.pricklyshirtgot;
_root.pos.data.megashirtgot = _root.megashirtgot;
_root.pos.data.slickshirtgot = _root.slickshirtgot;
_root.pos.data.normalshoes = _root.normalshoes;
_root.pos.data.spikeyshoes = _root.spikeyshoes;
_root.pos.data.heavyshoes = _root.heavyshoes;
_root.pos.data.magicshoes = _root.magicshoes;
_root.pos.data.shinyshoes = _root.shinyshoes;
_root.pos.data.shieldshoes = _root.shieldshoes;
_root.pos.data.fuzzyshoes = _root.fuzzyshoes;
_root.pos.data.megashoes = _root.megashoes;
_root.pos.data.normalshoesgot = _root.normalshoesgot;
_root.pos.data.spikeyshoesgot = _root.spikeyshoesgot;
_root.pos.data.heavyshoesgot = _root.heavyshoesgot;
_root.pos.data.magicshoesgot = _root.magicshoesgot;
_root.pos.data.shinyshoesgot = _root.shinyshoesgot;
_root.pos.data.shieldshoesgot = _root.shieldshoesgot;
_root.pos.data.fuzzyshoesgot = _root.fuzzyshoesgot;
_root.pos.data.megashoesgot = _root.megashoesgot;
_root.pos.data.stone1 = _root.stone1;
_root.pos.data.stone2 = _root.stone2;
_root.pos.data.stone3 = _root.stone3;
_root.pos.data.stone4 = _root.stone4;
_root.pos.data.stone5 = _root.stone5;
_root.pos.data.stone6 = _root.stone6;
_root.pos.data.stone7 = _root.stone7;
_root.pos.data.stone8 = _root.stone8;
_root.pos.data.stone9 = _root.stone9;
_root.pos.data.stone10 = _root.stone10;
_root.pos.data.stone11 = _root.stone11;
_root.pos.data.stone12 = _root.stone12;
_root.pos.data.stone13 = _root.stone13;
_root.pos.data.stone14 = _root.stone14;
_root.pos.data.stone15 = _root.stone15;
_root.pos.data.stone16 = _root.stone16;
_root.pos.data.stone17 = _root.stone17;
_root.pos.data.stone18 = _root.stone18;
_root.pos.data.stone19 = _root.stone19;
_root.pos.data.stone20 = _root.stone20;
_root.pos.data.stone21 = _root.stone21;
_root.pos.data.stone22 = _root.stone22;
_root.pos.data.stone23 = _root.stone23;
_root.pos.data.stone24 = _root.stone24;
_root.pos.data.stone25 = _root.stone25;
_root.pos.data.stone26 = _root.stone26;
_root.pos.data.stone27 = _root.stone27;
_root.pos.data.stone28 = _root.stone28;
_root.pos.data.stone29 = _root.stone29;
_root.pos.data.stone30 = _root.stone30;
_root.pos.data.stone31 = _root.stone31;
_root.pos.data.stone32 = _root.stone32;
_root.pos.data.stone33 = _root.stone33;
_root.pos.data.stone34 = _root.stone34;
_root.pos.data.stone35 = _root.stone35;
_root.pos.data.stone36 = _root.stone36;
_root.pos.data.stone37 = _root.stone37;
_root.pos.data.stone38 = _root.stone38;
_root.pos.data.stone39 = _root.stone39;
_root.pos.data.stone40 = _root.stone40;
_root.pos.data.stone41 = _root.stone41;
_root.pos.data.stone42 = _root.stone42;
_root.pos.data.stone43 = _root.stone43;
_root.pos.data.stone44 = _root.stone44;
_root.pos.data.stone45 = _root.stone45;
_root.pos.data.stone46 = _root.stone46;
_root.pos.data.stone47 = _root.stone47;
_root.pos.data.stone48 = _root.stone48;
_root.pos.data.stone49 = _root.stone49;
_root.pos.data.stone50 = _root.stone50;
_root.pos.data.foreststones = _root.foreststones;
_root.pos.data.cliffsstones = _root.cliffsstones;
_root.pos.data.flowerstones = _root.flowerstones;
_root.pos.data.junglestones = _root.junglestones;
_root.pos.data.desertstones = _root.desertstones;
_root.pos.data.swampstones = _root.swampstones;
_root.pos.data.rockystones = _root.rockystones;
_root.pos.data.winterlandstones = _root.winterlandstones;
_root.pos.data.cabinstones = _root.cabinstones;
_root.pos.data.oasisstones = _root.oasisstones;
}
Symbol 1400 MovieClip Frame 1
stop();
_root.menu = false;
Symbol 1400 MovieClip Frame 2
stop();
_root.menu = true;
Instance of Symbol 1135 MovieClip in Symbol 1400 MovieClip Frame 2
onClipEvent (enterFrame) {
if (Key.isDown(8) && (_root.menu == true)) {
gotoAndStop (1);
_root.menu = false;
}
}
Symbol 1400 MovieClip Frame 3
stop();
_root.menu = true;
Symbol 1400 MovieClip Frame 4
stop();
_root.menu = true;
Instance of Symbol 1235 MovieClip "magicmenu" in Symbol 1400 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.level == 1) {
this.gotoAndStop("blizzard");
} else if (_root.level == 2) {
this.gotoAndStop("cure");
} else if (_root.level == 3) {
this.gotoAndStop("blizzara");
} else if (_root.level == 4) {
this.gotoAndStop("cura");
} else if (_root.level == 5) {
this.gotoAndStop("blizzaga");
} else if ((_root.level == 6) || (_root.level > 6)) {
this.gotoAndStop("curaga");
}
}
Symbol 1400 MovieClip Frame 5
stop();
_root.menu = true;
if (_root.woodenshirtgot == true) {
_root.menuscreen.woodenshirtmc.gotoAndStop(2);
}
if (_root.ironedshirtgot == true) {
_root.menuscreen.ironedshirtmc.gotoAndStop(2);
}
if (_root.magicshirtgot == true) {
_root.menuscreen.magicshirtmc.gotoAndStop(2);
}
if (_root.slickshirtgot == true) {
_root.menuscreen.slickshirtmc.gotoAndStop(2);
}
if (_root.armorshirtgot == true) {
_root.menuscreen.armorshirtmc.gotoAndStop(2);
}
if (_root.pricklyshirtgot == true) {
_root.menuscreen.pricklyshirtmc.gotoAndStop(2);
}
if (_root.megashirtgot == true) {
_root.menuscreen.megashirtmc.gotoAndStop(2);
}
if (_root.spikeyshoesgot == true) {
_root.menuscreen.spikeyshoesmc.gotoAndStop(2);
}
if (_root.heavyshoesgot == true) {
_root.menuscreen.heavyshoesmc.gotoAndStop(2);
}
if (_root.magicshoesgot == true) {
_root.menuscreen.magicshoesmc.gotoAndStop(2);
}
if (_root.shinyshoesgot == true) {
_root.menuscreen.shinyshoesmc.gotoAndStop(2);
}
if (_root.shieldshoesgot == true) {
_root.menuscreen.shieldshoesmc.gotoAndStop(2);
}
if (_root.fuzzyshoesgot == true) {
_root.menuscreen.fuzzyshoesmc.gotoAndStop(2);
}
if (_root.megashoesgot == true) {
_root.menuscreen.megashoesmc.gotoAndStop(2);
}
if (_root.normalshirt == true) {
_root.menuscreen.bluebox.gotoAndStop("normal");
}
if (_root.woodenshirt == true) {
_root.menuscreen.bluebox.gotoAndStop("wooden");
}
if (_root.ironedshirt == true) {
_root.menuscreen.bluebox.gotoAndStop("ironed");
}
if (_root.magicshirt == true) {
_root.menuscreen.bluebox.gotoAndStop("magic");
}
if (_root.slickshirt == true) {
_root.menuscreen.bluebox.gotoAndStop("slick");
}
if (_root.armorshirt == true) {
_root.menuscreen.bluebox.gotoAndStop("armor");
}
if (_root.pricklyshirt == true) {
_root.menuscreen.bluebox.gotoAndStop("prickly");
}
if (_root.megashirt == true) {
_root.menuscreen.bluebox.gotoAndStop("mega");
}
if (_root.normalshoes == true) {
_root.menuscreen.redbox.gotoAndStop("normal");
}
if (_root.spikeyshoes == true) {
_root.menuscreen.redbox.gotoAndStop("spikey");
}
if (_root.heavyshoes == true) {
_root.menuscreen.redbox.gotoAndStop("heavy");
}
if (_root.magicshoes == true) {
_root.menuscreen.redbox.gotoAndStop("magic");
}
if (_root.slickshoes == true) {
_root.menuscreen.redbox.gotoAndStop("slick");
}
if (_root.shieldshoes == true) {
_root.menuscreen.redbox.gotoAndStop("shield");
}
if (_root.fuzzyshoes == true) {
_root.menuscreen.redbox.gotoAndStop("fuzzy");
}
if (_root.megashoes == true) {
_root.menuscreen.redbox.gotoAndStop("mega");
}
Symbol 1400 MovieClip Frame 6
stop();
_root.menu = true;
Symbol 1400 MovieClip Frame 7
stop();
_root.menu = true;
Symbol 1402 MovieClip Frame 1
if (_root.critical == false) {
_root.attack = _root.attack - 1;
_root.critical = nothing;
}
Symbol 1402 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1404 MovieClip Frame 1
_root.dead = false;
Symbol 1404 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1405 MovieClip Frame 1
if (_root.shadow._y > _root.wiztrees1._y) {
_root.wiztrees1._visible = 0;
_root.bwiztrees1._visible = 1;
} else {
_root.wiztrees1._visible = 1;
_root.bwiztrees1._visible = 0;
}
if (_root.shadow._y > _root.wiztrees2._y) {
_root.wiztrees2._visible = 0;
_root.bwiztrees2._visible = 1;
} else {
_root.wiztrees2._visible = 1;
_root.bwiztrees2._visible = 0;
}
if (_root.shadow._y > _root.wiztrees3._y) {
_root.wiztrees3._visible = 0;
_root.bwiztrees3._visible = 1;
} else {
_root.wiztrees3._visible = 1;
_root.bwiztrees3._visible = 0;
}
if (_root.shadow._y > _root.wiztrees4._y) {
_root.wiztrees4._visible = 0;
_root.bwiztrees4._visible = 1;
} else {
_root.wiztrees4._visible = 1;
_root.bwiztrees4._visible = 0;
}
if (_root.shadow._y > _root.wiztrees5._y) {
_root.wiztrees5._visible = 0;
_root.bwiztrees5._visible = 1;
} else {
_root.wiztrees5._visible = 1;
_root.bwiztrees5._visible = 0;
}
if (_root.shadow._y > _root.wiztrees6._y) {
_root.wiztrees6._visible = 0;
_root.bwiztrees6._visible = 1;
} else {
_root.wiztrees6._visible = 1;
_root.bwiztrees6._visible = 0;
}
if (_root.shadow._y > _root.wiztrees7._y) {
_root.wiztrees7._visible = 0;
_root.bwiztrees7._visible = 1;
} else {
_root.wiztrees7._visible = 1;
_root.bwiztrees7._visible = 0;
}
if (_root.shadow._y > _root.rock1._y) {
_root.rock1._visible = 0;
_root.brock1._visible = 1;
} else {
_root.rock1._visible = 1;
_root.brock1._visible = 0;
}
if (_root.shadow._y > _root.rock2._y) {
_root.rock2._visible = 0;
_root.brock2._visible = 1;
} else {
_root.rock2._visible = 1;
_root.brock2._visible = 0;
}
if (_root.shadow._y > _root.rock3._y) {
_root.rock3._visible = 0;
_root.brock3._visible = 1;
} else {
_root.rock3._visible = 1;
_root.brock3._visible = 0;
}
if (_root.shadow._y > _root.rock4._y) {
_root.rock4._visible = 0;
_root.brock4._visible = 1;
} else {
_root.rock4._visible = 1;
_root.brock4._visible = 0;
}
if (_root.shadow._y > _root.treewierd._y) {
_root.treewierd._visible = 0;
_root.btreewierd._visible = 1;
} else {
_root.treewierd._visible = 1;
_root.btreewierd._visible = 0;
}
if (_root.shadow._y > _root.house1._y) {
_root.house1._visible = 0;
_root.bhouse1._visible = 1;
} else {
_root.house1._visible = 1;
_root.bhouse1._visible = 0;
}
if (_root.shadow._y > _root.house2._y) {
_root.house2._visible = 0;
_root.bhouse2._visible = 1;
} else {
_root.house2._visible = 1;
_root.bhouse2._visible = 0;
}
if (_root.shadow._y > _root.house3._y) {
_root.house3._visible = 0;
_root.bhouse3._visible = 1;
} else {
_root.house3._visible = 1;
_root.bhouse3._visible = 0;
}
if (_root.shadow._y > _root.house4._y) {
_root.house4._visible = 0;
_root.bhouse4._visible = 1;
} else {
_root.house4._visible = 1;
_root.bhouse4._visible = 0;
}
if (_root.shadow._y > _root.house5._y) {
_root.house5._visible = 0;
_root.bhouse5._visible = 1;
} else {
_root.house5._visible = 1;
_root.bhouse5._visible = 0;
}
if (_root.shadow._y > _root.house6._y) {
_root.house6._visible = 0;
_root.bhouse6._visible = 1;
} else {
_root.house6._visible = 1;
_root.bhouse6._visible = 0;
}
if (_root.shadow._y > _root.house7._y) {
_root.house7._visible = 0;
_root.bhouse7._visible = 1;
} else {
_root.house7._visible = 1;
_root.bhouse7._visible = 0;
}
if (_root.shadow._y > _root.house8._y) {
_root.house8._visible = 0;
_root.bhouse8._visible = 1;
} else {
_root.house8._visible = 1;
_root.bhouse8._visible = 0;
}
if (_root.shadow._y > _root.desert1._y) {
_root.desert1._visible = 0;
_root.bdesert1._visible = 1;
} else {
_root.desert1._visible = 1;
_root.bdesert1._visible = 0;
}
if (_root.shadow._y > _root.desert2._y) {
_root.desert2._visible = 0;
_root.bdesert2._visible = 1;
} else {
_root.desert2._visible = 1;
_root.bdesert2._visible = 0;
}
if (_root.shadow._y > _root.desert3._y) {
_root.desert3._visible = 0;
_root.bdesert3._visible = 1;
} else {
_root.desert3._visible = 1;
_root.bdesert3._visible = 0;
}
if (_root.shadow._y > _root.desert4._y) {
_root.desert4._visible = 0;
_root.bdesert4._visible = 1;
} else {
_root.desert4._visible = 1;
_root.bdesert4._visible = 0;
}
if (_root.shadow._y > _root.desert5._y) {
_root.desert5._visible = 0;
_root.bdesert5._visible = 1;
} else {
_root.desert5._visible = 1;
_root.bdesert5._visible = 0;
}
if (_root.shadow._y > _root.desert6._y) {
_root.desert6._visible = 0;
_root.bdesert6._visible = 1;
} else {
_root.desert6._visible = 1;
_root.bdesert6._visible = 0;
}
if (_root.shadow._y > _root.desert7._y) {
_root.desert7._visible = 0;
_root.bdesert7._visible = 1;
} else {
_root.desert7._visible = 1;
_root.bdesert7._visible = 0;
}
if (_root.shadow._y > _root.desert8._y) {
_root.desert8._visible = 0;
_root.bdesert8._visible = 1;
} else {
_root.desert8._visible = 1;
_root.bdesert8._visible = 0;
}
if (_root.shadow._y > _root.rocky1._y) {
_root.rocky1._visible = 0;
_root.brocky1._visible = 1;
} else {
_root.rocky1._visible = 1;
_root.brocky1._visible = 0;
}
if (_root.shadow._y > _root.rocky2._y) {
_root.rocky2._visible = 0;
_root.brocky2._visible = 1;
} else {
_root.rocky2._visible = 1;
_root.brocky2._visible = 0;
}
if (_root.shadow._y > _root.rocky3._y) {
_root.rocky3._visible = 0;
_root.brocky3._visible = 1;
} else {
_root.rocky3._visible = 1;
_root.brocky3._visible = 0;
}
if (_root.shadow._y > _root.rocky4._y) {
_root.rocky4._visible = 0;
_root.brocky4._visible = 1;
} else {
_root.rocky4._visible = 1;
_root.brocky4._visible = 0;
}
if (_root.shadow._y > _root.rocky5._y) {
_root.rocky5._visible = 0;
_root.brocky5._visible = 1;
} else {
_root.rocky5._visible = 1;
_root.brocky5._visible = 0;
}
if (_root.shadow._y > _root.rocky6._y) {
_root.rocky6._visible = 0;
_root.brocky6._visible = 1;
} else {
_root.rocky6._visible = 1;
_root.brocky6._visible = 0;
}
if (_root.shadow._y > _root.rocky7._y) {
_root.rocky7._visible = 0;
_root.brocky7._visible = 1;
} else {
_root.rocky7._visible = 1;
_root.brocky7._visible = 0;
}
if (_root.shadow._y > _root.rocky8._y) {
_root.rocky8._visible = 0;
_root.brocky8._visible = 1;
} else {
_root.rocky8._visible = 1;
_root.brocky8._visible = 0;
}
if (_root.shadow._y > _root.rocky9._y) {
_root.rocky9._visible = 0;
_root.brocky9._visible = 1;
} else {
_root.rocky9._visible = 1;
_root.brocky9._visible = 0;
}
if (_root.shadow._y > _root.rocky10._y) {
_root.rocky10._visible = 0;
_root.brocky10._visible = 1;
} else {
_root.rocky10._visible = 1;
_root.brocky10._visible = 0;
}
if (_root.shadow._y > _root.winter1._y) {
_root.winter1._visible = 0;
_root.bwinter1._visible = 1;
} else {
_root.winter1._visible = 1;
_root.bwinter1._visible = 0;
}
if (_root.shadow._y > _root.winter2._y) {
_root.winter2._visible = 0;
_root.bwinter2._visible = 1;
} else {
_root.winter2._visible = 1;
_root.bwinter2._visible = 0;
}
if (_root.shadow._y > _root.winter3._y) {
_root.winter3._visible = 0;
_root.bwinter3._visible = 1;
} else {
_root.winter3._visible = 1;
_root.bwinter3._visible = 0;
}
if (_root.shadow._y > _root.winter4._y) {
_root.winter4._visible = 0;
_root.bwinter4._visible = 1;
} else {
_root.winter4._visible = 1;
_root.bwinter4._visible = 0;
}
if (_root.shadow._y > _root.winter5._y) {
_root.winter5._visible = 0;
_root.bwinter5._visible = 1;
} else {
_root.winter5._visible = 1;
_root.bwinter5._visible = 0;
}
if (_root.shadow._y > _root.winter6._y) {
_root.winter6._visible = 0;
_root.bwinter6._visible = 1;
} else {
_root.winter6._visible = 1;
_root.bwinter6._visible = 0;
}
if (_root.shadow._y > _root.oasis1._y) {
_root.oasis1._visible = 0;
_root.boasis1._visible = 1;
} else {
_root.oasis1._visible = 1;
_root.boasis1._visible = 0;
}
if (_root.shadow._y > _root.oasis2._y) {
_root.oasis2._visible = 0;
_root.boasis2._visible = 1;
} else {
_root.oasis2._visible = 1;
_root.boasis2._visible = 0;
}
if (_root.shadow._y > _root.oasis3._y) {
_root.oasis3._visible = 0;
_root.boasis3._visible = 1;
} else {
_root.oasis3._visible = 1;
_root.boasis3._visible = 0;
}
if (_root.shadow._y > _root.oasis4._y) {
_root.oasis4._visible = 0;
_root.boasis4._visible = 1;
} else {
_root.oasis4._visible = 1;
_root.boasis4._visible = 0;
}
if (_root.shadow._y > _root.oasis5._y) {
_root.oasis5._visible = 0;
_root.boasis5._visible = 1;
} else {
_root.oasis5._visible = 1;
_root.boasis5._visible = 0;
}
if (_root.shadow._y > _root.oasis6._y) {
_root.oasis6._visible = 0;
_root.boasis6._visible = 1;
} else {
_root.oasis6._visible = 1;
_root.boasis6._visible = 0;
}
if (_root.shadow._y > _root.oasis7._y) {
_root.oasis7._visible = 0;
_root.boasis7._visible = 1;
} else {
_root.oasis7._visible = 1;
_root.boasis7._visible = 0;
}
if (_root.shadow._y > _root.oasis8._y) {
_root.oasis8._visible = 0;
_root.boasis8._visible = 1;
} else {
_root.oasis8._visible = 1;
_root.boasis8._visible = 0;
}
if (_root.shadow._y > _root.oasis9._y) {
_root.oasis9._visible = 0;
_root.boasis9._visible = 1;
} else {
_root.oasis9._visible = 1;
_root.boasis9._visible = 0;
}
if (_root.shadow._y > _root.oasis10._y) {
_root.oasis10._visible = 0;
_root.boasis10._visible = 1;
} else {
_root.oasis10._visible = 1;
_root.boasis10._visible = 0;
}
if (_root.shadow._y > _root.oasis11._y) {
_root.oasis11._visible = 0;
_root.boasis11._visible = 1;
} else {
_root.oasis11._visible = 1;
_root.boasis11._visible = 0;
}
if (_root.shadow._y > _root.oasis12._y) {
_root.oasis12._visible = 0;
_root.boasis12._visible = 1;
} else {
_root.oasis12._visible = 1;
_root.boasis12._visible = 0;
}
if (_root.shadow._y > _root.oasis13._y) {
_root.oasis13._visible = 0;
_root.boasis13._visible = 1;
} else {
_root.oasis13._visible = 1;
_root.boasis13._visible = 0;
}
if (_root.shadow._y > _root.oasis14._y) {
_root.oasis14._visible = 0;
_root.boasis14._visible = 1;
} else {
_root.oasis14._visible = 1;
_root.boasis14._visible = 0;
}
if (_root.shadow._y > _root.oasis15._y) {
_root.oasis15._visible = 0;
_root.boasis15._visible = 1;
} else {
_root.oasis15._visible = 1;
_root.boasis15._visible = 0;
}
if (_root.shadow._y > _root.oasis16._y) {
_root.oasis16._visible = 0;
_root.boasis16._visible = 1;
} else {
_root.oasis16._visible = 1;
_root.boasis16._visible = 0;
}
Symbol 1405 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1407 MovieClip Frame 2
if (battlecounter == (random(20) + 20)) {
_root.gotoAndStop("battle");
_global.battlecounter = 0;
_root.menu = true;
}
Symbol 1408 MovieClip Frame 1241
gotoAndPlay (19);
Symbol 1410 MovieClip Frame 1
stop();
Symbol 1410 MovieClip Frame 2
stop();
Symbol 1420 MovieClip Frame 2
gotoAndPlay (2);
_root.battlespikey = true;
Symbol 1424 MovieClip Frame 1
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1424 MovieClip Frame 24
_root.battleguy.swapDepths(_root.EnemyMain);
stop();
Symbol 1432 MovieClip Frame 1
_root.enemyHP = random(5) + 5;
_root.enemyMP = 15;
Symbol 1432 MovieClip Frame 2
stop();
Symbol 1432 MovieClip Frame 3
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1432 MovieClip Frame 22
block = true;
spikeydmg = random(6) + 1;
Symbol 1432 MovieClip Frame 23
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1432 MovieClip Frame 24
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.pointy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1432 MovieClip Frame 25
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.pointy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1432 MovieClip Frame 26
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.pointy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeydmg;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 1432 MovieClip Frame 27
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1432 MovieClip Frame 28
if (block == false) {
spikeydmg = spikeydmg + 1;
}
Symbol 1432 MovieClip Frame 36
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 1432 MovieClip Frame 37
_root.turn = "comp";
Symbol 1432 MovieClip Frame 54
_root.levelupisplaying = false;
Symbol 1432 MovieClip Frame 55
_root.dead = true;
_root.EnemyMain.swapDepths(_root.battleguy);
stop();
_root.goldget = random(5) + 2;
_root.gold = _root.gold + _root.goldget;
_root.expget = 12 - _root.level;
_root.itemget = random(4);
if (_root.itemget == 3) {
_root.enemyMain.pointy.itemchooser.gotoAndStop("potion");
} else {
_root.enemyMain.pointy.itemchooser.gotoAndStop("none");
}
if ((_root.expget < 0) || (_root.expget == 0)) {
_root.expget = 1;
}
_root.exp = _root.exp + _root.expget;
if ((_root.exp == 100) || (_root.exp > 100)) {
_root.EnemyMain.pointy.okbutton.gotoAndStop(2);
if (_root.level == 30) {
_root.level = 30;
_root.exp = 100;
} else {
_root.level = _root.level + 1;
_root.exp = 0;
}
_root.EnemyMain.pointy.levelup.gotoAndStop(2);
_root.hp = _root.hptotal;
_root.mp = _root.mptotal;
}
Symbol 1432 MovieClip Frame 56
_root.gotoAndPlay("map1");
_root.Menu = false;
_root.Turn = "guy";
_root.battlepointy = false;
_root.EnemyMain.gotoAndStop(1);
_root.enemychooser = 0;
Symbol 1432 MovieClip Frame 67
_root.spikeyplay = random(2);
if (_root.spikeyplay == 1) {
_root.EnemyMain.spikey.gotoAndPlay("attacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.spikey.gotoAndPlay("magicattacking");
} else {
_root.EnemyMain.spikey.gotoAndPlay("attacking");
}
}
_root.pointyplay = random(2) + 1;
if (_root.pointyplay == 1) {
_root.EnemyMain.pointy.gotoAndPlay("pointyattacking");
} else if (_root.pointyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.pointy.gotoAndPlay("pointymagicattacking");
} else {
_root.EnemyMain.pointy.gotoAndPlay("pointyattacking");
}
}
Symbol 1432 MovieClip Frame 69
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1432 MovieClip Frame 88
spikeydmg = spikeydmg + (random(3) + 1);
Symbol 1432 MovieClip Frame 89
_root.enemyMP = _root.enemyMP - 5;
Symbol 1432 MovieClip Frame 102
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 1433 MovieClip Frame 2
gotoAndPlay (1);
_root.battlepointy = true;
Symbol 1436 MovieClip Frame 1
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1436 MovieClip Frame 22
_root.battleguy.swapDepths(_root.EnemyMain);
stop();
Symbol 1459 MovieClip Frame 1
duplicateMovieClip (twister, t, t);
setProperty(twister, _rotation , random(10));
Symbol 1459 MovieClip Frame 2
t = t + 1;
if (t > 20) {
t = 0;
}
gotoAndPlay (1);
Symbol 1460 MovieClip Frame 1
_root.enemyHP = random(15) + 3;
_root.enemyMP = 15;
Symbol 1460 MovieClip Frame 2
stop();
Symbol 1460 MovieClip Frame 3
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1460 MovieClip Frame 22
block = true;
spikeydmg = random(3) + 1;
Symbol 1460 MovieClip Frame 23
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1460 MovieClip Frame 24
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.wingy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1460 MovieClip Frame 25
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.wingy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1460 MovieClip Frame 26
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.wingy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeydmg;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 1460 MovieClip Frame 27
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1460 MovieClip Frame 28
if (block == false) {
spikeydmg = spikeydmg + 1;
}
Symbol 1460 MovieClip Frame 36
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 1460 MovieClip Frame 37
_root.turn = "comp";
Symbol 1460 MovieClip Frame 54
_root.levelupisplaying = false;
Symbol 1460 MovieClip Frame 55
_root.dead = true;
_root.EnemyMain.swapDepths(_root.battleguy);
stop();
_root.goldget = random(7) + 3;
_root.gold = _root.gold + _root.goldget;
_root.expget = 13 - _root.level;
_root.itemget = random(4);
if (_root.itemget == 3) {
_root.enemyMain.wingy.itemchooser.gotoAndStop("potion") || (gotoAndStop (1));
} else {
_root.enemyMain.wingy.itemchooser.gotoAndStop("none");
}
if ((_root.expget < 0) || (_root.expget == 0)) {
_root.expget = 1;
}
_root.exp = _root.exp + _root.expget;
if ((_root.exp == 100) || (_root.exp > 100)) {
_root.EnemyMain.wingy.okbutton.gotoAndStop(2);
if (_root.level == 30) {
_root.level = 30;
_root.exp = 100;
} else {
_root.level = _root.level + 1;
_root.exp = 0;
}
_root.EnemyMain.wingy.levelup.gotoAndStop(2);
_root.hp = _root.hptotal;
_root.mp = _root.mptotal;
}
Symbol 1460 MovieClip Frame 56
_root.gotoAndPlay("map1");
_root.Menu = false;
_root.Turn = "guy";
_root.battlewingy = false;
_root.enemychooser = 0;
Symbol 1460 MovieClip Frame 65
_root.spikeyplay = random(2) + 1;
if (_root.spikeyplay == 1) {
_root.EnemyMain.wingy.gotoAndPlay("wingyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.wingy.gotoAndPlay("wingymagicattacking");
} else {
_root.EnemyMain.wingy.gotoAndPlay("wingyattacking");
}
}
Symbol 1460 MovieClip Frame 67
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1460 MovieClip Frame 82
block = true;
spikeymagic = random(5) + 3;
Symbol 1460 MovieClip Frame 83
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1460 MovieClip Frame 84
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.wingy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1460 MovieClip Frame 85
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.wingy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1460 MovieClip Frame 86
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.wingy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeymagic;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 1460 MovieClip Frame 87
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
_root.enemyMP = _root.enemyMP - 4;
Symbol 1460 MovieClip Frame 88
if (block == false) {
spikeymagic = spikeymagic + 2;
}
Symbol 1460 MovieClip Frame 100
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 1461 MovieClip Frame 2
gotoAndPlay (1);
_root.battlewingy = true;
Symbol 1464 MovieClip Frame 1
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1464 MovieClip Frame 22
_root.battleguy.swapDepths(_root.EnemyMain);
stop();
Symbol 1522 MovieClip Frame 1
_root.enemyHP = random(20) + 5;
_root.enemyMP = 15;
Symbol 1522 MovieClip Frame 2
stop();
Symbol 1522 MovieClip Frame 3
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1522 MovieClip Frame 22
block = true;
spikeydmg = random(2) + 1;
Symbol 1522 MovieClip Frame 23
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1522 MovieClip Frame 24
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.blasty.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1522 MovieClip Frame 25
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.blasty.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1522 MovieClip Frame 26
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.blasty.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeydmg;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 1522 MovieClip Frame 27
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1522 MovieClip Frame 28
if (block == false) {
spikeydmg = spikeydmg + 1;
}
Symbol 1522 MovieClip Frame 36
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 1522 MovieClip Frame 37
_root.turn = "comp";
Symbol 1522 MovieClip Frame 54
_root.levelupisplaying = false;
Symbol 1522 MovieClip Frame 55
_root.dead = true;
_root.EnemyMain.swapDepths(_root.battleguy);
stop();
_root.goldget = random(8) + 4;
_root.gold = _root.gold + _root.goldget;
_root.expget = 14 - _root.level;
_root.itemget = random(4);
if (_root.itemget == 3) {
_root.enemyMain.blasty.itemchooser.gotoAndStop("potion") || (gotoAndStop (1));
} else {
_root.enemyMain.blasty.itemchooser.gotoAndStop("none");
}
if ((_root.expget < 0) || (_root.expget == 0)) {
_root.expget = 1;
}
_root.exp = _root.exp + _root.expget;
if ((_root.exp == 100) || (_root.exp > 100)) {
_root.EnemyMain.blasty.okbutton.gotoAndStop(2);
if (_root.level == 30) {
_root.level = 30;
_root.exp = 100;
} else {
_root.level = _root.level + 1;
_root.exp = 0;
}
_root.EnemyMain.blasty.levelup.gotoAndStop(2);
_root.hp = _root.hptotal;
_root.mp = _root.mptotal;
}
Symbol 1522 MovieClip Frame 56
_root.gotoAndPlay("map1");
_root.Menu = false;
_root.Turn = "guy";
_root.battleblasty = false;
_root.enemychooser = 0;
Symbol 1522 MovieClip Frame 67
_root.spikeyplay = random(2) + 1;
if (_root.spikeyplay == 1) {
_root.EnemyMain.blasty.gotoAndPlay("blastyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.blasty.gotoAndPlay("blastymagicattacking");
} else {
_root.EnemyMain.blasty.gotoAndPlay("blastyattacking");
}
}
Symbol 1522 MovieClip Frame 69
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1522 MovieClip Frame 81
block = true;
spikeymagic = random(10) + 1;
Symbol 1522 MovieClip Frame 82
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1522 MovieClip Frame 83
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.blasty.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1522 MovieClip Frame 84
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.blasty.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1522 MovieClip Frame 85
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.blasty.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeymagic;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 1522 MovieClip Frame 86
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
_root.enemyMP = _root.enemyMP - 6;
Symbol 1522 MovieClip Frame 87
if (block == false) {
spikeymagic = spikeymagic + 2;
}
Symbol 1522 MovieClip Frame 102
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 1523 MovieClip Frame 2
gotoAndPlay (1);
_root.battleblasty = true;
Symbol 1526 MovieClip Frame 1
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1526 MovieClip Frame 22
_root.battleguy.swapDepths(_root.EnemyMain);
stop();
Symbol 1553 MovieClip Frame 1
_root.enemyHP = random(20) + 5;
_root.enemyMP = 15;
Symbol 1553 MovieClip Frame 2
stop();
Symbol 1553 MovieClip Frame 3
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1553 MovieClip Frame 22
block = true;
spikeydmg = random(5) + 5;
Symbol 1553 MovieClip Frame 23
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1553 MovieClip Frame 24
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.shelly.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1553 MovieClip Frame 25
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.shelly.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1553 MovieClip Frame 26
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.shelly.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeydmg;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 1553 MovieClip Frame 27
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1553 MovieClip Frame 28
if (block == false) {
spikeydmg = spikeydmg + 1;
}
Symbol 1553 MovieClip Frame 36
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 1553 MovieClip Frame 37
_root.turn = "comp";
Symbol 1553 MovieClip Frame 54
_root.levelupisplaying = false;
Symbol 1553 MovieClip Frame 55
_root.dead = true;
_root.EnemyMain.swapDepths(_root.battleguy);
stop();
_root.goldget = random(5) + 10;
_root.gold = _root.gold + _root.goldget;
_root.expget = 15 - _root.level;
_root.itemget = random(4);
if (_root.itemget == 3) {
_root.enemyMain.shelly.itemchooser.gotoAndStop("hipotion");
} else {
_root.enemyMain.shelly.itemchooser.gotoAndStop("none");
}
if ((_root.expget < 0) || (_root.expget == 0)) {
_root.expget = 1;
}
_root.exp = _root.exp + _root.expget;
if ((_root.exp == 100) || (_root.exp > 100)) {
_root.EnemyMain.shelly.okbutton.gotoAndStop(2);
if (_root.level == 30) {
_root.level = 30;
_root.exp = 100;
} else {
_root.level = _root.level + 1;
_root.exp = 0;
}
_root.EnemyMain.shelly.levelup.gotoAndStop(2);
_root.hp = _root.hptotal;
_root.mp = _root.mptotal;
}
Symbol 1553 MovieClip Frame 56
_root.gotoAndPlay("map1");
_root.Menu = false;
_root.Turn = "guy";
_root.enemychooser = 0;
_root.battleshelly = false;
Symbol 1553 MovieClip Frame 67
_root.spikeyplay = random(2) + 1;
if (_root.spikeyplay == 1) {
_root.EnemyMain.shelly.gotoAndPlay("shellyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.shelly.gotoAndPlay("shellymagicattacking");
} else {
_root.EnemyMain.shelly.gotoAndPlay("shellyattacking");
}
}
Symbol 1553 MovieClip Frame 69
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1553 MovieClip Frame 88
_root.enemyHP = _root.enemyHP + 5;
Symbol 1553 MovieClip Frame 89
_root.enemyMP = _root.enemyMP - 5;
Symbol 1553 MovieClip Frame 102
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 1554 MovieClip Frame 2
gotoAndPlay (1);
_root.battleshelly = true;
Symbol 1557 MovieClip Frame 1
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1557 MovieClip Frame 27
_root.battleguy.swapDepths(_root.EnemyMain);
stop();
Symbol 1628 MovieClip Frame 1
_root.enemyHP = random(17) + 8;
_root.enemyMP = 15;
Symbol 1628 MovieClip Frame 2
stop();
Symbol 1628 MovieClip Frame 3
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1628 MovieClip Frame 18
block = true;
spikeydmg = random(5) + 6;
Symbol 1628 MovieClip Frame 19
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1628 MovieClip Frame 20
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.buffy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1628 MovieClip Frame 21
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.buffy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1628 MovieClip Frame 22
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.buffy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeydmg;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 1628 MovieClip Frame 23
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1628 MovieClip Frame 24
if (block == false) {
spikeydmg = spikeydmg + 1;
}
Symbol 1628 MovieClip Frame 36
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 1628 MovieClip Frame 37
_root.turn = "comp";
Symbol 1628 MovieClip Frame 54
_root.levelupisplaying = false;
Symbol 1628 MovieClip Frame 55
_root.dead = true;
_root.EnemyMain.swapDepths(_root.battleguy);
stop();
_root.goldget = random(7) + 7;
_root.gold = _root.gold + _root.goldget;
_root.expget = 16 - _root.level;
_root.itemget = random(4);
if (_root.itemget == 3) {
_root.enemyMain.buffy.itemchooser.gotoAndStop("hipotion");
} else {
_root.enemyMain.buffy.itemchooser.gotoAndStop("none");
}
if ((_root.expget < 0) || (_root.expget == 0)) {
_root.expget = 1;
}
_root.exp = _root.exp + _root.expget;
if ((_root.exp == 100) || (_root.exp > 100)) {
_root.EnemyMain.buffy.okbutton.gotoAndStop(2);
if (_root.level == 30) {
_root.level = 30;
_root.exp = 100;
} else {
_root.level = _root.level + 1;
_root.exp = 0;
}
_root.EnemyMain.buffy.levelup.gotoAndStop(2);
_root.hp = _root.hptotal;
_root.mp = _root.mptotal;
}
Symbol 1628 MovieClip Frame 56
_root.gotoAndPlay("map1");
_root.Menu = false;
_root.Turn = "guy";
_root.enemychooser = 0;
_root.battlebuffy = false;
Symbol 1628 MovieClip Frame 67
_root.spikeyplay = random(2) + 1;
if (_root.spikeyplay == 1) {
_root.EnemyMain.buffy.gotoAndPlay("buffyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.buffy.gotoAndPlay("buffymagicattacking");
} else {
_root.EnemyMain.buffy.gotoAndPlay("buffyattacking");
}
}
Symbol 1628 MovieClip Frame 69
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1628 MovieClip Frame 170
block = true;
spikeymagic = random(6) + 7;
Symbol 1628 MovieClip Frame 171
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1628 MovieClip Frame 172
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.buffy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1628 MovieClip Frame 173
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.buffy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1628 MovieClip Frame 174
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.buffy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeymagic;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 1628 MovieClip Frame 175
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
_root.enemyMP = _root.enemyMP - 3;
Symbol 1628 MovieClip Frame 176
if (block == false) {
spikeymagic = spikeymagic + 2;
}
Symbol 1628 MovieClip Frame 223
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 1629 MovieClip Frame 2
gotoAndPlay (1);
_root.battlebuffy = true;
Symbol 1632 MovieClip Frame 1
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1632 MovieClip Frame 22
_root.battleguy.swapDepths(_root.EnemyMain);
stop();
Symbol 1637 MovieClip Frame 34
stop();
Symbol 1641 MovieClip Frame 1
_root.enemyHP = random(10) + 5;
_root.enemyMP = 15;
Symbol 1641 MovieClip Frame 2
stop();
Symbol 1641 MovieClip Frame 3
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1641 MovieClip Frame 22
block = true;
spikeydmg = random(1) + 1;
Symbol 1641 MovieClip Frame 23
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1641 MovieClip Frame 24
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.rocky.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1641 MovieClip Frame 25
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.rocky.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1641 MovieClip Frame 26
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.rocky.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeydmg;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 1641 MovieClip Frame 27
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1641 MovieClip Frame 28
if (block == false) {
spikeydmg = spikeydmg + 1;
}
Symbol 1641 MovieClip Frame 36
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 1641 MovieClip Frame 37
_root.turn = "comp";
Symbol 1641 MovieClip Frame 54
_root.levelupisplaying = false;
Symbol 1641 MovieClip Frame 55
_root.dead = true;
_root.EnemyMain.swapDepths(_root.battleguy);
stop();
_root.goldget = random(7) + 11;
_root.gold = _root.gold + _root.goldget;
_root.expget = 17 - _root.level;
_root.itemget = random(4);
if (_root.itemget == 3) {
_root.enemyMain.rocky.itemchooser.gotoAndStop("hipotion");
} else {
_root.enemyMain.rocky.itemchooser.gotoAndStop("none");
}
if ((_root.expget < 0) || (_root.expget == 0)) {
_root.expget = 1;
}
_root.exp = _root.exp + _root.expget;
if ((_root.exp == 100) || (_root.exp > 100)) {
_root.EnemyMain.rocky.okbutton.gotoAndStop(2);
if (_root.level == 30) {
_root.level = 30;
_root.exp = 100;
} else {
_root.level = _root.level + 1;
_root.exp = 0;
}
_root.EnemyMain.rocky.levelup.gotoAndStop(2);
_root.hp = _root.hptotal;
_root.mp = _root.mptotal;
}
Symbol 1641 MovieClip Frame 56
_root.gotoAndPlay("map1");
_root.Menu = false;
_root.Turn = "guy";
_root.enemychooser = 0;
_root.battlerocky = false;
Symbol 1641 MovieClip Frame 67
_root.spikeyplay = random(2) + 1;
if (_root.spikeyplay == 1) {
_root.EnemyMain.rocky.gotoAndPlay("rockyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.rocky.gotoAndPlay("rockymagicattacking");
} else {
_root.EnemyMain.rocky.gotoAndPlay("rockyattacking");
}
}
Symbol 1641 MovieClip Frame 69
_root.EnemyMain.swapDepths(_root.battleguy);
duplicatedrockycount = duplicatedrockycount + 1;
duplicateMovieClip (duplicatedrocky, "duplicatedrocky" + duplicatedrockycount, duplicatedrockycount);
Instance of Symbol 1637 MovieClip "duplicatedrocky" in Symbol 1641 MovieClip Frame 69
onClipEvent (load) {
this._x = _x.rockyenemy + 100;
this._y = _y.rockyenemy - random(50);
}
Instance of Symbol 1637 MovieClip "duplicatedrocky2" in Symbol 1641 MovieClip Frame 69
onClipEvent (load) {
this._x = _x.rockyenemy + 100;
this._y = _y.rockyenemy + random(50);
}
Symbol 1641 MovieClip Frame 70
duplicatedrockycount2 = duplicatedrockycount2 + 1;
duplicateMovieClip (duplicatedrocky2, "duplicatedrocky2" + duplicatedrockycount2, duplicatedrockycount2);
Symbol 1641 MovieClip Frame 71
duplicatedrockycount = duplicatedrockycount + 1;
duplicateMovieClip (duplicatedrocky, "duplicatedrocky" + duplicatedrockycount, duplicatedrockycount);
Symbol 1641 MovieClip Frame 72
duplicatedrockycount2 = duplicatedrockycount2 + 1;
duplicateMovieClip (duplicatedrocky2, "duplicatedrocky2" + duplicatedrockycount2, duplicatedrockycount2);
Symbol 1641 MovieClip Frame 73
duplicatedrockycount = duplicatedrockycount + 1;
duplicateMovieClip (duplicatedrocky, "duplicatedrocky" + duplicatedrockycount, duplicatedrockycount);
Symbol 1641 MovieClip Frame 74
duplicatedrockycount2 = duplicatedrockycount2 + 1;
duplicateMovieClip (duplicatedrocky2, "duplicatedrocky2" + duplicatedrockycount2, duplicatedrockycount2);
Symbol 1641 MovieClip Frame 75
duplicatedrockycount = duplicatedrockycount + 1;
duplicateMovieClip (duplicatedrocky, "duplicatedrocky" + duplicatedrockycount, duplicatedrockycount);
Symbol 1641 MovieClip Frame 76
duplicatedrockycount2 = duplicatedrockycount2 + 1;
duplicateMovieClip (duplicatedrocky2, "duplicatedrocky2" + duplicatedrockycount2, duplicatedrockycount2);
Symbol 1641 MovieClip Frame 77
duplicatedrockycount = duplicatedrockycount + 1;
duplicateMovieClip (duplicatedrocky, "duplicatedrocky" + duplicatedrockycount, duplicatedrockycount);
Symbol 1641 MovieClip Frame 78
duplicatedrockycount2 = duplicatedrockycount2 + 1;
duplicateMovieClip (duplicatedrocky2, "duplicatedrocky2" + duplicatedrockycount2, duplicatedrockycount2);
Symbol 1641 MovieClip Frame 79
duplicatedrockycount = duplicatedrockycount + 1;
duplicateMovieClip (duplicatedrocky, "duplicatedrocky" + duplicatedrockycount, duplicatedrockycount);
Symbol 1641 MovieClip Frame 80
duplicatedrockycount2 = duplicatedrockycount2 + 1;
duplicateMovieClip (duplicatedrocky2, "duplicatedrocky2" + duplicatedrockycount2, duplicatedrockycount2);
Symbol 1641 MovieClip Frame 81
duplicatedrockycount = duplicatedrockycount + 1;
duplicateMovieClip (duplicatedrocky, "duplicatedrocky" + duplicatedrockycount, duplicatedrockycount);
Symbol 1641 MovieClip Frame 82
duplicatedrockycount2 = duplicatedrockycount2 + 1;
duplicateMovieClip (duplicatedrocky2, "duplicatedrocky2" + duplicatedrockycount2, duplicatedrockycount2);
Symbol 1641 MovieClip Frame 83
duplicatedrockycount = duplicatedrockycount + 1;
duplicateMovieClip (duplicatedrocky, "duplicatedrocky" + duplicatedrockycount, duplicatedrockycount);
Symbol 1641 MovieClip Frame 84
block = true;
spikeymagic = random(10) + 5;
duplicatedrockycount2 = duplicatedrockycount2 + 1;
duplicateMovieClip (duplicatedrocky2, "duplicatedrocky2" + duplicatedrockycount2, duplicatedrockycount2);
Symbol 1641 MovieClip Frame 85
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
duplicatedrockycount = duplicatedrockycount + 1;
duplicateMovieClip (duplicatedrocky, "duplicatedrocky" + duplicatedrockycount, duplicatedrockycount);
Symbol 1641 MovieClip Frame 86
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.rocky.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
duplicatedrockycount2 = duplicatedrockycount2 + 1;
duplicateMovieClip (duplicatedrocky2, "duplicatedrocky2" + duplicatedrockycount2, duplicatedrockycount2);
Symbol 1641 MovieClip Frame 87
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.rocky.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
duplicatedrockycount = duplicatedrockycount + 1;
duplicateMovieClip (duplicatedrocky, "duplicatedrocky" + duplicatedrockycount, duplicatedrockycount);
Symbol 1641 MovieClip Frame 88
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.rocky.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeymagic;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
duplicatedrockycount2 = duplicatedrockycount2 + 1;
duplicateMovieClip (duplicatedrocky2, "duplicatedrocky2" + duplicatedrockycount2, duplicatedrockycount2);
Symbol 1641 MovieClip Frame 89
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
_root.enemyMP = _root.enemyMP - 11;
duplicatedrockycount = duplicatedrockycount + 1;
duplicateMovieClip (duplicatedrocky, "duplicatedrocky" + duplicatedrockycount, duplicatedrockycount);
Symbol 1641 MovieClip Frame 90
if (block == false) {
spikeymagic = spikeymagic + 2;
}
duplicatedrockycount2 = duplicatedrockycount2 + 1;
duplicateMovieClip (duplicatedrocky2, "duplicatedrocky2" + duplicatedrockycount2, duplicatedrockycount2);
Symbol 1641 MovieClip Frame 91
duplicatedrockycount = duplicatedrockycount + 1;
duplicateMovieClip (duplicatedrocky, "duplicatedrocky" + duplicatedrockycount, duplicatedrockycount);
Symbol 1641 MovieClip Frame 92
duplicatedrockycount2 = duplicatedrockycount2 + 1;
duplicateMovieClip (duplicatedrocky2, "duplicatedrocky2" + duplicatedrockycount2, duplicatedrockycount2);
Symbol 1641 MovieClip Frame 93
duplicatedrockycount = duplicatedrockycount + 1;
duplicateMovieClip (duplicatedrocky, "duplicatedrocky" + duplicatedrockycount, duplicatedrockycount);
Symbol 1641 MovieClip Frame 94
duplicatedrockycount2 = duplicatedrockycount2 + 1;
duplicateMovieClip (duplicatedrocky2, "duplicatedrocky2" + duplicatedrockycount2, duplicatedrockycount2);
Symbol 1641 MovieClip Frame 95
duplicatedrockycount = duplicatedrockycount + 1;
duplicateMovieClip (duplicatedrocky, "duplicatedrocky" + duplicatedrockycount, duplicatedrockycount);
Symbol 1641 MovieClip Frame 96
duplicatedrockycount2 = duplicatedrockycount2 + 1;
duplicateMovieClip (duplicatedrocky2, "duplicatedrocky2" + duplicatedrockycount2, duplicatedrockycount2);
Symbol 1641 MovieClip Frame 97
duplicatedrockycount = duplicatedrockycount + 1;
duplicateMovieClip (duplicatedrocky, "duplicatedrocky" + duplicatedrockycount, duplicatedrockycount);
Symbol 1641 MovieClip Frame 98
duplicatedrockycount2 = duplicatedrockycount2 + 1;
duplicateMovieClip (duplicatedrocky2, "duplicatedrocky2" + duplicatedrockycount2, duplicatedrockycount2);
Symbol 1641 MovieClip Frame 99
duplicatedrockycount = duplicatedrockycount + 1;
duplicateMovieClip (duplicatedrocky, "duplicatedrocky" + duplicatedrockycount, duplicatedrockycount);
Symbol 1641 MovieClip Frame 100
duplicatedrockycount2 = duplicatedrockycount2 + 1;
duplicateMovieClip (duplicatedrocky2, "duplicatedrocky2" + duplicatedrockycount2, duplicatedrockycount2);
Symbol 1641 MovieClip Frame 101
duplicatedrockycount = 0;
Symbol 1641 MovieClip Frame 129
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 1642 MovieClip Frame 2
gotoAndPlay (1);
_root.battlerocky = true;
Symbol 1645 MovieClip Frame 1
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1645 MovieClip Frame 22
_root.battleguy.swapDepths(_root.EnemyMain);
stop();
Symbol 1676 MovieClip Frame 75
gotoAndPlay (25);
Symbol 1704 MovieClip Frame 1
_root.enemyHP = random(2) + 7;
_root.enemyMP = 15;
Symbol 1704 MovieClip Frame 2
stop();
Symbol 1704 MovieClip Frame 3
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1704 MovieClip Frame 22
block = true;
spikeydmg = random(1) + 1;
Symbol 1704 MovieClip Frame 23
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1704 MovieClip Frame 24
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.fishy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1704 MovieClip Frame 25
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.fishy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1704 MovieClip Frame 26
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.fishy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeydmg;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 1704 MovieClip Frame 27
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1704 MovieClip Frame 28
if (block == false) {
spikeydmg = spikeydmg + 1;
}
Symbol 1704 MovieClip Frame 36
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 1704 MovieClip Frame 37
_root.turn = "comp";
Symbol 1704 MovieClip Frame 38
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1704 MovieClip Frame 54
_root.levelupisplaying = false;
Symbol 1704 MovieClip Frame 55
_root.dead = true;
_root.EnemyMain.swapDepths(_root.battleguy);
stop();
_root.goldget = 1 + random(2);
_root.gold = _root.gold + _root.goldget;
_root.expget = 18 - _root.level;
_root.itemget = random(4);
if (_root.itemget == 3) {
_root.enemyMain.fishy.itemchooser.gotoAndStop("hipotion") || (gotoAndStop (1));
} else {
_root.enemyMain.fishy.itemchooser.gotoAndStop("none");
}
if ((_root.expget < 0) || (_root.expget == 0)) {
_root.expget = 1;
}
_root.exp = _root.exp + _root.expget;
if ((_root.exp == 100) || (_root.exp > 100)) {
_root.EnemyMain.fishy.okbutton.gotoAndStop(2);
if (_root.level == 30) {
_root.level = 30;
_root.exp = 100;
} else {
_root.level = _root.level + 1;
_root.exp = 0;
}
_root.EnemyMain.fishy.levelup.gotoAndStop(2);
_root.hp = _root.hptotal;
_root.mp = _root.mptotal;
}
Symbol 1704 MovieClip Frame 56
_root.gotoAndPlay("map1");
_root.Menu = false;
_root.Turn = "guy";
_root.enemychooser = 0;
_root.battlefishy = false;
Symbol 1704 MovieClip Frame 62
_root.spikeyplay = random(2) + 1;
if (_root.spikeyplay == 1) {
_root.EnemyMain.fishy.gotoAndPlay("fishyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.fishy.gotoAndPlay("fishymagicattacking");
} else {
_root.EnemyMain.fishy.gotoAndPlay("fishyattacking");
}
}
Symbol 1704 MovieClip Frame 64
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1704 MovieClip Frame 337
block = true;
spikeymagic = random(15) + 5;
Symbol 1704 MovieClip Frame 338
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1704 MovieClip Frame 339
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.fishy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1704 MovieClip Frame 340
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.fishy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1704 MovieClip Frame 341
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.fishy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeymagic;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 1704 MovieClip Frame 342
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
_root.enemyMP = _root.enemyMP - 15;
Symbol 1704 MovieClip Frame 343
if (block == false) {
spikeymagic = spikeymagic + 2;
}
Symbol 1704 MovieClip Frame 370
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 1705 MovieClip Frame 2
gotoAndPlay (1);
_root.battlefishy = true;
Symbol 1708 MovieClip Frame 1
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1708 MovieClip Frame 22
_root.battleguy.swapDepths(_root.EnemyMain);
stop();
Symbol 1727 MovieClip Frame 7
stop();
Symbol 1763 MovieClip Frame 1
_root.enemyHP = random(14) + 6;
_root.enemyMP = 15;
Symbol 1763 MovieClip Frame 2
stop();
Symbol 1763 MovieClip Frame 3
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1763 MovieClip Frame 9
block = true;
spikeydmg = random(5) + 4;
Symbol 1763 MovieClip Frame 10
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1763 MovieClip Frame 11
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.helly.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1763 MovieClip Frame 12
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.helly.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1763 MovieClip Frame 13
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.helly.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeydmg;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 1763 MovieClip Frame 14
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1763 MovieClip Frame 15
if (block == false) {
spikeydmg = spikeydmg + 1;
}
Symbol 1763 MovieClip Frame 36
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 1763 MovieClip Frame 37
_root.turn = "comp";
Symbol 1763 MovieClip Frame 54
_root.levelupisplaying = false;
Symbol 1763 MovieClip Frame 55
_root.dead = true;
_root.EnemyMain.swapDepths(_root.battleguy);
stop();
_root.goldget = random(13) + 7;
_root.gold = _root.gold + _root.goldget;
_root.expget = 19 - _root.level;
_root.itemget = random(4);
if (_root.itemget == 3) {
_root.enemyMain.helly.itemchooser.gotoAndStop("hipotion") || (gotoAndStop (1));
} else {
_root.enemyMain.helly.itemchooser.gotoAndStop("none");
}
if ((_root.expget < 0) || (_root.expget == 0)) {
_root.expget = 1;
}
_root.exp = _root.exp + _root.expget;
if ((_root.exp == 100) || (_root.exp > 100)) {
_root.EnemyMain.helly.okbutton.gotoAndStop(2);
if (_root.level == 30) {
_root.level = 30;
_root.exp = 100;
} else {
_root.level = _root.level + 1;
_root.exp = 0;
}
_root.EnemyMain.helly.levelup.gotoAndStop(2);
_root.hp = _root.hptotal;
_root.mp = _root.mptotal;
}
Symbol 1763 MovieClip Frame 56
_root.gotoAndPlay("map1");
_root.Menu = false;
_root.Turn = "guy";
_root.enemychooser = 0;
_root.battlehelly = false;
Symbol 1763 MovieClip Frame 67
_root.spikeyplay = random(2) + 1;
if (_root.spikeyplay == 1) {
_root.EnemyMain.helly.gotoAndPlay("hellyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.helly.gotoAndPlay("hellymagicattacking");
} else {
_root.EnemyMain.helly.gotoAndPlay("hellyattacking");
}
}
Symbol 1763 MovieClip Frame 70
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1763 MovieClip Frame 76
block = true;
spikeymagic = random(15) + 5;
Symbol 1763 MovieClip Frame 77
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1763 MovieClip Frame 78
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.helly.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1763 MovieClip Frame 79
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.helly.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1763 MovieClip Frame 80
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.helly.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeymagic;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 1763 MovieClip Frame 81
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
_root.enemyMP = _root.enemyMP - 15;
Symbol 1763 MovieClip Frame 82
if (block == false) {
spikeymagic = spikeymagic + 2;
}
Symbol 1763 MovieClip Frame 100
_root.levelupisplaying = false;
Symbol 1763 MovieClip Frame 101
_root.dead = true;
_root.EnemyMain.swapDepths(_root.battleguy);
stop();
_root.goldget = random(13) + 7;
_root.gold = _root.gold + _root.goldget;
_root.expget = 19 - _root.level;
_root.itemget = random(4);
if (_root.itemget == 3) {
_root.enemyMain.helly.itemchooser.gotoAndStop("hipotion") || (gotoAndStop (1));
} else {
_root.enemyMain.helly.itemchooser.gotoAndStop("none");
}
if ((_root.expget < 0) || (_root.expget == 0)) {
_root.expget = 1;
}
_root.exp = _root.exp + _root.expget;
if ((_root.exp == 100) || (_root.exp > 100)) {
_root.EnemyMain.helly.okbutton.gotoAndStop(2);
if (_root.level == 30) {
_root.level = 30;
_root.exp = 100;
} else {
_root.level = _root.level + 1;
_root.exp = 0;
}
_root.EnemyMain.helly.levelup.gotoAndStop(2);
_root.hp = _root.hptotal;
_root.mp = _root.mptotal;
}
_root.battleguy.guystances.gotoAndStop("stance");
Symbol 1763 MovieClip Frame 102
_root.gotoAndPlay("map1");
_root.Menu = false;
_root.Turn = "guy";
_root.enemychooser = 0;
_root.battlehelly = false;
Symbol 1764 MovieClip Frame 2
gotoAndPlay (1);
_root.battlehelly = true;
Symbol 1767 MovieClip Frame 1
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1767 MovieClip Frame 22
_root.battleguy.swapDepths(_root.EnemyMain);
stop();
Symbol 1905 MovieClip Frame 1
_root.enemyHP = random(10) + 10;
_root.enemyMP = 15;
Symbol 1905 MovieClip Frame 2
stop();
Symbol 1905 MovieClip Frame 3
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1905 MovieClip Frame 22
block = true;
spikeydmg = random(5) + 1;
Symbol 1905 MovieClip Frame 23
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1905 MovieClip Frame 24
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.spongy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1905 MovieClip Frame 25
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.spongy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1905 MovieClip Frame 26
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.spongy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeydmg;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 1905 MovieClip Frame 27
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1905 MovieClip Frame 28
if (block == false) {
spikeydmg = spikeydmg + 1;
}
Symbol 1905 MovieClip Frame 36
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 1905 MovieClip Frame 37
_root.turn = "comp";
Symbol 1905 MovieClip Frame 54
_root.levelupisplaying = false;
Symbol 1905 MovieClip Frame 55
_root.dead = true;
_root.EnemyMain.swapDepths(_root.battleguy);
stop();
_root.goldget = random(14) + 8;
_root.gold = _root.gold + _root.goldget;
_root.expget = 20 - _root.level;
_root.itemget = random(4);
if (_root.itemget == 3) {
_root.enemyMain.spongy.itemchooser.gotoAndStop("hipotion") || (gotoAndStop (1));
} else {
_root.enemyMain.spongy.itemchooser.gotoAndStop("none");
}
if ((_root.expget < 0) || (_root.expget == 0)) {
_root.expget = 1;
}
_root.exp = _root.exp + _root.expget;
if ((_root.exp == 100) || (_root.exp > 100)) {
_root.EnemyMain.spongy.okbutton.gotoAndStop(2);
if (_root.level == 30) {
_root.level = 30;
_root.exp = 100;
} else {
_root.level = _root.level + 1;
_root.exp = 0;
}
_root.EnemyMain.spongy.levelup.gotoAndStop(2);
_root.hp = _root.hptotal;
_root.mp = _root.mptotal;
}
Symbol 1905 MovieClip Frame 56
_root.gotoAndPlay("map1");
_root.Menu = false;
_root.Turn = "guy";
_root.enemychooser = 0;
_root.battlespongy = false;
Symbol 1905 MovieClip Frame 67
_root.spikeyplay = random(2) + 1;
if (_root.spikeyplay == 1) {
_root.EnemyMain.spongy.gotoAndPlay("spongyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.spongy.gotoAndPlay("spongymagicattacking");
} else {
_root.EnemyMain.spongy.gotoAndPlay("spongyattacking");
}
}
Symbol 1905 MovieClip Frame 69
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1905 MovieClip Frame 167
block = true;
spikeymagic = random(10) + 10;
Symbol 1905 MovieClip Frame 168
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1905 MovieClip Frame 169
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.spongy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1905 MovieClip Frame 170
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.spongy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
damage = spikeymagic;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 1905 MovieClip Frame 171
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.spongy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
_root.enemyMP = _root.enemyMP - 15;
Symbol 1905 MovieClip Frame 172
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1905 MovieClip Frame 173
if (block == false) {
spikeymagic = spikeymagic + 2;
}
Symbol 1905 MovieClip Frame 199
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 1906 MovieClip Frame 2
gotoAndPlay (1);
_root.battlespongy = true;
Symbol 1909 MovieClip Frame 1
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1909 MovieClip Frame 23
_root.battleguy.swapDepths(_root.EnemyMain);
stop();
Symbol 2027 MovieClip Frame 1
_root.enemyHP = random(10) + 15;
_root.enemyMP = 15;
Symbol 2027 MovieClip Frame 2
stop();
Symbol 2027 MovieClip Frame 3
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 2027 MovieClip Frame 22
block = true;
spikeydmg = random(5) + 3;
Symbol 2027 MovieClip Frame 23
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2027 MovieClip Frame 24
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.wormy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2027 MovieClip Frame 25
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.wormy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2027 MovieClip Frame 26
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.wormy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeydmg;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 2027 MovieClip Frame 27
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2027 MovieClip Frame 28
if (block == false) {
spikeydmg = spikeydmg + 1;
}
Symbol 2027 MovieClip Frame 49
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 2027 MovieClip Frame 50
_root.turn = "comp";
Symbol 2027 MovieClip Frame 67
_root.levelupisplaying = false;
Symbol 2027 MovieClip Frame 68
_root.dead = true;
_root.EnemyMain.swapDepths(_root.battleguy);
stop();
_root.goldget = random(16) + 9;
_root.gold = _root.gold + _root.goldget;
_root.expget = 21 - _root.level;
_root.itemget = random(4);
if (_root.itemget == 3) {
_root.enemyMain.wormy.itemchooser.gotoAndStop("hipotion") || (gotoAndStop (1));
} else {
_root.enemyMain.wormy.itemchooser.gotoAndStop("none");
}
if ((_root.expget < 0) || (_root.expget == 0)) {
_root.expget = 1;
}
_root.exp = _root.exp + _root.expget;
if ((_root.exp == 100) || (_root.exp > 100)) {
_root.EnemyMain.wormy.okbutton.gotoAndStop(2);
if (_root.level == 30) {
_root.level = 30;
_root.exp = 100;
} else {
_root.level = _root.level + 1;
_root.exp = 0;
}
_root.EnemyMain.wormy.levelup.gotoAndStop(2);
_root.hp = _root.hptotal;
_root.mp = _root.mptotal;
}
Symbol 2027 MovieClip Frame 69
_root.gotoAndPlay("map1");
_root.Menu = false;
_root.Turn = "guy";
_root.enemychooser = 0;
_root.battlewormy = false;
Symbol 2027 MovieClip Frame 76
_root.spikeyplay = random(2) + 1;
if (_root.spikeyplay == 1) {
_root.EnemyMain.wormy.gotoAndPlay("wormyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.wormy.gotoAndPlay("wormymagicattacking");
} else {
_root.EnemyMain.wormy.gotoAndPlay("wormyattacking");
}
}
Symbol 2027 MovieClip Frame 78
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 2027 MovieClip Frame 89
block = true;
spikeymagic = random(4) + 1;
Symbol 2027 MovieClip Frame 90
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2027 MovieClip Frame 91
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.wormy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2027 MovieClip Frame 92
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.wormy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2027 MovieClip Frame 93
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.wormy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeymagic;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 2027 MovieClip Frame 94
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
_root.enemyMP = _root.enemyMP - 2;
Symbol 2027 MovieClip Frame 95
if (block == false) {
spikeymagic = spikeymagic + 2;
}
Symbol 2027 MovieClip Frame 111
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 2028 MovieClip Frame 2
gotoAndPlay (1);
_root.battlewormy = true;
Symbol 2031 MovieClip Frame 1
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 2031 MovieClip Frame 22
_root.battleguy.swapDepths(_root.EnemyMain);
stop();
Symbol 2038 MovieClip Frame 11
stop();
Symbol 2069 MovieClip Frame 1
_root.enemyHP = random(15) + 5;
_root.enemyMP = 15;
Symbol 2069 MovieClip Frame 2
stop();
Symbol 2069 MovieClip Frame 3
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 2069 MovieClip Frame 22
block = true;
spikeydmg = random(5) + 1;
Symbol 2069 MovieClip Frame 23
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2069 MovieClip Frame 24
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.puffy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2069 MovieClip Frame 25
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.puffy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2069 MovieClip Frame 26
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.puffy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeydmg;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 2069 MovieClip Frame 27
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2069 MovieClip Frame 28
if (block == false) {
spikeydmg = spikeydmg + 1;
}
Symbol 2069 MovieClip Frame 36
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 2069 MovieClip Frame 37
_root.turn = "comp";
Symbol 2069 MovieClip Frame 54
_root.levelupisplaying = false;
Symbol 2069 MovieClip Frame 55
_root.dead = true;
_root.EnemyMain.swapDepths(_root.battleguy);
stop();
_root.goldget = random(18) + 10;
_root.gold = _root.gold + _root.goldget;
_root.expget = 22 - _root.level;
_root.itemget = random(4);
if (_root.itemget == 3) {
_root.enemyMain.puffy.itemchooser.gotoAndStop("xether");
} else {
_root.enemyMain.puffy.itemchooser.gotoAndStop("none");
}
if ((_root.expget < 0) || (_root.expget == 0)) {
_root.expget = 1;
}
_root.exp = _root.exp + _root.expget;
if ((_root.exp == 100) || (_root.exp > 100)) {
_root.EnemyMain.puffy.okbutton.gotoAndStop(2);
if (_root.level == 30) {
_root.level = 30;
_root.exp = 100;
} else {
_root.level = _root.level + 1;
_root.exp = 0;
}
_root.EnemyMain.puffy.levelup.gotoAndStop(2);
_root.hp = _root.hptotal;
_root.mp = _root.mptotal;
}
Symbol 2069 MovieClip Frame 56
_root.gotoAndPlay("map1");
_root.Menu = false;
_root.Turn = "guy";
_root.enemychooser = 0;
_root.battlepuffy = false;
Symbol 2069 MovieClip Frame 68
_root.spikeyplay = random(2) + 1;
if (_root.spikeyplay == 1) {
_root.EnemyMain.puffy.gotoAndPlay("puffyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.puffy.gotoAndPlay("puffymagicattacking");
} else {
_root.EnemyMain.puffy.gotoAndPlay("puffyattacking");
}
}
Symbol 2069 MovieClip Frame 70
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 2069 MovieClip Frame 85
block = true;
spikeymagic = random(6) + 7;
Symbol 2069 MovieClip Frame 86
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2069 MovieClip Frame 87
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.puffy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2069 MovieClip Frame 88
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.puffy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2069 MovieClip Frame 89
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.puffy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeymagic;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 2069 MovieClip Frame 90
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
_root.enemyMP = _root.enemyMP - 4;
Symbol 2069 MovieClip Frame 91
if (block == false) {
spikeymagic = spikeymagic + 2;
}
Symbol 2069 MovieClip Frame 103
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 2070 MovieClip Frame 2
gotoAndPlay (1);
_root.battlepuffy = true;
Symbol 2073 MovieClip Frame 1
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 2073 MovieClip Frame 22
_root.battleguy.swapDepths(_root.EnemyMain);
stop();
Symbol 2090 MovieClip Frame 1
if (_root.battlespikey == true) {
_root.EnemyMain.spikey.gotoAndStop("getstuff");
}
if (_root.battlepointy == true) {
_root.EnemyMain.pointy.gotoAndStop("getstuff");
}
if (_root.battlewingy == true) {
_root.EnemyMain.wingy.gotoAndStop("getstuff");
}
if (_root.battleblasty == true) {
_root.EnemyMain.blasty.gotoAndStop("getstuff");
}
if (_root.battleshelly == true) {
_root.EnemyMain.shelly.gotoAndStop("getstuff");
}
if (_root.battlerocky == true) {
_root.EnemyMain.rocky.gotoAndStop("getstuff");
}
if (_root.battlewormy == true) {
_root.EnemyMain.wormy.gotoAndStop("getstuff");
}
if (_root.battlebuffy == true) {
_root.EnemyMain.buffy.gotoAndStop("getstuff");
}
if (_root.battlehelly == true) {
_root.EnemyMain.helly.gotoAndStop("getstuff");
}
if (_root.battlefishy == true) {
_root.EnemyMain.fishy.gotoAndStop("getstuff");
}
if (_root.battlespongy == true) {
_root.EnemyMain.spongy.gotoAndStop("getstuff");
}
if (_root.battlesticky == true) {
_root.EnemyMain.sticky.gotoAndStop("getstuff");
}
if (_root.battlescreamy == true) {
_root.EnemyMain.screamy.gotoAndStop("getstuff");
}
if (_root.battleslimey == true) {
_root.EnemyMain.slimey.gotoAndStop("getstuff");
}
if (_root.battleghosty == true) {
_root.EnemyMain.ghosty.gotoAndStop("getstuff");
}
if (_root.battlepuffy == true) {
_root.EnemyMain.puffy.gotoAndStop("getstuff");
}
Symbol 2090 MovieClip Frame 2
if (_root.battlespikey == true) {
_root.EnemyMain.spikey.gotoAndStop("getstuff");
}
if (_root.battlepointy == true) {
_root.EnemyMain.pointy.gotoAndStop("getstuff");
}
if (_root.battlewingy == true) {
_root.EnemyMain.wingy.gotoAndStop("getstuff");
}
if (_root.battleblasty == true) {
_root.EnemyMain.blasty.gotoAndStop("getstuff");
}
if (_root.battleshelly == true) {
_root.EnemyMain.shelly.gotoAndStop("getstuff");
}
if (_root.battlerocky == true) {
_root.EnemyMain.rocky.gotoAndStop("getstuff");
}
if (_root.battlewormy == true) {
_root.EnemyMain.wormy.gotoAndStop("getstuff");
}
if (_root.battlebuffy == true) {
_root.EnemyMain.buffy.gotoAndStop("getstuff");
}
if (_root.battlehelly == true) {
_root.EnemyMain.helly.gotoAndStop("getstuff");
}
if (_root.battlefishy == true) {
_root.EnemyMain.fishy.gotoAndStop("getstuff");
}
if (_root.battlespongy == true) {
_root.EnemyMain.spongy.gotoAndStop("getstuff");
}
if (_root.battlesticky == true) {
_root.EnemyMain.sticky.gotoAndStop("getstuff");
}
if (_root.battlescreamy == true) {
_root.EnemyMain.screamy.gotoAndStop("getstuff");
}
if (_root.battleslimey == true) {
_root.EnemyMain.slimey.gotoAndStop("getstuff");
}
if (_root.battleghosty == true) {
_root.EnemyMain.ghosty.gotoAndStop("getstuff");
}
if (_root.battlepuffy == true) {
_root.EnemyMain.puffy.gotoAndStop("getstuff");
}
Symbol 2091 MovieClip Frame 1
stop();
Symbol 2091 MovieClip Frame 2
stop();
Symbol 2091 MovieClip Frame 3
stop();
Symbol 2091 MovieClip Frame 4
stop();
_root.dead = false;
_root.battlemusic.gotoAndStop("victory");
if (_root.battlespikey == true) {
_root.EnemyMain.spikey.gotoAndStop("getstuff");
}
if (_root.battlepointy == true) {
_root.EnemyMain.pointy.gotoAndStop("getstuff");
}
if (_root.battlewingy == true) {
_root.EnemyMain.wingy.gotoAndStop("getstuff");
}
if (_root.battleblasty == true) {
_root.EnemyMain.blasty.gotoAndStop("getstuff");
}
if (_root.battleshelly == true) {
_root.EnemyMain.shelly.gotoAndStop("getstuff");
}
if (_root.battlerocky == true) {
_root.EnemyMain.rocky.gotoAndStop("getstuff");
}
if (_root.battlewormy == true) {
_root.EnemyMain.wormy.gotoAndStop("getstuff");
}
if (_root.battlebuffy == true) {
_root.EnemyMain.buffy.gotoAndStop("getstuff");
}
if (_root.battlehelly == true) {
_root.EnemyMain.helly.gotoAndStop("getstuff");
}
if (_root.battlefishy == true) {
_root.EnemyMain.fishy.gotoAndStop("getstuff");
}
if (_root.battlespongy == true) {
_root.EnemyMain.spongy.gotoAndStop("getstuff");
}
if (_root.battlesticky == true) {
_root.EnemyMain.sticky.gotoAndStop("getstuff");
}
if (_root.battlescreamy == true) {
_root.EnemyMain.screamy.gotoAndStop("getstuff");
}
if (_root.battleslimey == true) {
_root.EnemyMain.slimey.gotoAndStop("getstuff");
}
if (_root.battleghosty == true) {
_root.EnemyMain.ghosty.gotoAndStop("getstuff");
}
if (_root.battlepuffy == true) {
_root.EnemyMain.puffy.gotoAndStop("getstuff");
}
Symbol 2096 Button
on (release) {
if (_root.Turn == "guy") {
gotoAndStop (2);
}
}
Symbol 2100 Button
on (release) {
if (_root.Turn == "guy") {
_root.battleguy.gotoAndPlay("attack");
}
}
Symbol 2105 Button
on (release) {
if (_root.Turn == "guy") {
if (_root.run == true) {
run = random(2) + 1;
if (run == 1) {
_root.battleguy.gotoAndPlay("run");
} else if (run == 2) {
_root.battleguy.gotoAndPlay("norun");
}
}
}
}
Symbol 2110 Button
on (release) {
if (_root.Turn == "guy") {
gotoAndStop (3);
}
}
Symbol 2117 MovieClip Frame 1
stop();
Symbol 2117 MovieClip Frame 20
_root.Turn = "comp";
_root.spikeyplay = random(2) + 1;
if (_root.battlepointy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.pointy.gotoAndPlay("pointyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.pointy.gotoAndPlay("pointymagicattacking");
} else {
_root.EnemyMain.pointy.gotoAndPlay("pointyattacking");
}
}
}
if (_root.battlespikey == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.spikey.gotoAndPlay("attacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.spikey.gotoAndPlay("magicattacking");
} else {
_root.EnemyMain.spikey.gotoAndPlay("attacking");
}
}
}
if (_root.battlebuffy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.buffy.gotoAndPlay("buffyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.buffy.gotoAndPlay("buffymagicattacking");
} else {
_root.EnemyMain.buffy.gotoAndPlay("buffyattacking");
}
}
}
if (_root.battlerocky == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.rocky.gotoAndPlay("rockyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.rocky.gotoAndPlay("rockymagicattacking");
} else {
_root.EnemyMain.rocky.gotoAndPlay("rockyattacking");
}
}
}
if (_root.battlefishy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.fishy.gotoAndPlay("fishyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.fishy.gotoAndPlay("fishymagicattacking");
} else {
_root.EnemyMain.fishy.gotoAndPlay("fishyattacking");
}
}
}
if (_root.battlehelly == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.helly.gotoAndPlay("hellyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.helly.gotoAndPlay("hellymagicattacking");
} else {
_root.EnemyMain.helly.gotoAndPlay("hellyattacking");
}
}
}
if (_root.battlespongy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.spongy.gotoAndPlay("spongyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.spongy.gotoAndPlay("spongymagicattacking");
} else {
_root.EnemyMain.spongy.gotoAndPlay("spongyattacking");
}
}
}
if (_root.battlewormy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.wormy.gotoAndPlay("wormyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.wormy.gotoAndPlay("wormymagicattacking");
} else {
_root.EnemyMain.wormy.gotoAndPlay("wormyattacking");
}
}
}
if (_root.battlepuffy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.puffy.gotoAndPlay("puffyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.puffy.gotoAndPlay("puffymagicattacking");
} else {
_root.EnemyMain.puffy.gotoAndPlay("puffyattacking");
}
}
}
if (_root.battlescreamy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.screamy.gotoAndPlay("screamyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.screamy.gotoAndPlay("screamymagicattacking");
} else {
_root.EnemyMain.screamy.gotoAndPlay("screamyattacking");
}
}
}
if (_root.battlesticky == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.sticky.gotoAndPlay("stickyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.sticky.gotoAndPlay("stickymagicattacking");
} else {
_root.EnemyMain.sticky.gotoAndPlay("stickyattacking");
}
}
}
if (_root.battleslimey == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.slimey.gotoAndPlay("slimeyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.slimey.gotoAndPlay("slimeymagicattacking");
} else {
_root.EnemyMain.slimey.gotoAndPlay("slimeyattacking");
}
}
}
if (_root.battleghosty == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostymagicattacking");
} else {
_root.EnemyMain.ghosty.gotoAndPlay("ghostyattacking");
}
}
}
if (_root.battleshelly == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.shelly.gotoAndPlay("shellyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.shelly.gotoAndPlay("shellymagicattacking");
} else {
_root.EnemyMain.shelly.gotoAndPlay("shellyattacking");
}
}
}
if (_root.battleblasty == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.blasty.gotoAndPlay("blastyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.blasty.gotoAndPlay("blastymagicattacking");
} else {
_root.EnemyMain.blasty.gotoAndPlay("blastyattacking");
}
}
}
if (_root.battlewingy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.wingy.gotoAndPlay("wingyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.wingy.gotoAndPlay("wingymagicattacking");
} else {
_root.EnemyMain.wingy.gotoAndPlay("wingyattacking");
}
}
}
if (_root.battlewizard == true) {
if (_root.spikeyplay == 1) {
_root.wizard.gotoAndPlay("wizardattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.wizard.gotoAndPlay("wizardmagicattacking");
} else {
_root.wizard.gotoAndPlay("wizardattacking");
}
}
}
if (_root.battlewizard2 == true) {
if (_root.spikeyplay == 1) {
_root.wizard.gotoAndPlay("wizardattacking2");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.wizard.gotoAndPlay("wizardmagicattacking2");
} else {
_root.wizard.gotoAndPlay("wizardattacking2");
}
}
}
Symbol 2120 Button
on (release) {
_parent.gotoAndStop(1);
}
Symbol 2128 Button
on (release) {
if ((_root.mp == 1) || (_root.mp > 1)) {
_root.battleguy.gotoAndPlay("fire");
_root.mp = _root.mp - 1;
}
}
Symbol 2130 MovieClip Frame 1
stop();
Symbol 2130 MovieClip Frame 2
stop();
Symbol 2136 Button
on (release) {
if ((_root.mp == 2) || (_root.mp > 2)) {
_root.battleguy.gotoAndPlay("blizzard");
_root.mp = _root.mp - 2;
}
}
Symbol 2138 MovieClip Frame 1
stop();
Symbol 2138 MovieClip Frame 2
stop();
Symbol 2144 Button
on (release) {
if ((_root.mp == 3) || (_root.mp > 3)) {
_root.battleguy.gotoAndPlay("thunder");
_root.mp = _root.mp - 3;
}
}
Symbol 2146 MovieClip Frame 1
stop();
Symbol 2146 MovieClip Frame 2
stop();
Symbol 2152 Button
on (release) {
if ((_root.mp == 4) || (_root.mp > 4)) {
_root.battleguy.gotoAndPlay("cure");
_root.mp = _root.mp - 4;
}
}
Symbol 2154 MovieClip Frame 1
stop();
Symbol 2154 MovieClip Frame 2
stop();
Symbol 2160 Button
on (release) {
if ((_root.mp == 5) || (_root.mp > 5)) {
_root.battleguy.gotoAndPlay("fira");
_root.mp = _root.mp - 5;
}
}
Symbol 2162 MovieClip Frame 1
stop();
Symbol 2162 MovieClip Frame 2
stop();
Symbol 2167 Button
on (release) {
if ((_root.mp == 6) || (_root.mp > 6)) {
_root.battleguy.gotoAndPlay("blizzara");
_root.mp = _root.mp - 6;
}
}
Symbol 2169 MovieClip Frame 1
stop();
Symbol 2169 MovieClip Frame 2
stop();
Symbol 2175 Button
on (release) {
if ((_root.mp == 7) || (_root.mp > 7)) {
_root.battleguy.gotoAndPlay("thundara");
_root.mp = _root.mp - 7;
}
}
Symbol 2177 MovieClip Frame 1
stop();
Symbol 2177 MovieClip Frame 2
stop();
Symbol 2183 Button
on (release) {
if ((_root.mp == 8) || (_root.mp > 8)) {
_root.battleguy.gotoAndPlay("cura");
_root.mp = _root.mp - 8;
}
}
Symbol 2185 MovieClip Frame 1
stop();
Symbol 2185 MovieClip Frame 2
stop();
Symbol 2191 Button
on (release) {
if ((_root.mp == 9) || (_root.mp > 9)) {
_root.battleguy.gotoAndPlay("firaga");
_root.mp = _root.mp - 9;
}
}
Symbol 2193 MovieClip Frame 1
stop();
Symbol 2193 MovieClip Frame 2
stop();
Symbol 2199 Button
on (release) {
if ((_root.mp == 10) || (_root.mp > 10)) {
_root.battleguy.gotoAndPlay("blizzaga");
_root.mp = _root.mp - 10;
}
}
Symbol 2201 MovieClip Frame 1
stop();
Symbol 2201 MovieClip Frame 2
stop();
Symbol 2207 Button
on (release) {
if ((_root.mp == 11) || (_root.mp > 11)) {
_root.battleguy.gotoAndPlay("thundaga");
_root.mp = _root.mp - 11;
}
}
Symbol 2209 MovieClip Frame 1
stop();
Symbol 2209 MovieClip Frame 2
stop();
Symbol 2215 Button
on (release) {
if ((_root.mp == 12) || (_root.mp > 12)) {
_root.battleguy.gotoAndPlay("curaga");
_root.mp = _root.mp - 12;
}
}
Symbol 2217 MovieClip Frame 1
stop();
Symbol 2217 MovieClip Frame 2
stop();
Symbol 2218 MovieClip Frame 1
stop();
Symbol 2218 MovieClip Frame 2
stop();
Instance of Symbol 2130 MovieClip "battlefiremc" in Symbol 2218 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.mp < 1) {
this.gotoAndStop(2);
}
}
Symbol 2218 MovieClip Frame 3
stop();
Instance of Symbol 2138 MovieClip "battleblizzardmc" in Symbol 2218 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.mp < 2) {
this.gotoAndStop(2);
}
}
Symbol 2218 MovieClip Frame 4
stop();
Instance of Symbol 2146 MovieClip "battlethundermc" in Symbol 2218 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.mp < 3) {
this.gotoAndStop(2);
}
}
Symbol 2218 MovieClip Frame 5
stop();
Instance of Symbol 2154 MovieClip "battlecuremc" in Symbol 2218 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.mp < 4) {
this.gotoAndStop(2);
}
}
Symbol 2218 MovieClip Frame 6
stop();
Instance of Symbol 2162 MovieClip "battlefiramc" in Symbol 2218 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.mp < 5) {
this.gotoAndStop(2);
}
}
Symbol 2218 MovieClip Frame 7
stop();
Instance of Symbol 2169 MovieClip "battleblizzaramc" in Symbol 2218 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.mp < 6) {
this.gotoAndStop(2);
}
}
Symbol 2218 MovieClip Frame 8
stop();
Instance of Symbol 2177 MovieClip "battlethundaramc" in Symbol 2218 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_root.mp < 7) {
this.gotoAndStop(2);
}
}
Symbol 2218 MovieClip Frame 9
stop();
Instance of Symbol 2185 MovieClip "battlecuramc" in Symbol 2218 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_root.mp < 8) {
this.gotoAndStop(2);
}
}
Symbol 2218 MovieClip Frame 10
stop();
Instance of Symbol 2193 MovieClip "battllefiragamc" in Symbol 2218 MovieClip Frame 10
onClipEvent (enterFrame) {
if (_root.mp < 9) {
this.gotoAndStop(2);
}
}
Symbol 2218 MovieClip Frame 11
stop();
Instance of Symbol 2201 MovieClip "battleblizzagamc" in Symbol 2218 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.mp < 10) {
this.gotoAndStop(2);
}
}
Symbol 2218 MovieClip Frame 12
stop();
Instance of Symbol 2209 MovieClip "battlethundagamc" in Symbol 2218 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_root.mp < 11) {
this.gotoAndStop(2);
}
}
Symbol 2218 MovieClip Frame 13
stop();
Instance of Symbol 2217 MovieClip "battlecuragamc" in Symbol 2218 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_root.mp < 12) {
this.gotoAndStop(2);
}
}
Symbol 2220 Button
on (release) {
gotoAndStop (1);
}
Symbol 2222 Button
on (release) {
if (_root.potion > 0) {
_root.battleguy.battlemenu.potionuse.play();
_root.potion = _root.potion - 1;
_root.hp = _root.hp + 10;
if (_root.hp > _root.hptotal) {
_root.hp = _root.hptotal;
}
gotoAndStop (1);
}
}
Symbol 2223 Button
on (release) {
if (_root.ether > 0) {
_root.battleguy.battlemenu.potionuse.play();
_root.ether = _root.ether - 1;
_root.mp = _root.mp + 10;
if (_root.mp > _root.mptotal) {
_root.mp = _root.mptotal;
}
gotoAndStop (1);
}
}
Symbol 2224 Button
on (release) {
if (_root.hipotion > 0) {
_root.battleguy.battlemenu.hipotionuse.play();
_root.hipotion = _root.hipotion - 1;
_root.hp = _root.hp + 30;
if (_root.hp > _root.hptotal) {
_root.hp = _root.hptotal;
}
gotoAndStop (1);
}
}
Symbol 2225 Button
on (release) {
if (_root.hiether > 0) {
_root.battleguy.battlemenu.hipotionuse.play();
_root.hiether = _root.hiether - 1;
_root.mp = _root.mp + 30;
if (_root.mp > _root.mptotal) {
_root.mp = _root.mptotal;
}
gotoAndStop (1);
}
}
Symbol 2226 Button
on (release) {
if (_root.xpotion > 0) {
_root.battleguy.battlemenu.xpotionuse.play();
_root.xpotion = _root.xpotion - 1;
_root.hp = _root.hptotal;
gotoAndStop (1);
}
}
Symbol 2227 Button
on (release) {
if (_root.xether > 0) {
_root.battleguy.battlemenu.xpotionuse.play();
_root.xether = _root.xether - 1;
_root.mp = _root.mptotal;
gotoAndStop (1);
}
}
Symbol 2228 MovieClip Frame 1
stop();
Instance of Symbol 2218 MovieClip in Symbol 2228 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.level == 1) {
this.gotoAndStop("blizzard");
} else if (_root.level == 2) {
this.gotoAndStop("cure");
} else if (_root.level == 3) {
this.gotoAndStop("blizzara");
} else if (_root.level == 4) {
this.gotoAndStop("cura");
} else if (_root.level == 5) {
this.gotoAndStop("blizzaga");
} else if ((_root.level == 6) || (_root.level > 6)) {
this.gotoAndStop("curaga");
}
}
Symbol 2288 MovieClip Frame 1
_root.enemyHP = random(15) + 10;
_root.enemyMP = 15;
Symbol 2288 MovieClip Frame 2
stop();
Symbol 2288 MovieClip Frame 3
_root.EnemyMain.swapDepths(_root.battleguy);
Instance of Symbol 859 MovieClip "shadow" in Symbol 2288 MovieClip Frame 3
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 859 MovieClip "shadow" in Symbol 2288 MovieClip Frame 4
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 859 MovieClip "shadow" in Symbol 2288 MovieClip Frame 5
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 859 MovieClip "shadow" in Symbol 2288 MovieClip Frame 5
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 859 MovieClip "shadow" in Symbol 2288 MovieClip Frame 6
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 859 MovieClip "shadow" in Symbol 2288 MovieClip Frame 6
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 859 MovieClip "shadow" in Symbol 2288 MovieClip Frame 7
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 859 MovieClip "shadow" in Symbol 2288 MovieClip Frame 7
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 859 MovieClip "shadow" in Symbol 2288 MovieClip Frame 8
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 859 MovieClip "shadow" in Symbol 2288 MovieClip Frame 8
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 859 MovieClip "shadow" in Symbol 2288 MovieClip Frame 9
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 859 MovieClip "shadow" in Symbol 2288 MovieClip Frame 9
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 859 MovieClip "shadow" in Symbol 2288 MovieClip Frame 10
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 859 MovieClip "shadow" in Symbol 2288 MovieClip Frame 10
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 859 MovieClip "shadow" in Symbol 2288 MovieClip Frame 11
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 859 MovieClip "shadow" in Symbol 2288 MovieClip Frame 11
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 859 MovieClip "shadow" in Symbol 2288 MovieClip Frame 12
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 859 MovieClip "shadow" in Symbol 2288 MovieClip Frame 12
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 859 MovieClip "shadow" in Symbol 2288 MovieClip Frame 13
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 859 MovieClip "shadow" in Symbol 2288 MovieClip Frame 13
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 859 MovieClip "shadow" in Symbol 2288 MovieClip Frame 14
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 859 MovieClip "shadow" in Symbol 2288 MovieClip Frame 14
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Symbol 2288 MovieClip Frame 15
block = true;
spikeydmg = random(8) + 7;
Instance of Symbol 859 MovieClip "shadow" in Symbol 2288 MovieClip Frame 15
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Symbol 2288 MovieClip Frame 16
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Instance of Symbol 859 MovieClip "shadow" in Symbol 2288 MovieClip Frame 16
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 859 MovieClip "shadow" in Symbol 2288 MovieClip Frame 16
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Symbol 2288 MovieClip Frame 17
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.screamy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Instance of Symbol 859 MovieClip "shadow" in Symbol 2288 MovieClip Frame 17
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 859 MovieClip "shadow" in Symbol 2288 MovieClip Frame 17
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Symbol 2288 MovieClip Frame 18
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.screamy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Instance of Symbol 859 MovieClip "shadow" in Symbol 2288 MovieClip Frame 18
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 859 MovieClip "shadow" in Symbol 2288 MovieClip Frame 18
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Symbol 2288 MovieClip Frame 19
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.screamy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeydmg;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Instance of Symbol 859 MovieClip "shadow" in Symbol 2288 MovieClip Frame 19
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 859 MovieClip "shadow" in Symbol 2288 MovieClip Frame 19
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Symbol 2288 MovieClip Frame 20
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Instance of Symbol 859 MovieClip "shadow" in Symbol 2288 MovieClip Frame 20
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 859 MovieClip "shadow" in Symbol 2288 MovieClip Frame 20
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Symbol 2288 MovieClip Frame 21
if (block == false) {
spikeydmg = spikeydmg + 1;
}
Instance of Symbol 859 MovieClip "shadow" in Symbol 2288 MovieClip Frame 21
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 859 MovieClip "shadow" in Symbol 2288 MovieClip Frame 21
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 859 MovieClip "shadow" in Symbol 2288 MovieClip Frame 22
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 859 MovieClip "shadow" in Symbol 2288 MovieClip Frame 22
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 859 MovieClip "shadow" in Symbol 2288 MovieClip Frame 23
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 859 MovieClip "shadow" in Symbol 2288 MovieClip Frame 23
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Symbol 2288 MovieClip Frame 36
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 2288 MovieClip Frame 37
_root.turn = "comp";
Symbol 2288 MovieClip Frame 54
_root.levelupisplaying = false;
Symbol 2288 MovieClip Frame 55
_root.dead = true;
_root.EnemyMain.swapDepths(_root.battleguy);
stop();
_root.goldget = random(20) + 10;
_root.gold = _root.gold + _root.goldget;
_root.expget = 23 - _root.level;
_root.itemget = random(4);
if (_root.itemget == 3) {
_root.enemyMain.screamy.itemchooser.gotoAndStop("xether");
} else {
_root.enemyMain.screamy.itemchooser.gotoAndStop("none");
}
if ((_root.expget < 0) || (_root.expget == 0)) {
_root.expget = 1;
}
_root.exp = _root.exp + _root.expget;
if ((_root.exp == 100) || (_root.exp > 100)) {
_root.EnemyMain.screamy.okbutton.gotoAndStop(2);
if (_root.level == 30) {
_root.level = 30;
_root.exp = 100;
} else {
_root.level = _root.level + 1;
_root.exp = 0;
}
_root.EnemyMain.screamy.levelup.gotoAndStop(2);
_root.hp = _root.hptotal;
_root.mp = _root.mptotal;
}
Symbol 2288 MovieClip Frame 56
_root.gotoAndPlay("map1");
_root.Menu = false;
_root.Turn = "guy";
_root.enemychooser = 0;
_root.battlescreamy = false;
Symbol 2288 MovieClip Frame 67
_root.spikeyplay = random(2) + 1;
if (_root.spikeyplay == 1) {
_root.EnemyMain.screamy.gotoAndPlay("screamyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.screamy.gotoAndPlay("screamymagicattacking");
} else {
_root.EnemyMain.screamy.gotoAndPlay("screamyattacking");
}
}
Symbol 2288 MovieClip Frame 69
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 2288 MovieClip Frame 87
block = true;
spikeymagic = random(7) + 10;
Symbol 2288 MovieClip Frame 88
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2288 MovieClip Frame 89
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.screamy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2288 MovieClip Frame 90
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.screamy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2288 MovieClip Frame 91
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.screamy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeymagic;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 2288 MovieClip Frame 92
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
_root.enemyMP = _root.enemyMP - random(5);
Symbol 2288 MovieClip Frame 93
if (block == false) {
spikeymagic = spikeymagic + 2;
}
Symbol 2288 MovieClip Frame 102
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 2289 MovieClip Frame 2
gotoAndPlay (1);
_root.battlescreamy = true;
Symbol 2292 MovieClip Frame 1
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 2292 MovieClip Frame 22
_root.battleguy.swapDepths(_root.EnemyMain);
stop();
Symbol 2367 MovieClip Frame 11
stop();
Symbol 2381 MovieClip Frame 1
_root.enemyHP = random(20) + 10;
_root.enemyMP = 15;
Symbol 2381 MovieClip Frame 2
stop();
Symbol 2381 MovieClip Frame 3
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 2381 MovieClip Frame 24
block = true;
spikeydmg = random(10) + 5;
Symbol 2381 MovieClip Frame 25
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2381 MovieClip Frame 26
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.sticky.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2381 MovieClip Frame 27
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.sticky.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2381 MovieClip Frame 28
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.sticky.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeydmg;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 2381 MovieClip Frame 29
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2381 MovieClip Frame 30
if (block == false) {
spikeydmg = spikeydmg + 1;
}
Symbol 2381 MovieClip Frame 36
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 2381 MovieClip Frame 37
_root.turn = "comp";
Symbol 2381 MovieClip Frame 54
_root.levelupisplaying = false;
Symbol 2381 MovieClip Frame 55
_root.dead = true;
_root.EnemyMain.swapDepths(_root.battleguy);
stop();
_root.goldget = random(25) + 10;
_root.gold = _root.gold + _root.goldget;
_root.expget = 24 - _root.level;
_root.itemget = random(4);
if (_root.itemget == 3) {
_root.enemyMain.sticky.itemchooser.gotoAndStop("xether") || (gotoAndStop (1));
} else {
_root.enemyMain.sticky.itemchooser.gotoAndStop("none");
}
if ((_root.expget < 0) || (_root.expget == 0)) {
_root.expget = 1;
}
_root.exp = _root.exp + _root.expget;
if ((_root.exp == 100) || (_root.exp > 100)) {
_root.EnemyMain.sticky.okbutton.gotoAndStop(2);
if (_root.level == 30) {
_root.level = 30;
_root.exp = 100;
} else {
_root.level = _root.level + 1;
_root.exp = 0;
}
_root.EnemyMain.sticky.levelup.gotoAndStop(2);
_root.hp = _root.hptotal;
_root.mp = _root.mptotal;
}
Symbol 2381 MovieClip Frame 56
_root.gotoAndPlay("map1");
_root.Menu = false;
_root.Turn = "guy";
_root.enemychooser = 0;
_root.battlesticky = false;
Symbol 2381 MovieClip Frame 67
_root.spikeyplay = random(2) + 1;
if (_root.spikeyplay == 1) {
_root.EnemyMain.sticky.gotoAndPlay("stickyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.sticky.gotoAndPlay("stickymagicattacking");
} else {
_root.EnemyMain.sticky.gotoAndPlay("stickyattacking");
}
}
Symbol 2381 MovieClip Frame 69
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 2381 MovieClip Frame 84
block = true;
spikeymagic = random(10) + 12;
Symbol 2381 MovieClip Frame 85
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2381 MovieClip Frame 86
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.sticky.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2381 MovieClip Frame 87
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.sticky.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2381 MovieClip Frame 88
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.sticky.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeymagic;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 2381 MovieClip Frame 89
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
_root.enemyMP = _root.enemyMP - 2;
Symbol 2381 MovieClip Frame 90
if (block == false) {
spikeymagic = spikeymagic + 2;
}
Symbol 2381 MovieClip Frame 102
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 2382 MovieClip Frame 2
gotoAndPlay (1);
_root.battlesticky = true;
Symbol 2385 MovieClip Frame 1
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 2385 MovieClip Frame 22
_root.battleguy.swapDepths(_root.EnemyMain);
stop();
Symbol 2502 MovieClip Frame 1
_root.enemyHP = random(30) + 15;
_root.enemyMP = 15;
Symbol 2502 MovieClip Frame 2
stop();
Symbol 2502 MovieClip Frame 3
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 2502 MovieClip Frame 22
block = true;
spikeydmg = random(10) + 6;
Symbol 2502 MovieClip Frame 23
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2502 MovieClip Frame 24
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.slimey.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2502 MovieClip Frame 25
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.slimey.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2502 MovieClip Frame 26
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.slimey.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeydmg;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 2502 MovieClip Frame 27
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2502 MovieClip Frame 28
if (block == false) {
spikeydmg = spikeydmg + 1;
}
Symbol 2502 MovieClip Frame 70
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 2502 MovieClip Frame 71
_root.turn = "comp";
Symbol 2502 MovieClip Frame 88
_root.levelupisplaying = false;
Symbol 2502 MovieClip Frame 89
_root.dead = true;
_root.EnemyMain.swapDepths(_root.battleguy);
stop();
_root.goldget = random(30) + 20;
_root.gold = _root.gold + _root.goldget;
_root.expget = 25 - _root.level;
_root.itemget = random(4);
if (_root.itemget == 3) {
_root.enemyMain.slimey.itemchooser.gotoAndStop("xpotion");
} else {
_root.enemyMain.slimey.itemchooser.gotoAndStop("none");
}
if ((_root.expget < 0) || (_root.expget == 0)) {
_root.expget = 1;
}
_root.exp = _root.exp + _root.expget;
if ((_root.exp == 100) || (_root.exp > 100)) {
_root.EnemyMain.slimey.okbutton.gotoAndStop(2);
if (_root.level == 30) {
_root.level = 30;
_root.exp = 100;
} else {
_root.level = _root.level + 1;
_root.exp = 0;
}
_root.EnemyMain.slimey.levelup.gotoAndStop(2);
_root.hp = _root.hptotal;
_root.mp = _root.mptotal;
}
Symbol 2502 MovieClip Frame 90
_root.gotoAndPlay("map1");
_root.Menu = false;
_root.Turn = "guy";
_root.enemychooser = 0;
_root.battleslimey = false;
Symbol 2502 MovieClip Frame 101
_root.spikeyplay = random(2) + 1;
if (_root.spikeyplay == 1) {
_root.EnemyMain.slimey.gotoAndPlay("slimeyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.slimey.gotoAndPlay("slimeymagicattacking");
} else {
_root.EnemyMain.slimey.gotoAndPlay("slimeyattacking");
}
}
Symbol 2502 MovieClip Frame 103
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 2502 MovieClip Frame 130
block = true;
spikeymagic = _root.attack;
Symbol 2502 MovieClip Frame 131
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2502 MovieClip Frame 132
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.slimey.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2502 MovieClip Frame 133
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.slimey.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2502 MovieClip Frame 134
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.slimey.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeymagic;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 2502 MovieClip Frame 135
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
_root.enemyMP = _root.enemyMP - _root.magicattack;
Symbol 2502 MovieClip Frame 136
if (block == false) {
spikeymagic = spikeymagic + 2;
}
Symbol 2502 MovieClip Frame 169
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 2503 MovieClip Frame 2
gotoAndPlay (1);
_root.battleslimey = true;
Symbol 2506 MovieClip Frame 1
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 2506 MovieClip Frame 22
_root.battleguy.swapDepths(_root.EnemyMain);
stop();
Symbol 2510 MovieClip Frame 21
stop();
Symbol 2512 MovieClip Frame 1
duplicateMovieClip (plasma, p, p);
setProperty(plasma, _rotation , random(6));
Symbol 2512 MovieClip Frame 2
p = p + 1;
if (p > 20) {
p = 0;
}
gotoAndPlay (1);
Symbol 2520 MovieClip Frame 1
_root.enemyHP = random(20) + 15;
_root.enemyMP = 15;
Symbol 2520 MovieClip Frame 2
stop();
Symbol 2520 MovieClip Frame 3
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 2520 MovieClip Frame 22
block = true;
spikeydmg = 10;
Symbol 2520 MovieClip Frame 23
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2520 MovieClip Frame 24
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.ghosty.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2520 MovieClip Frame 25
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.ghosty.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2520 MovieClip Frame 26
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.ghosty.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeydmg;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 2520 MovieClip Frame 27
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2520 MovieClip Frame 28
if (block == false) {
spikeydmg = spikeydmg + 1;
}
Symbol 2520 MovieClip Frame 36
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 2520 MovieClip Frame 37
_root.turn = "comp";
Symbol 2520 MovieClip Frame 54
_root.levelupisplaying = false;
Symbol 2520 MovieClip Frame 55
_root.dead = true;
_root.EnemyMain.swapDepths(_root.battleguy);
stop();
_root.goldget = random(30) + 15;
_root.gold = _root.gold + _root.goldget;
_root.expget = 26 - _root.level;
_root.itemget = random(4);
if (_root.itemget == 3) {
_root.enemyMain.ghosty.itemchooser.gotoAndStop("xpotion");
} else {
_root.enemyMain.ghosty.itemchooser.gotoAndStop("none");
}
if ((_root.expget < 0) || (_root.expget == 0)) {
_root.expget = 1;
}
_root.exp = _root.exp + _root.expget;
if ((_root.exp == 100) || (_root.exp > 100)) {
_root.EnemyMain.ghosty.okbutton.gotoAndStop(2);
if (_root.level == 30) {
_root.level = 30;
_root.exp = 100;
} else {
_root.level = _root.level + 1;
_root.exp = 0;
}
_root.EnemyMain.ghosty.levelup.gotoAndStop(2);
_root.hp = _root.hptotal;
_root.mp = _root.mptotal;
}
Symbol 2520 MovieClip Frame 56
_root.gotoAndPlay("map1");
_root.Menu = false;
_root.Turn = "guy";
_root.enemychooser = 0;
_root.battleghosty = false;
Symbol 2520 MovieClip Frame 67
_root.spikeyplay = random(2) + 1;
if (_root.spikeyplay == 1) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostymagicattacking");
} else {
_root.EnemyMain.ghosty.gotoAndPlay("ghostyattacking");
}
}
Symbol 2520 MovieClip Frame 69
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 2520 MovieClip Frame 84
block = true;
spikeymagic = 10;
Symbol 2520 MovieClip Frame 85
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2520 MovieClip Frame 86
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.ghosty.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2520 MovieClip Frame 87
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.ghosty.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2520 MovieClip Frame 88
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.ghosty.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeymagic;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 2520 MovieClip Frame 89
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
_root.enemyMP = _root.enemyMP - 5;
Symbol 2520 MovieClip Frame 90
if (block == false) {
spikeymagic = spikeymagic + 2;
}
Symbol 2520 MovieClip Frame 91
_root.enemyHP = _root.enemyHP + 10;
Symbol 2520 MovieClip Frame 105
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 2521 MovieClip Frame 2
gotoAndPlay (1);
_root.battleghosty = true;
Symbol 2524 MovieClip Frame 1
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 2524 MovieClip Frame 22
_root.battleguy.swapDepths(_root.EnemyMain);
stop();
Symbol 2525 MovieClip Frame 1
if ((_root.level == 8) || (_root.level > 8)) {
_root.enemychooser = random(16) + 1;
if (_root.enemychooser == 1) {
_root.EnemyMain.gotoAndStop("spikey");
_root.battlespikey = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 2) {
_root.EnemyMain.gotoAndStop("pointy");
_root.battlepointy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 3) {
_root.EnemyMain.gotoAndStop("wingy");
_root.battlewingy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 4) {
_root.EnemyMain.gotoAndStop("blasty");
_root.battleblasty = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 5) {
_root.EnemyMain.gotoAndStop("shelly");
_root.battleshelly = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 6) {
_root.EnemyMain.gotoAndStop("buffy");
_root.battlebuffy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 7) {
_root.EnemyMain.gotoAndStop("rocky");
_root.battlerocky = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 8) {
_root.EnemyMain.gotoAndStop("fishy");
_root.battlefishy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 9) {
_root.EnemyMain.gotoAndStop("helly");
_root.battlehelly = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 10) {
_root.EnemyMain.gotoAndStop("spongy");
_root.battlespongy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 11) {
_root.EnemyMain.gotoAndStop("wormy");
_root.battlewormy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 12) {
_root.EnemyMain.gotoAndStop("puffy");
_root.battlepuffy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 13) {
_root.EnemyMain.gotoAndStop("screamy");
_root.battlescreamy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 14) {
_root.EnemyMain.gotoAndStop("sticky");
_root.battlesticky = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 15) {
_root.EnemyMain.gotoAndStop("slimey");
_root.battleslimey = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 16) {
_root.EnemyMain.gotoAndStop("ghosty");
_root.battleghosty = true;
_root.enemychooser = 0;
}
}
if (_root.level == 7) {
_root.enemychooser = random(14) + 1;
if (_root.enemychooser == 1) {
_root.EnemyMain.gotoAndStop("spikey");
_root.battlespikey = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 2) {
_root.EnemyMain.gotoAndStop("pointy");
_root.battlepointy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 3) {
_root.EnemyMain.gotoAndStop("wingy");
_root.battlewingy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 4) {
_root.EnemyMain.gotoAndStop("blasty");
_root.battleblasty = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 5) {
_root.EnemyMain.gotoAndStop("shelly");
_root.battleshelly = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 6) {
_root.EnemyMain.gotoAndStop("buffy");
_root.battlebuffy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 7) {
_root.EnemyMain.gotoAndStop("rocky");
_root.battlerocky = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 8) {
_root.EnemyMain.gotoAndStop("fishy");
_root.battlefishy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 9) {
_root.EnemyMain.gotoAndStop("helly");
_root.battlehelly = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 10) {
_root.EnemyMain.gotoAndStop("spongy");
_root.battlespongy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 11) {
_root.EnemyMain.gotoAndStop("wormy");
_root.battlewormy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 12) {
_root.EnemyMain.gotoAndStop("puffy");
_root.battlepuffy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 13) {
_root.EnemyMain.gotoAndStop("screamy");
_root.battlescreamy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 14) {
_root.EnemyMain.gotoAndStop("sticky");
_root.battlesticky = true;
_root.enemychooser = 0;
}
}
if (_root.level == 6) {
_root.enemychooser = random(12) + 1;
if (_root.enemychooser == 1) {
_root.EnemyMain.gotoAndStop("spikey");
_root.battlespikey = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 2) {
_root.EnemyMain.gotoAndStop("pointy");
_root.battlepointy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 3) {
_root.EnemyMain.gotoAndStop("wingy");
_root.battlewingy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 4) {
_root.EnemyMain.gotoAndStop("blasty");
_root.battleblasty = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 5) {
_root.EnemyMain.gotoAndStop("shelly");
_root.battleshelly = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 6) {
_root.EnemyMain.gotoAndStop("buffy");
_root.battlebuffy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 7) {
_root.EnemyMain.gotoAndStop("rocky");
_root.battlerocky = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 8) {
_root.EnemyMain.gotoAndStop("fishy");
_root.battlefishy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 9) {
_root.EnemyMain.gotoAndStop("helly");
_root.battlehelly = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 10) {
_root.EnemyMain.gotoAndStop("spongy");
_root.battlespongy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 11) {
_root.EnemyMain.gotoAndStop("wormy");
_root.battlewormy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 12) {
_root.EnemyMain.gotoAndStop("puffy");
_root.battlepuffy = true;
_root.enemychooser = 0;
}
}
if (_root.level == 5) {
_root.enemychooser = random(10) + 1;
if (_root.enemychooser == 1) {
_root.EnemyMain.gotoAndStop("spikey");
_root.battlespikey = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 2) {
_root.EnemyMain.gotoAndStop("pointy");
_root.battlepointy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 3) {
_root.EnemyMain.gotoAndStop("wingy");
_root.battlewingy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 4) {
_root.EnemyMain.gotoAndStop("blasty");
_root.battleblasty = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 5) {
_root.EnemyMain.gotoAndStop("shelly");
_root.battleshelly = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 6) {
_root.EnemyMain.gotoAndStop("buffy");
_root.battlebuffy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 7) {
_root.EnemyMain.gotoAndStop("rocky");
_root.battlerocky = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 8) {
_root.EnemyMain.gotoAndStop("fishy");
_root.battlefishy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 9) {
_root.EnemyMain.gotoAndStop("helly");
_root.battlehelly = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 10) {
_root.EnemyMain.gotoAndStop("spongy");
_root.battlespongy = true;
_root.enemychooser = 0;
}
}
if (_root.level == 4) {
_root.enemychooser = random(8) + 1;
if (_root.enemychooser == 1) {
_root.EnemyMain.gotoAndStop("spikey");
_root.battlespikey = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 2) {
_root.EnemyMain.gotoAndStop("pointy");
_root.battlepointy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 3) {
_root.EnemyMain.gotoAndStop("wingy");
_root.battlewingy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 4) {
_root.EnemyMain.gotoAndStop("blasty");
_root.battleblasty = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 5) {
_root.EnemyMain.gotoAndStop("shelly");
_root.battleshelly = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 6) {
_root.EnemyMain.gotoAndStop("buffy");
_root.battlebuffy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 7) {
_root.EnemyMain.gotoAndStop("rocky");
_root.battlerocky = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 8) {
_root.EnemyMain.gotoAndStop("fishy");
_root.battlefishy = true;
_root.enemychooser = 0;
}
}
if (_root.level == 3) {
_root.enemychooser = random(6) + 1;
if (_root.enemychooser == 1) {
_root.EnemyMain.gotoAndStop("spikey");
_root.battlespikey = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 2) {
_root.EnemyMain.gotoAndStop("pointy");
_root.battlepointy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 3) {
_root.EnemyMain.gotoAndStop("wingy");
_root.battlewingy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 4) {
_root.EnemyMain.gotoAndStop("blasty");
_root.battleblasty = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 5) {
_root.EnemyMain.gotoAndStop("shelly");
_root.battleshelly = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 6) {
_root.EnemyMain.gotoAndStop("buffy");
_root.battlebuffy = true;
_root.enemychooser = 0;
}
}
if (_root.level == 2) {
_root.enemychooser = random(4) + 1;
if (_root.enemychooser == 1) {
_root.EnemyMain.gotoAndStop("spikey");
_root.battlespikey = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 2) {
_root.EnemyMain.gotoAndStop("pointy");
_root.battlepointy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 3) {
_root.EnemyMain.gotoAndStop("wingy");
_root.battlewingy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 4) {
_root.EnemyMain.gotoAndStop("blasty");
_root.battleblasty = true;
_root.enemychooser = 0;
}
}
if (_root.level == 1) {
_root.enemychooser = random(2) + 1;
if (_root.enemychooser == 1) {
_root.EnemyMain.gotoAndStop("spikey");
_root.battlespikey = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 2) {
_root.EnemyMain.gotoAndStop("pointy");
_root.battlepointy = true;
_root.enemychooser = 0;
}
}
Symbol 2525 MovieClip Frame 2
stop();
_root.run = true;
Symbol 2525 MovieClip Frame 3
stop();
_root.run = true;
Symbol 2525 MovieClip Frame 4
stop();
_root.run = true;
Symbol 2525 MovieClip Frame 5
stop();
_root.run = true;
Symbol 2525 MovieClip Frame 6
stop();
_root.run = true;
Symbol 2525 MovieClip Frame 7
stop();
_root.run = true;
Symbol 2525 MovieClip Frame 8
stop();
_root.run = true;
Symbol 2525 MovieClip Frame 9
stop();
_root.run = true;
Symbol 2525 MovieClip Frame 10
stop();
_root.run = true;
Symbol 2525 MovieClip Frame 11
stop();
_root.run = true;
Instance of Symbol 1905 MovieClip "spongy" in Symbol 2525 MovieClip Frame 11
/* no clip actions */
Symbol 2525 MovieClip Frame 12
stop();
_root.run = true;
Symbol 2525 MovieClip Frame 13
stop();
_root.run = true;
Symbol 2525 MovieClip Frame 14
stop();
_root.run = true;
Symbol 2525 MovieClip Frame 15
stop();
_root.run = true;
Symbol 2525 MovieClip Frame 16
stop();
_root.run = true;
Symbol 2525 MovieClip Frame 17
stop();
_root.run = true;
Symbol 2527 MovieClip Frame 1
if (_root.dead == true) {
_root.battleguy.guystances.gotoAndStop("win");
_root.menu = true;
}
Symbol 2527 MovieClip Frame 2
gotoAndPlay (1);
Symbol 2558 MovieClip Frame 21
stop();
Symbol 2559 MovieClip Frame 1
duplicateMovieClip (orb, c, c);
setProperty(orb, _rotation , random(6));
Symbol 2559 MovieClip Frame 2
c = c + 1;
if (c > 20) {
c = 0;
}
gotoAndPlay (1);
Symbol 2693 MovieClip Frame 17
gotoAndPlay (9);
Symbol 2753 MovieClip Frame 80
stop();
Symbol 2754 MovieClip Frame 1
duplicateMovieClip (crystal, x, x);
setProperty(crystal, _rotation , random(360));
Symbol 2754 MovieClip Frame 2
x = x + 1;
if (x == 20) {
x = 0;
}
gotoAndPlay (1);
Symbol 2892 MovieClip Frame 1
stop();
Symbol 2892 MovieClip Frame 2
stop();
Symbol 2916 MovieClip Frame 26
stop();
Symbol 2917 MovieClip Frame 46
stop();
Symbol 2933 MovieClip Frame 6
stop();
Symbol 2935 MovieClip Frame 1
duplicateMovieClip (bolt, b, b);
setProperty(bolt, _rotation , random(360));
Symbol 2935 MovieClip Frame 2
b = b + 1;
if (b > 20) {
b = 0;
}
gotoAndPlay (1);
Symbol 3057 MovieClip Frame 8
stop();
Symbol 3108 MovieClip Frame 21
stop();
Symbol 3110 MovieClip Frame 1
duplicateMovieClip (fairy, z, z);
setProperty(fairy, _rotation , random(360));
Symbol 3110 MovieClip Frame 2
z = z + 1;
if (z > 20) {
z = 0;
}
gotoAndPlay (1);
Symbol 3176 MovieClip Frame 6
stop();
Symbol 3276 MovieClip Frame 1
stop();
Symbol 3276 MovieClip Frame 13
_root.critical = true;
Symbol 3276 MovieClip Frame 14
if (Key.isDown(32)) {
_root.critical = nothing;
}
Symbol 3276 MovieClip Frame 15
if (Key.isDown(32)) {
if (_root.critical == true) {
_root.attack = _root.attack + 1;
_root.battleguy.blockstar.gotoAndPlay("starhit");
_root.battleguy.blockstar2.gotoAndPlay("starhit");
_root.critical = false;
}
}
Symbol 3276 MovieClip Frame 16
if (Key.isDown(32)) {
if (_root.critical == true) {
_root.attack = _root.attack + 1;
_root.battleguy.blockstar.gotoAndPlay("starhit");
_root.battleguy.blockstar2.gotoAndPlay("starhit");
_root.critical = false;
}
}
Symbol 3276 MovieClip Frame 17
if (Key.isDown(32)) {
if (_root.critical == true) {
_root.attack = _root.attack + 1;
_root.battleguy.blockstar.gotoAndPlay("starhit");
_root.battleguy.blockstar2.gotoAndPlay("starhit");
_root.critical = false;
}
}
Symbol 3276 MovieClip Frame 18
if (Key.isDown(32)) {
if (_root.critical == true) {
_root.attack = _root.attack + 1;
_root.battleguy.blockstar.gotoAndPlay("starhit");
_root.battleguy.blockstar2.gotoAndPlay("starhit");
_root.critical = false;
}
}
Symbol 3276 MovieClip Frame 25
_root.enemyhp = _root.enemyhp - _root.attack;
if (_root.battlepointy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.pointy.gotoAndPlay("pointydead");
} else {
_root.EnemyMain.pointy.gotoAndPlay("pointydamage");
}
}
if (_root.battlespikey == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.spikey.gotoAndPlay("dead");
} else {
_root.EnemyMain.spikey.gotoAndPlay("damage");
}
}
if (_root.battlebuffy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.buffy.gotoAndPlay("buffydead");
} else {
_root.EnemyMain.buffy.gotoAndPlay("buffydamage");
}
}
if (_root.battlerocky == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.rocky.gotoAndPlay("rockydead");
} else {
_root.EnemyMain.rocky.gotoAndPlay("rockydamage");
}
}
if (_root.battlefishy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.fishy.gotoAndPlay("fishydead");
} else {
_root.EnemyMain.fishy.gotoAndPlay("fishydamage");
}
}
if (_root.battlehelly == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.helly.gotoAndPlay("hellydead");
} else {
_root.EnemyMain.helly.gotoAndPlay("hellydamage");
}
}
if (_root.battlespongy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.spongy.gotoAndPlay("spongydead");
} else {
_root.EnemyMain.spongy.gotoAndPlay("spongydamage");
}
}
if (_root.battlewormy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.wormy.gotoAndPlay("wormydead");
} else {
_root.EnemyMain.wormy.gotoAndPlay("wormydamage");
}
}
if (_root.battlepuffy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.puffy.gotoAndPlay("puffydead");
} else {
_root.EnemyMain.puffy.gotoAndPlay("puffydamage");
}
}
if (_root.battlescreamy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.screamy.gotoAndPlay("screamydead");
} else {
_root.EnemyMain.screamy.gotoAndPlay("screamydamage");
}
}
if (_root.battlesticky == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.sticky.gotoAndPlay("stickydead");
} else {
_root.EnemyMain.sticky.gotoAndPlay("stickydamage");
}
}
if (_root.battleslimey == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.slimey.gotoAndPlay("slimeydead");
} else {
_root.EnemyMain.slimey.gotoAndPlay("slimeydamage");
}
}
if (_root.battleghosty == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostydead");
} else {
_root.EnemyMain.ghosty.gotoAndPlay("ghostydamage");
}
}
if (_root.battleshelly == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.shelly.gotoAndPlay("shellydead");
} else {
_root.EnemyMain.shelly.gotoAndPlay("shellydamage");
}
}
if (_root.battleblasty == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.blasty.gotoAndPlay("blastydead");
} else {
_root.EnemyMain.blasty.gotoAndPlay("blastydamage");
}
}
if (_root.battlewingy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.wingy.gotoAndPlay("wingydead");
} else {
_root.EnemyMain.wingy.gotoAndPlay("wingydamage");
}
}
if (_root.battlewizard == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.wizard.gotoAndPlay("wizarddead");
} else {
_root.wizard.gotoAndPlay("wizarddamage");
}
}
if (_root.battlewizard2 == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.wizard.gotoAndPlay("wizarddead2");
} else {
_root.wizard.gotoAndPlay("wizarddamage2");
}
}
Symbol 3276 MovieClip Frame 26
if (_root.critical == false) {
_root.attack = _root.attack - 1;
}
Symbol 3276 MovieClip Frame 27
_root.critical = nothing;
Symbol 3276 MovieClip Frame 36
_root.battleguy.guystances.gotoAndStop("stance");
Symbol 3276 MovieClip Frame 38
gotoAndStop (1);
_root.Turn = "comp";
Symbol 3276 MovieClip Frame 75
_root.enemyhp = _root.enemyhp - (_root.magicattack + 1);
_root.mp = _root.mp - 1;
if (_root.battlepointy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.pointy.gotoAndPlay("pointydead");
} else {
_root.EnemyMain.pointy.gotoAndPlay("pointydamage");
}
}
if (_root.battlespikey == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.spikey.gotoAndPlay("dead");
} else {
_root.EnemyMain.spikey.gotoAndPlay("damage");
}
}
if (_root.battlebuffy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.buffy.gotoAndPlay("buffydead");
} else {
_root.EnemyMain.buffy.gotoAndPlay("buffydamage");
}
}
if (_root.battlerocky == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.rocky.gotoAndPlay("rockydead");
} else {
_root.EnemyMain.rocky.gotoAndPlay("rockydamage");
}
}
if (_root.battlefishy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.fishy.gotoAndPlay("fishydead");
} else {
_root.EnemyMain.fishy.gotoAndPlay("fishydamage");
}
}
if (_root.battlehelly == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.helly.gotoAndPlay("hellydead");
} else {
_root.EnemyMain.helly.gotoAndPlay("hellydamage");
}
}
if (_root.battlespongy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.spongy.gotoAndPlay("spongydead");
} else {
_root.EnemyMain.spongy.gotoAndPlay("spongydamage");
}
}
if (_root.battlewormy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.wormy.gotoAndPlay("wormydead");
} else {
_root.EnemyMain.wormy.gotoAndPlay("wormydamage");
}
}
if (_root.battlepuffy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.puffy.gotoAndPlay("puffydead");
} else {
_root.EnemyMain.puffy.gotoAndPlay("puffydamage");
}
}
if (_root.battlescreamy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.screamy.gotoAndPlay("screamydead");
} else {
_root.EnemyMain.screamy.gotoAndPlay("screamydamage");
}
}
if (_root.battlesticky == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.sticky.gotoAndPlay("stickydead");
} else {
_root.EnemyMain.sticky.gotoAndPlay("stickydamage");
}
}
if (_root.battleslimey == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.slimey.gotoAndPlay("slimeydead");
} else {
_root.EnemyMain.slimey.gotoAndPlay("slimeydamage");
}
}
if (_root.battleghosty == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostydead");
} else {
_root.EnemyMain.ghosty.gotoAndPlay("ghostydamage");
}
}
if (_root.battleshelly == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.shelly.gotoAndPlay("shellydead");
} else {
_root.EnemyMain.shelly.gotoAndPlay("shellydamage");
}
}
if (_root.battleblasty == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.blasty.gotoAndPlay("blastydead");
} else {
_root.EnemyMain.blasty.gotoAndPlay("blastydamage");
}
}
if (_root.battlewingy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.wingy.gotoAndPlay("wingydead");
} else {
_root.EnemyMain.wingy.gotoAndPlay("wingydamage");
}
}
if (_root.battlewizard == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.wizard.gotoAndPlay("wizarddead");
} else {
_root.wizard.gotoAndPlay("wizarddamage");
}
}
if (_root.battlewizard2 == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.wizard.gotoAndPlay("wizarddead2");
} else {
_root.wizard.gotoAndPlay("wizarddamage2");
}
}
Symbol 3276 MovieClip Frame 88
gotoAndStop (1);
_root.Turn = "comp";
Symbol 3276 MovieClip Frame 125
_root.enemyhp = _root.enemyhp - (_root.magicattack + 5);
_root.mp = _root.mp - 5;
if (_root.battlepointy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.pointy.gotoAndPlay("pointydead");
} else {
_root.EnemyMain.pointy.gotoAndPlay("pointydamage");
}
}
if (_root.battlespikey == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.spikey.gotoAndPlay("dead");
} else {
_root.EnemyMain.spikey.gotoAndPlay("damage");
}
}
if (_root.battlebuffy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.buffy.gotoAndPlay("buffydead");
} else {
_root.EnemyMain.buffy.gotoAndPlay("buffydamage");
}
}
if (_root.battlerocky == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.rocky.gotoAndPlay("rockydead");
} else {
_root.EnemyMain.rocky.gotoAndPlay("rockydamage");
}
}
if (_root.battlefishy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.fishy.gotoAndPlay("fishydead");
} else {
_root.EnemyMain.fishy.gotoAndPlay("fishydamage");
}
}
if (_root.battlehelly == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.helly.gotoAndPlay("hellydead");
} else {
_root.EnemyMain.helly.gotoAndPlay("hellydamage");
}
}
if (_root.battlespongy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.spongy.gotoAndPlay("spongydead");
} else {
_root.EnemyMain.spongy.gotoAndPlay("spongydamage");
}
}
if (_root.battlewormy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.wormy.gotoAndPlay("wormydead");
} else {
_root.EnemyMain.wormy.gotoAndPlay("wormydamage");
}
}
if (_root.battlepuffy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.puffy.gotoAndPlay("puffydead");
} else {
_root.EnemyMain.puffy.gotoAndPlay("puffydamage");
}
}
if (_root.battlescreamy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.screamy.gotoAndPlay("screamydead");
} else {
_root.EnemyMain.screamy.gotoAndPlay("screamydamage");
}
}
if (_root.battlesticky == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.sticky.gotoAndPlay("stickydead");
} else {
_root.EnemyMain.sticky.gotoAndPlay("stickydamage");
}
}
if (_root.battleslimey == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.slimey.gotoAndPlay("slimeydead");
} else {
_root.EnemyMain.slimey.gotoAndPlay("slimeydamage");
}
}
if (_root.battleghosty == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostydead");
} else {
_root.EnemyMain.ghosty.gotoAndPlay("ghostydamage");
}
}
if (_root.battleshelly == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.shelly.gotoAndPlay("shellydead");
} else {
_root.EnemyMain.shelly.gotoAndPlay("shellydamage");
}
}
if (_root.battleblasty == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.blasty.gotoAndPlay("blastydead");
} else {
_root.EnemyMain.blasty.gotoAndPlay("blastydamage");
}
}
if (_root.battlewingy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.wingy.gotoAndPlay("wingydead");
} else {
_root.EnemyMain.wingy.gotoAndPlay("wingydamage");
}
}
if (_root.battlewizard == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.wizard.gotoAndPlay("wizarddead");
} else {
_root.wizard.gotoAndPlay("wizarddamage");
}
}
if (_root.battlewizard2 == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.wizard.gotoAndPlay("wizarddead2");
} else {
_root.wizard.gotoAndPlay("wizarddamage2");
}
}
Symbol 3276 MovieClip Frame 138
gotoAndStop (1);
_root.Turn = "comp";
Symbol 3276 MovieClip Frame 270
_root.enemyhp = _root.enemyhp - (_root.magicattack + 9);
_root.mp = _root.mp - 9;
if (_root.battlepointy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.pointy.gotoAndPlay("pointydead");
} else {
_root.EnemyMain.pointy.gotoAndPlay("pointydamage");
}
}
if (_root.battlespikey == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.spikey.gotoAndPlay("dead");
} else {
_root.EnemyMain.spikey.gotoAndPlay("damage");
}
}
if (_root.battlebuffy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.buffy.gotoAndPlay("buffydead");
} else {
_root.EnemyMain.buffy.gotoAndPlay("buffydamage");
}
}
if (_root.battlerocky == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.rocky.gotoAndPlay("rockydead");
} else {
_root.EnemyMain.rocky.gotoAndPlay("rockydamage");
}
}
if (_root.battlefishy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.fishy.gotoAndPlay("fishydead");
} else {
_root.EnemyMain.fishy.gotoAndPlay("fishydamage");
}
}
if (_root.battlehelly == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.helly.gotoAndPlay("hellydead");
} else {
_root.EnemyMain.helly.gotoAndPlay("hellydamage");
}
}
if (_root.battlespongy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.spongy.gotoAndPlay("spongydead");
} else {
_root.EnemyMain.spongy.gotoAndPlay("spongydamage");
}
}
if (_root.battlewormy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.wormy.gotoAndPlay("wormydead");
} else {
_root.EnemyMain.wormy.gotoAndPlay("wormydamage");
}
}
if (_root.battlepuffy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.puffy.gotoAndPlay("puffydead");
} else {
_root.EnemyMain.puffy.gotoAndPlay("puffydamage");
}
}
if (_root.battlescreamy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.screamy.gotoAndPlay("screamydead");
} else {
_root.EnemyMain.screamy.gotoAndPlay("screamydamage");
}
}
if (_root.battlesticky == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.sticky.gotoAndPlay("stickydead");
} else {
_root.EnemyMain.sticky.gotoAndPlay("stickydamage");
}
}
if (_root.battleslimey == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.slimey.gotoAndPlay("slimeydead");
} else {
_root.EnemyMain.slimey.gotoAndPlay("slimeydamage");
}
}
if (_root.battleghosty == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostydead");
} else {
_root.EnemyMain.ghosty.gotoAndPlay("ghostydamage");
}
}
if (_root.battleshelly == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.shelly.gotoAndPlay("shellydead");
} else {
_root.EnemyMain.shelly.gotoAndPlay("shellydamage");
}
}
if (_root.battleblasty == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.blasty.gotoAndPlay("blastydead");
} else {
_root.EnemyMain.blasty.gotoAndPlay("blastydamage");
}
}
if (_root.battlewingy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.wingy.gotoAndPlay("wingydead");
} else {
_root.EnemyMain.wingy.gotoAndPlay("wingydamage");
}
}
if (_root.battlewizard == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.wizard.gotoAndPlay("wizarddead");
} else {
_root.wizard.gotoAndPlay("wizarddamage");
}
}
if (_root.battlewizard2 == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.wizard.gotoAndPlay("wizarddead2");
} else {
_root.wizard.gotoAndPlay("wizarddamage2");
}
}
Symbol 3276 MovieClip Frame 283
gotoAndStop (1);
_root.Turn = "comp";
Symbol 3276 MovieClip Frame 320
_root.enemyhp = _root.enemyhp - (_root.magicattack + 6);
_root.mp = _root.mp - 6;
if (_root.battlepointy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.pointy.gotoAndPlay("pointydead");
} else {
_root.EnemyMain.pointy.gotoAndPlay("pointydamage");
}
}
if (_root.battlespikey == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.spikey.gotoAndPlay("dead");
} else {
_root.EnemyMain.spikey.gotoAndPlay("damage");
}
}
if (_root.battlebuffy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.buffy.gotoAndPlay("buffydead");
} else {
_root.EnemyMain.buffy.gotoAndPlay("buffydamage");
}
}
if (_root.battlerocky == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.rocky.gotoAndPlay("rockydead");
} else {
_root.EnemyMain.rocky.gotoAndPlay("rockydamage");
}
}
if (_root.battlefishy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.fishy.gotoAndPlay("fishydead");
} else {
_root.EnemyMain.fishy.gotoAndPlay("fishydamage");
}
}
if (_root.battlehelly == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.helly.gotoAndPlay("hellydead");
} else {
_root.EnemyMain.helly.gotoAndPlay("hellydamage");
}
}
if (_root.battlespongy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.spongy.gotoAndPlay("spongydead");
} else {
_root.EnemyMain.spongy.gotoAndPlay("spongydamage");
}
}
if (_root.battlewormy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.wormy.gotoAndPlay("wormydead");
} else {
_root.EnemyMain.wormy.gotoAndPlay("wormydamage");
}
}
if (_root.battlepuffy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.puffy.gotoAndPlay("puffydead");
} else {
_root.EnemyMain.puffy.gotoAndPlay("puffydamage");
}
}
if (_root.battlescreamy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.screamy.gotoAndPlay("screamydead");
} else {
_root.EnemyMain.screamy.gotoAndPlay("screamydamage");
}
}
if (_root.battlesticky == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.sticky.gotoAndPlay("stickydead");
} else {
_root.EnemyMain.sticky.gotoAndPlay("stickydamage");
}
}
if (_root.battleslimey == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.slimey.gotoAndPlay("slimeydead");
} else {
_root.EnemyMain.slimey.gotoAndPlay("slimeydamage");
}
}
if (_root.battleghosty == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostydead");
} else {
_root.EnemyMain.ghosty.gotoAndPlay("ghostydamage");
}
}
if (_root.battleshelly == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.shelly.gotoAndPlay("shellydead");
} else {
_root.EnemyMain.shelly.gotoAndPlay("shellydamage");
}
}
if (_root.battleblasty == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.blasty.gotoAndPlay("blastydead");
} else {
_root.EnemyMain.blasty.gotoAndPlay("blastydamage");
}
}
if (_root.battlewingy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.wingy.gotoAndPlay("wingydead");
} else {
_root.EnemyMain.wingy.gotoAndPlay("wingydamage");
}
}
if (_root.battlewizard == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.wizard.gotoAndPlay("wizarddead");
} else {
_root.wizard.gotoAndPlay("wizarddamage");
}
}
if (_root.battlewizard2 == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.wizard.gotoAndPlay("wizarddead2");
} else {
_root.wizard.gotoAndPlay("wizarddamage2");
}
}
Symbol 3276 MovieClip Frame 333
gotoAndStop (1);
_root.Turn = "comp";
Symbol 3276 MovieClip Frame 370
_root.enemyhp = _root.enemyhp - (_root.magicattack + 2);
_root.mp = _root.mp - 2;
if (_root.battlepointy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.pointy.gotoAndPlay("pointydead");
} else {
_root.EnemyMain.pointy.gotoAndPlay("pointydamage");
}
}
if (_root.battlespikey == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.spikey.gotoAndPlay("dead");
} else {
_root.EnemyMain.spikey.gotoAndPlay("damage");
}
}
if (_root.battlebuffy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.buffy.gotoAndPlay("buffydead");
} else {
_root.EnemyMain.buffy.gotoAndPlay("buffydamage");
}
}
if (_root.battlerocky == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.rocky.gotoAndPlay("rockydead");
} else {
_root.EnemyMain.rocky.gotoAndPlay("rockydamage");
}
}
if (_root.battlefishy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.fishy.gotoAndPlay("fishydead");
} else {
_root.EnemyMain.fishy.gotoAndPlay("fishydamage");
}
}
if (_root.battlehelly == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.helly.gotoAndPlay("hellydead");
} else {
_root.EnemyMain.helly.gotoAndPlay("hellydamage");
}
}
if (_root.battlespongy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.spongy.gotoAndPlay("spongydead");
} else {
_root.EnemyMain.spongy.gotoAndPlay("spongydamage");
}
}
if (_root.battlewormy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.wormy.gotoAndPlay("wormydead");
} else {
_root.EnemyMain.wormy.gotoAndPlay("wormydamage");
}
}
if (_root.battlepuffy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.puffy.gotoAndPlay("puffydead");
} else {
_root.EnemyMain.puffy.gotoAndPlay("puffydamage");
}
}
if (_root.battlescreamy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.screamy.gotoAndPlay("screamydead");
} else {
_root.EnemyMain.screamy.gotoAndPlay("screamydamage");
}
}
if (_root.battlesticky == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.sticky.gotoAndPlay("stickydead");
} else {
_root.EnemyMain.sticky.gotoAndPlay("stickydamage");
}
}
if (_root.battleslimey == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.slimey.gotoAndPlay("slimeydead");
} else {
_root.EnemyMain.slimey.gotoAndPlay("slimeydamage");
}
}
if (_root.battleghosty == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostydead");
} else {
_root.EnemyMain.ghosty.gotoAndPlay("ghostydamage");
}
}
if (_root.battleshelly == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.shelly.gotoAndPlay("shellydead");
} else {
_root.EnemyMain.shelly.gotoAndPlay("shellydamage");
}
}
if (_root.battleblasty == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.blasty.gotoAndPlay("blastydead");
} else {
_root.EnemyMain.blasty.gotoAndPlay("blastydamage");
}
}
if (_root.battlewingy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.wingy.gotoAndPlay("wingydead");
} else {
_root.EnemyMain.wingy.gotoAndPlay("wingydamage");
}
}
if (_root.battlewizard == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.wizard.gotoAndPlay("wizarddead");
} else {
_root.wizard.gotoAndPlay("wizarddamage");
}
}
if (_root.battlewizard2 == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.wizard.gotoAndPlay("wizarddead2");
} else {
_root.wizard.gotoAndPlay("wizarddamage2");
}
}
Symbol 3276 MovieClip Frame 383
gotoAndStop (1);
_root.Turn = "comp";
Symbol 3276 MovieClip Frame 430
if ((_root.battlewizard == true) || (_root.battlewizard2 == true)) {
_root.battleguy.snowblocker.gotoAndStop(2);
}
Symbol 3276 MovieClip Frame 527
_root.battleguy.snowblocker.gotoAndStop(1);
Symbol 3276 MovieClip Frame 546
_root.enemyhp = _root.enemyhp - (_root.magicattack + 10);
_root.mp = _root.mp - 10;
if (_root.battlepointy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.pointy.gotoAndPlay("pointydead");
} else {
_root.EnemyMain.pointy.gotoAndPlay("pointydamage");
}
}
if (_root.battlespikey == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.spikey.gotoAndPlay("dead");
} else {
_root.EnemyMain.spikey.gotoAndPlay("damage");
}
}
if (_root.battlebuffy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.buffy.gotoAndPlay("buffydead");
} else {
_root.EnemyMain.buffy.gotoAndPlay("buffydamage");
}
}
if (_root.battlerocky == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.rocky.gotoAndPlay("rockydead");
} else {
_root.EnemyMain.rocky.gotoAndPlay("rockydamage");
}
}
if (_root.battlefishy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.fishy.gotoAndPlay("fishydead");
} else {
_root.EnemyMain.fishy.gotoAndPlay("fishydamage");
}
}
if (_root.battlehelly == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.helly.gotoAndPlay("hellydead");
} else {
_root.EnemyMain.helly.gotoAndPlay("hellydamage");
}
}
if (_root.battlespongy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.spongy.gotoAndPlay("spongydead");
} else {
_root.EnemyMain.spongy.gotoAndPlay("spongydamage");
}
}
if (_root.battlewormy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.wormy.gotoAndPlay("wormydead");
} else {
_root.EnemyMain.wormy.gotoAndPlay("wormydamage");
}
}
if (_root.battlepuffy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.puffy.gotoAndPlay("puffydead");
} else {
_root.EnemyMain.puffy.gotoAndPlay("puffydamage");
}
}
if (_root.battlescreamy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.screamy.gotoAndPlay("screamydead");
} else {
_root.EnemyMain.screamy.gotoAndPlay("screamydamage");
}
}
if (_root.battlesticky == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.sticky.gotoAndPlay("stickydead");
} else {
_root.EnemyMain.sticky.gotoAndPlay("stickydamage");
}
}
if (_root.battleslimey == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.slimey.gotoAndPlay("slimeydead");
} else {
_root.EnemyMain.slimey.gotoAndPlay("slimeydamage");
}
}
if (_root.battleghosty == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostydead");
} else {
_root.EnemyMain.ghosty.gotoAndPlay("ghostydamage");
}
}
if (_root.battleshelly == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.shelly.gotoAndPlay("shellydead");
} else {
_root.EnemyMain.shelly.gotoAndPlay("shellydamage");
}
}
if (_root.battleblasty == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.blasty.gotoAndPlay("blastydead");
} else {
_root.EnemyMain.blasty.gotoAndPlay("blastydamage");
}
}
if (_root.battlewingy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.wingy.gotoAndPlay("wingydead");
} else {
_root.EnemyMain.wingy.gotoAndPlay("wingydamage");
}
}
if (_root.battlewizard == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.wizard.gotoAndPlay("wizarddead");
} else {
_root.wizard.gotoAndPlay("wizarddamage");
}
}
if (_root.battlewizard2 == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.wizard.gotoAndPlay("wizarddead2");
} else {
_root.wizard.gotoAndPlay("wizarddamage2");
}
}
Symbol 3276 MovieClip Frame 559
gotoAndStop (1);
_root.Turn = "comp";
Symbol 3276 MovieClip Frame 596
_root.enemyhp = _root.enemyhp - (_root.magicattack + 3);
_root.mp = _root.mp - 3;
if (_root.battlepointy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.pointy.gotoAndPlay("pointydead");
} else {
_root.EnemyMain.pointy.gotoAndPlay("pointydamage");
}
}
if (_root.battlespikey == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.spikey.gotoAndPlay("dead");
} else {
_root.EnemyMain.spikey.gotoAndPlay("damage");
}
}
if (_root.battlebuffy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.buffy.gotoAndPlay("buffydead");
} else {
_root.EnemyMain.buffy.gotoAndPlay("buffydamage");
}
}
if (_root.battlerocky == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.rocky.gotoAndPlay("rockydead");
} else {
_root.EnemyMain.rocky.gotoAndPlay("rockydamage");
}
}
if (_root.battlefishy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.fishy.gotoAndPlay("fishydead");
} else {
_root.EnemyMain.fishy.gotoAndPlay("fishydamage");
}
}
if (_root.battlehelly == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.helly.gotoAndPlay("hellydead");
} else {
_root.EnemyMain.helly.gotoAndPlay("hellydamage");
}
}
if (_root.battlespongy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.spongy.gotoAndPlay("spongydead");
} else {
_root.EnemyMain.spongy.gotoAndPlay("spongydamage");
}
}
if (_root.battlewormy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.wormy.gotoAndPlay("wormydead");
} else {
_root.EnemyMain.wormy.gotoAndPlay("wormydamage");
}
}
if (_root.battlepuffy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.puffy.gotoAndPlay("puffydead");
} else {
_root.EnemyMain.puffy.gotoAndPlay("puffydamage");
}
}
if (_root.battlescreamy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.screamy.gotoAndPlay("screamydead");
} else {
_root.EnemyMain.screamy.gotoAndPlay("screamydamage");
}
}
if (_root.battlesticky == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.sticky.gotoAndPlay("stickydead");
} else {
_root.EnemyMain.sticky.gotoAndPlay("stickydamage");
}
}
if (_root.battleslimey == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.slimey.gotoAndPlay("slimeydead");
} else {
_root.EnemyMain.slimey.gotoAndPlay("slimeydamage");
}
}
if (_root.battleghosty == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostydead");
} else {
_root.EnemyMain.ghosty.gotoAndPlay("ghostydamage");
}
}
if (_root.battleshelly == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.shelly.gotoAndPlay("shellydead");
} else {
_root.EnemyMain.shelly.gotoAndPlay("shellydamage");
}
}
if (_root.battleblasty == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.blasty.gotoAndPlay("blastydead");
} else {
_root.EnemyMain.blasty.gotoAndPlay("blastydamage");
}
}
if (_root.battlewingy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.wingy.gotoAndPlay("wingydead");
} else {
_root.EnemyMain.wingy.gotoAndPlay("wingydamage");
}
}
if (_root.battlewizard == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.wizard.gotoAndPlay("wizarddead");
} else {
_root.wizard.gotoAndPlay("wizarddamage");
}
}
if (_root.battlewizard2 == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.wizard.gotoAndPlay("wizarddead2");
} else {
_root.wizard.gotoAndPlay("wizarddamage2");
}
}
Symbol 3276 MovieClip Frame 609
gotoAndStop (1);
_root.Turn = "comp";
Symbol 3276 MovieClip Frame 646
_root.enemyhp = _root.enemyhp - (_root.magicattack + 7);
_root.mp = _root.mp - 7;
if (_root.battlepointy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.pointy.gotoAndPlay("pointydead");
} else {
_root.EnemyMain.pointy.gotoAndPlay("pointydamage");
}
}
if (_root.battlespikey == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.spikey.gotoAndPlay("dead");
} else {
_root.EnemyMain.spikey.gotoAndPlay("damage");
}
}
if (_root.battlebuffy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.buffy.gotoAndPlay("buffydead");
} else {
_root.EnemyMain.buffy.gotoAndPlay("buffydamage");
}
}
if (_root.battlerocky == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.rocky.gotoAndPlay("rockydead");
} else {
_root.EnemyMain.rocky.gotoAndPlay("rockydamage");
}
}
if (_root.battlefishy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.fishy.gotoAndPlay("fishydead");
} else {
_root.EnemyMain.fishy.gotoAndPlay("fishydamage");
}
}
if (_root.battlehelly == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.helly.gotoAndPlay("hellydead");
} else {
_root.EnemyMain.helly.gotoAndPlay("hellydamage");
}
}
if (_root.battlespongy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.spongy.gotoAndPlay("spongydead");
} else {
_root.EnemyMain.spongy.gotoAndPlay("spongydamage");
}
}
if (_root.battlewormy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.wormy.gotoAndPlay("wormydead");
} else {
_root.EnemyMain.wormy.gotoAndPlay("wormydamage");
}
}
if (_root.battlepuffy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.puffy.gotoAndPlay("puffydead");
} else {
_root.EnemyMain.puffy.gotoAndPlay("puffydamage");
}
}
if (_root.battlescreamy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.screamy.gotoAndPlay("screamydead");
} else {
_root.EnemyMain.screamy.gotoAndPlay("screamydamage");
}
}
if (_root.battlesticky == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.sticky.gotoAndPlay("stickydead");
} else {
_root.EnemyMain.sticky.gotoAndPlay("stickydamage");
}
}
if (_root.battleslimey == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.slimey.gotoAndPlay("slimeydead");
} else {
_root.EnemyMain.slimey.gotoAndPlay("slimeydamage");
}
}
if (_root.battleghosty == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostydead");
} else {
_root.EnemyMain.ghosty.gotoAndPlay("ghostydamage");
}
}
if (_root.battleshelly == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.shelly.gotoAndPlay("shellydead");
} else {
_root.EnemyMain.shelly.gotoAndPlay("shellydamage");
}
}
if (_root.battleblasty == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.blasty.gotoAndPlay("blastydead");
} else {
_root.EnemyMain.blasty.gotoAndPlay("blastydamage");
}
}
if (_root.battlewingy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.wingy.gotoAndPlay("wingydead");
} else {
_root.EnemyMain.wingy.gotoAndPlay("wingydamage");
}
}
if (_root.battlewizard == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.wizard.gotoAndPlay("wizarddead");
} else {
_root.wizard.gotoAndPlay("wizarddamage");
}
}
if (_root.battlewizard2 == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.wizard.gotoAndPlay("wizarddead2");
} else {
_root.wizard.gotoAndPlay("wizarddamage2");
}
}
Symbol 3276 MovieClip Frame 659
gotoAndStop (1);
_root.Turn = "comp";
Symbol 3276 MovieClip Frame 850
_root.enemyhp = _root.enemyhp - (_root.magicattack + 11);
_root.mp = _root.mp - 11;
if (_root.battlepointy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.pointy.gotoAndPlay("pointydead");
} else {
_root.EnemyMain.pointy.gotoAndPlay("pointydamage");
}
}
if (_root.battlespikey == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.spikey.gotoAndPlay("dead");
} else {
_root.EnemyMain.spikey.gotoAndPlay("damage");
}
}
if (_root.battlebuffy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.buffy.gotoAndPlay("buffydead");
} else {
_root.EnemyMain.buffy.gotoAndPlay("buffydamage");
}
}
if (_root.battlerocky == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.rocky.gotoAndPlay("rockydead");
} else {
_root.EnemyMain.rocky.gotoAndPlay("rockydamage");
}
}
if (_root.battlefishy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.fishy.gotoAndPlay("fishydead");
} else {
_root.EnemyMain.fishy.gotoAndPlay("fishydamage");
}
}
if (_root.battlehelly == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.helly.gotoAndPlay("hellydead");
} else {
_root.EnemyMain.helly.gotoAndPlay("hellydamage");
}
}
if (_root.battlespongy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.spongy.gotoAndPlay("spongydead");
} else {
_root.EnemyMain.spongy.gotoAndPlay("spongydamage");
}
}
if (_root.battlewormy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.wormy.gotoAndPlay("wormydead");
} else {
_root.EnemyMain.wormy.gotoAndPlay("wormydamage");
}
}
if (_root.battlepuffy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.puffy.gotoAndPlay("puffydead");
} else {
_root.EnemyMain.puffy.gotoAndPlay("puffydamage");
}
}
if (_root.battlescreamy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.screamy.gotoAndPlay("screamydead");
} else {
_root.EnemyMain.screamy.gotoAndPlay("screamydamage");
}
}
if (_root.battlesticky == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.sticky.gotoAndPlay("stickydead");
} else {
_root.EnemyMain.sticky.gotoAndPlay("stickydamage");
}
}
if (_root.battleslimey == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.slimey.gotoAndPlay("slimeydead");
} else {
_root.EnemyMain.slimey.gotoAndPlay("slimeydamage");
}
}
if (_root.battleghosty == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostydead");
} else {
_root.EnemyMain.ghosty.gotoAndPlay("ghostydamage");
}
}
if (_root.battleshelly == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.shelly.gotoAndPlay("shellydead");
} else {
_root.EnemyMain.shelly.gotoAndPlay("shellydamage");
}
}
if (_root.battleblasty == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.blasty.gotoAndPlay("blastydead");
} else {
_root.EnemyMain.blasty.gotoAndPlay("blastydamage");
}
}
if (_root.battlewingy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.wingy.gotoAndPlay("wingydead");
} else {
_root.EnemyMain.wingy.gotoAndPlay("wingydamage");
}
}
if (_root.battlewizard == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.wizard.gotoAndPlay("wizarddead");
} else {
_root.wizard.gotoAndPlay("wizarddamage");
}
}
if (_root.battlewizard2 == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.wizard.gotoAndPlay("wizarddead2");
} else {
_root.wizard.gotoAndPlay("wizarddamage2");
}
}
Symbol 3276 MovieClip Frame 863
gotoAndStop (1);
_root.Turn = "comp";
Symbol 3276 MovieClip Frame 881
_root.hp = _root.hp + 10;
_root.mp = _root.mp - 4;
if (_root.hp > _root.hptotal) {
_root.hp = _root.hptotal;
}
Symbol 3276 MovieClip Frame 913
gotoAndStop (1);
_root.Turn = "comp";
_root.spikeyplay = random(2) + 1;
if (_root.battlepointy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.pointy.gotoAndPlay("pointyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.pointy.gotoAndPlay("pointymagicattacking");
} else {
_root.EnemyMain.pointy.gotoAndPlay("pointyattacking");
}
}
}
if (_root.battlespikey == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.spikey.gotoAndPlay("attacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.spikey.gotoAndPlay("magicattacking");
} else {
_root.EnemyMain.spikey.gotoAndPlay("attacking");
}
}
}
if (_root.battlebuffy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.buffy.gotoAndPlay("buffyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.buffy.gotoAndPlay("buffymagicattacking");
} else {
_root.EnemyMain.buffy.gotoAndPlay("buffyattacking");
}
}
}
if (_root.battlerocky == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.rocky.gotoAndPlay("rockyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.rocky.gotoAndPlay("rockymagicattacking");
} else {
_root.EnemyMain.rocky.gotoAndPlay("rockyattacking");
}
}
}
if (_root.battlefishy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.fishy.gotoAndPlay("fishyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.fishy.gotoAndPlay("fishymagicattacking");
} else {
_root.EnemyMain.fishy.gotoAndPlay("fishyattacking");
}
}
}
if (_root.battlehelly == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.helly.gotoAndPlay("hellyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.helly.gotoAndPlay("hellymagicattacking");
} else {
_root.EnemyMain.helly.gotoAndPlay("hellyattacking");
}
}
}
if (_root.battlespongy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.spongy.gotoAndPlay("spongyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.spongy.gotoAndPlay("spongymagicattacking");
} else {
_root.EnemyMain.spongy.gotoAndPlay("spongyattacking");
}
}
}
if (_root.battlewormy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.wormy.gotoAndPlay("wormyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.wormy.gotoAndPlay("wormymagicattacking");
} else {
_root.EnemyMain.wormy.gotoAndPlay("wormyattacking");
}
}
}
if (_root.battlepuffy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.puffy.gotoAndPlay("puffyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.puffy.gotoAndPlay("puffymagicattacking");
} else {
_root.EnemyMain.puffy.gotoAndPlay("puffyattacking");
}
}
}
if (_root.battlescreamy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.screamy.gotoAndPlay("screamyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.screamy.gotoAndPlay("screamymagicattacking");
} else {
_root.EnemyMain.screamy.gotoAndPlay("screamyattacking");
}
}
}
if (_root.battlesticky == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.sticky.gotoAndPlay("stickyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.sticky.gotoAndPlay("stickymagicattacking");
} else {
_root.EnemyMain.sticky.gotoAndPlay("stickyattacking");
}
}
}
if (_root.battleslimey == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.slimey.gotoAndPlay("slimeyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.slimey.gotoAndPlay("slimeymagicattacking");
} else {
_root.EnemyMain.slimey.gotoAndPlay("slimeyattacking");
}
}
}
if (_root.battleghosty == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostymagicattacking");
} else {
_root.EnemyMain.ghosty.gotoAndPlay("ghostyattacking");
}
}
}
if (_root.battleshelly == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.shelly.gotoAndPlay("shellyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.shelly.gotoAndPlay("shellymagicattacking");
} else {
_root.EnemyMain.shelly.gotoAndPlay("shellyattacking");
}
}
}
if (_root.battleblasty == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.blasty.gotoAndPlay("blastyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.blasty.gotoAndPlay("blastymagicattacking");
} else {
_root.EnemyMain.blasty.gotoAndPlay("blastyattacking");
}
}
}
if (_root.battlewingy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.wingy.gotoAndPlay("wingyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.wingy.gotoAndPlay("wingymagicattacking");
} else {
_root.EnemyMain.wingy.gotoAndPlay("wingyattacking");
}
}
}
if (_root.battlewizard == true) {
if (_root.spikeyplay == 1) {
_root.wizard.gotoAndPlay("wizardattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.wizard.gotoAndPlay("wizardmagicattacking");
} else {
_root.wizard.gotoAndPlay("wizardattacking");
}
}
}
if (_root.battlewizard2 == true) {
if (_root.spikeyplay == 1) {
_root.wizard.gotoAndPlay("wizardattacking2");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.wizard.gotoAndPlay("wizardmagicattacking2");
} else {
_root.wizard.gotoAndPlay("wizardattacking2");
}
}
}
Symbol 3276 MovieClip Frame 932
_root.hp = _root.hp + 30;
_root.mp = _root.mp - 8;
if (_root.hp > _root.hptotal) {
_root.hp = _root.hptotal;
}
Symbol 3276 MovieClip Frame 963
gotoAndStop (1);
_root.Turn = "comp";
_root.spikeyplay = random(2) + 1;
if (_root.battlepointy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.pointy.gotoAndPlay("pointyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.pointy.gotoAndPlay("pointymagicattacking");
} else {
_root.EnemyMain.pointy.gotoAndPlay("pointyattacking");
}
}
}
if (_root.battlespikey == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.spikey.gotoAndPlay("attacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.spikey.gotoAndPlay("magicattacking");
} else {
_root.EnemyMain.spikey.gotoAndPlay("attacking");
}
}
}
if (_root.battlebuffy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.buffy.gotoAndPlay("buffyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.buffy.gotoAndPlay("buffymagicattacking");
} else {
_root.EnemyMain.buffy.gotoAndPlay("buffyattacking");
}
}
}
if (_root.battlerocky == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.rocky.gotoAndPlay("rockyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.rocky.gotoAndPlay("rockymagicattacking");
} else {
_root.EnemyMain.rocky.gotoAndPlay("rockyattacking");
}
}
}
if (_root.battlefishy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.fishy.gotoAndPlay("fishyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.fishy.gotoAndPlay("fishymagicattacking");
} else {
_root.EnemyMain.fishy.gotoAndPlay("fishyattacking");
}
}
}
if (_root.battlehelly == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.helly.gotoAndPlay("hellyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.helly.gotoAndPlay("hellymagicattacking");
} else {
_root.EnemyMain.helly.gotoAndPlay("hellyattacking");
}
}
}
if (_root.battlespongy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.spongy.gotoAndPlay("spongyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.spongy.gotoAndPlay("spongymagicattacking");
} else {
_root.EnemyMain.spongy.gotoAndPlay("spongyattacking");
}
}
}
if (_root.battlewormy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.wormy.gotoAndPlay("wormyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.wormy.gotoAndPlay("wormymagicattacking");
} else {
_root.EnemyMain.wormy.gotoAndPlay("wormyattacking");
}
}
}
if (_root.battlepuffy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.puffy.gotoAndPlay("puffyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.puffy.gotoAndPlay("puffymagicattacking");
} else {
_root.EnemyMain.puffy.gotoAndPlay("puffyattacking");
}
}
}
if (_root.battlescreamy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.screamy.gotoAndPlay("screamyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.screamy.gotoAndPlay("screamymagicattacking");
} else {
_root.EnemyMain.screamy.gotoAndPlay("screamyattacking");
}
}
}
if (_root.battlesticky == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.sticky.gotoAndPlay("stickyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.sticky.gotoAndPlay("stickymagicattacking");
} else {
_root.EnemyMain.sticky.gotoAndPlay("stickyattacking");
}
}
}
if (_root.battleslimey == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.slimey.gotoAndPlay("slimeyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.slimey.gotoAndPlay("slimeymagicattacking");
} else {
_root.EnemyMain.slimey.gotoAndPlay("slimeyattacking");
}
}
}
if (_root.battleghosty == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostymagicattacking");
} else {
_root.EnemyMain.ghosty.gotoAndPlay("ghostyattacking");
}
}
}
if (_root.battleshelly == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.shelly.gotoAndPlay("shellyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.shelly.gotoAndPlay("shellymagicattacking");
} else {
_root.EnemyMain.shelly.gotoAndPlay("shellyattacking");
}
}
}
if (_root.battleblasty == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.blasty.gotoAndPlay("blastyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.blasty.gotoAndPlay("blastymagicattacking");
} else {
_root.EnemyMain.blasty.gotoAndPlay("blastyattacking");
}
}
}
if (_root.battlewingy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.wingy.gotoAndPlay("wingyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.wingy.gotoAndPlay("wingymagicattacking");
} else {
_root.EnemyMain.wingy.gotoAndPlay("wingyattacking");
}
}
}
if (_root.battlewizard == true) {
if (_root.spikeyplay == 1) {
_root.wizard.gotoAndPlay("wizardattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.wizard.gotoAndPlay("wizardmagicattacking");
} else {
_root.wizard.gotoAndPlay("wizardattacking");
}
}
}
if (_root.battlewizard2 == true) {
if (_root.spikeyplay == 1) {
_root.wizard.gotoAndPlay("wizardattacking2");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.wizard.gotoAndPlay("wizardmagicattacking2");
} else {
_root.wizard.gotoAndPlay("wizardattacking2");
}
}
}
Symbol 3276 MovieClip Frame 1068
_root.hp = _root.hptotal;
_root.mp = _root.mp - 12;
Symbol 3276 MovieClip Frame 1125
gotoAndStop (1);
_root.Turn = "comp";
_root.spikeyplay = random(2) + 1;
if (_root.battlepointy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.pointy.gotoAndPlay("pointyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.pointy.gotoAndPlay("pointymagicattacking");
} else {
_root.EnemyMain.pointy.gotoAndPlay("pointyattacking");
}
}
}
if (_root.battlespikey == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.spikey.gotoAndPlay("attacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.spikey.gotoAndPlay("magicattacking");
} else {
_root.EnemyMain.spikey.gotoAndPlay("attacking");
}
}
}
if (_root.battlebuffy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.buffy.gotoAndPlay("buffyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.buffy.gotoAndPlay("buffymagicattacking");
} else {
_root.EnemyMain.buffy.gotoAndPlay("buffyattacking");
}
}
}
if (_root.battlerocky == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.rocky.gotoAndPlay("rockyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.rocky.gotoAndPlay("rockymagicattacking");
} else {
_root.EnemyMain.rocky.gotoAndPlay("rockyattacking");
}
}
}
if (_root.battlefishy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.fishy.gotoAndPlay("fishyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.fishy.gotoAndPlay("fishymagicattacking");
} else {
_root.EnemyMain.fishy.gotoAndPlay("fishyattacking");
}
}
}
if (_root.battlehelly == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.helly.gotoAndPlay("hellyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.helly.gotoAndPlay("hellymagicattacking");
} else {
_root.EnemyMain.helly.gotoAndPlay("hellyattacking");
}
}
}
if (_root.battlespongy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.spongy.gotoAndPlay("spongyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.spongy.gotoAndPlay("spongymagicattacking");
} else {
_root.EnemyMain.spongy.gotoAndPlay("spongyattacking");
}
}
}
if (_root.battlewormy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.wormy.gotoAndPlay("wormyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.wormy.gotoAndPlay("wormymagicattacking");
} else {
_root.EnemyMain.wormy.gotoAndPlay("wormyattacking");
}
}
}
if (_root.battlepuffy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.puffy.gotoAndPlay("puffyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.puffy.gotoAndPlay("puffymagicattacking");
} else {
_root.EnemyMain.puffy.gotoAndPlay("puffyattacking");
}
}
}
if (_root.battlescreamy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.screamy.gotoAndPlay("screamyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.screamy.gotoAndPlay("screamymagicattacking");
} else {
_root.EnemyMain.screamy.gotoAndPlay("screamyattacking");
}
}
}
if (_root.battlesticky == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.sticky.gotoAndPlay("stickyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.sticky.gotoAndPlay("stickymagicattacking");
} else {
_root.EnemyMain.sticky.gotoAndPlay("stickyattacking");
}
}
}
if (_root.battleslimey == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.slimey.gotoAndPlay("slimeyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.slimey.gotoAndPlay("slimeymagicattacking");
} else {
_root.EnemyMain.slimey.gotoAndPlay("slimeyattacking");
}
}
}
if (_root.battleghosty == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostymagicattacking");
} else {
_root.EnemyMain.ghosty.gotoAndPlay("ghostyattacking");
}
}
}
if (_root.battleshelly == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.shelly.gotoAndPlay("shellyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.shelly.gotoAndPlay("shellymagicattacking");
} else {
_root.EnemyMain.shelly.gotoAndPlay("shellyattacking");
}
}
}
if (_root.battleblasty == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.blasty.gotoAndPlay("blastyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.blasty.gotoAndPlay("blastymagicattacking");
} else {
_root.EnemyMain.blasty.gotoAndPlay("blastyattacking");
}
}
}
if (_root.battlewingy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.wingy.gotoAndPlay("wingyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.wingy.gotoAndPlay("wingymagicattacking");
} else {
_root.EnemyMain.wingy.gotoAndPlay("wingyattacking");
}
}
}
if (_root.battlewizard == true) {
if (_root.spikeyplay == 1) {
_root.wizard.gotoAndPlay("wizardattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.wizard.gotoAndPlay("wizardmagicattacking");
} else {
_root.wizard.gotoAndPlay("wizardattacking");
}
}
}
if (_root.battlewizard2 == true) {
if (_root.spikeyplay == 1) {
_root.wizard.gotoAndPlay("wizardattacking2");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.wizard.gotoAndPlay("wizardmagicattacking2");
} else {
_root.wizard.gotoAndPlay("wizardattacking2");
}
}
}
Symbol 3276 MovieClip Frame 1240
_root.battlespikey = false;
_root.battlepointy = false;
_root.battlewingy = false;
_root.battleblasty = false;
_root.battlerocky = false;
_root.battlespongy = false;
_root.battlewormy = false;
_root.battlecopty = false;
_root.battlepuffy = false;
_root.battlebuffy = false;
_root.battlefishy = false;
_root.battleghosty = false;
_root.battleslimey = false;
_root.battlesticky = false;
_root.battlewizard = false;
_root.battlewizard2 = false;
_root.gotoAndStop("gameover");
Symbol 3276 MovieClip Frame 1270
_root.gotoAndPlay("map1");
_root.Menu = false;
_root.Turn = "guy";
_root.enemychooser = 0;
if (_root.battlespikey == true) {
_root.battlespikey = false;
}
if (_root.battlepointy == true) {
_root.battlepointy = false;
}
if (_root.battlewingy == true) {
_root.battlewingy = false;
}
if (_root.battleblasty == true) {
_root.battleblasty = false;
}
if (_root.battleshelly == true) {
_root.battleshelly = false;
}
if (_root.battlespongy == true) {
_root.battlespongy = false;
}
if (_root.battlehelly == true) {
_root.battlehelly = false;
}
if (_root.battlewormy == true) {
_root.battlewormy = false;
}
if (_root.battlefishy == true) {
_root.battlefishy = false;
}
if (_root.battlepuffy == true) {
_root.battlepuffy = false;
}
if (_root.battlebuffy == true) {
_root.battlebuffy = false;
}
if (_root.battlescreamy == true) {
_root.battlescreamy = false;
}
if (_root.battlesticky == true) {
_root.battlesticky = false;
}
if (_root.battleslimey == true) {
_root.battleslimey = false;
}
if (_root.battleghosty == true) {
_root.battleghosty = false;
}
if (_root.battlerocky == true) {
_root.battlerocky = false;
}
Symbol 3276 MovieClip Frame 1304
gotoAndStop (1);
if (_root.battlespikey == true) {
_root.EnemyMain.spikey.gotoAndPlay("attacking");
}
if (_root.battlepointy == true) {
_root.EnemyMain.pointy.gotoAndPlay("pointyattacking");
}
if (_root.battlewingy == true) {
_root.EnemyMain.wingy.gotoAndPlay("wingyattacking");
}
if (_root.battleblasty == true) {
_root.EnemyMain.blasty.gotoAndPlay("blastyattacking");
}
if (_root.battleshelly == true) {
_root.EnemyMain.shelly.gotoAndPlay("shellyattacking");
}
if (_root.battlebuffy == true) {
_root.EnemyMain.buffy.gotoAndPlay("buffyattacking");
}
if (_root.battlerocky == true) {
_root.EnemyMain.rocky.gotoAndPlay("rockyattacking");
}
if (_root.battlespongy == true) {
_root.EnemyMain.spongy.gotoAndPlay("spongyattacking");
}
if (_root.battlehelly == true) {
_root.EnemyMain.helly.gotoAndPlay("hellyattacking");
}
if (_root.battlewormy == true) {
_root.EnemyMain.wormy.gotoAndPlay("wormyattacking");
}
if (_root.battlepuffy == true) {
_root.EnemyMain.puffy.gotoAndPlay("puffyattacking");
}
if (_root.battlefishy == true) {
_root.EnemyMain.fishy.gotoAndPlay("fishyattacking");
}
if (_root.battlescreamy == true) {
_root.EnemyMain.screamy.gotoAndPlay("screamyattacking");
}
if (_root.battlesticky == true) {
_root.EnemyMain.sticky.gotoAndPlay("stickyattacking");
}
if (_root.battleslimey == true) {
_root.EnemyMain.slimey.gotoAndPlay("slimeyattacking");
}
if (_root.battleghosty == true) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostyattacking");
}
_root.Turn = "comp";
Symbol 3281 Button
on (release) {
getURL ("http://www.newgrounds.com", _blank);
}
Symbol 3288 Button
on (release) {
getURL ("http://www.starogre.com", _blank);
}
Symbol 3299 Button
on (release) {
play();
}
Symbol 3302 MovieClip Frame 91
stop();
Symbol 3302 MovieClip Frame 108
_root.gotoAndStop("credits");
Symbol 3304 MovieClip Frame 1
scale = Number(random(50)) + 30;
setProperty(_target, _x , (Number(../:x) + Number(random(12))) - 6);
setProperty(_target, _yscale , scale);
setProperty(_target, _rotation , random(360));
Symbol 3305 MovieClip Frame 1
i = 1;
max = 60;
x = getProperty("fire", _x);
Symbol 3305 MovieClip Frame 2
if (Number(i) <= Number(max)) {
duplicateMovieClip ("fire", "fire" add i, i);
i = Number(i) + 1;
}
Symbol 3305 MovieClip Frame 3
if (Number(i) <= Number(max)) {
duplicateMovieClip ("fire", "fire" add i, i);
i = Number(i) + 1;
}
gotoAndPlay (2);
Symbol 3313 MovieClip Frame 1215
_root.gotoAndPlay(1);
Symbol 3316 MovieClip Frame 2
_root.battlewizard = true;
gotoAndPlay (1);
Symbol 3339 MovieClip Frame 1
scale = Number(random(50)) + 30;
setProperty(_target, _x , (Number(../:x) + Number(random(12))) - 6);
setProperty(_target, _yscale , scale);
setProperty(_target, _yscale , scale);
setProperty(_target, _rotation , scale);
Symbol 3340 MovieClip Frame 1
i = 1;
max = 60;
x = getProperty("fire", _x);
Symbol 3340 MovieClip Frame 2
if (Number(i) <= Number(max)) {
duplicateMovieClip ("fire", "fire" add i, i);
i = Number(i) + 1;
}
Symbol 3340 MovieClip Frame 3
if (Number(i) <= Number(max)) {
duplicateMovieClip ("fire", "fire" add i, i);
i = Number(i) + 1;
}
gotoAndPlay (2);
Symbol 3355 MovieClip Frame 20
stop();
Symbol 3357 MovieClip Frame 1
duplicateMovieClip (crystal, x, x);
setProperty(crystal, _rotation , random(360));
Symbol 3357 MovieClip Frame 2
x = x + 1;
if (x > 10) {
x = 0;
}
gotoAndPlay (1);
Symbol 3359 MovieClip Frame 1
scale = Number(random(50)) + 30;
setProperty(_target, _x , (Number(../:x) + Number(random(12))) - 6);
setProperty(_target, _yscale , scale);
setProperty(_target, _rotation , random(360));
Symbol 3360 MovieClip Frame 1
i = 1;
max = 30;
x = getProperty("fire", _x);
Symbol 3360 MovieClip Frame 2
if (Number(i) <= Number(max)) {
duplicateMovieClip ("fire", "fire" add i, i);
i = Number(i) + 1;
}
Symbol 3360 MovieClip Frame 3
if (Number(i) <= Number(max)) {
duplicateMovieClip ("fire", "fire" add i, i);
i = Number(i) + 1;
}
gotoAndPlay (2);
Symbol 3366 MovieClip Frame 1
scale = Number(random(50)) + 30;
setProperty(_target, _x , (Number(../:x) + Number(random(12))) - 6);
setProperty(_target, _yscale , scale);
setProperty(_target, _xscale , scale);
setProperty(_target, _rotation , random(360));
Symbol 3367 MovieClip Frame 1
i = 1;
max = 100;
x = getProperty("fire", _x);
Symbol 3367 MovieClip Frame 2
if (Number(i) <= Number(max)) {
duplicateMovieClip ("fire", "fire" add i, i);
i = Number(i) + 1;
}
Symbol 3367 MovieClip Frame 3
if (Number(i) <= Number(max)) {
duplicateMovieClip ("fire", "fire" add i, i);
i = Number(i) + 1;
}
gotoAndPlay (2);
Symbol 3370 MovieClip Frame 1
scale = Number(random(50)) + 30;
setProperty(_target, _x , (Number(../:x) + Number(random(12))) - 6);
setProperty(_target, _yscale , scale);
Symbol 3371 MovieClip Frame 1
i = 1;
max = 60;
x = getProperty("fire", _x);
Symbol 3371 MovieClip Frame 2
if (Number(i) <= Number(max)) {
duplicateMovieClip ("fire", "fire" add i, i);
i = Number(i) + 1;
}
Symbol 3371 MovieClip Frame 3
if (Number(i) <= Number(max)) {
duplicateMovieClip ("fire", "fire" add i, i);
i = Number(i) + 1;
}
gotoAndPlay (2);
Symbol 3372 MovieClip Frame 1
_root.enemyHP = 90;
_root.enemyMP = 6;
_root.battlewizard = true;
_root.Turn = "guy";
Symbol 3372 MovieClip Frame 2
stop();
Symbol 3372 MovieClip Frame 3
_root.wizard.swapDepths(_root.battleguy);
Symbol 3372 MovieClip Frame 22
block = true;
spikeydmg = random(4) + 18;
Symbol 3372 MovieClip Frame 23
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 3372 MovieClip Frame 24
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.wizard.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 3372 MovieClip Frame 25
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.wizard.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 3372 MovieClip Frame 26
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.wizard.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeydmg;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 3372 MovieClip Frame 27
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 3372 MovieClip Frame 28
if (block == false) {
spikeydmg = spikeydmg + 1;
}
Symbol 3372 MovieClip Frame 51
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.wizard);
Symbol 3372 MovieClip Frame 55
gotoAndStop (2);
_root.Turn = "guy";
Symbol 3372 MovieClip Frame 56
_root.turn = "comp";
Symbol 3372 MovieClip Frame 58
_root.wizard.swapDepths(_root.battleguy);
Symbol 3372 MovieClip Frame 89
_root.battleguy.swapDepths(_root.wizard);
Symbol 3372 MovieClip Frame 90
gotoAndPlay (196);
Symbol 3372 MovieClip Frame 101
_root.spikeyplay = random(2) + 1;
if (_root.spikeyplay == 1) {
_root.wizard.gotoAndPlay("wizardattacking");
}
if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.wizard.gotoAndPlay("wizardmagicattacking");
} else {
_root.wizard.gotoAndPlay("wizardattacking");
}
}
Symbol 3372 MovieClip Frame 104
_root.wizard.swapDepths(_root.battleguy);
Symbol 3372 MovieClip Frame 152
block = true;
spikeymagic = Math.round(_root.hp / 2);
_root.battleguy.guystances.gotoAndStop("hit");
Symbol 3372 MovieClip Frame 153
damage = spikeymagic;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 3372 MovieClip Frame 154
_root.enemyMP = _root.enemyMP - 1;
Symbol 3372 MovieClip Frame 186
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.wizard);
Symbol 3372 MovieClip Frame 195
gotoAndStop (2);
_root.Turn = "guy";
Symbol 3372 MovieClip Frame 196
_root.enemyHP = 80;
_root.enemyMP = 3;
_root.battlewizard2 = true;
_root.battlewizard = false;
_root.Turn = "guy";
Symbol 3372 MovieClip Frame 197
stop();
Symbol 3372 MovieClip Frame 217
block = true;
spikeydmg = random(4) + 18;
Symbol 3372 MovieClip Frame 218
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 3372 MovieClip Frame 219
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.wizard.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 3372 MovieClip Frame 220
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.wizard.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 3372 MovieClip Frame 221
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.wizard.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeydmg;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 3372 MovieClip Frame 222
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 3372 MovieClip Frame 223
if (block == false) {
spikeydmg = spikeydmg + 1;
}
Symbol 3372 MovieClip Frame 246
_root.battleguy.guystances.gotoAndStop("stance");
Symbol 3372 MovieClip Frame 250
gotoAndStop (197);
_root.Turn = "guy";
Symbol 3372 MovieClip Frame 251
_root.turn = "comp";
Symbol 3372 MovieClip Frame 410
_root.gotoAndStop("ending");
Symbol 3372 MovieClip Frame 411
_root.gotoAndPlay("map1");
_root.Menu = false;
_root.Turn = "guy";
_root.enemychooser = 0;
_root.battlewizard2 = false;
Symbol 3372 MovieClip Frame 443
_root.spikeyplay = random(2) + 1;
if (_root.spikeyplay == 1) {
_root.wizard.gotoAndPlay("wizardattacking2");
}
if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.wizard.gotoAndPlay("wizardmagicattacking2");
} else {
_root.wizard.gotoAndPlay("wizardattacking2");
}
}
Symbol 3372 MovieClip Frame 473
spikeymagic = 10;
Symbol 3372 MovieClip Frame 477
damage = spikeymagic;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
if (_root.hp == 1) {
_root.hp - 1;
} else {
_root.hp = 1;
}
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 3372 MovieClip Frame 478
_root.enemyMP = _root.enemyMP - 1;
Symbol 3372 MovieClip Frame 542
_root.battleguy.guystances.gotoAndStop("stance");
Symbol 3372 MovieClip Frame 546
gotoAndStop (197);
_root.Turn = "guy";
Symbol 3375 MovieClip Frame 21
stop();
Symbol 3392 MovieClip Frame 621
_root.gotoAndStop("credits");