﻿ACTIONSCRIPT (AS1/AS2) FOR FLASH #268338
https://swfchan.com/54/268338/

	movieClip 2	{
	}
	movieClip 3 aggroBlock {
	}
	movieClip 6	{
	}
	movieClip 7 sct {
		frame 35 {
			this.removeMovieClip();
		}
	}
	movieClip 9 targetMarker {
	}
	movieClip 11	{
	}
	movieClip 12 hero_sct {
		frame 1 {
			_root.showTutorial(2);
		}
		frame 35 {
			this.removeMovieClip();
		}
	}
	movieClip 14	{
	}
	movieClip 15 dot_sct {
		frame 30 {
			this.removeMovieClip();
		}
	}
	movieClip 17	{
	}
	movieClip 18 heal_sct {
		frame 35 {
			this.removeMovieClip();
		}
	}
	movieClip 20	{
	}
	movieClip 21 frostblade_effect {
	}
	movieClip 23	{
	}
	movieClip 24	{
		frame 20 {
			this.gotoAndPlay(1);
		}
	}
	movieClip 25 shieldbash_effect {
	}
	movieClip 27	{
	}
	movieClip 28 heroSnareEffect {
	}
	movieClip 31 blankIcon {
	}
	movieClip 35	{
	}
	movieClip 36 elvenshotIcon {
	}
	movieClip 43	{
		frame 4 {
			this.gotoAndStop(1);
		}
	}
	movieClip 45	{
	}
	movieClip 46 searingarrowIcon {
	}
	movieClip 52	{
	}
	movieClip 53 bindwoundIcon {
	}
	movieClip 58	{
	}
	movieClip 59	{
	}
	movieClip 60 frostshotIcon {
	}
	movieClip 64	{
	}
	movieClip 65 fetterIcon {
	}
	movieClip 69	{
	}
	movieClip 70 shootarrowIcon {
	}
	movieClip 72	{
	}
	movieClip 74	{
	}
	movieClip 75 deathblowIcon {
	}
	movieClip 77	{
	}
	movieClip 79	{
	}
	movieClip 81	{
	}
	movieClip 83	{
	}
	movieClip 84 shieldbashIcon {
	}
	movieClip 86	{
	}
	movieClip 87 cleaveIcon {
	}
	movieClip 89	{
	}
	movieClip 90 mendwoundIcon {
	}
	movieClip 91 frostbladeIcon {
	}
	movieClip 93	{
	}
	movieClip 94 stabIcon {
	}
	movieClip 96	{
	}
	movieClip 97 energyboltIcon {
	}
	movieClip 99	{
	}
	movieClip 100 healIcon {
	}
	movieClip 102	{
	}
	movieClip 103 firenovaIcon {
	}
	movieClip 105	{
	}
	movieClip 106 frostbiteIcon {
	}
	movieClip 108	{
	}
	movieClip 109 bondsofairIcon {
	}
	movieClip 111	{
	}
	movieClip 113	{
	}
	movieClip 114 fireballIcon {
	}
	movieClip 180	{
		frame 1 {
			if (this._parent == _root.world.hero) {
				this.gotoAndStop(_root.weaponEquip);
			} else {
				this.gotoAndStop(this._parent.weaponEquip);
			}
			stop();
		}
	}
	movieClip 258	{
		frame 1 {
			if (this._parent == _root.world.hero) {
				this.gotoAndStop(_root.chestEquip);
			} else {
				this.gotoAndStop(this._parent.chestEquip);
			}
			stop();
		}
	}
	movieClip 263	{
	}
	movieClip 338	{
		frame 1 {
			if (this._parent == _root.world.hero) {
				this.gotoAndStop(_root.headEquipquip);
			} else {
				this.gotoAndStop(this._parent.headEquip);
			}
			stop();
		}
	}
	movieClip 357	{
		frame 1 {
			if (this._parent == _root.world.hero) {
				this.gotoAndStop(_root.shieldEquip);
			} else {
				this.gotoAndStop(this._parent.shieldEquip);
			}
			stop();
		}
	}
	movieClip 429	{
	}
	movieClip 430	{
	}
	movieClip 470	{
	}
	movieClip 471	{
	}
	movieClip 512	{
	}
	movieClip 515	{
	}
	movieClip 517	{
	}
	movieClip 519	{
	}
	movieClip 520 frostbite_effect {
	}
	movieClip 559	{
	}
	movieClip 560	{
	}
	movieClip 581	{
	}
	movieClip 588	{
	}
	movieClip 696	{
	}
	movieClip 711	{
	}
	movieClip 713	{
	}
	movieClip 714	{
	}
	movieClip 743	{
	}
	movieClip 756	{
	}
	movieClip 770	{
	}
	movieClip 772	{
	}
	movieClip 774 hero {
		frame 1 {
			stop();
		}
		frame 34 {
			this.gotoAndPlay('run');
		}
		frame 397 {
			_root.castInProgress = false;
		}
		frame 408 {
			_root.castInProgress = false;
		}
		frame 511 {
			_root.castInProgress = false;
		}
		frame 580 {
			_root.castInProgress = false;
		}
		frame 619 {
			_root.castInProgress = false;
		}
	}
	frame 6 {
		myURL = _url;
		okDomain = 'www.armorgames.com';
		if (myURL.indexOf(okDomain) == -1) {
			_root.gotoAndStop('wrongURL');
		}
		stop();
	}
	movieClip 777	{
	}
	movieClip 778	{
	}
	instance loaderMC of movieClip 778	{
		onClipEvent (load) {
			totalfilesize = _root.getBytesTotal();
			this.inside._yscale = 0;
		}
		onClipEvent (enterFrame) {
			bytesloaded = _root.getBytesLoaded();
			amountloaded = bytesloaded / totalfilesize;
			percentloaded = int(100 * amountloaded);
			this.inside._yscale = percentloaded;
			if (percentloaded <= 50) {
				_root.loadingText.gotoAndStop(1);
			} else {
				if (percentloaded <= 65) {
					_root.loadingText.gotoAndStop(2);
				} else {
					if (percentloaded <= 75) {
						_root.loadingText.gotoAndStop(3);
					} else {
						if (percentloaded <= 100) {
							_root.loadingText.gotoAndStop(4);
						}
					}
				}
			}
			if (percentloaded >= 100) {
				_root.gotoAndPlay('export');
				stop();
			}
		}
	}
	movieClip 788	{
		frame 1 {
			stop();
		}
	}
	movieClip 792	{
	}
	movieClip 793 boss4Spell {
		instance of movieClip 792	{
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					var enemyDamage = Math.round(90 + random(9) - _root.armor * 0.1);
					_root.curHP -= enemyDamage;
					var sctName = 'sct' + _root.sctDepth;
					_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
					_root.world[sctName].sct2.damage.text = enemyDamage;
					_root.world[sctName]._x = _root.world.hero._x;
					_root.world[sctName]._y = _root.world.hero._y - 20;
					if (_root.curHP < 1) {
						_root.heroDie();
					}
					this._parent.removeMovieClip();
				}
				var i = 1;
				while (i <= 10) {
					var object = 'stop' + i;
					if (this.hitTest(_root.world[object])) {
						this._parent.removeMovieClip();
						break;
					}
					++i;
				}
			}
		}
		frame 40 {
			this.removeMovieClip();
		}
	}
	movieClip 794 fetter2 {
		instance of movieClip 696	{
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					_root.rootHero();
					this._parent.removeMovieClip();
				}
				var i = 1;
				while (i <= 10) {
					var object = 'stop' + i;
					if (this.hitTest(_root.world[object])) {
						this._parent.removeMovieClip();
						break;
					}
					++i;
				}
			}
		}
		frame 60 {
			this.removeMovieClip();
		}
	}
	movieClip 796	{
	}
	movieClip 797 fetter3 {
		instance of movieClip 796	{
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					_root.rootHero();
					this._parent.removeMovieClip();
				}
				var i = 1;
				while (i <= 10) {
					var object = 'stop' + i;
					if (this.hitTest(_root.world[object])) {
						this._parent.removeMovieClip();
						break;
					}
					++i;
				}
			}
		}
		frame 50 {
			this.removeMovieClip();
		}
	}
	movieClip 799	{
	}
	movieClip 800 fetter4 {
		instance of movieClip 799	{
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					_root.rootHero();
					this._parent.removeMovieClip();
				}
				var i = 1;
				while (i <= 10) {
					var object = 'stop' + i;
					if (this.hitTest(_root.world[object])) {
						this._parent.removeMovieClip();
						break;
					}
					++i;
				}
			}
		}
		frame 50 {
			this.removeMovieClip();
		}
	}
	movieClip 803 redBatDie {
		frame 20 {
			this.removeMovieClip();
		}
	}
	movieClip 818	{
	}
	movieClip 820	{
	}
	movieClip 835	{
	}
	movieClip 850	{
		frame 1 {
			stop();
		}
		frame 2 {
			stop();
		}
		frame 30 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 851 redBat {
		instance inside of movieClip 850	{
			onClipEvent (load) {
				this.idName = 'redBat';
				this.curHp = this.maxHp;
				this.speed = 1.4;
				this.normSpeed = 1.4;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 30;
				this.attacking = false;
				this.baseDamage = 21;
				this.standing = 5;
				this.aeHit = false;
				this.dimReturns = 0;
				this.forceLat = false;
				this.forceVert = false;
				this.symbol = 'how';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(5);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, this.symbol);
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(5);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, this.symbol);
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(5);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, this.symbol);
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						if (this.attackTimer == 7 && this.hitTest(_root.world.hero)) {
							var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
							_root.curHP -= enemyDamage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = enemyDamage;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							if (_root.curHP < 1) {
								_root.heroDie();
							}
						}
						if (this.attackTimer == 30) {
							this.attacking = false;
							if (!this.hitTest(_root.world.hero) && this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.hitTest(_root.world.hero)) {
						if (this.attacking == false && this.stunned == false) {
							this.attackTimer = 0;
							this.attacking = true;
							this.gotoAndPlay('attack');
						}
					} else {
						if (this.rooted == false && this.stunned == false) {
							this.disRight = false;
							this.disLeft = false;
							this.disUp = false;
							this.disDown = false;
							var i = 1;
							while (i <= 10) {
								var object = 'stop' + i;
								if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
									this.disRight = true;
								}
								if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
									this.disLeft = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
									this.disDown = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
									this.disUp = true;
								}
								++i;
							}
							if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
								if (this._parent._x < _root.world.hero._x) {
									this.latDir = 'right';
									if (this.disRight == false) {
										this._parent._x += this.speed;
									}
								} else {
									this.latDir = 'left';
									if (this.disLeft == false) {
										this._parent._x -= this.speed;
									}
								}
							} else {
								this.latDir = 'none';
							}
							if (this.forceLat) {
								this._parent._x += this.speed * this.forceDir;
							}
							if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
								if (this._parent._y < _root.world.hero._y) {
									this.vertDir = 'down';
									if (this.disDown == false) {
										this._parent._y += this.speed;
									}
								} else {
									this.vertDir = 'up';
									if (this.disUp == false) {
										this._parent._y -= this.speed;
									}
								}
							} else {
								this.vertDir = 'none';
							}
							if (this.forceVert) {
								this._parent._y -= this.speed * this.forceDir;
							}
							if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
								this.forceVert = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
								this.forceLat = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if (this.forceLat) {
								if (this.disUp == false && this.disDown == false) {
									this.forceLat = false;
								}
							}
							if (this.forceVert) {
								if (this.disRight == false && this.disLeft == false) {
									this.forceVert = false;
								}
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetMarker._x = this._parent._x;
								_root.world.targetMarker._y = this._parent._y;
							}
							if (_root.savedTarget == this.id) {
								_root.savedX = this._parent._x;
								_root.savedY = this._parent._y;
							}
						}
					}
					if (this.curHp < 1) {
						_root.playSound('batDie');
						_root.curExp += this.level;
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('redBatDie', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = 'Unknown';
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = 'Unknown';
				_root.world.targetInfo.factionIndicator.gotoAndStop(5);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 856 fireBossDie {
		frame 35 {
			this.removeMovieClip();
		}
	}
	movieClip 911	{
	}
	movieClip 936	{
		frame 1 {
			stop();
		}
		frame 21 {
			this.gotoAndPlay('run');
		}
		frame 42 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 93 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 937 fireBoss {
		instance inside of movieClip 936	{
			onClipEvent (load) {
				this.idName = 'fireBoss';
				this.curHp = this.maxHp;
				this.speed = 1.8;
				this.normSpeed = 1.8;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 30;
				this.attacking = false;
				this.baseDamage = 35;
				this.standing = 5;
				this.aeHit = false;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.symbol = 'how';
				this.faction = 'Unknown';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.shield.gotoAndStop(this.shieldEquip);
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = 'Unknown';
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(5);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'how');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = 'Unknown';
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(5);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, this.symbol);
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = 'Unknown';
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(5);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, this.symbol);
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.fire.hitTest(_root.world.hero) && this.attackTimer % 2 == 0) {
							_root.curHP -= 8;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = 8;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							if (_root.curHP < 1) {
								_root.heroDie();
							}
						}
						if (this.attackTimer == 15 && this.hitTest(_root.world.hero) && this.specialAttack == false) {
							var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
							_root.curHP -= enemyDamage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = enemyDamage;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							if (_root.curHP < 1) {
								_root.heroDie();
							}
						}
						if (this.attackTimer == 50) {
							this.specialAttack = false;
							this.attacking = false;
							if (this.specialTimer >= 180) {
								this.specialTimer = 0;
							}
							if (!this.hitTest(_root.world.hero) && this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.hitTest(_root.world.hero)) {
						if (this.attacking == false && this.stunned == false) {
							if (this.specialTimer == 0) {
								this.gotoAndPlay('special');
								this.specialAttack = true;
							} else {
								this.gotoAndPlay('attack');
							}
							this.attackTimer = 0;
							this.attacking = true;
						}
					} else {
						if (this.rooted == false && this.stunned == false && this.specialAttack == false) {
							this.disRight = false;
							this.disLeft = false;
							this.disUp = false;
							this.disDown = false;
							var i = 1;
							while (i <= 10) {
								var object = 'stop' + i;
								if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
									this.disRight = true;
								}
								if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
									this.disLeft = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
									this.disDown = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
									this.disUp = true;
								}
								++i;
							}
							if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
								if (this._parent._x < _root.world.hero._x) {
									this.latDir = 'right';
									if (this.disRight == false) {
										this._parent._x += this.speed;
									}
								} else {
									this.latDir = 'left';
									if (this.disLeft == false) {
										this._parent._x -= this.speed;
									}
								}
							} else {
								this.latDir = 'none';
							}
							if (this.forceLat) {
								this._parent._x += this.speed * this.forceDir;
							}
							if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
								if (this._parent._y < _root.world.hero._y) {
									this.vertDir = 'down';
									if (this.disDown == false) {
										this._parent._y += this.speed;
									}
								} else {
									this.vertDir = 'up';
									if (this.disUp == false) {
										this._parent._y -= this.speed;
									}
								}
							} else {
								this.vertDir = 'none';
							}
							if (this.forceVert) {
								this._parent._y -= this.speed * this.forceDir;
							}
							if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
								this.forceVert = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
								this.forceLat = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if (this.forceLat) {
								if (this.disUp == false && this.disDown == false) {
									this.forceLat = false;
								}
							}
							if (this.forceVert) {
								if (this.disRight == false && this.disLeft == false) {
									this.forceVert = false;
								}
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetMarker._x = this._parent._x;
								_root.world.targetMarker._y = this._parent._y;
							}
							if (_root.savedTarget == this.id) {
								_root.savedX = this._parent._x;
								_root.savedY = this._parent._y;
							}
						}
					}
					if (this.curHp < 1) {
						_root.playSound('bossDie');
						_root.curExp += 30;
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + 24;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						var i = 0;
						while (i < 7) {
							if (_root.activeQuests[i] == 'allianceBoss1Q' || _root.activeQuests[i] == 'shadowRunnersBoss1Q') {
								var qItemNew = 'qItem' + _root.questDepth;
								_root.world.attachMovie('boss1', qItemNew, ++_root.questDepth);
								_root.world[qItemNew]._x = this._parent._x;
								_root.world[qItemNew]._y = this._parent._y;
								break;
							}
							++i;
						}
						_root.getBossLoot(1, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('fireBossDie', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = 'Unknown';
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = 'Unknown';
				_root.world.targetInfo.factionIndicator.gotoAndStop(5);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 992	{
	}
	movieClip 1017	{
		frame 1 {
			stop();
		}
		frame 21 {
			this.gotoAndPlay('run');
		}
		frame 42 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 93 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 1018 iceBoss {
		instance inside of movieClip 1017	{
			onClipEvent (load) {
				this.idName = 'iceBoss';
				this.curHp = this.maxHp;
				this.speed = 2;
				this.normSpeed = 2;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 30;
				this.attacking = false;
				this.baseDamage = 45;
				this.standing = 5;
				this.aeHit = false;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.symbol = 'how';
				this.faction = 'Unknown';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.shield.gotoAndStop(this.shieldEquip);
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = 'Unknown';
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(5);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'how');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = 'Unknown';
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(5);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, this.symbol);
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = 'Unknown';
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(5);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, this.symbol);
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.fire.hitTest(_root.world.hero) && this.attackTimer % 2 == 0) {
							_root.curHP -= 10;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = 10;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							_root.snareHero();
							if (_root.curHP < 1) {
								_root.heroDie();
							}
						}
						if (this.attackTimer == 15 && this.hitTest(_root.world.hero) && this.specialAttack == false) {
							_root.snareHero();
							var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
							_root.curHP -= enemyDamage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = enemyDamage;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							if (_root.curHP < 1) {
								_root.heroDie();
							}
						}
						if (this.attackTimer == 50) {
							this.specialAttack = false;
							this.attacking = false;
							if (this.specialTimer >= 180) {
								this.specialTimer = 0;
							}
							if (!this.hitTest(_root.world.hero) && this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.hitTest(_root.world.hero)) {
						if (this.attacking == false && this.stunned == false) {
							if (this.specialTimer == 0) {
								this.gotoAndPlay('special');
								this.specialAttack = true;
							} else {
								this.gotoAndPlay('attack');
							}
							this.attackTimer = 0;
							this.attacking = true;
						}
					} else {
						if (this.rooted == false && this.stunned == false && this.specialAttack == false) {
							this.disRight = false;
							this.disLeft = false;
							this.disUp = false;
							this.disDown = false;
							var i = 1;
							while (i <= 10) {
								var object = 'stop' + i;
								if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
									this.disRight = true;
								}
								if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
									this.disLeft = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
									this.disDown = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
									this.disUp = true;
								}
								++i;
							}
							if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
								if (this._parent._x < _root.world.hero._x) {
									this.latDir = 'right';
									if (this.disRight == false) {
										this._parent._x += this.speed;
									}
								} else {
									this.latDir = 'left';
									if (this.disLeft == false) {
										this._parent._x -= this.speed;
									}
								}
							} else {
								this.latDir = 'none';
							}
							if (this.forceLat) {
								this._parent._x += this.speed * this.forceDir;
							}
							if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
								if (this._parent._y < _root.world.hero._y) {
									this.vertDir = 'down';
									if (this.disDown == false) {
										this._parent._y += this.speed;
									}
								} else {
									this.vertDir = 'up';
									if (this.disUp == false) {
										this._parent._y -= this.speed;
									}
								}
							} else {
								this.vertDir = 'none';
							}
							if (this.forceVert) {
								this._parent._y -= this.speed * this.forceDir;
							}
							if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
								this.forceVert = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
								this.forceLat = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if (this.forceLat) {
								if (this.disUp == false && this.disDown == false) {
									this.forceLat = false;
								}
							}
							if (this.forceVert) {
								if (this.disRight == false && this.disLeft == false) {
									this.forceVert = false;
								}
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetMarker._x = this._parent._x;
								_root.world.targetMarker._y = this._parent._y;
							}
							if (_root.savedTarget == this.id) {
								_root.savedX = this._parent._x;
								_root.savedY = this._parent._y;
							}
						}
					}
					if (this.curHp < 1) {
						_root.playSound('bossDie');
						_root.curExp += 50;
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + 55;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						var i = 0;
						while (i < 7) {
							if (_root.activeQuests[i] == 'allianceBoss2Q' || _root.activeQuests[i] == 'shadowRunnersBoss2Q') {
								var qItemNew = 'qItem' + _root.questDepth;
								_root.world.attachMovie('boss2', qItemNew, ++_root.questDepth);
								_root.world[qItemNew]._x = this._parent._x;
								_root.world[qItemNew]._y = this._parent._y;
								break;
							}
							++i;
						}
						_root.getBossLoot(2, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('iceBossDie', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = 'Unknown';
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = 'Unknown';
				_root.world.targetInfo.factionIndicator.gotoAndStop(5);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 1023 iceBossDie {
		frame 35 {
			this.removeMovieClip();
		}
	}
	movieClip 1078	{
	}
	movieClip 1103	{
		frame 1 {
			stop();
		}
		frame 21 {
			this.gotoAndPlay('run');
		}
		frame 42 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 93 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 1104 poisonBoss {
		instance inside of movieClip 1103	{
			onClipEvent (load) {
				this.idName = 'poisonBoss';
				this.curHp = this.maxHp;
				this.speed = 2.1;
				this.normSpeed = 2.1;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 30;
				this.attacking = false;
				this.baseDamage = 60;
				this.standing = 5;
				this.aeHit = false;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.symbol = 'how';
				this.faction = 'Unknown';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.shield.gotoAndStop(this.shieldEquip);
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = 'Unknown';
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(5);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'how');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = 'Unknown';
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(5);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, this.symbol);
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = 'Unknown';
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(5);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, this.symbol);
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.fire.hitTest(_root.world.hero) && this.attackTimer % 2 == 0) {
							_root.curHP -= 15;
							_root.snareHero();
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = 10;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							_root.stunHero(5);
							if (_root.curHP < 1) {
								_root.heroDie();
							}
						}
						if (this.attackTimer == 15 && this.hitTest(_root.world.hero) && this.specialAttack == false) {
							var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
							_root.curHP -= enemyDamage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = enemyDamage;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							if (_root.curHP < 1) {
								_root.heroDie();
							}
						}
						if (this.attackTimer == 50) {
							this.specialAttack = false;
							this.attacking = false;
							if (this.specialTimer >= 180) {
								this.specialTimer = 0;
							}
							if (!this.hitTest(_root.world.hero) && this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.hitTest(_root.world.hero)) {
						if (this.attacking == false && this.stunned == false) {
							if (this.specialTimer == 0) {
								this.gotoAndPlay('special');
								this.specialAttack = true;
							} else {
								this.gotoAndPlay('attack');
							}
							this.attackTimer = 0;
							this.attacking = true;
						}
					} else {
						if (this.rooted == false && this.stunned == false && this.specialAttack == false) {
							this.disRight = false;
							this.disLeft = false;
							this.disUp = false;
							this.disDown = false;
							var i = 1;
							while (i <= 10) {
								var object = 'stop' + i;
								if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
									this.disRight = true;
								}
								if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
									this.disLeft = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
									this.disDown = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
									this.disUp = true;
								}
								++i;
							}
							if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
								if (this._parent._x < _root.world.hero._x) {
									this.latDir = 'right';
									if (this.disRight == false) {
										this._parent._x += this.speed;
									}
								} else {
									this.latDir = 'left';
									if (this.disLeft == false) {
										this._parent._x -= this.speed;
									}
								}
							} else {
								this.latDir = 'none';
							}
							if (this.forceLat) {
								this._parent._x += this.speed * this.forceDir;
							}
							if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
								if (this._parent._y < _root.world.hero._y) {
									this.vertDir = 'down';
									if (this.disDown == false) {
										this._parent._y += this.speed;
									}
								} else {
									this.vertDir = 'up';
									if (this.disUp == false) {
										this._parent._y -= this.speed;
									}
								}
							} else {
								this.vertDir = 'none';
							}
							if (this.forceVert) {
								this._parent._y -= this.speed * this.forceDir;
							}
							if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
								this.forceVert = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
								this.forceLat = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if (this.forceLat) {
								if (this.disUp == false && this.disDown == false) {
									this.forceLat = false;
								}
							}
							if (this.forceVert) {
								if (this.disRight == false && this.disLeft == false) {
									this.forceVert = false;
								}
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetMarker._x = this._parent._x;
								_root.world.targetMarker._y = this._parent._y;
							}
							if (_root.savedTarget == this.id) {
								_root.savedX = this._parent._x;
								_root.savedY = this._parent._y;
							}
						}
					}
					if (this.curHp < 1) {
						_root.playSound('bossDie');
						_root.curExp += 70;
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + 65;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						var i = 0;
						while (i < 7) {
							if (_root.activeQuests[i] == 'allianceBoss3Q' || _root.activeQuests[i] == 'shadowRunnersBoss3Q') {
								var qItemNew = 'qItem' + _root.questDepth;
								_root.world.attachMovie('boss3', qItemNew, ++_root.questDepth);
								_root.world[qItemNew]._x = this._parent._x;
								_root.world[qItemNew]._y = this._parent._y;
								break;
							}
							++i;
						}
						_root.getBossLoot(3, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('poisonBossDie', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = 'Unknown';
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = 'Unknown';
				_root.world.targetInfo.factionIndicator.gotoAndStop(5);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 1109 poisonBossDie {
		frame 35 {
			this.removeMovieClip();
		}
	}
	movieClip 1153	{
		frame 1 {
			stop();
		}
		frame 21 {
			this.gotoAndPlay('run');
		}
		frame 42 {
			this.gotoAndStop(1);
		}
		frame 65 {
			this.gotoAndStop(1);
		}
	}
	movieClip 1154 shadowBoss {
		instance inside of movieClip 1153	{
			onClipEvent (load) {
				this.idName = 'shadowBoss';
				this.curHp = this.maxHp;
				this.speed = 1.5;
				this.normSpeed = 1.5;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 30;
				this.attacking = false;
				this.baseDamage = 60;
				this.standing = 5;
				this.aeHit = false;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.symbol = 'how';
				this.faction = 'Unknown';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.shield.gotoAndStop(this.shieldEquip);
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = 'Unknown';
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(5);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'how');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = 'Unknown';
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(5);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, this.symbol);
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = 'Unknown';
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(5);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, this.symbol);
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 15 && this.stunned == false && this.specialAttack) {
							this._parent._x = random(300) + 100;
							this._parent._y = random(350) + 100;
							_root.savedX = this._parent._x;
							_root.savedY = this._parent._y;
							_root.world.targetMarker._x = this._parent._x;
							_root.world.targetMarker._y = this._parent._y;
							this.specialAttack = false;
						}
						if (this.attackTimer == 12 && this.specialAttack == false) {
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('boss4Spell', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer >= 30) {
							this.specialAttack = false;
							this.attacking = false;
							if (this.specialTimer >= 200) {
								this.specialTimer = 0;
							}
							if (!this.hitTest(_root.world.hero) && this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.attacking == false && this.stunned == false) {
						if (this.specialTimer > 0) {
							this.gotoAndPlay('attack');
						} else {
							this.specialAttack = true;
							this.gotoAndPlay('special');
						}
						this.attackTimer = 0;
						this.attacking = true;
					}
					if (this.attackTimer >= 40 && this.rooted == false && this.stunned == false && !this.hitTest(_root.world.hero)) {
						this.disRight = false;
						this.disLeft = false;
						this.disUp = false;
						this.disDown = false;
						var i = 1;
						while (i <= 10) {
							var object = 'stop' + i;
							if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
								this.disRight = true;
							}
							if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
								this.disLeft = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
								this.disDown = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
								this.disUp = true;
							}
							++i;
						}
						if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
							if (this._parent._x < _root.world.hero._x) {
								this.latDir = 'right';
								if (this.disRight == false) {
									this._parent._x += this.speed;
								}
							} else {
								this.latDir = 'left';
								if (this.disLeft == false) {
									this._parent._x -= this.speed;
								}
							}
						} else {
							this.latDir = 'none';
						}
						if (this.forceLat) {
							this._parent._x += this.speed * this.forceDir;
						}
						if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
							if (this._parent._y < _root.world.hero._y) {
								this.vertDir = 'down';
								if (this.disDown == false) {
									this._parent._y += this.speed;
								}
							} else {
								this.vertDir = 'up';
								if (this.disUp == false) {
									this._parent._y -= this.speed;
								}
							}
						} else {
							this.vertDir = 'none';
						}
						if (this.forceVert) {
							this._parent._y -= this.speed * this.forceDir;
						}
						if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
							this.forceVert = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
							this.forceLat = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if (this.forceLat) {
							if (this.disUp == false && this.disDown == false) {
								this.forceLat = false;
							}
						}
						if (this.forceVert) {
							if (this.disRight == false && this.disLeft == false) {
								this.forceVert = false;
							}
						}
						if (_root.currentTarget == this.id) {
							_root.world.targetMarker._x = this._parent._x;
							_root.world.targetMarker._y = this._parent._y;
						}
						if (_root.savedTarget == this.id) {
							_root.savedX = this._parent._x;
							_root.savedY = this._parent._y;
						}
					}
					if (this.curHp < 1) {
						_root.playSound('bossDie');
						_root.curExp += 100;
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + 85;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						var i = 0;
						while (i < 7) {
							if (_root.activeQuests[i] == 'allianceBoss4Q' || _root.activeQuests[i] == 'shadowRunnersBoss4Q') {
								var qItemNew = 'qItem' + _root.questDepth;
								_root.world.attachMovie('boss4', qItemNew, ++_root.questDepth);
								_root.world[qItemNew]._x = this._parent._x;
								_root.world[qItemNew]._y = this._parent._y;
								break;
							}
							++i;
						}
						_root.getBossLoot(4, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('shadowBossDie', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = 'Unknown';
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = 'Unknown';
				_root.world.targetInfo.factionIndicator.gotoAndStop(5);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 1159 shadowBossDie {
		frame 35 {
			this.removeMovieClip();
		}
	}
	movieClip 1160 blueBat {
		instance inside of movieClip 850	{
			onClipEvent (load) {
				this.idName = 'blueBat';
				this.curHp = this.maxHp;
				this.speed = 1.5;
				this.normSpeed = 1.5;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 30;
				this.attacking = false;
				this.baseDamage = 41;
				this.standing = 5;
				this.aeHit = false;
				this.dimReturns = 0;
				this.forceLat = false;
				this.forceVert = false;
				this.symbol = 'how';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(5);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, this.symbol);
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(5);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, this.symbol);
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(5);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, this.symbol);
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						if (this.attackTimer == 7 && this.hitTest(_root.world.hero)) {
							var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
							_root.snareHero();
							_root.curHP -= enemyDamage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = enemyDamage;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							if (_root.curHP < 1) {
								_root.heroDie();
							}
						}
						if (this.attackTimer == 30) {
							this.attacking = false;
							if (!this.hitTest(_root.world.hero) && this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.hitTest(_root.world.hero)) {
						if (this.attacking == false && this.stunned == false) {
							this.attackTimer = 0;
							this.attacking = true;
							this.gotoAndPlay('attack');
						}
					} else {
						if (this.rooted == false && this.stunned == false) {
							this.disRight = false;
							this.disLeft = false;
							this.disUp = false;
							this.disDown = false;
							var i = 1;
							while (i <= 10) {
								var object = 'stop' + i;
								if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
									this.disRight = true;
								}
								if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
									this.disLeft = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
									this.disDown = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
									this.disUp = true;
								}
								++i;
							}
							if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
								if (this._parent._x < _root.world.hero._x) {
									this.latDir = 'right';
									if (this.disRight == false) {
										this._parent._x += this.speed;
									}
								} else {
									this.latDir = 'left';
									if (this.disLeft == false) {
										this._parent._x -= this.speed;
									}
								}
							} else {
								this.latDir = 'none';
							}
							if (this.forceLat) {
								this._parent._x += this.speed * this.forceDir;
							}
							if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
								if (this._parent._y < _root.world.hero._y) {
									this.vertDir = 'down';
									if (this.disDown == false) {
										this._parent._y += this.speed;
									}
								} else {
									this.vertDir = 'up';
									if (this.disUp == false) {
										this._parent._y -= this.speed;
									}
								}
							} else {
								this.vertDir = 'none';
							}
							if (this.forceVert) {
								this._parent._y -= this.speed * this.forceDir;
							}
							if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
								this.forceVert = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
								this.forceLat = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if (this.forceLat) {
								if (this.disUp == false && this.disDown == false) {
									this.forceLat = false;
								}
							}
							if (this.forceVert) {
								if (this.disRight == false && this.disLeft == false) {
									this.forceVert = false;
								}
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetMarker._x = this._parent._x;
								_root.world.targetMarker._y = this._parent._y;
							}
							if (_root.savedTarget == this.id) {
								_root.savedX = this._parent._x;
								_root.savedY = this._parent._y;
							}
						}
					}
					if (this.curHp < 1) {
						_root.playSound('batDie');
						_root.curExp += this.level;
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('blueBatDie', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = 'Unknown';
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = 'Unknown';
				_root.world.targetInfo.factionIndicator.gotoAndStop(5);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 1163 blueBatDie {
		frame 20 {
			this.removeMovieClip();
		}
	}
	movieClip 1164 blackBat {
		instance inside of movieClip 850	{
			onClipEvent (load) {
				this.idName = 'blackBat';
				this.curHp = this.maxHp;
				this.speed = 1.8;
				this.normSpeed = 1.8;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 40;
				this.attacking = false;
				this.baseDamage = 65;
				this.standing = 5;
				this.aeHit = false;
				this.dimReturns = 0;
				this.forceLat = false;
				this.forceVert = false;
				this.symbol = 'how';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(5);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, this.symbol);
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(5);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, this.symbol);
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(5);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, this.symbol);
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						if (this.attackTimer == 7 && this.hitTest(_root.world.hero)) {
							_root.stunHero(1);
							var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
							_root.curHP -= enemyDamage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = enemyDamage;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							if (_root.curHP < 1) {
								_root.heroDie();
							}
						}
						if (this.attackTimer == 30) {
							this.attacking = false;
							if (!this.hitTest(_root.world.hero) && this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.hitTest(_root.world.hero)) {
						if (this.attacking == false && this.stunned == false) {
							this.attackTimer = 0;
							this.attacking = true;
							this.gotoAndPlay('attack');
						}
					} else {
						if (this.rooted == false && this.stunned == false) {
							this.disRight = false;
							this.disLeft = false;
							this.disUp = false;
							this.disDown = false;
							var i = 1;
							while (i <= 10) {
								var object = 'stop' + i;
								if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
									this.disRight = true;
								}
								if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
									this.disLeft = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
									this.disDown = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
									this.disUp = true;
								}
								++i;
							}
							if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
								if (this._parent._x < _root.world.hero._x) {
									this.latDir = 'right';
									if (this.disRight == false) {
										this._parent._x += this.speed;
									}
								} else {
									this.latDir = 'left';
									if (this.disLeft == false) {
										this._parent._x -= this.speed;
									}
								}
							} else {
								this.latDir = 'none';
							}
							if (this.forceLat) {
								this._parent._x += this.speed * this.forceDir;
							}
							if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
								if (this._parent._y < _root.world.hero._y) {
									this.vertDir = 'down';
									if (this.disDown == false) {
										this._parent._y += this.speed;
									}
								} else {
									this.vertDir = 'up';
									if (this.disUp == false) {
										this._parent._y -= this.speed;
									}
								}
							} else {
								this.vertDir = 'none';
							}
							if (this.forceVert) {
								this._parent._y -= this.speed * this.forceDir;
							}
							if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
								this.forceVert = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
								this.forceLat = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if (this.forceLat) {
								if (this.disUp == false && this.disDown == false) {
									this.forceLat = false;
								}
							}
							if (this.forceVert) {
								if (this.disRight == false && this.disLeft == false) {
									this.forceVert = false;
								}
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetMarker._x = this._parent._x;
								_root.world.targetMarker._y = this._parent._y;
							}
							if (_root.savedTarget == this.id) {
								_root.savedX = this._parent._x;
								_root.savedY = this._parent._y;
							}
						}
					}
					if (this.curHp < 1) {
						_root.playSound('batDie');
						_root.curExp += this.level;
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('blackBatDie', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = 'Unknown';
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = 'Unknown';
				_root.world.targetInfo.factionIndicator.gotoAndStop(5);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 1167 blackBatDie {
		frame 20 {
			this.removeMovieClip();
		}
	}
	movieClip 1168 greenBat {
		instance inside of movieClip 850	{
			onClipEvent (load) {
				this.idName = 'greenBat';
				this.curHp = this.maxHp;
				this.speed = 1.6;
				this.normSpeed = 1.6;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 30;
				this.attacking = false;
				this.baseDamage = 55;
				this.standing = 5;
				this.aeHit = false;
				this.dimReturns = 0;
				this.forceLat = false;
				this.forceVert = false;
				this.symbol = 'how';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(5);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, this.symbol);
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(5);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, this.symbol);
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(5);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, this.symbol);
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						if (this.attackTimer == 7 && this.hitTest(_root.world.hero)) {
							_root.snareHero();
							var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
							_root.curHP -= enemyDamage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = enemyDamage;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							if (_root.curHP < 1) {
								_root.heroDie();
								ssssssaaaasassss;
							}
						}
						if (this.attackTimer == 30) {
							this.attacking = false;
							if (!this.hitTest(_root.world.hero) && this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.hitTest(_root.world.hero)) {
						if (this.attacking == false && this.stunned == false) {
							this.attackTimer = 0;
							this.attacking = true;
							this.gotoAndPlay('attack');
						}
					} else {
						if (this.rooted == false && this.stunned == false) {
							this.disRight = false;
							this.disLeft = false;
							this.disUp = false;
							this.disDown = false;
							var i = 1;
							while (i <= 10) {
								var object = 'stop' + i;
								if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
									this.disRight = true;
								}
								if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
									this.disLeft = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
									this.disDown = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
									this.disUp = true;
								}
								++i;
							}
							if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
								if (this._parent._x < _root.world.hero._x) {
									this.latDir = 'right';
									if (this.disRight == false) {
										this._parent._x += this.speed;
									}
								} else {
									this.latDir = 'left';
									if (this.disLeft == false) {
										this._parent._x -= this.speed;
									}
								}
							} else {
								this.latDir = 'none';
							}
							if (this.forceLat) {
								this._parent._x += this.speed * this.forceDir;
							}
							if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
								if (this._parent._y < _root.world.hero._y) {
									this.vertDir = 'down';
									if (this.disDown == false) {
										this._parent._y += this.speed;
									}
								} else {
									this.vertDir = 'up';
									if (this.disUp == false) {
										this._parent._y -= this.speed;
									}
								}
							} else {
								this.vertDir = 'none';
							}
							if (this.forceVert) {
								this._parent._y -= this.speed * this.forceDir;
							}
							if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
								this.forceVert = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
								this.forceLat = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if (this.forceLat) {
								if (this.disUp == false && this.disDown == false) {
									this.forceLat = false;
								}
							}
							if (this.forceVert) {
								if (this.disRight == false && this.disLeft == false) {
									this.forceVert = false;
								}
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetMarker._x = this._parent._x;
								_root.world.targetMarker._y = this._parent._y;
							}
							if (_root.savedTarget == this.id) {
								_root.savedX = this._parent._x;
								_root.savedY = this._parent._y;
							}
						}
					}
					if (this.curHp < 1) {
						_root.playSound('batDie');
						_root.curExp += this.level;
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('greenBatDie', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = 'Unknown';
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = 'Unknown';
				_root.world.targetInfo.factionIndicator.gotoAndStop(5);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 1171 greenBatDie {
		frame 20 {
			this.removeMovieClip();
		}
	}
	movieClip 1231	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 56 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 1232 shadowSoldier {
		instance inside of movieClip 1231	{
			onClipEvent (load) {
				this.idName = 'shadowSoldier';
				this.weaponEquip = 'woodenSword';
				this.curHp = this.maxHp;
				this.speed = 1.5;
				this.normSpeed = 1.5;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 30;
				this.attacking = false;
				this.baseDamage = 9;
				this.standing = _root.factionLevels[7];
				this.aeHit = false;
				this.forceLat = false;
				this.forceVert = false;
				this.symbol = 'shado';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.head.gotoAndStop('h2');
				this.chest.gotoAndStop('c1');
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						if (this.attackTimer == 30) {
							this.attacking = false;
							if (!this.hitTest(_root.world.hero) && this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.hitTest(_root.world.hero)) {
						if (this.attacking == false && this.stunned == false) {
							this.attackTimer = 0;
							this.attacking = true;
							this.gotoAndPlay('attack');
							var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
							_root.curHP -= enemyDamage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = enemyDamage;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							if (_root.curHP < 1) {
								_root.heroDie();
							}
						}
					} else {
						if (this.rooted == false && this.stunned == false) {
							this.disRight = false;
							this.disLeft = false;
							this.disUp = false;
							this.disDown = false;
							var i = 1;
							while (i <= 10) {
								var object = 'stop' + i;
								if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
									this.disRight = true;
								}
								if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
									this.disLeft = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
									this.disDown = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
									this.disUp = true;
								}
								++i;
							}
							if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
								if (this._parent._x < _root.world.hero._x) {
									this.latDir = 'right';
									if (this.disRight == false) {
										this._parent._x += this.speed;
									}
								} else {
									this.latDir = 'left';
									if (this.disLeft == false) {
										this._parent._x -= this.speed;
									}
								}
							} else {
								this.latDir = 'none';
							}
							if (this.forceLat) {
								this._parent._x += this.speed * this.forceDir;
							}
							if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
								if (this._parent._y < _root.world.hero._y) {
									this.vertDir = 'down';
									if (this.disDown == false) {
										this._parent._y += this.speed;
									}
								} else {
									this.vertDir = 'up';
									if (this.disUp == false) {
										this._parent._y -= this.speed;
									}
								}
							} else {
								this.vertDir = 'none';
							}
							if (this.forceVert) {
								this._parent._y -= this.speed * this.forceDir;
							}
							if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
								this.forceVert = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
								this.forceLat = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if (this.forceLat) {
								if (this.disUp == false && this.disDown == false) {
									this.forceLat = false;
								}
							}
							if (this.forceVert) {
								if (this.disRight == false && this.disLeft == false) {
									this.forceVert = false;
								}
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetMarker._x = this._parent._x;
								_root.world.targetMarker._y = this._parent._y;
							}
							if (_root.savedTarget == this.id) {
								_root.savedX = this._parent._x;
								_root.savedY = this._parent._y;
							}
						}
					}
					if (this.curHp < 1) {
						_root.showTutorial(6);
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[3] += 2;
						_root.factionLevels[8] -= 2;
						_root.factionUp('theAlliance', 2);
						_root.factionDown('shadowRunners', 2);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
				_root.showTutorial(10);
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 1234	{
	}
	movieClip 1235 enemyArrow1 {
		instance of movieClip 1234	{
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					var enemyDamage = Math.round(16 + random(1.6) - _root.armor * 0.1);
					_root.curHP -= enemyDamage;
					var sctName = 'sct' + _root.sctDepth;
					_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
					_root.world[sctName].sct2.damage.text = enemyDamage;
					_root.world[sctName]._x = _root.world.hero._x;
					_root.world[sctName]._y = _root.world.hero._y - 20;
					if (_root.curHP < 1) {
						_root.heroDie();
					}
					this._parent.removeMovieClip();
				}
				var i = 1;
				while (i <= 10) {
					var object = 'stop' + i;
					if (this.hitTest(_root.world[object])) {
						this._parent.removeMovieClip();
						break;
					}
					++i;
				}
			}
		}
		frame 50 {
			this.removeMovieClip();
		}
	}
	movieClip 1305	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 51 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 67 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 1306 shadowBowman {
		instance inside of movieClip 1305	{
			onClipEvent (load) {
				this.idName = 'shadowBowman';
				this.weaponEquip = 'reinforcedBow';
				this.curHp = this.maxHp;
				this.normSpeed = 1.2;
				this.speed = 1.2;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 0;
				this.attacking = false;
				this.baseDamage = 16;
				this.standing = _root.factionLevels[7];
				this.aeHit = false;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.symbol = 'shado';
				this.headEquip = 'h52';
				this.chestEquip = 'c23';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.head.gotoAndStop(this.headEquip);
				this.chest.gotoAndStop(this.chestEquip);
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									if (this.attacking == false) {
										this.gotoAndStop(1);
									}
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false && this.attacking == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 15 && this.stunned == false && this.specialAttack) {
							this.specialAttack = false;
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('fetter2', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 14 && this.stunned == false && this.specialAttack == false) {
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('enemyArrow1', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 30) {
							this.attacking = false;
							if (this.specialTimer >= 300) {
								this.specialTimer = 0;
							}
							if (this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.attacking == false && this.stunned == false) {
						if (this.specialTimer > 0) {
							this.gotoAndPlay('attack');
						} else {
							this.specialAttack = true;
							this.gotoAndPlay('special');
						}
						this.attackTimer = 0;
						this.attacking = true;
					}
					if (this.attackTimer >= 14 && this.rooted == false && this.stunned == false && !this.hitTest(_root.world.hero)) {
						this.disRight = false;
						this.disLeft = false;
						this.disUp = false;
						this.disDown = false;
						var i = 1;
						while (i <= 10) {
							var object = 'stop' + i;
							if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
								this.disRight = true;
							}
							if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
								this.disLeft = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
								this.disDown = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
								this.disUp = true;
							}
							++i;
						}
						if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
							if (this._parent._x < _root.world.hero._x) {
								this.latDir = 'right';
								if (this.disRight == false) {
									this._parent._x += this.speed;
								}
							} else {
								this.latDir = 'left';
								if (this.disLeft == false) {
									this._parent._x -= this.speed;
								}
							}
						} else {
							this.latDir = 'none';
						}
						if (this.forceLat) {
							this._parent._x += this.speed * this.forceDir;
						}
						if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
							if (this._parent._y < _root.world.hero._y) {
								this.vertDir = 'down';
								if (this.disDown == false) {
									this._parent._y += this.speed;
								}
							} else {
								this.vertDir = 'up';
								if (this.disUp == false) {
									this._parent._y -= this.speed;
								}
							}
						} else {
							this.vertDir = 'none';
						}
						if (this.forceVert) {
							this._parent._y -= this.speed * this.forceDir;
						}
						if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
							this.forceVert = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
							this.forceLat = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if (this.forceLat) {
							if (this.disUp == false && this.disDown == false) {
								this.forceLat = false;
							}
						}
						if (this.forceVert) {
							if (this.disRight == false && this.disLeft == false) {
								this.forceVert = false;
							}
						}
						if (_root.currentTarget == this.id) {
							_root.world.targetMarker._x = this._parent._x;
							_root.world.targetMarker._y = this._parent._y;
						}
						if (_root.savedTarget == this.id) {
							_root.savedX = this._parent._x;
							_root.savedY = this._parent._y;
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[3] += 3;
						_root.factionLevels[8] -= 3;
						_root.factionUp('theAlliance', 3);
						_root.factionDown('shadowRunners', 3);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 1358	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 76 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 1359 shadowWizard {
		instance inside of movieClip 1358	{
			onClipEvent (load) {
				this.idName = 'shadowWizard';
				this.weaponEquip = 'silverWand';
				this.curHp = this.maxHp;
				this.speed = 1.3;
				this.normSpeed = 1.3;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 0;
				this.attacking = false;
				this.baseDamage = 13;
				this.standing = _root.factionLevels[7];
				this.aeHit = false;
				this.dimReturns = 0;
				this.forceLat = false;
				this.forceVert = false;
				this.symbol = 'shado';
				this.headEquip = 'h8';
				this.chestEquip = 'c8';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.head.gotoAndStop(this.headEquip);
				this.chest.gotoAndStop(this.chestEquip);
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						if (this.attackTimer == 40 && this.stunned == false) {
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('enemyArrow2', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 50) {
							this.attacking = false;
							if (this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.attacking == false && this.stunned == false) {
						this.attackTimer = 0;
						this.attacking = true;
						this.gotoAndPlay('attack');
						var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
					}
					if (this.attackTimer > 40 && this.rooted == false && this.stunned == false && !this.hitTest(_root.world.hero)) {
						this.disRight = false;
						this.disLeft = false;
						this.disUp = false;
						this.disDown = false;
						var i = 1;
						while (i <= 10) {
							var object = 'stop' + i;
							if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
								this.disRight = true;
							}
							if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
								this.disLeft = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
								this.disDown = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
								this.disUp = true;
							}
							++i;
						}
						if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
							if (this._parent._x < _root.world.hero._x) {
								this.latDir = 'right';
								if (this.disRight == false) {
									this._parent._x += this.speed;
								}
							} else {
								this.latDir = 'left';
								if (this.disLeft == false) {
									this._parent._x -= this.speed;
								}
							}
						} else {
							this.latDir = 'none';
						}
						if (this.forceLat) {
							this._parent._x += this.speed * this.forceDir;
						}
						if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
							if (this._parent._y < _root.world.hero._y) {
								this.vertDir = 'down';
								if (this.disDown == false) {
									this._parent._y += this.speed;
								}
							} else {
								this.vertDir = 'up';
								if (this.disUp == false) {
									this._parent._y -= this.speed;
								}
							}
						} else {
							this.vertDir = 'none';
						}
						if (this.forceVert) {
							this._parent._y -= this.speed * this.forceDir;
						}
						if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
							this.forceVert = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
							this.forceLat = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if (this.forceLat) {
							if (this.disUp == false && this.disDown == false) {
								this.forceLat = false;
							}
						}
						if (this.forceVert) {
							if (this.disRight == false && this.disLeft == false) {
								this.forceVert = false;
							}
						}
						if (_root.currentTarget == this.id) {
							_root.world.targetMarker._x = this._parent._x;
							_root.world.targetMarker._y = this._parent._y;
						}
						if (_root.savedTarget == this.id) {
							_root.savedX = this._parent._x;
							_root.savedY = this._parent._y;
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[3] += 3;
						_root.factionLevels[8] -= 3;
						_root.factionUp('theAlliance', 2);
						_root.factionDown('shadowRunners', 2);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
				_root.showTutorial(10);
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 1364	{
	}
	movieClip 1365 enemyArrow2 {
		instance of movieClip 113	{
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					var enemyDamage = Math.round(13 + random(1.3) - _root.armor * 0.1);
					_root.curHP -= enemyDamage;
					var sctName = 'sct' + _root.sctDepth;
					_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
					_root.world[sctName].sct2.damage.text = enemyDamage;
					_root.world[sctName]._x = _root.world.hero._x;
					_root.world[sctName]._y = _root.world.hero._y - 20;
					if (_root.curHP < 1) {
						_root.heroDie();
					}
					this._parent.removeMovieClip();
				}
				var i = 1;
				while (i <= 10) {
					var object = 'stop' + i;
					if (this.hitTest(_root.world[object])) {
						this._parent.removeMovieClip();
						break;
					}
					++i;
				}
			}
		}
		frame 50 {
			this.removeMovieClip();
		}
	}
	movieClip 1422	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 46 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 1423 shadowGuard {
		instance inside of movieClip 1422	{
			onClipEvent (load) {
				this.idName = 'shadowGuard';
				this.weaponEquip = 'ironShortSword';
				this.shieldEquip = 'blackShield';
				this.curHp = this.maxHp;
				this.speed = 1.4;
				this.normSpeed = 1.4;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 30;
				this.attacking = false;
				this.baseDamage = 21;
				this.standing = _root.factionLevels[7];
				this.aeHit = false;
				this.dimReturns = 0;
				this.forceLat = false;
				this.forceVert = false;
				this.symbol = 'shado';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.head.gotoAndStop('h17');
				this.chest.gotoAndStop('c17');
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						if (this.attackTimer == 7 && this.hitTest(_root.world.hero)) {
							var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
							_root.curHP -= enemyDamage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = enemyDamage;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							if (_root.curHP < 1) {
								_root.heroDie();
							}
						}
						if (this.attackTimer == 30) {
							this.attacking = false;
							if (!this.hitTest(_root.world.hero) && this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.hitTest(_root.world.hero)) {
						if (this.attacking == false && this.stunned == false) {
							this.attackTimer = 0;
							this.attacking = true;
							this.gotoAndPlay('attack');
						}
					} else {
						if (this.rooted == false && this.stunned == false) {
							this.disRight = false;
							this.disLeft = false;
							this.disUp = false;
							this.disDown = false;
							var i = 1;
							while (i <= 10) {
								var object = 'stop' + i;
								if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
									this.disRight = true;
								}
								if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
									this.disLeft = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
									this.disDown = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
									this.disUp = true;
								}
								++i;
							}
							if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
								if (this._parent._x < _root.world.hero._x) {
									this.latDir = 'right';
									if (this.disRight == false) {
										this._parent._x += this.speed;
									}
								} else {
									this.latDir = 'left';
									if (this.disLeft == false) {
										this._parent._x -= this.speed;
									}
								}
							} else {
								this.latDir = 'none';
							}
							if (this.forceLat) {
								this._parent._x += this.speed * this.forceDir;
							}
							if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
								if (this._parent._y < _root.world.hero._y) {
									this.vertDir = 'down';
									if (this.disDown == false) {
										this._parent._y += this.speed;
									}
								} else {
									this.vertDir = 'up';
									if (this.disUp == false) {
										this._parent._y -= this.speed;
									}
								}
							} else {
								this.vertDir = 'none';
							}
							if (this.forceVert) {
								this._parent._y -= this.speed * this.forceDir;
							}
							if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
								this.forceVert = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
								this.forceLat = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if (this.forceLat) {
								if (this.disUp == false && this.disDown == false) {
									this.forceLat = false;
								}
							}
							if (this.forceVert) {
								if (this.disRight == false && this.disLeft == false) {
									this.forceVert = false;
								}
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetMarker._x = this._parent._x;
								_root.world.targetMarker._y = this._parent._y;
							}
							if (_root.savedTarget == this.id) {
								_root.savedX = this._parent._x;
								_root.savedY = this._parent._y;
							}
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[3] += 3;
						_root.factionLevels[8] -= 3;
						_root.factionUp('theAlliance', 3);
						_root.factionDown('shadowRunners', 3);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 1493	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 56 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 67 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 1494 shadowAssassin {
		instance inside of movieClip 1493	{
			onClipEvent (load) {
				this.idName = 'shadowAssassin';
				this.weaponEquip = 'assassinDagger';
				this.curHp = this.maxHp;
				this.speed = 1.6;
				this.normSpeed = 1.6;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 30;
				this.attacking = false;
				this.baseDamage = 41;
				this.standing = _root.factionLevels[7];
				this.aeHit = false;
				this.dimReturns = 0;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.symbol = 'shado';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.head.gotoAndStop('h36');
				this.chest.gotoAndStop('c36');
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 8 && this.hitTest(_root.world.hero) && this.specialAttack) {
							_root.snareHero();
							this.specialAttack = false;
						}
						if (this.attackTimer == 7 && this.hitTest(_root.world.hero) && this.specialAttack == false) {
							var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
							_root.curHP -= enemyDamage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = enemyDamage;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							if (_root.curHP < 1) {
								_root.heroDie();
							}
						}
						if (this.attackTimer == 30) {
							this.specialAttack = false;
							this.attacking = false;
							if (this.specialTimer >= 210) {
								this.specialTimer = 0;
							}
							if (!this.hitTest(_root.world.hero) && this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.hitTest(_root.world.hero)) {
						if (this.attacking == false && this.stunned == false) {
							if (this.specialTimer == 0) {
								this.gotoAndPlay('special');
								this.specialAttack = true;
							} else {
								this.gotoAndPlay('attack');
							}
							this.attackTimer = 0;
							this.attacking = true;
						}
					} else {
						if (this.rooted == false && this.stunned == false) {
							this.disRight = false;
							this.disLeft = false;
							this.disUp = false;
							this.disDown = false;
							var i = 1;
							while (i <= 10) {
								var object = 'stop' + i;
								if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
									this.disRight = true;
								}
								if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
									this.disLeft = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
									this.disDown = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
									this.disUp = true;
								}
								++i;
							}
							if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
								if (this._parent._x < _root.world.hero._x) {
									this.latDir = 'right';
									if (this.disRight == false) {
										this._parent._x += this.speed;
									}
								} else {
									this.latDir = 'left';
									if (this.disLeft == false) {
										this._parent._x -= this.speed;
									}
								}
							} else {
								this.latDir = 'none';
							}
							if (this.forceLat) {
								this._parent._x += this.speed * this.forceDir;
							}
							if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
								if (this._parent._y < _root.world.hero._y) {
									this.vertDir = 'down';
									if (this.disDown == false) {
										this._parent._y += this.speed;
									}
								} else {
									this.vertDir = 'up';
									if (this.disUp == false) {
										this._parent._y -= this.speed;
									}
								}
							} else {
								this.vertDir = 'none';
							}
							if (this.forceVert) {
								this._parent._y -= this.speed * this.forceDir;
							}
							if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
								this.forceVert = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
								this.forceLat = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if (this.forceLat) {
								if (this.disUp == false && this.disDown == false) {
									this.forceLat = false;
								}
							}
							if (this.forceVert) {
								if (this.disRight == false && this.disLeft == false) {
									this.forceVert = false;
								}
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetMarker._x = this._parent._x;
								_root.world.targetMarker._y = this._parent._y;
							}
							if (_root.savedTarget == this.id) {
								_root.savedX = this._parent._x;
								_root.savedY = this._parent._y;
							}
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[3] += 3;
						_root.factionLevels[8] -= 3;
						_root.factionUp('theAlliance', 1);
						_root.factionDown('shadowRunners', 1);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 1499 bloodMageDie {
		frame 30 {
			this.removeMovieClip();
		}
	}
	movieClip 1518	{
		frame 1 {
			stop();
		}
		frame 12 {
			stop();
		}
		frame 35 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 1519 bloodMage {
		instance inside of movieClip 1518	{
			onClipEvent (load) {
				this.idName = 'bloodMage';
				this.weaponEquip = 'mageDagger';
				this.curHp = this.maxHp;
				this.speed = 1.7;
				this.normSpeed = 1.7;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 30;
				this.attacking = false;
				this.baseDamage = 49;
				this.standing = _root.factionLevels[7];
				this.aeHit = false;
				this.dimReturns = 0;
				this.forceLat = false;
				this.forceVert = false;
				this.symbol = 'shado';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.weapon2.gotoAndStop(this.weaponEquip);
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						if (this.attackTimer == 9 && this.hitTest(_root.world.hero)) {
							var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
							_root.curHP -= enemyDamage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = enemyDamage;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							if (_root.curHP < 1) {
								_root.heroDie();
							}
						}
						if (this.attackTimer == 20) {
							this.attacking = false;
							if (!this.hitTest(_root.world.hero) && this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.hitTest(_root.world.hero)) {
						if (this.attacking == false && this.stunned == false) {
							this.attackTimer = 0;
							this.attacking = true;
							this.gotoAndPlay('attack');
						}
					} else {
						if (this.rooted == false && this.stunned == false) {
							this.disRight = false;
							this.disLeft = false;
							this.disUp = false;
							this.disDown = false;
							var i = 1;
							while (i <= 10) {
								var object = 'stop' + i;
								if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
									this.disRight = true;
								}
								if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
									this.disLeft = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
									this.disDown = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
									this.disUp = true;
								}
								++i;
							}
							if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
								if (this._parent._x < _root.world.hero._x) {
									this.latDir = 'right';
									if (this.disRight == false) {
										this._parent._x += this.speed;
									}
								} else {
									this.latDir = 'left';
									if (this.disLeft == false) {
										this._parent._x -= this.speed;
									}
								}
							} else {
								this.latDir = 'none';
							}
							if (this.forceLat) {
								this._parent._x += this.speed * this.forceDir;
							}
							if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
								if (this._parent._y < _root.world.hero._y) {
									this.vertDir = 'down';
									if (this.disDown == false) {
										this._parent._y += this.speed;
									}
								} else {
									this.vertDir = 'up';
									if (this.disUp == false) {
										this._parent._y -= this.speed;
									}
								}
							} else {
								this.vertDir = 'none';
							}
							if (this.forceVert) {
								this._parent._y -= this.speed * this.forceDir;
							}
							if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
								this.forceVert = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
								this.forceLat = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if (this.forceLat) {
								if (this.disUp == false && this.disDown == false) {
									this.forceLat = false;
								}
							}
							if (this.forceVert) {
								if (this.disRight == false && this.disLeft == false) {
									this.forceVert = false;
								}
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetMarker._x = this._parent._x;
								_root.world.targetMarker._y = this._parent._y;
							}
							if (_root.savedTarget == this.id) {
								_root.savedX = this._parent._x;
								_root.savedY = this._parent._y;
							}
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[3] += 4;
						_root.factionLevels[8] -= 4;
						_root.factionUp('theAlliance', 4);
						_root.factionDown('shadowRunners', 4);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('bloodMageDie', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 1521	{
	}
	movieClip 1522 special1 {
		instance of movieClip 1521	{
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					_root.snareHero();
					this._parent.removeMovieClip();
				}
				var i = 1;
				while (i <= 10) {
					var object = 'stop' + i;
					if (this.hitTest(_root.world[object])) {
						this._parent.removeMovieClip();
						break;
					}
					++i;
				}
			}
		}
		frame 50 {
			this.removeMovieClip();
		}
	}
	movieClip 1524	{
	}
	movieClip 1525 enemyArrow3 {
		instance of movieClip 1524	{
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					var enemyDamage = Math.round(24 + random(2.4) - _root.armor * 0.1);
					_root.curHP -= enemyDamage;
					var sctName = 'sct' + _root.sctDepth;
					_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
					_root.world[sctName].sct2.damage.text = enemyDamage;
					_root.world[sctName]._x = _root.world.hero._x;
					_root.world[sctName]._y = _root.world.hero._y - 20;
					if (_root.curHP < 1) {
						_root.heroDie();
					}
					this._parent.removeMovieClip();
				}
				var i = 1;
				while (i <= 10) {
					var object = 'stop' + i;
					if (this.hitTest(_root.world[object])) {
						this._parent.removeMovieClip();
						break;
					}
					++i;
				}
			}
		}
		frame 50 {
			this.removeMovieClip();
		}
	}
	movieClip 1592	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 51 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 68 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 1593 shadowArcher {
		instance inside of movieClip 1592	{
			onClipEvent (load) {
				this.idName = 'shadowArcher';
				this.weaponEquip = 'strikersHand';
				this.curHp = this.maxHp;
				this.speed = 1.2;
				this.normSpeed = 1.2;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 0;
				this.attacking = false;
				this.baseDamage = 24;
				this.standing = _root.factionLevels[7];
				this.aeHit = false;
				this.dimReturns = 0;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.symbol = 'shado';
				this.headEquip = 'h19';
				this.chestEquip = 'c19';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.head.gotoAndStop(this.headEquip);
				this.chest.gotoAndStop(this.chestEquip);
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									if (this.attacking == false) {
										this.gotoAndStop(1);
									}
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									if (this.attacking == false) {
										this.gotoAndStop(1);
									}
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false && this.attacking == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 15 && this.stunned == false && this.specialAttack) {
							this.specialAttack = false;
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('special1', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 14 && this.stunned == false && this.specialAttack == false) {
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('enemyArrow3', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 30) {
							if (this.specialTimer >= 300) {
								this.specialTimer = 0;
							}
							this.attacking = false;
							if (this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.attacking == false && this.stunned == false) {
						if (this.specialTimer > 0) {
							this.gotoAndPlay('attack');
						} else {
							this.specialAttack = true;
							this.gotoAndPlay('special');
						}
						this.attackTimer = 0;
						this.attacking = true;
					}
					if (this.attackTimer >= 14 && this.rooted == false && this.stunned == false && !this.hitTest(_root.world.hero)) {
						this.disRight = false;
						this.disLeft = false;
						this.disUp = false;
						this.disDown = false;
						var i = 1;
						while (i <= 10) {
							var object = 'stop' + i;
							if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
								this.disRight = true;
							}
							if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
								this.disLeft = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
								this.disDown = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
								this.disUp = true;
							}
							++i;
						}
						if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
							if (this._parent._x < _root.world.hero._x) {
								this.latDir = 'right';
								if (this.disRight == false) {
									this._parent._x += this.speed;
								}
							} else {
								this.latDir = 'left';
								if (this.disLeft == false) {
									this._parent._x -= this.speed;
								}
							}
						} else {
							this.latDir = 'none';
						}
						if (this.forceLat) {
							this._parent._x += this.speed * this.forceDir;
						}
						if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
							if (this._parent._y < _root.world.hero._y) {
								this.vertDir = 'down';
								if (this.disDown == false) {
									this._parent._y += this.speed;
								}
							} else {
								this.vertDir = 'up';
								if (this.disUp == false) {
									this._parent._y -= this.speed;
								}
							}
						} else {
							this.vertDir = 'none';
						}
						if (this.forceVert) {
							this._parent._y -= this.speed * this.forceDir;
						}
						if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
							this.forceVert = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
							this.forceLat = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if (this.forceLat) {
							if (this.disUp == false && this.disDown == false) {
								this.forceLat = false;
							}
						}
						if (this.forceVert) {
							if (this.disRight == false && this.disLeft == false) {
								this.forceVert = false;
							}
						}
						if (_root.currentTarget == this.id) {
							_root.world.targetMarker._x = this._parent._x;
							_root.world.targetMarker._y = this._parent._y;
						}
						if (_root.savedTarget == this.id) {
							_root.savedX = this._parent._x;
							_root.savedY = this._parent._y;
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[3] += 3;
						_root.factionLevels[8] -= 3;
						_root.factionUp('theAlliance', 3);
						_root.factionDown('shadowRunners', 3);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 1673	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 46 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 73 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 1674 shadowKnight {
		instance inside of movieClip 1673	{
			onClipEvent (load) {
				this.idName = 'shadowKnight';
				this.weaponEquip = 'gladiatorsBlade';
				this.shieldEquip = 'shadowShield';
				this.curHp = this.maxHp;
				this.speed = 1.4;
				this.normSpeed = 1.4;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 30;
				this.attacking = false;
				this.baseDamage = 29;
				this.standing = _root.factionLevels[7];
				this.aeHit = false;
				this.dimReturns = 0;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.symbol = 'shado';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.shield.gotoAndStop(this.shieldEquip);
				this.head.gotoAndStop('h48');
				this.chest.gotoAndStop('c48');
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 12 && this.hitTest(_root.world.hero) && this.specialAttack) {
							_root.stunHero(this.level);
							this.specialAttack = false;
						}
						if (this.attackTimer == 8 && this.hitTest(_root.world.hero) && this.specialAttack == false) {
							var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
							_root.curHP -= enemyDamage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = enemyDamage;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							if (_root.curHP < 1) {
								_root.heroDie();
							}
						}
						if (this.attackTimer == 30) {
							this.specialAttack = false;
							this.attacking = false;
							if (this.specialTimer >= 180) {
								this.specialTimer = 0;
							}
							if (!this.hitTest(_root.world.hero) && this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.hitTest(_root.world.hero)) {
						if (this.attacking == false && this.stunned == false) {
							if (this.specialTimer == 0) {
								this.gotoAndPlay('special');
								this.specialAttack = true;
							} else {
								this.gotoAndPlay('attack');
							}
							this.attackTimer = 0;
							this.attacking = true;
						}
					} else {
						if (this.rooted == false && this.stunned == false) {
							this.disRight = false;
							this.disLeft = false;
							this.disUp = false;
							this.disDown = false;
							var i = 1;
							while (i <= 10) {
								var object = 'stop' + i;
								if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
									this.disRight = true;
								}
								if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
									this.disLeft = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
									this.disDown = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
									this.disUp = true;
								}
								++i;
							}
							if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
								if (this._parent._x < _root.world.hero._x) {
									this.latDir = 'right';
									if (this.disRight == false) {
										this._parent._x += this.speed;
									}
								} else {
									this.latDir = 'left';
									if (this.disLeft == false) {
										this._parent._x -= this.speed;
									}
								}
							} else {
								this.latDir = 'none';
							}
							if (this.forceLat) {
								this._parent._x += this.speed * this.forceDir;
							}
							if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
								if (this._parent._y < _root.world.hero._y) {
									this.vertDir = 'down';
									if (this.disDown == false) {
										this._parent._y += this.speed;
									}
								} else {
									this.vertDir = 'up';
									if (this.disUp == false) {
										this._parent._y -= this.speed;
									}
								}
							} else {
								this.vertDir = 'none';
							}
							if (this.forceVert) {
								this._parent._y -= this.speed * this.forceDir;
							}
							if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
								this.forceVert = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
								this.forceLat = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if (this.forceLat) {
								if (this.disUp == false && this.disDown == false) {
									this.forceLat = false;
								}
							}
							if (this.forceVert) {
								if (this.disRight == false && this.disLeft == false) {
									this.forceVert = false;
								}
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetMarker._x = this._parent._x;
								_root.world.targetMarker._y = this._parent._y;
							}
							if (_root.savedTarget == this.id) {
								_root.savedX = this._parent._x;
								_root.savedY = this._parent._y;
							}
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[3] += 3;
						_root.factionLevels[8] -= 3;
						_root.factionUp('theAlliance', 3);
						_root.factionDown('shadowRunners', 3);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 1756	{
		frame 1 {
			weapon.gotoAndStop(this.weaponEquip);
			shield.gotoAndStop(this.shieldEquip);
			stop();
		}
		frame 33 {
			this.gotoAndPlay('run');
		}
		frame 54 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 81 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 1757 shadowCaptain {
		instance inside of movieClip 1756	{
			onClipEvent (load) {
				this.idName = 'shadowCaptain';
				this.weaponEquip = 'captainsBlade';
				this.shieldEquip = 'captainsShield';
				this.curHp = this.maxHp;
				this.speed = 1.5;
				this.normSpeed = 1.5;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 30;
				this.attacking = false;
				this.baseDamage = 75;
				this.standing = _root.factionLevels[7];
				this.aeHit = false;
				this.dimReturns = 0;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.symbol = 'shado';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.shield.gotoAndStop(this.shieldEquip);
				this.head.gotoAndStop('h29');
				this.chest.gotoAndStop('c29');
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 12 && this.hitTest(_root.world.hero) && this.specialAttack) {
							_root.stunHero(this.level);
							this.specialAttack = false;
						}
						if (this.attackTimer == 7 && this.hitTest(_root.world.hero) && this.specialAttack == false) {
							var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
							_root.curHP -= enemyDamage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = enemyDamage;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							if (_root.curHP < 1) {
								_root.heroDie();
							}
						}
						if (this.attackTimer == 30) {
							if (this.specialTimer >= 120) {
								this.specialTimer = 0;
							}
							this.specialAttack = false;
							this.attacking = false;
							if (!this.hitTest(_root.world.hero) && this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.hitTest(_root.world.hero)) {
						if (this.attacking == false && this.stunned == false) {
							if (this.specialTimer == 0) {
								this.gotoAndPlay('special');
								this.specialAttack = true;
							} else {
								this.gotoAndPlay('attack');
							}
							this.attackTimer = 0;
							this.attacking = true;
						}
					} else {
						if (this.rooted == false && this.stunned == false) {
							this.disRight = false;
							this.disLeft = false;
							this.disUp = false;
							this.disDown = false;
							var i = 1;
							while (i <= 10) {
								var object = 'stop' + i;
								if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
									this.disRight = true;
								}
								if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
									this.disLeft = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
									this.disDown = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
									this.disUp = true;
								}
								++i;
							}
							if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
								if (this._parent._x < _root.world.hero._x) {
									this.latDir = 'right';
									if (this.disRight == false) {
										this._parent._x += this.speed;
									}
								} else {
									this.latDir = 'left';
									if (this.disLeft == false) {
										this._parent._x -= this.speed;
									}
								}
							} else {
								this.latDir = 'none';
							}
							if (this.forceLat) {
								this._parent._x += this.speed * this.forceDir;
							}
							if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
								if (this._parent._y < _root.world.hero._y) {
									this.vertDir = 'down';
									if (this.disDown == false) {
										this._parent._y += this.speed;
									}
								} else {
									this.vertDir = 'up';
									if (this.disUp == false) {
										this._parent._y -= this.speed;
									}
								}
							} else {
								this.vertDir = 'none';
							}
							if (this.forceVert) {
								this._parent._y -= this.speed * this.forceDir;
							}
							if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
								this.forceVert = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
								this.forceLat = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if (this.forceLat) {
								if (this.disUp == false && this.disDown == false) {
									this.forceLat = false;
								}
							}
							if (this.forceVert) {
								if (this.disRight == false && this.disLeft == false) {
									this.forceVert = false;
								}
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetMarker._x = this._parent._x;
								_root.world.targetMarker._y = this._parent._y;
							}
							if (_root.savedTarget == this.id) {
								_root.savedX = this._parent._x;
								_root.savedY = this._parent._y;
							}
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[3] += 5;
						_root.factionLevels[8] -= 5;
						_root.factionUp('theAlliance', 5);
						_root.factionDown('shadowRunners', 5);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 1761 fallenShadowDie {
		frame 19 {
			this.removeMovieClip();
		}
	}
	movieClip 1896	{
		frame 1 {
			stop();
		}
		frame 33 {
			this.gotoAndPlay('run');
		}
		frame 81 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 108 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 1897 fallenShadow {
		instance inside of movieClip 1896	{
			onClipEvent (load) {
				this.idName = 'fallenShadow';
				this.weaponEquip = 'fallenSword';
				this.shieldEquip = 'blackShield';
				this.curHp = this.maxHp;
				this.speed = 1.5;
				this.normSpeed = 1.5;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 30;
				this.attacking = false;
				this.baseDamage = 57;
				this.standing = _root.factionLevels[7];
				this.aeHit = false;
				this.dimReturns = 0;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.symbol = 'shado';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.shield.gotoAndStop(this.shieldEquip);
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 12 && this.hitTest(_root.world.hero) && this.specialAttack) {
							_root.stunHero(this.level);
						}
						if (this.attackTimer == 45 && this.hitTest(_root.world.hero) && this.specialAttack == false) {
							var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
							_root.curHP -= enemyDamage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = enemyDamage;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							if (_root.curHP < 1) {
								_root.heroDie();
							}
						}
						if (this.attackTimer == 50) {
							this.specialAttack = false;
							this.attacking = false;
							if (this.specialTimer > 120) {
								this.specialTimer = 0;
							}
							if (!this.hitTest(_root.world.hero) && this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.hitTest(_root.world.hero)) {
						if (this.attacking == false && this.stunned == false) {
							if (this.specialTimer == 0) {
								this.gotoAndPlay('special');
								this.specialAttack = true;
							} else {
								this.gotoAndPlay('attack');
							}
							this.attackTimer = 0;
							this.attacking = true;
						}
					} else {
						if (this.rooted == false && this.stunned == false) {
							this.disRight = false;
							this.disLeft = false;
							this.disUp = false;
							this.disDown = false;
							var i = 1;
							while (i <= 10) {
								var object = 'stop' + i;
								if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
									this.disRight = true;
								}
								if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
									this.disLeft = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
									this.disDown = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
									this.disUp = true;
								}
								++i;
							}
							if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
								if (this._parent._x < _root.world.hero._x) {
									this.latDir = 'right';
									if (this.disRight == false) {
										this._parent._x += this.speed;
									}
								} else {
									this.latDir = 'left';
									if (this.disLeft == false) {
										this._parent._x -= this.speed;
									}
								}
							} else {
								this.latDir = 'none';
							}
							if (this.forceLat) {
								this._parent._x += this.speed * this.forceDir;
							}
							if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
								if (this._parent._y < _root.world.hero._y) {
									this.vertDir = 'down';
									if (this.disDown == false) {
										this._parent._y += this.speed;
									}
								} else {
									this.vertDir = 'up';
									if (this.disUp == false) {
										this._parent._y -= this.speed;
									}
								}
							} else {
								this.vertDir = 'none';
							}
							if (this.forceVert) {
								this._parent._y -= this.speed * this.forceDir;
							}
							if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
								this.forceVert = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
								this.forceLat = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if (this.forceLat) {
								if (this.disUp == false && this.disDown == false) {
									this.forceLat = false;
								}
							}
							if (this.forceVert) {
								if (this.disRight == false && this.disLeft == false) {
									this.forceVert = false;
								}
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetMarker._x = this._parent._x;
								_root.world.targetMarker._y = this._parent._y;
							}
							if (_root.savedTarget == this.id) {
								_root.savedX = this._parent._x;
								_root.savedY = this._parent._y;
							}
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[3] += 4;
						_root.factionLevels[8] -= 4;
						_root.factionUp('theAlliance', 4);
						_root.factionDown('shadowRunners', 4);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('fallenShadowDie', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 1898 enemyArrow4 {
		instance of movieClip 792	{
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					var enemyDamage = Math.round(33 + random(3.3) - _root.armor * 0.1);
					_root.curHP -= enemyDamage;
					var sctName = 'sct' + _root.sctDepth;
					_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
					_root.world[sctName].sct2.damage.text = enemyDamage;
					_root.world[sctName]._x = _root.world.hero._x;
					_root.world[sctName]._y = _root.world.hero._y - 20;
					if (_root.curHP < 1) {
						_root.heroDie();
					}
					this._parent.removeMovieClip();
				}
				var i = 1;
				while (i <= 10) {
					var object = 'stop' + i;
					if (this.hitTest(_root.world[object])) {
						this._parent.removeMovieClip();
						break;
					}
					++i;
				}
			}
		}
		frame 50 {
			this.removeMovieClip();
		}
	}
	movieClip 1902 necromancerDie {
		frame 30 {
			this.removeMovieClip();
		}
	}
	movieClip 1922	{
	}
	movieClip 1937	{
		frame 1 {
			stop();
		}
		frame 12 {
			stop();
		}
		frame 67 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 1938 necromancer {
		instance inside of movieClip 1937	{
			onClipEvent (load) {
				this.idName = 'necromancer';
				this.weaponEquip = 'necroWand';
				this.curHp = this.maxHp;
				this.speed = 1.3;
				this.normSpeed = 1.3;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 0;
				this.attacking = false;
				this.baseDamage = 33;
				this.standing = _root.factionLevels[7];
				this.aeHit = false;
				this.dimReturns = 0;
				this.forceLat = false;
				this.forceVert = false;
				this.symbol = 'shado';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						if (this.attackTimer == 39 && this.stunned == false) {
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('enemyArrow4', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 50) {
							this.attacking = false;
							if (this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.attacking == false && this.stunned == false) {
						this.attackTimer = 0;
						this.attacking = true;
						this.gotoAndPlay('attack');
						var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
					}
					if (this.attackTimer > 40 && this.rooted == false && this.stunned == false && !this.hitTest(_root.world.hero)) {
						this.disRight = false;
						this.disLeft = false;
						this.disUp = false;
						this.disDown = false;
						var i = 1;
						while (i <= 10) {
							var object = 'stop' + i;
							if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
								this.disRight = true;
							}
							if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
								this.disLeft = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
								this.disDown = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
								this.disUp = true;
							}
							++i;
						}
						if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
							if (this._parent._x < _root.world.hero._x) {
								this.latDir = 'right';
								if (this.disRight == false) {
									this._parent._x += this.speed;
								}
							} else {
								this.latDir = 'left';
								if (this.disLeft == false) {
									this._parent._x -= this.speed;
								}
							}
						} else {
							this.latDir = 'none';
						}
						if (this.forceLat) {
							this._parent._x += this.speed * this.forceDir;
						}
						if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
							if (this._parent._y < _root.world.hero._y) {
								this.vertDir = 'down';
								if (this.disDown == false) {
									this._parent._y += this.speed;
								}
							} else {
								this.vertDir = 'up';
								if (this.disUp == false) {
									this._parent._y -= this.speed;
								}
							}
						} else {
							this.vertDir = 'none';
						}
						if (this.forceVert) {
							this._parent._y -= this.speed * this.forceDir;
						}
						if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
							this.forceVert = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
							this.forceLat = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if (this.forceLat) {
							if (this.disUp == false && this.disDown == false) {
								this.forceLat = false;
							}
						}
						if (this.forceVert) {
							if (this.disRight == false && this.disLeft == false) {
								this.forceVert = false;
							}
						}
						if (_root.currentTarget == this.id) {
							_root.world.targetMarker._x = this._parent._x;
							_root.world.targetMarker._y = this._parent._y;
						}
						if (_root.savedTarget == this.id) {
							_root.savedX = this._parent._x;
							_root.savedY = this._parent._y;
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[3] += 3;
						_root.factionLevels[8] -= 3;
						_root.factionUp('theAlliance', 3);
						_root.factionDown('shadowRunners', 3);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('necromancerDie', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 1989	{
	}
	movieClip 1990	{
	}
	movieClip 1992	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 76 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 1993 darkRitualist {
		instance inside of movieClip 1992	{
			onClipEvent (load) {
				this.idName = 'darkRitualist';
				this.weaponEquip = 'warlocksTouch';
				this.curHp = this.maxHp;
				this.speed = 1.3;
				this.normSpeed = 1.3;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 0;
				this.attacking = false;
				this.baseDamage = 45;
				this.standing = _root.factionLevels[7];
				this.aeHit = false;
				this.dimReturns = 0;
				this.forceLat = false;
				this.forceVert = false;
				this.symbol = 'shado';
				this.headEquip = 'h53';
				this.chestEquip = 'c53';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.head.gotoAndStop(this.headEquip);
				this.chest.gotoAndStop(this.chestEquip);
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						if (this.attackTimer == 40 && this.stunned == false) {
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('enemyArrow6', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 50) {
							this.attacking = false;
							if (this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.attacking == false && this.stunned == false) {
						this.attackTimer = 0;
						this.attacking = true;
						this.gotoAndPlay('attack');
						var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
					}
					if (this.attackTimer > 40 && this.rooted == false && this.stunned == false && !this.hitTest(_root.world.hero)) {
						this.disRight = false;
						this.disLeft = false;
						this.disUp = false;
						this.disDown = false;
						var i = 1;
						while (i <= 10) {
							var object = 'stop' + i;
							if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
								this.disRight = true;
							}
							if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
								this.disLeft = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
								this.disDown = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
								this.disUp = true;
							}
							++i;
						}
						if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
							if (this._parent._x < _root.world.hero._x) {
								this.latDir = 'right';
								if (this.disRight == false) {
									this._parent._x += this.speed;
								}
							} else {
								this.latDir = 'left';
								if (this.disLeft == false) {
									this._parent._x -= this.speed;
								}
							}
						} else {
							this.latDir = 'none';
						}
						if (this.forceLat) {
							this._parent._x += this.speed * this.forceDir;
						}
						if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
							if (this._parent._y < _root.world.hero._y) {
								this.vertDir = 'down';
								if (this.disDown == false) {
									this._parent._y += this.speed;
								}
							} else {
								this.vertDir = 'up';
								if (this.disUp == false) {
									this._parent._y -= this.speed;
								}
							}
						} else {
							this.vertDir = 'none';
						}
						if (this.forceVert) {
							this._parent._y -= this.speed * this.forceDir;
						}
						if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
							this.forceVert = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
							this.forceLat = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if (this.forceLat) {
							if (this.disUp == false && this.disDown == false) {
								this.forceLat = false;
							}
						}
						if (this.forceVert) {
							if (this.disRight == false && this.disLeft == false) {
								this.forceVert = false;
							}
						}
						if (_root.currentTarget == this.id) {
							_root.world.targetMarker._x = this._parent._x;
							_root.world.targetMarker._y = this._parent._y;
						}
						if (_root.savedTarget == this.id) {
							_root.savedX = this._parent._x;
							_root.savedY = this._parent._y;
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[3] += 4;
						_root.factionLevels[8] -= 4;
						_root.factionUp('theAlliance', 4);
						_root.factionDown('shadowRunners', 4);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 1994 enemyArrow6 {
		instance of movieClip 1990	{
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					var enemyDamage = Math.round(45 + random(4.5) - _root.armor * 0.1);
					_root.curHP -= enemyDamage;
					var sctName = 'sct' + _root.sctDepth;
					_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
					_root.world[sctName].sct2.damage.text = enemyDamage;
					_root.world[sctName]._x = _root.world.hero._x;
					_root.world[sctName]._y = _root.world.hero._y - 20;
					if (_root.curHP < 1) {
						_root.heroDie();
					}
					this._parent.removeMovieClip();
				}
				var i = 1;
				while (i <= 10) {
					var object = 'stop' + i;
					if (this.hitTest(_root.world[object])) {
						this._parent.removeMovieClip();
						break;
					}
					++i;
				}
			}
		}
		frame 50 {
			this.removeMovieClip();
		}
	}
	movieClip 1995 enemyArrow5 {
		instance of movieClip 1524	{
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					var enemyDamage = Math.round(37 + random(3.7) - _root.armor * 0.1);
					_root.curHP -= enemyDamage;
					var sctName = 'sct' + _root.sctDepth;
					_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
					_root.world[sctName].sct2.damage.text = enemyDamage;
					_root.world[sctName]._x = _root.world.hero._x;
					_root.world[sctName]._y = _root.world.hero._y - 20;
					if (_root.curHP < 1) {
						_root.heroDie();
					}
					this._parent.removeMovieClip();
				}
				var i = 1;
				while (i <= 10) {
					var object = 'stop' + i;
					if (this.hitTest(_root.world[object])) {
						this._parent.removeMovieClip();
						break;
					}
					++i;
				}
			}
		}
		frame 50 {
			this.removeMovieClip();
		}
	}
	movieClip 2065	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 51 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 67 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 2066 shadowTracker {
		instance inside of movieClip 2065	{
			onClipEvent (load) {
				this.idName = 'shadowTracker';
				this.weaponEquip = 'pathfindersBow';
				this.curHp = this.maxHp;
				this.speed = 1.2;
				this.normSpeed = 1.2;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 0;
				this.attacking = false;
				this.baseDamage = 37;
				this.standing = _root.factionLevels[7];
				this.aeHit = false;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.symbol = 'shado';
				this.headEquip = 'h43';
				this.chestEquip = 'c43';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.head.gotoAndStop(this.headEquip);
				this.chest.gotoAndStop(this.chestEquip);
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									if (this.attacking == false) {
										this.gotoAndStop(1);
									}
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									if (this.attacking == false) {
										this.gotoAndStop(1);
									}
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false && this.attacking == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 15 && this.stunned == false && this.specialAttack) {
							this.specialAttack = false;
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('fetter3', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 14 && this.stunned == false && this.specialAttack == false) {
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('enemyArrow5', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 30) {
							if (this.specialTimer >= 210) {
								this.specialTimer = 0;
							}
							this.attacking = false;
							if (this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.attacking == false && this.stunned == false) {
						if (this.specialTimer > 0) {
							this.gotoAndPlay('attack');
						} else {
							this.specialAttack = true;
							this.gotoAndPlay('special');
						}
						this.attackTimer = 0;
						this.attacking = true;
					}
					if (this.attackTimer >= 14 && this.rooted == false && this.stunned == false && !this.hitTest(_root.world.hero)) {
						this.disRight = false;
						this.disLeft = false;
						this.disUp = false;
						this.disDown = false;
						var i = 1;
						while (i <= 10) {
							var object = 'stop' + i;
							if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
								this.disRight = true;
							}
							if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
								this.disLeft = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
								this.disDown = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
								this.disUp = true;
							}
							++i;
						}
						if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
							if (this._parent._x < _root.world.hero._x) {
								this.latDir = 'right';
								if (this.disRight == false) {
									this._parent._x += this.speed;
								}
							} else {
								this.latDir = 'left';
								if (this.disLeft == false) {
									this._parent._x -= this.speed;
								}
							}
						} else {
							this.latDir = 'none';
						}
						if (this.forceLat) {
							this._parent._x += this.speed * this.forceDir;
						}
						if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
							if (this._parent._y < _root.world.hero._y) {
								this.vertDir = 'down';
								if (this.disDown == false) {
									this._parent._y += this.speed;
								}
							} else {
								this.vertDir = 'up';
								if (this.disUp == false) {
									this._parent._y -= this.speed;
								}
							}
						} else {
							this.vertDir = 'none';
						}
						if (this.forceVert) {
							this._parent._y -= this.speed * this.forceDir;
						}
						if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
							this.forceVert = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
							this.forceLat = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if (this.forceLat) {
							if (this.disUp == false && this.disDown == false) {
								this.forceLat = false;
							}
						}
						if (this.forceVert) {
							if (this.disRight == false && this.disLeft == false) {
								this.forceVert = false;
							}
						}
						if (_root.currentTarget == this.id) {
							_root.world.targetMarker._x = this._parent._x;
							_root.world.targetMarker._y = this._parent._y;
						}
						if (_root.savedTarget == this.id) {
							_root.savedX = this._parent._x;
							_root.savedY = this._parent._y;
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[3] += 3;
						_root.factionLevels[8] -= 3;
						_root.factionUp('theAlliance', 3);
						_root.factionDown('shadowRunners', 3);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 2067 enemyArrow7 {
		instance of movieClip 1524	{
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					var enemyDamage = Math.round(53 + random(5.300000000000001) - _root.armor * 0.1);
					_root.curHP -= enemyDamage;
					var sctName = 'sct' + _root.sctDepth;
					_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
					_root.world[sctName].sct2.damage.text = enemyDamage;
					_root.world[sctName]._x = _root.world.hero._x;
					_root.world[sctName]._y = _root.world.hero._y - 20;
					if (_root.curHP < 1) {
						_root.heroDie();
					}
					this._parent.removeMovieClip();
				}
				var i = 1;
				while (i <= 10) {
					var object = 'stop' + i;
					if (this.hitTest(_root.world[object])) {
						this._parent.removeMovieClip();
						break;
					}
					++i;
				}
			}
		}
		frame 50 {
			this.removeMovieClip();
		}
	}
	movieClip 2135	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 51 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 68 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 2136 shadowWard {
		instance inside of movieClip 2135	{
			onClipEvent (load) {
				this.idName = 'shadowWard';
				this.weaponEquip = 'shadowWardBow';
				this.curHp = this.maxHp;
				this.speed = 1.2;
				this.normSpeed = 1.2;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 0;
				this.attacking = false;
				this.baseDamage = 53;
				this.standing = _root.factionLevels[7];
				this.aeHit = false;
				this.dimReturns = 0;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.symbol = 'shado';
				this.headEquip = 'h49';
				this.chestEquip = 'c49';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.head.gotoAndStop(this.headEquip);
				this.chest.gotoAndStop(this.chestEquip);
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									if (this.attacking == false) {
										this.gotoAndStop(1);
									}
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									if (this.attacking == false) {
										this.gotoAndStop(1);
									}
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false && this.attacking == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 20 && this.stunned == false && this.specialAttack) {
							this.specialAttack = false;
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('special1', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 16 && this.stunned == false && this.specialAttack == false) {
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('enemyArrow7', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 30) {
							if (this.specialTimer >= 300) {
								this.specialTimer = 0;
							}
							this.attacking = false;
							if (this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.attacking == false && this.stunned == false) {
						if (this.specialTimer > 0) {
							this.gotoAndPlay('attack');
						} else {
							this.specialAttack = true;
							this.gotoAndPlay('special');
						}
						this.attackTimer = 0;
						this.attacking = true;
					}
					if (this.attackTimer >= 20 && this.rooted == false && this.stunned == false && !this.hitTest(_root.world.hero)) {
						this.disRight = false;
						this.disLeft = false;
						this.disUp = false;
						this.disDown = false;
						var i = 1;
						while (i <= 10) {
							var object = 'stop' + i;
							if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
								this.disRight = true;
							}
							if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
								this.disLeft = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
								this.disDown = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
								this.disUp = true;
							}
							++i;
						}
						if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
							if (this._parent._x < _root.world.hero._x) {
								this.latDir = 'right';
								if (this.disRight == false) {
									this._parent._x += this.speed;
								}
							} else {
								this.latDir = 'left';
								if (this.disLeft == false) {
									this._parent._x -= this.speed;
								}
							}
						} else {
							this.latDir = 'none';
						}
						if (this.forceLat) {
							this._parent._x += this.speed * this.forceDir;
						}
						if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
							if (this._parent._y < _root.world.hero._y) {
								this.vertDir = 'down';
								if (this.disDown == false) {
									this._parent._y += this.speed;
								}
							} else {
								this.vertDir = 'up';
								if (this.disUp == false) {
									this._parent._y -= this.speed;
								}
							}
						} else {
							this.vertDir = 'none';
						}
						if (this.forceVert) {
							this._parent._y -= this.speed * this.forceDir;
						}
						if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
							this.forceVert = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
							this.forceLat = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if (this.forceLat) {
							if (this.disUp == false && this.disDown == false) {
								this.forceLat = false;
							}
						}
						if (this.forceVert) {
							if (this.disRight == false && this.disLeft == false) {
								this.forceVert = false;
							}
						}
						if (_root.currentTarget == this.id) {
							_root.world.targetMarker._x = this._parent._x;
							_root.world.targetMarker._y = this._parent._y;
						}
						if (_root.savedTarget == this.id) {
							_root.savedX = this._parent._x;
							_root.savedY = this._parent._y;
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[3] += 4;
						_root.factionLevels[8] -= 4;
						_root.factionUp('theAlliance', 4);
						_root.factionDown('shadowRunners', 4);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 2138	{
	}
	movieClip 2139	{
	}
	movieClip 2140 enemyArrow8 {
		instance of movieClip 2139	{
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					var enemyDamage = Math.round(66 + random(6.600000000000001) - _root.armor * 0.1);
					_root.curHP -= enemyDamage;
					var sctName = 'sct' + _root.sctDepth;
					_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
					_root.world[sctName].sct2.damage.text = enemyDamage;
					_root.world[sctName]._x = _root.world.hero._x;
					_root.world[sctName]._y = _root.world.hero._y - 20;
					if (_root.curHP < 1) {
						_root.heroDie();
					}
					this._parent.removeMovieClip();
				}
				var i = 1;
				while (i <= 10) {
					var object = 'stop' + i;
					if (this.hitTest(_root.world[object])) {
						this._parent.removeMovieClip();
						break;
					}
					++i;
				}
			}
		}
		frame 30 {
			this.removeMovieClip();
		}
	}
	movieClip 2144 hellCasterDie {
		frame 30 {
			this.removeMovieClip();
		}
	}
	movieClip 2174	{
		frame 1 {
			stop();
		}
		frame 12 {
			stop();
		}
		frame 65 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 2175 hellCaster {
		instance inside of movieClip 2174	{
			onClipEvent (load) {
				this.idName = 'hellCaster';
				this.weaponEquip = 'hellWand';
				this.curHp = this.maxHp;
				this.speed = 1.3;
				this.normSpeed = 1.3;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 0;
				this.attacking = false;
				this.baseDamage = 61;
				this.standing = _root.factionLevels[7];
				this.aeHit = false;
				this.dimReturns = 0;
				this.forceLat = false;
				this.forceVert = false;
				this.symbol = 'shado';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						if (this.attackTimer == 39 && this.stunned == false) {
							if (this.hitTest(_root.world.hero)) {
								var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
								_root.curHP -= enemyDamage;
								var sctName = 'sct' + _root.sctDepth;
								_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
								_root.world[sctName].sct2.damage.text = enemyDamage;
								_root.world[sctName]._x = _root.world.hero._x;
								_root.world[sctName]._y = _root.world.hero._y - 20;
								if (_root.curHP < 1) {
									_root.heroDie();
								}
							} else {
								var enemyArrow = 'enemyArrow' + _root.arrowDepth;
								_root.world.attachMovie('enemyArrow8', enemyArrow, ++_root.arrowDepth);
								_root.world[enemyArrow]._x = this._parent._x;
								_root.world[enemyArrow]._y = this._parent._y;
								_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
								if (_root.arrowDepth > 2098) {
									_root.arrowDepth = 2050;
								}
							}
						}
						if (this.attackTimer == 50) {
							this.attacking = false;
							if (this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.attacking == false && this.stunned == false) {
						this.attackTimer = 0;
						this.attacking = true;
						this.gotoAndPlay('attack');
						var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
					}
					if (this.attackTimer > 40 && this.rooted == false && this.stunned == false && !this.hitTest(_root.world.hero)) {
						this.disRight = false;
						this.disLeft = false;
						this.disUp = false;
						this.disDown = false;
						var i = 1;
						while (i <= 10) {
							var object = 'stop' + i;
							if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
								this.disRight = true;
							}
							if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
								this.disLeft = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
								this.disDown = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
								this.disUp = true;
							}
							++i;
						}
						if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
							if (this._parent._x < _root.world.hero._x) {
								this.latDir = 'right';
								if (this.disRight == false) {
									this._parent._x += this.speed;
								}
							} else {
								this.latDir = 'left';
								if (this.disLeft == false) {
									this._parent._x -= this.speed;
								}
							}
						} else {
							this.latDir = 'none';
						}
						if (this.forceLat) {
							this._parent._x += this.speed * this.forceDir;
						}
						if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
							if (this._parent._y < _root.world.hero._y) {
								this.vertDir = 'down';
								if (this.disDown == false) {
									this._parent._y += this.speed;
								}
							} else {
								this.vertDir = 'up';
								if (this.disUp == false) {
									this._parent._y -= this.speed;
								}
							}
						} else {
							this.vertDir = 'none';
						}
						if (this.forceVert) {
							this._parent._y -= this.speed * this.forceDir;
						}
						if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
							this.forceVert = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
							this.forceLat = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if (this.forceLat) {
							if (this.disUp == false && this.disDown == false) {
								this.forceLat = false;
							}
						}
						if (this.forceVert) {
							if (this.disRight == false && this.disLeft == false) {
								this.forceVert = false;
							}
						}
						if (_root.currentTarget == this.id) {
							_root.world.targetMarker._x = this._parent._x;
							_root.world.targetMarker._y = this._parent._y;
						}
						if (_root.savedTarget == this.id) {
							_root.savedX = this._parent._x;
							_root.savedY = this._parent._y;
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[3] += 5;
						_root.factionLevels[8] -= 5;
						_root.factionUp('theAlliance', 5);
						_root.factionDown('shadowRunners', 5);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('hellCasterDie', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 2257	{
		frame 1 {
			weapon.gotoAndStop(this.weaponEquip);
			shield.gotoAndStop(this.shieldEquip);
			stop();
		}
		frame 33 {
			this.gotoAndPlay('run');
		}
		frame 54 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 81 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 2258 shadowLordXin {
		instance inside of movieClip 2257	{
			onClipEvent (load) {
				this.idName = 'shadowLordXin';
				this.weaponEquip = 'deathsHand';
				this.shieldEquip = 'shadowShield';
				this.curHp = this.maxHp;
				this.speed = 2.2;
				this.normSpeed = 2.2;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 30;
				this.attacking = false;
				this.baseDamage = 175;
				this.standing = _root.factionLevels[7];
				this.aeHit = false;
				this.dimReturns = 50;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.symbol = 'shado';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.shield.gotoAndStop(this.shieldEquip);
				this.head.gotoAndStop('h35');
				this.chest.gotoAndStop('c34');
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[7]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'shado');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 12 && this.hitTest(_root.world.hero) && this.specialAttack) {
							_root.stunHero(10);
							this.specialAttack = false;
						}
						if (this.attackTimer == 7 && this.hitTest(_root.world.hero) && this.specialAttack == false) {
							var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
							_root.snareHero();
							_root.curHP -= enemyDamage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = enemyDamage;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							if (_root.curHP < 1) {
								_root.heroDie();
							}
						}
						if (this.attackTimer == 30) {
							if (this.specialTimer >= 120) {
								this.specialTimer = 0;
							}
							this.specialAttack = false;
							this.attacking = false;
							if (!this.hitTest(_root.world.hero) && this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.hitTest(_root.world.hero)) {
						if (this.attacking == false && this.stunned == false) {
							if (this.specialTimer == 0) {
								this.gotoAndPlay('special');
								this.specialAttack = true;
							} else {
								this.gotoAndPlay('attack');
							}
							this.attackTimer = 0;
							this.attacking = true;
						}
					} else {
						if (this.rooted == false && this.stunned == false) {
							this.disRight = false;
							this.disLeft = false;
							this.disUp = false;
							this.disDown = false;
							var i = 1;
							while (i <= 10) {
								var object = 'stop' + i;
								if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
									this.disRight = true;
								}
								if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
									this.disLeft = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
									this.disDown = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
									this.disUp = true;
								}
								++i;
							}
							if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
								if (this._parent._x < _root.world.hero._x) {
									this.latDir = 'right';
									if (this.disRight == false) {
										this._parent._x += this.speed;
									}
								} else {
									this.latDir = 'left';
									if (this.disLeft == false) {
										this._parent._x -= this.speed;
									}
								}
							} else {
								this.latDir = 'none';
							}
							if (this.forceLat) {
								this._parent._x += this.speed * this.forceDir;
							}
							if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
								if (this._parent._y < _root.world.hero._y) {
									this.vertDir = 'down';
									if (this.disDown == false) {
										this._parent._y += this.speed;
									}
								} else {
									this.vertDir = 'up';
									if (this.disUp == false) {
										this._parent._y -= this.speed;
									}
								}
							} else {
								this.vertDir = 'none';
							}
							if (this.forceVert) {
								this._parent._y -= this.speed * this.forceDir;
							}
							if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
								this.forceVert = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
								this.forceLat = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if (this.forceLat) {
								if (this.disUp == false && this.disDown == false) {
									this.forceLat = false;
								}
							}
							if (this.forceVert) {
								if (this.disRight == false && this.disLeft == false) {
									this.forceVert = false;
								}
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetMarker._x = this._parent._x;
								_root.world.targetMarker._y = this._parent._y;
							}
							if (_root.savedTarget == this.id) {
								_root.savedX = this._parent._x;
								_root.savedY = this._parent._y;
							}
						}
					}
					if (this.curHp < 1) {
						_root.findLoot('finalBossAQ', this.level, this._parent._x, this._parent._y);
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 2317	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 56 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 2318 brightlakeGuard {
		instance inside of movieClip 2317	{
			onClipEvent (load) {
				this.idName = 'brightlakeGuard';
				this.weaponEquip = 'rustySword';
				this.curHp = this.maxHp;
				this.speed = 1.5;
				this.normSpeed = 1.5;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 30;
				this.attacking = false;
				this.baseDamage = 9;
				this.standing = _root.factionLevels[2];
				this.aeHit = false;
				this.forceLat = false;
				this.forceVert = false;
				this.symbol = 'allia';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.head.gotoAndStop('h9');
				this.chest.gotoAndStop('c5');
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						if (this.attackTimer == 30) {
							this.attacking = false;
							if (!this.hitTest(_root.world.hero) && this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.hitTest(_root.world.hero)) {
						if (this.attacking == false && this.stunned == false) {
							this.attackTimer = 0;
							this.attacking = true;
							this.gotoAndPlay('attack');
							var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
							_root.curHP -= enemyDamage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = enemyDamage;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							if (_root.curHP < 1) {
								_root.heroDie();
							}
						}
					} else {
						if (this.rooted == false && this.stunned == false) {
							this.disRight = false;
							this.disLeft = false;
							this.disUp = false;
							this.disDown = false;
							var i = 1;
							while (i <= 10) {
								var object = 'stop' + i;
								if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
									this.disRight = true;
								}
								if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
									this.disLeft = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
									this.disDown = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
									this.disUp = true;
								}
								++i;
							}
							if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
								if (this._parent._x < _root.world.hero._x) {
									this.latDir = 'right';
									if (this.disRight == false) {
										this._parent._x += this.speed;
									}
								} else {
									this.latDir = 'left';
									if (this.disLeft == false) {
										this._parent._x -= this.speed;
									}
								}
							} else {
								this.latDir = 'none';
							}
							if (this.forceLat) {
								this._parent._x += this.speed * this.forceDir;
							}
							if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
								if (this._parent._y < _root.world.hero._y) {
									this.vertDir = 'down';
									if (this.disDown == false) {
										this._parent._y += this.speed;
									}
								} else {
									this.vertDir = 'up';
									if (this.disUp == false) {
										this._parent._y -= this.speed;
									}
								}
							} else {
								this.vertDir = 'none';
							}
							if (this.forceVert) {
								this._parent._y -= this.speed * this.forceDir;
							}
							if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
								this.forceVert = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
								this.forceLat = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if (this.forceLat) {
								if (this.disUp == false && this.disDown == false) {
									this.forceLat = false;
								}
							}
							if (this.forceVert) {
								if (this.disRight == false && this.disLeft == false) {
									this.forceVert = false;
								}
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetMarker._x = this._parent._x;
								_root.world.targetMarker._y = this._parent._y;
							}
							if (_root.savedTarget == this.id) {
								_root.savedX = this._parent._x;
								_root.savedY = this._parent._y;
							}
						}
					}
					if (this.curHp < 1) {
						_root.showTutorial(6);
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[3] -= 2;
						_root.factionLevels[8] += 2;
						_root.factionUp('shadowRunners', 2);
						_root.factionDown('theAlliance', 2);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
				_root.showTutorial(10);
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 2320	{
	}
	movieClip 2321 alliance1 {
		instance of movieClip 2320	{
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					var enemyDamage = Math.round(13 + random(1.3) - _root.armor * 0.1);
					_root.curHP -= enemyDamage;
					var sctName = 'sct' + _root.sctDepth;
					_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
					_root.world[sctName].sct2.damage.text = enemyDamage;
					_root.world[sctName]._x = _root.world.hero._x;
					_root.world[sctName]._y = _root.world.hero._y - 20;
					if (_root.curHP < 1) {
						_root.heroDie();
					}
					this._parent.removeMovieClip();
				}
				var i = 1;
				while (i <= 10) {
					var object = 'stop' + i;
					if (this.hitTest(_root.world[object])) {
						this._parent.removeMovieClip();
						break;
					}
					++i;
				}
			}
		}
		frame 50 {
			this.removeMovieClip();
		}
	}
	movieClip 2388	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 51 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 68 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 2389 brightlakeScout {
		instance inside of movieClip 2388	{
			onClipEvent (load) {
				this.idName = 'brightlakeScout';
				this.weaponEquip = 'woodenBow';
				this.curHp = this.maxHp;
				this.normSpeed = 1.2;
				this.speed = 1.2;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 0;
				this.attacking = false;
				this.baseDamage = 13;
				this.standing = _root.factionLevels[2];
				this.aeHit = false;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.symbol = 'allia';
				this.headEquip = 'h38';
				this.chestEquip = 'c15';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.head.gotoAndStop(this.headEquip);
				this.chest.gotoAndStop(this.chestEquip);
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
									if (this.attacking == false) {
										this.gotoAndStop(1);
									}
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
									if (this.attacking == false) {
										this.gotoAndStop(1);
									}
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false && this.attacking == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 15 && this.stunned == false && this.specialAttack) {
							this.specialAttack = false;
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('special1', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 14 && this.stunned == false && this.specialAttack == false) {
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('alliance1', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 30) {
							this.attacking = false;
							if (this.specialTimer >= 300) {
								this.specialTimer = 0;
							}
							if (this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.attacking == false && this.stunned == false) {
						if (this.specialTimer > 0) {
							this.gotoAndPlay('attack');
						} else {
							this.specialAttack = true;
							this.gotoAndPlay('special');
						}
						this.attackTimer = 0;
						this.attacking = true;
					}
					if (this.attackTimer >= 14 && this.rooted == false && this.stunned == false && !this.hitTest(_root.world.hero)) {
						this.disRight = false;
						this.disLeft = false;
						this.disUp = false;
						this.disDown = false;
						var i = 1;
						while (i <= 10) {
							var object = 'stop' + i;
							if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
								this.disRight = true;
							}
							if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
								this.disLeft = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
								this.disDown = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
								this.disUp = true;
							}
							++i;
						}
						if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
							if (this._parent._x < _root.world.hero._x) {
								this.latDir = 'right';
								if (this.disRight == false) {
									this._parent._x += this.speed;
								}
							} else {
								this.latDir = 'left';
								if (this.disLeft == false) {
									this._parent._x -= this.speed;
								}
							}
						} else {
							this.latDir = 'none';
						}
						if (this.forceLat) {
							this._parent._x += this.speed * this.forceDir;
						}
						if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
							if (this._parent._y < _root.world.hero._y) {
								this.vertDir = 'down';
								if (this.disDown == false) {
									this._parent._y += this.speed;
								}
							} else {
								this.vertDir = 'up';
								if (this.disUp == false) {
									this._parent._y -= this.speed;
								}
							}
						} else {
							this.vertDir = 'none';
						}
						if (this.forceVert) {
							this._parent._y -= this.speed * this.forceDir;
						}
						if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
							this.forceVert = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
							this.forceLat = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if (this.forceLat) {
							if (this.disUp == false && this.disDown == false) {
								this.forceLat = false;
							}
						}
						if (this.forceVert) {
							if (this.disRight == false && this.disLeft == false) {
								this.forceVert = false;
							}
						}
						if (_root.currentTarget == this.id) {
							_root.world.targetMarker._x = this._parent._x;
							_root.world.targetMarker._y = this._parent._y;
						}
						if (_root.savedTarget == this.id) {
							_root.savedX = this._parent._x;
							_root.savedY = this._parent._y;
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[3] -= 2;
						_root.factionLevels[8] += 2;
						_root.factionUp('shadowRunners', 2);
						_root.factionDown('theAlliance', 2);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
				_root.showTutorial(10);
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 2393	{
	}
	movieClip 2394 alliance2 {
		instance of movieClip 113	{
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					var enemyDamage = Math.round(16 + random(1.6) - _root.armor * 0.1);
					_root.curHP -= enemyDamage;
					var sctName = 'sct' + _root.sctDepth;
					_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
					_root.world[sctName].sct2.damage.text = enemyDamage;
					_root.world[sctName]._x = _root.world.hero._x;
					_root.world[sctName]._y = _root.world.hero._y - 20;
					if (_root.curHP < 1) {
						_root.heroDie();
					}
					this._parent.removeMovieClip();
				}
				var i = 1;
				while (i <= 10) {
					var object = 'stop' + i;
					if (this.hitTest(_root.world[object])) {
						this._parent.removeMovieClip();
						break;
					}
					++i;
				}
			}
		}
		frame 50 {
			this.removeMovieClip();
		}
	}
	movieClip 2445	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 76 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 2446 brightlakeWizard {
		instance inside of movieClip 2445	{
			onClipEvent (load) {
				this.idName = 'brightlakeWizard';
				this.weaponEquip = 'jeweledWand';
				this.curHp = this.maxHp;
				this.speed = 1.3;
				this.normSpeed = 1.3;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 0;
				this.attacking = false;
				this.baseDamage = 16;
				this.standing = _root.factionLevels[2];
				this.aeHit = false;
				this.dimReturns = 0;
				this.forceLat = false;
				this.forceVert = false;
				this.symbol = 'allia';
				this.headEquip = 'h19';
				this.chestEquip = 'c9';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.head.gotoAndStop(this.headEquip);
				this.chest.gotoAndStop(this.chestEquip);
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						if (this.attackTimer == 40 && this.stunned == false) {
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('alliance2', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 50) {
							this.attacking = false;
							if (this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.attacking == false && this.stunned == false) {
						this.attackTimer = 0;
						this.attacking = true;
						this.gotoAndPlay('attack');
						var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
					}
					if (this.attackTimer > 40 && this.rooted == false && this.stunned == false && !this.hitTest(_root.world.hero)) {
						this.disRight = false;
						this.disLeft = false;
						this.disUp = false;
						this.disDown = false;
						var i = 1;
						while (i <= 10) {
							var object = 'stop' + i;
							if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
								this.disRight = true;
							}
							if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
								this.disLeft = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
								this.disDown = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
								this.disUp = true;
							}
							++i;
						}
						if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
							if (this._parent._x < _root.world.hero._x) {
								this.latDir = 'right';
								if (this.disRight == false) {
									this._parent._x += this.speed;
								}
							} else {
								this.latDir = 'left';
								if (this.disLeft == false) {
									this._parent._x -= this.speed;
								}
							}
						} else {
							this.latDir = 'none';
						}
						if (this.forceLat) {
							this._parent._x += this.speed * this.forceDir;
						}
						if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
							if (this._parent._y < _root.world.hero._y) {
								this.vertDir = 'down';
								if (this.disDown == false) {
									this._parent._y += this.speed;
								}
							} else {
								this.vertDir = 'up';
								if (this.disUp == false) {
									this._parent._y -= this.speed;
								}
							}
						} else {
							this.vertDir = 'none';
						}
						if (this.forceVert) {
							this._parent._y -= this.speed * this.forceDir;
						}
						if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
							this.forceVert = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
							this.forceLat = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if (this.forceLat) {
							if (this.disUp == false && this.disDown == false) {
								this.forceLat = false;
							}
						}
						if (this.forceVert) {
							if (this.disRight == false && this.disLeft == false) {
								this.forceVert = false;
							}
						}
						if (_root.currentTarget == this.id) {
							_root.world.targetMarker._x = this._parent._x;
							_root.world.targetMarker._y = this._parent._y;
						}
						if (_root.savedTarget == this.id) {
							_root.savedX = this._parent._x;
							_root.savedY = this._parent._y;
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[3] -= 3;
						_root.factionLevels[8] += 3;
						_root.factionUp('shadowRunners', 3);
						_root.factionDown('theAlliance', 3);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 2503	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 46 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 2504 paladin {
		instance inside of movieClip 2503	{
			onClipEvent (load) {
				this.idName = 'paladin';
				this.weaponEquip = 'paladinSword';
				this.shieldEquip = 'towerShield';
				this.curHp = this.maxHp;
				this.speed = 1.4;
				this.normSpeed = 1.4;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 30;
				this.attacking = false;
				this.baseDamage = 21;
				this.standing = _root.factionLevels[2];
				this.aeHit = false;
				this.dimReturns = 0;
				this.forceLat = false;
				this.forceVert = false;
				this.symbol = 'allia';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.head.gotoAndStop('h18');
				this.chest.gotoAndStop('c19');
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						if (this.attackTimer == 7 && this.hitTest(_root.world.hero)) {
							var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
							_root.curHP -= enemyDamage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = enemyDamage;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							if (_root.curHP < 1) {
								_root.heroDie();
							}
						}
						if (this.attackTimer == 30) {
							this.attacking = false;
							if (!this.hitTest(_root.world.hero) && this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.hitTest(_root.world.hero)) {
						if (this.attacking == false && this.stunned == false) {
							this.attackTimer = 0;
							this.attacking = true;
							this.gotoAndPlay('attack');
						}
					} else {
						if (this.rooted == false && this.stunned == false) {
							this.disRight = false;
							this.disLeft = false;
							this.disUp = false;
							this.disDown = false;
							var i = 1;
							while (i <= 10) {
								var object = 'stop' + i;
								if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
									this.disRight = true;
								}
								if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
									this.disLeft = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
									this.disDown = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
									this.disUp = true;
								}
								++i;
							}
							if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
								if (this._parent._x < _root.world.hero._x) {
									this.latDir = 'right';
									if (this.disRight == false) {
										this._parent._x += this.speed;
									}
								} else {
									this.latDir = 'left';
									if (this.disLeft == false) {
										this._parent._x -= this.speed;
									}
								}
							} else {
								this.latDir = 'none';
							}
							if (this.forceLat) {
								this._parent._x += this.speed * this.forceDir;
							}
							if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
								if (this._parent._y < _root.world.hero._y) {
									this.vertDir = 'down';
									if (this.disDown == false) {
										this._parent._y += this.speed;
									}
								} else {
									this.vertDir = 'up';
									if (this.disUp == false) {
										this._parent._y -= this.speed;
									}
								}
							} else {
								this.vertDir = 'none';
							}
							if (this.forceVert) {
								this._parent._y -= this.speed * this.forceDir;
							}
							if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
								this.forceVert = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
								this.forceLat = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if (this.forceLat) {
								if (this.disUp == false && this.disDown == false) {
									this.forceLat = false;
								}
							}
							if (this.forceVert) {
								if (this.disRight == false && this.disLeft == false) {
									this.forceVert = false;
								}
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetMarker._x = this._parent._x;
								_root.world.targetMarker._y = this._parent._y;
							}
							if (_root.savedTarget == this.id) {
								_root.savedX = this._parent._x;
								_root.savedY = this._parent._y;
							}
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[3] -= 3;
						_root.factionLevels[8] += 3;
						_root.factionUp('shadowRunners', 3);
						_root.factionDown('theAlliance', 3);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 2555	{
	}
	movieClip 2575	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 76 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 118 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 2576 greenviewMage {
		instance inside of movieClip 2575	{
			onClipEvent (load) {
				this.idName = 'greenviewMage';
				this.weaponEquip = 'greenviewWand';
				this.curHp = this.maxHp;
				this.normSpeed = 1.3;
				this.speed = 1.3;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 0;
				this.attacking = false;
				this.baseDamage = 24;
				this.standing = _root.factionLevels[2];
				this.aeHit = false;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.symbol = 'allia';
				this.headEquip = 'h27';
				this.chestEquip = 'c27';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.head.gotoAndStop(this.headEquip);
				this.chest.gotoAndStop(this.chestEquip);
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									if (this.attacking == false) {
										this.gotoAndStop(1);
									}
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false && this.attacking == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 41 && this.stunned == false && this.specialAttack) {
							this.specialAttack = false;
							var healAmt = random(10) + 30;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('heal_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = healAmt;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp += healAmt;
							if (this.curHp > this.maxHp) {
								this.curHp = this.maxHp;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.attackTimer == 40 && this.stunned == false && this.specialAttack == false) {
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('alliance5', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 50) {
							this.attacking = false;
							if (this.specialTimer > 280) {
								this.specialTimer = 0;
							}
							if (this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.attacking == false && this.stunned == false) {
						if (this.specialTimer > 0 || this.curHp == this.maxHp) {
							this.gotoAndPlay('attack');
						} else {
							this.specialAttack = true;
							this.gotoAndPlay('special');
						}
						this.attackTimer = 0;
						this.attacking = true;
					}
					if (this.attackTimer >= 42 && this.rooted == false && this.stunned == false && !this.hitTest(_root.world.hero)) {
						this.disRight = false;
						this.disLeft = false;
						this.disUp = false;
						this.disDown = false;
						var i = 1;
						while (i <= 10) {
							var object = 'stop' + i;
							if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
								this.disRight = true;
							}
							if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
								this.disLeft = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
								this.disDown = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
								this.disUp = true;
							}
							++i;
						}
						if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
							if (this._parent._x < _root.world.hero._x) {
								this.latDir = 'right';
								if (this.disRight == false) {
									this._parent._x += this.speed;
								}
							} else {
								this.latDir = 'left';
								if (this.disLeft == false) {
									this._parent._x -= this.speed;
								}
							}
						} else {
							this.latDir = 'none';
						}
						if (this.forceLat) {
							this._parent._x += this.speed * this.forceDir;
						}
						if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
							if (this._parent._y < _root.world.hero._y) {
								this.vertDir = 'down';
								if (this.disDown == false) {
									this._parent._y += this.speed;
								}
							} else {
								this.vertDir = 'up';
								if (this.disUp == false) {
									this._parent._y -= this.speed;
								}
							}
						} else {
							this.vertDir = 'none';
						}
						if (this.forceVert) {
							this._parent._y -= this.speed * this.forceDir;
						}
						if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
							this.forceVert = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
							this.forceLat = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if (this.forceLat) {
							if (this.disUp == false && this.disDown == false) {
								this.forceLat = false;
							}
						}
						if (this.forceVert) {
							if (this.disRight == false && this.disLeft == false) {
								this.forceVert = false;
							}
						}
						if (_root.currentTarget == this.id) {
							_root.world.targetMarker._x = this._parent._x;
							_root.world.targetMarker._y = this._parent._y;
						}
						if (_root.savedTarget == this.id) {
							_root.savedX = this._parent._x;
							_root.savedY = this._parent._y;
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[3] -= 3;
						_root.factionLevels[8] += 3;
						_root.factionUp('shadowRunners', 3);
						_root.factionDown('theAlliance', 3);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 2577 alliance5 {
		instance of movieClip 2555	{
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					var enemyDamage = Math.round(24 + random(2.4) - _root.armor * 0.1);
					_root.curHP -= enemyDamage;
					var sctName = 'sct' + _root.sctDepth;
					_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
					_root.world[sctName].sct2.damage.text = enemyDamage;
					_root.world[sctName]._x = _root.world.hero._x;
					_root.world[sctName]._y = _root.world.hero._y - 20;
					if (_root.curHP < 1) {
						_root.heroDie();
					}
					this._parent.removeMovieClip();
				}
				var i = 1;
				while (i <= 10) {
					var object = 'stop' + i;
					if (this.hitTest(_root.world[object])) {
						this._parent.removeMovieClip();
						break;
					}
					++i;
				}
			}
		}
		frame 50 {
			this.removeMovieClip();
		}
	}
	movieClip 2658	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 46 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 73 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 2659 greenviewGuard {
		instance inside of movieClip 2658	{
			onClipEvent (load) {
				this.idName = 'greenviewGuard';
				this.weaponEquip = 'greenviewSword';
				this.shieldEquip = 'greenviewShield';
				this.curHp = this.maxHp;
				this.speed = 1.4;
				this.normSpeed = 1.4;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 30;
				this.attacking = false;
				this.baseDamage = 29;
				this.standing = _root.factionLevels[2];
				this.aeHit = false;
				this.dimReturns = 0;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.symbol = 'allia';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.shield.gotoAndStop(this.shieldEquip);
				this.head.gotoAndStop('h11');
				this.chest.gotoAndStop('c12');
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 12 && this.hitTest(_root.world.hero) && this.specialAttack) {
							_root.stunHero(this.level);
							this.specialAttack = false;
						}
						if (this.attackTimer == 8 && this.hitTest(_root.world.hero) && this.specialAttack == false) {
							var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
							_root.curHP -= enemyDamage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = enemyDamage;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							if (_root.curHP < 1) {
								_root.heroDie();
							}
						}
						if (this.attackTimer == 30) {
							this.specialAttack = false;
							this.attacking = false;
							if (this.specialTimer >= 180) {
								this.specialTimer = 0;
							}
							if (!this.hitTest(_root.world.hero) && this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.hitTest(_root.world.hero)) {
						if (this.attacking == false && this.stunned == false) {
							if (this.specialTimer == 0) {
								this.gotoAndPlay('special');
								this.specialAttack = true;
							} else {
								this.gotoAndPlay('attack');
							}
							this.attackTimer = 0;
							this.attacking = true;
						}
					} else {
						if (this.rooted == false && this.stunned == false) {
							this.disRight = false;
							this.disLeft = false;
							this.disUp = false;
							this.disDown = false;
							var i = 1;
							while (i <= 10) {
								var object = 'stop' + i;
								if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
									this.disRight = true;
								}
								if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
									this.disLeft = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
									this.disDown = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
									this.disUp = true;
								}
								++i;
							}
							if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
								if (this._parent._x < _root.world.hero._x) {
									this.latDir = 'right';
									if (this.disRight == false) {
										this._parent._x += this.speed;
									}
								} else {
									this.latDir = 'left';
									if (this.disLeft == false) {
										this._parent._x -= this.speed;
									}
								}
							} else {
								this.latDir = 'none';
							}
							if (this.forceLat) {
								this._parent._x += this.speed * this.forceDir;
							}
							if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
								if (this._parent._y < _root.world.hero._y) {
									this.vertDir = 'down';
									if (this.disDown == false) {
										this._parent._y += this.speed;
									}
								} else {
									this.vertDir = 'up';
									if (this.disUp == false) {
										this._parent._y -= this.speed;
									}
								}
							} else {
								this.vertDir = 'none';
							}
							if (this.forceVert) {
								this._parent._y -= this.speed * this.forceDir;
							}
							if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
								this.forceVert = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
								this.forceLat = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if (this.forceLat) {
								if (this.disUp == false && this.disDown == false) {
									this.forceLat = false;
								}
							}
							if (this.forceVert) {
								if (this.disRight == false && this.disLeft == false) {
									this.forceVert = false;
								}
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetMarker._x = this._parent._x;
								_root.world.targetMarker._y = this._parent._y;
							}
							if (_root.savedTarget == this.id) {
								_root.savedX = this._parent._x;
								_root.savedY = this._parent._y;
							}
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[3] -= 3;
						_root.factionLevels[8] += 3;
						_root.factionUp('shadowRunners', 3);
						_root.factionDown('theAlliance', 3);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 2729	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 51 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 67 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 2730 greenviewWard {
		instance inside of movieClip 2729	{
			onClipEvent (load) {
				this.idName = 'greenviewWard';
				this.weaponEquip = 'twilightBow';
				this.curHp = this.maxHp;
				this.normSpeed = 1.2;
				this.speed = 1.2;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 0;
				this.attacking = false;
				this.baseDamage = 16;
				this.standing = _root.factionLevels[2];
				this.aeHit = false;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.symbol = 'allia';
				this.headEquip = 'h37';
				this.chestEquip = 'c8';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.head.gotoAndStop(this.headEquip);
				this.chest.gotoAndStop(this.chestEquip);
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									if (this.attacking == false) {
										this.gotoAndStop(1);
									}
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false && this.attacking == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 15 && this.stunned == false && this.specialAttack) {
							this.specialAttack = false;
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('fetter2', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 14 && this.stunned == false && this.specialAttack == false) {
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('alliance4', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 30) {
							this.attacking = false;
							if (this.specialTimer >= 300) {
								this.specialTimer = 0;
							}
							if (this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.attacking == false && this.stunned == false) {
						if (this.specialTimer > 0) {
							this.gotoAndPlay('attack');
						} else {
							this.specialAttack = true;
							this.gotoAndPlay('special');
						}
						this.attackTimer = 0;
						this.attacking = true;
					}
					if (this.attackTimer >= 14 && this.rooted == false && this.stunned == false && !this.hitTest(_root.world.hero)) {
						this.disRight = false;
						this.disLeft = false;
						this.disUp = false;
						this.disDown = false;
						var i = 1;
						while (i <= 10) {
							var object = 'stop' + i;
							if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
								this.disRight = true;
							}
							if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
								this.disLeft = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
								this.disDown = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
								this.disUp = true;
							}
							++i;
						}
						if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
							if (this._parent._x < _root.world.hero._x) {
								this.latDir = 'right';
								if (this.disRight == false) {
									this._parent._x += this.speed;
								}
							} else {
								this.latDir = 'left';
								if (this.disLeft == false) {
									this._parent._x -= this.speed;
								}
							}
						} else {
							this.latDir = 'none';
						}
						if (this.forceLat) {
							this._parent._x += this.speed * this.forceDir;
						}
						if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
							if (this._parent._y < _root.world.hero._y) {
								this.vertDir = 'down';
								if (this.disDown == false) {
									this._parent._y += this.speed;
								}
							} else {
								this.vertDir = 'up';
								if (this.disUp == false) {
									this._parent._y -= this.speed;
								}
							}
						} else {
							this.vertDir = 'none';
						}
						if (this.forceVert) {
							this._parent._y -= this.speed * this.forceDir;
						}
						if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
							this.forceVert = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
							this.forceLat = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if (this.forceLat) {
							if (this.disUp == false && this.disDown == false) {
								this.forceLat = false;
							}
						}
						if (this.forceVert) {
							if (this.disRight == false && this.disLeft == false) {
								this.forceVert = false;
							}
						}
						if (_root.currentTarget == this.id) {
							_root.world.targetMarker._x = this._parent._x;
							_root.world.targetMarker._y = this._parent._y;
						}
						if (_root.savedTarget == this.id) {
							_root.savedX = this._parent._x;
							_root.savedY = this._parent._y;
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[3] -= 3;
						_root.factionLevels[8] += 3;
						_root.factionUp('shadowRunners', 3);
						_root.factionDown('theAlliance', 3);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 2731 alliance4 {
		instance of movieClip 2320	{
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					var enemyDamage = Math.round(33 + random(3.3) - _root.armor * 0.1);
					_root.curHP -= enemyDamage;
					var sctName = 'sct' + _root.sctDepth;
					_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
					_root.world[sctName].sct2.damage.text = enemyDamage;
					_root.world[sctName]._x = _root.world.hero._x;
					_root.world[sctName]._y = _root.world.hero._y - 20;
					if (_root.curHP < 1) {
						_root.heroDie();
					}
					this._parent.removeMovieClip();
				}
				var i = 1;
				while (i <= 10) {
					var object = 'stop' + i;
					if (this.hitTest(_root.world[object])) {
						this._parent.removeMovieClip();
						break;
					}
					++i;
				}
			}
		}
		frame 50 {
			this.removeMovieClip();
		}
		instance of movieClip 2320	{
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					var enemyDamage = Math.round(13 + random(1.3) - _root.armor * 0.1);
					_root.curHP -= enemyDamage;
					var sctName = 'sct' + _root.sctDepth;
					_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
					_root.world[sctName].sct2.damage.text = enemyDamage;
					_root.world[sctName]._x = _root.world.hero._x;
					_root.world[sctName]._y = _root.world.hero._y - 20;
					if (_root.curHP < 1) {
						_root.heroDie();
					}
					this._parent.removeMovieClip();
				}
				var i = 1;
				while (i <= 10) {
					var object = 'stop' + i;
					if (this.hitTest(_root.world[object])) {
						this._parent.removeMovieClip();
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 2736 sageOfLightDie {
		frame 30 {
			this.removeMovieClip();
		}
	}
	movieClip 2755	{
	}
	movieClip 2792	{
		frame 1 {
			stop();
		}
		frame 12 {
			stop();
		}
		frame 67 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 109 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 2793 sageOfLight {
		instance inside of movieClip 2792	{
			onClipEvent (load) {
				this.idName = 'sageOfLight';
				this.weaponEquip = 'sageWand';
				this.curHp = this.maxHp;
				this.normSpeed = 1.3;
				this.speed = 1.3;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 0;
				this.attacking = false;
				this.baseDamage = 37;
				this.standing = _root.factionLevels[2];
				this.aeHit = false;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.symbol = 'allia';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									if (this.attacking == false) {
										this.gotoAndStop(1);
									}
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false && this.attacking == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 40 && this.stunned == false && this.specialAttack) {
							this.specialAttack = false;
							var healAmt = random(10) + 50;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('heal_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = healAmt;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp += healAmt;
							if (this.curHp > this.maxHp) {
								this.curHp = this.maxHp;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.attackTimer == 39 && this.stunned == false && this.specialAttack == false) {
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('alliance3', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 50) {
							this.attacking = false;
							if (this.specialTimer > 210) {
								this.specialTimer = 0;
							}
							if (this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.attacking == false && this.stunned == false) {
						if (this.specialTimer > 0 || this.curHp == this.maxHp) {
							this.gotoAndPlay('attack');
						} else {
							this.specialAttack = true;
							this.gotoAndPlay('special');
						}
						this.attackTimer = 0;
						this.attacking = true;
					}
					if (this.attackTimer >= 41 && this.rooted == false && this.stunned == false && !this.hitTest(_root.world.hero)) {
						this.disRight = false;
						this.disLeft = false;
						this.disUp = false;
						this.disDown = false;
						var i = 1;
						while (i <= 10) {
							var object = 'stop' + i;
							if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
								this.disRight = true;
							}
							if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
								this.disLeft = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
								this.disDown = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
								this.disUp = true;
							}
							++i;
						}
						if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
							if (this._parent._x < _root.world.hero._x) {
								this.latDir = 'right';
								if (this.disRight == false) {
									this._parent._x += this.speed;
								}
							} else {
								this.latDir = 'left';
								if (this.disLeft == false) {
									this._parent._x -= this.speed;
								}
							}
						} else {
							this.latDir = 'none';
						}
						if (this.forceLat) {
							this._parent._x += this.speed * this.forceDir;
						}
						if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
							if (this._parent._y < _root.world.hero._y) {
								this.vertDir = 'down';
								if (this.disDown == false) {
									this._parent._y += this.speed;
								}
							} else {
								this.vertDir = 'up';
								if (this.disUp == false) {
									this._parent._y -= this.speed;
								}
							}
						} else {
							this.vertDir = 'none';
						}
						if (this.forceVert) {
							this._parent._y -= this.speed * this.forceDir;
						}
						if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
							this.forceVert = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
							this.forceLat = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if (this.forceLat) {
							if (this.disUp == false && this.disDown == false) {
								this.forceLat = false;
							}
						}
						if (this.forceVert) {
							if (this.disRight == false && this.disLeft == false) {
								this.forceVert = false;
							}
						}
						if (_root.currentTarget == this.id) {
							_root.world.targetMarker._x = this._parent._x;
							_root.world.targetMarker._y = this._parent._y;
						}
						if (_root.savedTarget == this.id) {
							_root.savedX = this._parent._x;
							_root.savedY = this._parent._y;
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[3] -= 3;
						_root.factionLevels[8] += 3;
						_root.factionUp('shadowRunners', 3);
						_root.factionDown('theAlliance', 3);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('sageOfLightDie', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 2797	{
	}
	movieClip 2798 alliance3 {
		instance of movieClip 2797	{
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					var enemyDamage = Math.round(37 + random(3.7) - _root.armor * 0.1);
					_root.curHP -= enemyDamage;
					var sctName = 'sct' + _root.sctDepth;
					_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
					_root.world[sctName].sct2.damage.text = enemyDamage;
					_root.world[sctName]._x = _root.world.hero._x;
					_root.world[sctName]._y = _root.world.hero._y - 20;
					if (_root.curHP < 1) {
						_root.heroDie();
					}
					this._parent.removeMovieClip();
				}
				var i = 1;
				while (i <= 10) {
					var object = 'stop' + i;
					if (this.hitTest(_root.world[object])) {
						this._parent.removeMovieClip();
						break;
					}
					++i;
				}
			}
		}
		frame 50 {
			this.removeMovieClip();
		}
	}
	movieClip 2868	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 56 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 67 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 2869 holyAssassin {
		instance inside of movieClip 2868	{
			onClipEvent (load) {
				this.idName = 'holyAssassin';
				this.weaponEquip = 'holyDagger';
				this.curHp = this.maxHp;
				this.speed = 1.8;
				this.normSpeed = 1.8;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 30;
				this.attacking = false;
				this.baseDamage = 41;
				this.standing = _root.factionLevels[2];
				this.aeHit = false;
				this.dimReturns = 0;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.symbol = 'allia';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.head.gotoAndStop('h54');
				this.chest.gotoAndStop('c36');
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 8 && this.hitTest(_root.world.hero) && this.specialAttack) {
							_root.snareHero();
							this.specialAttack = false;
						}
						if (this.attackTimer == 7 && this.hitTest(_root.world.hero) && this.specialAttack == false) {
							var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
							_root.curHP -= enemyDamage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = enemyDamage;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							if (_root.curHP < 1) {
								_root.heroDie();
							}
						}
						if (this.attackTimer == 25) {
							this.specialAttack = false;
							this.attacking = false;
							if (this.specialTimer > 180) {
								this.specialTimer = 0;
							}
							if (!this.hitTest(_root.world.hero) && this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.hitTest(_root.world.hero)) {
						if (this.attacking == false && this.stunned == false) {
							if (this.specialTimer == 0) {
								this.gotoAndPlay('special');
								this.specialAttack = true;
							} else {
								this.gotoAndPlay('attack');
							}
							this.attackTimer = 0;
							this.attacking = true;
						}
					} else {
						if (this.rooted == false && this.stunned == false) {
							this.disRight = false;
							this.disLeft = false;
							this.disUp = false;
							this.disDown = false;
							var i = 1;
							while (i <= 10) {
								var object = 'stop' + i;
								if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
									this.disRight = true;
								}
								if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
									this.disLeft = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
									this.disDown = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
									this.disUp = true;
								}
								++i;
							}
							if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
								if (this._parent._x < _root.world.hero._x) {
									this.latDir = 'right';
									if (this.disRight == false) {
										this._parent._x += this.speed;
									}
								} else {
									this.latDir = 'left';
									if (this.disLeft == false) {
										this._parent._x -= this.speed;
									}
								}
							} else {
								this.latDir = 'none';
							}
							if (this.forceLat) {
								this._parent._x += this.speed * this.forceDir;
							}
							if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
								if (this._parent._y < _root.world.hero._y) {
									this.vertDir = 'down';
									if (this.disDown == false) {
										this._parent._y += this.speed;
									}
								} else {
									this.vertDir = 'up';
									if (this.disUp == false) {
										this._parent._y -= this.speed;
									}
								}
							} else {
								this.vertDir = 'none';
							}
							if (this.forceVert) {
								this._parent._y -= this.speed * this.forceDir;
							}
							if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
								this.forceVert = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
								this.forceLat = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if (this.forceLat) {
								if (this.disUp == false && this.disDown == false) {
									this.forceLat = false;
								}
							}
							if (this.forceVert) {
								if (this.disRight == false && this.disLeft == false) {
									this.forceVert = false;
								}
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetMarker._x = this._parent._x;
								_root.world.targetMarker._y = this._parent._y;
							}
							if (_root.savedTarget == this.id) {
								_root.savedX = this._parent._x;
								_root.savedY = this._parent._y;
							}
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[3] -= 3;
						_root.factionLevels[8] += 3;
						_root.factionUp('shadowRunners', 3);
						_root.factionDown('theAlliance', 3);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 2871	{
	}
	movieClip 2872 alliance7 {
		instance of movieClip 2871	{
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					var enemyDamage = Math.round(65 + random(6.5) - _root.armor * 0.1);
					_root.curHP -= enemyDamage;
					var sctName = 'sct' + _root.sctDepth;
					_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
					_root.world[sctName].sct2.damage.text = enemyDamage;
					_root.world[sctName]._x = _root.world.hero._x;
					_root.world[sctName]._y = _root.world.hero._y - 20;
					if (_root.curHP < 1) {
						_root.heroDie();
					}
					this._parent.removeMovieClip();
				}
				var i = 1;
				while (i <= 10) {
					var object = 'stop' + i;
					if (this.hitTest(_root.world[object])) {
						this._parent.removeMovieClip();
						break;
					}
					++i;
				}
			}
		}
		frame 65 {
			this.removeMovieClip();
		}
	}
	movieClip 2873 alliance6 {
		instance of movieClip 2320	{
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					var enemyDamage = Math.round(45 + random(4.5) - _root.armor * 0.1);
					_root.curHP -= enemyDamage;
					var sctName = 'sct' + _root.sctDepth;
					_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
					_root.world[sctName].sct2.damage.text = enemyDamage;
					_root.world[sctName]._x = _root.world.hero._x;
					_root.world[sctName]._y = _root.world.hero._y - 20;
					if (_root.curHP < 1) {
						_root.heroDie();
					}
					this._parent.removeMovieClip();
				}
				var i = 1;
				while (i <= 10) {
					var object = 'stop' + i;
					if (this.hitTest(_root.world[object])) {
						this._parent.removeMovieClip();
						break;
					}
					++i;
				}
			}
		}
		frame 50 {
			this.removeMovieClip();
		}
		instance of movieClip 2320	{
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					var enemyDamage = Math.round(13 + random(1.3) - _root.armor * 0.1);
					_root.curHP -= enemyDamage;
					var sctName = 'sct' + _root.sctDepth;
					_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
					_root.world[sctName].sct2.damage.text = enemyDamage;
					_root.world[sctName]._x = _root.world.hero._x;
					_root.world[sctName]._y = _root.world.hero._y - 20;
					if (_root.curHP < 1) {
						_root.heroDie();
					}
					this._parent.removeMovieClip();
				}
				var i = 1;
				while (i <= 10) {
					var object = 'stop' + i;
					if (this.hitTest(_root.world[object])) {
						this._parent.removeMovieClip();
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 2930	{
	}
	movieClip 2943	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 56 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 83 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 2944 strikerOfHart {
		instance inside of movieClip 2943	{
			onClipEvent (load) {
				this.idName = 'strikerOfHart';
				this.weaponEquip = 'strikerBow';
				this.curHp = this.maxHp;
				this.normSpeed = 1.5;
				this.speed = 1.5;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 0;
				this.attacking = false;
				this.baseDamage = 45;
				this.standing = _root.factionLevels[2];
				this.aeHit = false;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.symbol = 'allia';
				this.headEquip = 'h19';
				this.chestEquip = 'c16';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.head.gotoAndStop(this.headEquip);
				this.chest.gotoAndStop(this.chestEquip);
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
									if (this.attacking == false) {
										this.gotoAndStop(1);
									}
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
									if (this.attacking == false) {
										this.gotoAndStop(1);
									}
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false && this.attacking == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 19 && this.stunned == false && this.specialAttack) {
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('alliance7', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 22 && this.stunned == false && this.specialAttack == false) {
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('alliance6', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 30) {
							this.attacking = false;
							this.specialAttack = false;
							if (this.specialTimer > 150) {
								this.specialTimer = 0;
							}
							if (this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.attacking == false && this.stunned == false) {
						if (this.specialTimer > 0) {
							this.gotoAndPlay('attack');
						} else {
							this.specialAttack = true;
							this.gotoAndPlay('special');
						}
						this.attackTimer = 0;
						this.attacking = true;
					}
					if (this.attackTimer >= 22 && this.rooted == false && this.stunned == false && !this.hitTest(_root.world.hero)) {
						this.disRight = false;
						this.disLeft = false;
						this.disUp = false;
						this.disDown = false;
						var i = 1;
						while (i <= 10) {
							var object = 'stop' + i;
							if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
								this.disRight = true;
							}
							if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
								this.disLeft = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
								this.disDown = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
								this.disUp = true;
							}
							++i;
						}
						if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
							if (this._parent._x < _root.world.hero._x) {
								this.latDir = 'right';
								if (this.disRight == false) {
									this._parent._x += this.speed;
								}
							} else {
								this.latDir = 'left';
								if (this.disLeft == false) {
									this._parent._x -= this.speed;
								}
							}
						} else {
							this.latDir = 'none';
						}
						if (this.forceLat) {
							this._parent._x += this.speed * this.forceDir;
						}
						if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
							if (this._parent._y < _root.world.hero._y) {
								this.vertDir = 'down';
								if (this.disDown == false) {
									this._parent._y += this.speed;
								}
							} else {
								this.vertDir = 'up';
								if (this.disUp == false) {
									this._parent._y -= this.speed;
								}
							}
						} else {
							this.vertDir = 'none';
						}
						if (this.forceVert) {
							this._parent._y -= this.speed * this.forceDir;
						}
						if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
							this.forceVert = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
							this.forceLat = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if (this.forceLat) {
							if (this.disUp == false && this.disDown == false) {
								this.forceLat = false;
							}
						}
						if (this.forceVert) {
							if (this.disRight == false && this.disLeft == false) {
								this.forceVert = false;
							}
						}
						if (_root.currentTarget == this.id) {
							_root.world.targetMarker._x = this._parent._x;
							_root.world.targetMarker._y = this._parent._y;
						}
						if (_root.savedTarget == this.id) {
							_root.savedX = this._parent._x;
							_root.savedY = this._parent._y;
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[3] -= 4;
						_root.factionLevels[8] += 4;
						_root.factionUp('shadowRunners', 4);
						_root.factionDown('theAlliance', 4);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 3024	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 46 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 73 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 3025 guardOfHart {
		instance inside of movieClip 3024	{
			onClipEvent (load) {
				this.idName = 'guardOfHart';
				this.weaponEquip = 'rockwellsTempest';
				this.shieldEquip = 'dawnsDefender';
				this.curHp = this.maxHp;
				this.speed = 1.4;
				this.normSpeed = 1.4;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 30;
				this.attacking = false;
				this.baseDamage = 52;
				this.standing = _root.factionLevels[2];
				this.aeHit = false;
				this.dimReturns = 0;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.symbol = 'allia';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.shield.gotoAndStop(this.shieldEquip);
				this.head.gotoAndStop('h34');
				this.chest.gotoAndStop('c34');
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 12 && this.hitTest(_root.world.hero) && this.specialAttack) {
							_root.stunHero(this.level);
							this.specialAttack = false;
						}
						if (this.attackTimer == 8 && this.hitTest(_root.world.hero) && this.specialAttack == false) {
							var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
							_root.curHP -= enemyDamage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = enemyDamage;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							if (_root.curHP < 1) {
								_root.heroDie();
							}
						}
						if (this.attackTimer == 30) {
							this.specialAttack = false;
							this.attacking = false;
							if (this.specialTimer >= 180) {
								this.specialTimer = 0;
							}
							if (!this.hitTest(_root.world.hero) && this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.hitTest(_root.world.hero)) {
						if (this.attacking == false && this.stunned == false) {
							if (this.specialTimer == 0) {
								this.gotoAndPlay('special');
								this.specialAttack = true;
							} else {
								this.gotoAndPlay('attack');
							}
							this.attackTimer = 0;
							this.attacking = true;
						}
					} else {
						if (this.rooted == false && this.stunned == false) {
							this.disRight = false;
							this.disLeft = false;
							this.disUp = false;
							this.disDown = false;
							var i = 1;
							while (i <= 10) {
								var object = 'stop' + i;
								if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
									this.disRight = true;
								}
								if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
									this.disLeft = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
									this.disDown = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
									this.disUp = true;
								}
								++i;
							}
							if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
								if (this._parent._x < _root.world.hero._x) {
									this.latDir = 'right';
									if (this.disRight == false) {
										this._parent._x += this.speed;
									}
								} else {
									this.latDir = 'left';
									if (this.disLeft == false) {
										this._parent._x -= this.speed;
									}
								}
							} else {
								this.latDir = 'none';
							}
							if (this.forceLat) {
								this._parent._x += this.speed * this.forceDir;
							}
							if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
								if (this._parent._y < _root.world.hero._y) {
									this.vertDir = 'down';
									if (this.disDown == false) {
										this._parent._y += this.speed;
									}
								} else {
									this.vertDir = 'up';
									if (this.disUp == false) {
										this._parent._y -= this.speed;
									}
								}
							} else {
								this.vertDir = 'none';
							}
							if (this.forceVert) {
								this._parent._y -= this.speed * this.forceDir;
							}
							if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
								this.forceVert = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
								this.forceLat = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if (this.forceLat) {
								if (this.disUp == false && this.disDown == false) {
									this.forceLat = false;
								}
							}
							if (this.forceVert) {
								if (this.disRight == false && this.disLeft == false) {
									this.forceVert = false;
								}
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetMarker._x = this._parent._x;
								_root.world.targetMarker._y = this._parent._y;
							}
							if (_root.savedTarget == this.id) {
								_root.savedX = this._parent._x;
								_root.savedY = this._parent._y;
							}
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[3] -= 4;
						_root.factionLevels[8] += 4;
						_root.factionUp('shadowRunners', 4);
						_root.factionDown('theAlliance', 4);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 3027	{
	}
	movieClip 3028 alliance9 {
		instance of movieClip 3027	{
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					_root.snareHero();
					this._parent.removeMovieClip();
				}
				var i = 1;
				while (i <= 10) {
					var object = 'stop' + i;
					if (this.hitTest(_root.world[object])) {
						this._parent.removeMovieClip();
						break;
					}
					++i;
				}
			}
		}
		frame 50 {
			this.removeMovieClip();
		}
	}
	movieClip 3030	{
	}
	movieClip 3031 alliance8 {
		instance of movieClip 3030	{
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					var enemyDamage = Math.round(53 + random(5.300000000000001) - _root.armor * 0.1);
					_root.curHP -= enemyDamage;
					var sctName = 'sct' + _root.sctDepth;
					_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
					_root.world[sctName].sct2.damage.text = enemyDamage;
					_root.world[sctName]._x = _root.world.hero._x;
					_root.world[sctName]._y = _root.world.hero._y - 20;
					if (_root.curHP < 1) {
						_root.heroDie();
					}
					this._parent.removeMovieClip();
				}
				var i = 1;
				while (i <= 10) {
					var object = 'stop' + i;
					if (this.hitTest(_root.world[object])) {
						this._parent.removeMovieClip();
						break;
					}
					++i;
				}
			}
		}
		frame 50 {
			this.removeMovieClip();
		}
	}
	movieClip 3036 icecallerOfHartDie {
		frame 30 {
			this.removeMovieClip();
		}
	}
	movieClip 3103	{
		frame 1 {
			stop();
		}
		frame 12 {
			stop();
		}
		frame 67 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 121 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 3104 icecallerOfHart {
		instance inside of movieClip 3103	{
			onClipEvent (load) {
				this.idName = 'icecallerOfHart';
				this.weaponEquip = 'channelerWand';
				this.curHp = this.maxHp;
				this.normSpeed = 1.4;
				this.speed = 1.4;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 0;
				this.attacking = false;
				this.baseDamage = 53;
				this.standing = _root.factionLevels[2];
				this.aeHit = false;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.symbol = 'allia';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
									if (this.attacking == false) {
										this.gotoAndStop(1);
									}
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
									if (this.attacking == false) {
										this.gotoAndStop(1);
									}
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false && this.attacking == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 40 && this.stunned == false && this.specialAttack) {
							this.specialAttack = false;
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('alliance9', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 39 && this.stunned == false && this.specialAttack == false) {
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('alliance8', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 50) {
							this.attacking = false;
							if (this.specialTimer > 180) {
								this.specialTimer = 0;
							}
							if (this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.attacking == false && this.stunned == false) {
						if (this.specialTimer > 0) {
							this.gotoAndPlay('attack');
						} else {
							this.specialAttack = true;
							this.gotoAndPlay('special');
						}
						this.attackTimer = 0;
						this.attacking = true;
					}
					if (this.attackTimer >= 40 && this.rooted == false && this.stunned == false && !this.hitTest(_root.world.hero)) {
						this.disRight = false;
						this.disLeft = false;
						this.disUp = false;
						this.disDown = false;
						var i = 1;
						while (i <= 10) {
							var object = 'stop' + i;
							if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
								this.disRight = true;
							}
							if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
								this.disLeft = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
								this.disDown = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
								this.disUp = true;
							}
							++i;
						}
						if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
							if (this._parent._x < _root.world.hero._x) {
								this.latDir = 'right';
								if (this.disRight == false) {
									this._parent._x += this.speed;
								}
							} else {
								this.latDir = 'left';
								if (this.disLeft == false) {
									this._parent._x -= this.speed;
								}
							}
						} else {
							this.latDir = 'none';
						}
						if (this.forceLat) {
							this._parent._x += this.speed * this.forceDir;
						}
						if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
							if (this._parent._y < _root.world.hero._y) {
								this.vertDir = 'down';
								if (this.disDown == false) {
									this._parent._y += this.speed;
								}
							} else {
								this.vertDir = 'up';
								if (this.disUp == false) {
									this._parent._y -= this.speed;
								}
							}
						} else {
							this.vertDir = 'none';
						}
						if (this.forceVert) {
							this._parent._y -= this.speed * this.forceDir;
						}
						if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
							this.forceVert = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
							this.forceLat = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if (this.forceLat) {
							if (this.disUp == false && this.disDown == false) {
								this.forceLat = false;
							}
						}
						if (this.forceVert) {
							if (this.disRight == false && this.disLeft == false) {
								this.forceVert = false;
							}
						}
						if (_root.currentTarget == this.id) {
							_root.world.targetMarker._x = this._parent._x;
							_root.world.targetMarker._y = this._parent._y;
						}
						if (_root.savedTarget == this.id) {
							_root.savedX = this._parent._x;
							_root.savedY = this._parent._y;
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[3] -= 4;
						_root.factionLevels[8] += 4;
						_root.factionUp('shadowRunners', 4);
						_root.factionDown('theAlliance', 4);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('icecallerOfHartDie', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 3109 shadowOfLightDie {
		frame 30 {
			this.removeMovieClip();
		}
	}
	movieClip 3178	{
		frame 1 {
			stop();
		}
		frame 33 {
			this.gotoAndPlay('run');
		}
		frame 54 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 66 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 3179 shadowOfLight {
		instance inside of movieClip 3178	{
			onClipEvent (load) {
				this.idName = 'shadowOfLight';
				this.weaponEquip = 'blueShadow';
				this.curHp = this.maxHp;
				this.speed = 1.7;
				this.normSpeed = 1.7;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 30;
				this.attacking = false;
				this.baseDamage = 57;
				this.standing = _root.factionLevels[2];
				this.aeHit = false;
				this.dimReturns = 0;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.symbol = 'allia';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 7 && this.hitTest(_root.world.hero) && this.specialAttack) {
							_root.snareHero(this.level);
						}
						if (this.attackTimer == 8 && this.hitTest(_root.world.hero) && this.specialAttack == false) {
							var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
							_root.curHP -= enemyDamage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = enemyDamage;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							if (_root.curHP < 1) {
								_root.heroDie();
							}
						}
						if (this.attackTimer == 25) {
							this.specialAttack = false;
							this.attacking = false;
							if (this.specialTimer >= 120) {
								this.specialTimer = 0;
							}
							if (!this.hitTest(_root.world.hero) && this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.hitTest(_root.world.hero)) {
						if (this.attacking == false && this.stunned == false) {
							if (this.specialTimer == 0) {
								this.gotoAndPlay('special');
								this.specialAttack = true;
							} else {
								this.gotoAndPlay('attack');
							}
							this.attackTimer = 0;
							this.attacking = true;
						}
					} else {
						if (this.rooted == false && this.stunned == false) {
							this.disRight = false;
							this.disLeft = false;
							this.disUp = false;
							this.disDown = false;
							var i = 1;
							while (i <= 10) {
								var object = 'stop' + i;
								if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
									this.disRight = true;
								}
								if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
									this.disLeft = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
									this.disDown = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
									this.disUp = true;
								}
								++i;
							}
							if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
								if (this._parent._x < _root.world.hero._x) {
									this.latDir = 'right';
									if (this.disRight == false) {
										this._parent._x += this.speed;
									}
								} else {
									this.latDir = 'left';
									if (this.disLeft == false) {
										this._parent._x -= this.speed;
									}
								}
							} else {
								this.latDir = 'none';
							}
							if (this.forceLat) {
								this._parent._x += this.speed * this.forceDir;
							}
							if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
								if (this._parent._y < _root.world.hero._y) {
									this.vertDir = 'down';
									if (this.disDown == false) {
										this._parent._y += this.speed;
									}
								} else {
									this.vertDir = 'up';
									if (this.disUp == false) {
										this._parent._y -= this.speed;
									}
								}
							} else {
								this.vertDir = 'none';
							}
							if (this.forceVert) {
								this._parent._y -= this.speed * this.forceDir;
							}
							if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
								this.forceVert = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
								this.forceLat = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if (this.forceLat) {
								if (this.disUp == false && this.disDown == false) {
									this.forceLat = false;
								}
							}
							if (this.forceVert) {
								if (this.disRight == false && this.disLeft == false) {
									this.forceVert = false;
								}
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetMarker._x = this._parent._x;
								_root.world.targetMarker._y = this._parent._y;
							}
							if (_root.savedTarget == this.id) {
								_root.savedX = this._parent._x;
								_root.savedY = this._parent._y;
							}
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[3] -= 4;
						_root.factionLevels[8] += 4;
						_root.factionUp('shadowRunners', 4);
						_root.factionDown('theAlliance', 4);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('shadowOfLightDie', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 3180 alliance11 {
		instance of movieClip 2871	{
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					var enemyDamage = Math.round(85 + random(8.5) - _root.armor * 0.1);
					_root.curHP -= enemyDamage;
					var sctName = 'sct' + _root.sctDepth;
					_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
					_root.world[sctName].sct2.damage.text = enemyDamage;
					_root.world[sctName]._x = _root.world.hero._x;
					_root.world[sctName]._y = _root.world.hero._y - 20;
					if (_root.curHP < 1) {
						_root.heroDie();
					}
					this._parent.removeMovieClip();
				}
				var i = 1;
				while (i <= 10) {
					var object = 'stop' + i;
					if (this.hitTest(_root.world[object])) {
						this._parent.removeMovieClip();
						break;
					}
					++i;
				}
			}
		}
		frame 65 {
			this.removeMovieClip();
		}
	}
	movieClip 3181 alliance10 {
		instance of movieClip 2320	{
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					var enemyDamage = Math.round(66 + random(6.600000000000001) - _root.armor * 0.1);
					_root.curHP -= enemyDamage;
					var sctName = 'sct' + _root.sctDepth;
					_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
					_root.world[sctName].sct2.damage.text = enemyDamage;
					_root.world[sctName]._x = _root.world.hero._x;
					_root.world[sctName]._y = _root.world.hero._y - 20;
					if (_root.curHP < 1) {
						_root.heroDie();
					}
					this._parent.removeMovieClip();
				}
				var i = 1;
				while (i <= 10) {
					var object = 'stop' + i;
					if (this.hitTest(_root.world[object])) {
						this._parent.removeMovieClip();
						break;
					}
					++i;
				}
			}
		}
		frame 50 {
			this.removeMovieClip();
		}
		instance of movieClip 2320	{
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					var enemyDamage = Math.round(13 + random(1.3) - _root.armor * 0.1);
					_root.curHP -= enemyDamage;
					var sctName = 'sct' + _root.sctDepth;
					_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
					_root.world[sctName].sct2.damage.text = enemyDamage;
					_root.world[sctName]._x = _root.world.hero._x;
					_root.world[sctName]._y = _root.world.hero._y - 20;
					if (_root.curHP < 1) {
						_root.heroDie();
					}
					this._parent.removeMovieClip();
				}
				var i = 1;
				while (i <= 10) {
					var object = 'stop' + i;
					if (this.hitTest(_root.world[object])) {
						this._parent.removeMovieClip();
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 3249	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 56 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 83 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 3250 devoutGamemaster {
		instance inside of movieClip 3249	{
			onClipEvent (load) {
				this.idName = 'devoutGamemaster';
				this.weaponEquip = 'gameBow';
				this.curHp = this.maxHp;
				this.normSpeed = 1.5;
				this.speed = 1.5;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 0;
				this.attacking = false;
				this.baseDamage = 61;
				this.standing = _root.factionLevels[2];
				this.aeHit = false;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.symbol = 'allia';
				this.headEquip = 'h38';
				this.chestEquip = 'c38';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.head.gotoAndStop(this.headEquip);
				this.chest.gotoAndStop(this.chestEquip);
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
									if (this.attacking == false) {
										this.gotoAndStop(1);
									}
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
									if (this.attacking == false) {
										this.gotoAndStop(1);
									}
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false && this.attacking == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 19 && this.stunned == false && this.specialAttack) {
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('alliance11', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 22 && this.stunned == false && this.specialAttack == false) {
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('alliance10', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 30) {
							this.attacking = false;
							this.specialAttack = false;
							if (this.specialTimer > 150) {
								this.specialTimer = 0;
							}
							if (this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.attacking == false && this.stunned == false) {
						if (this.specialTimer > 0) {
							this.gotoAndPlay('attack');
						} else {
							this.specialAttack = true;
							this.gotoAndPlay('special');
						}
						this.attackTimer = 0;
						this.attacking = true;
					}
					if (this.attackTimer >= 22 && this.rooted == false && this.stunned == false && !this.hitTest(_root.world.hero)) {
						this.disRight = false;
						this.disLeft = false;
						this.disUp = false;
						this.disDown = false;
						var i = 1;
						while (i <= 10) {
							var object = 'stop' + i;
							if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
								this.disRight = true;
							}
							if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
								this.disLeft = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
								this.disDown = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
								this.disUp = true;
							}
							++i;
						}
						if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
							if (this._parent._x < _root.world.hero._x) {
								this.latDir = 'right';
								if (this.disRight == false) {
									this._parent._x += this.speed;
								}
							} else {
								this.latDir = 'left';
								if (this.disLeft == false) {
									this._parent._x -= this.speed;
								}
							}
						} else {
							this.latDir = 'none';
						}
						if (this.forceLat) {
							this._parent._x += this.speed * this.forceDir;
						}
						if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
							if (this._parent._y < _root.world.hero._y) {
								this.vertDir = 'down';
								if (this.disDown == false) {
									this._parent._y += this.speed;
								}
							} else {
								this.vertDir = 'up';
								if (this.disUp == false) {
									this._parent._y -= this.speed;
								}
							}
						} else {
							this.vertDir = 'none';
						}
						if (this.forceVert) {
							this._parent._y -= this.speed * this.forceDir;
						}
						if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
							this.forceVert = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
							this.forceLat = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if (this.forceLat) {
							if (this.disUp == false && this.disDown == false) {
								this.forceLat = false;
							}
						}
						if (this.forceVert) {
							if (this.disRight == false && this.disLeft == false) {
								this.forceVert = false;
							}
						}
						if (_root.currentTarget == this.id) {
							_root.world.targetMarker._x = this._parent._x;
							_root.world.targetMarker._y = this._parent._y;
						}
						if (_root.savedTarget == this.id) {
							_root.savedX = this._parent._x;
							_root.savedY = this._parent._y;
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[3] -= 5;
						_root.factionLevels[8] += 5;
						_root.factionUp('shadowRunners', 5);
						_root.factionDown('theAlliance', 5);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 3331	{
		frame 1 {
			weapon.gotoAndStop(this.weaponEquip);
			shield.gotoAndStop(this.shieldEquip);
			stop();
		}
		frame 33 {
			this.gotoAndPlay('run');
		}
		frame 54 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 81 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 3332 masterPaladin {
		instance inside of movieClip 3331	{
			onClipEvent (load) {
				this.idName = 'masterPaladin';
				this.weaponEquip = 'masterSword';
				this.shieldEquip = 'masterShield';
				this.curHp = this.maxHp;
				this.speed = 1.6;
				this.normSpeed = 1.6;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 30;
				this.attacking = false;
				this.baseDamage = 85;
				this.standing = _root.factionLevels[2];
				this.aeHit = false;
				this.dimReturns = 0;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.symbol = 'allia';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.shield.gotoAndStop(this.shieldEquip);
				this.head.gotoAndStop('h30');
				this.chest.gotoAndStop('c30');
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 12 && this.hitTest(_root.world.hero) && this.specialAttack) {
							_root.stunHero(this.level);
							this.specialAttack = false;
						}
						if (this.attackTimer == 7 && this.hitTest(_root.world.hero) && this.specialAttack == false) {
							var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
							_root.curHP -= enemyDamage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = enemyDamage;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							if (_root.curHP < 1) {
								_root.heroDie();
							}
						}
						if (this.attackTimer == 30) {
							if (this.specialTimer >= 120) {
								this.specialTimer = 0;
							}
							this.specialAttack = false;
							this.attacking = false;
							if (!this.hitTest(_root.world.hero) && this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.hitTest(_root.world.hero)) {
						if (this.attacking == false && this.stunned == false) {
							if (this.specialTimer == 0) {
								this.gotoAndPlay('special');
								this.specialAttack = true;
							} else {
								this.gotoAndPlay('attack');
							}
							this.attackTimer = 0;
							this.attacking = true;
						}
					} else {
						if (this.rooted == false && this.stunned == false) {
							this.disRight = false;
							this.disLeft = false;
							this.disUp = false;
							this.disDown = false;
							var i = 1;
							while (i <= 10) {
								var object = 'stop' + i;
								if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
									this.disRight = true;
								}
								if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
									this.disLeft = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
									this.disDown = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
									this.disUp = true;
								}
								++i;
							}
							if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
								if (this._parent._x < _root.world.hero._x) {
									this.latDir = 'right';
									if (this.disRight == false) {
										this._parent._x += this.speed;
									}
								} else {
									this.latDir = 'left';
									if (this.disLeft == false) {
										this._parent._x -= this.speed;
									}
								}
							} else {
								this.latDir = 'none';
							}
							if (this.forceLat) {
								this._parent._x += this.speed * this.forceDir;
							}
							if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
								if (this._parent._y < _root.world.hero._y) {
									this.vertDir = 'down';
									if (this.disDown == false) {
										this._parent._y += this.speed;
									}
								} else {
									this.vertDir = 'up';
									if (this.disUp == false) {
										this._parent._y -= this.speed;
									}
								}
							} else {
								this.vertDir = 'none';
							}
							if (this.forceVert) {
								this._parent._y -= this.speed * this.forceDir;
							}
							if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
								this.forceVert = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
								this.forceLat = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if (this.forceLat) {
								if (this.disUp == false && this.disDown == false) {
									this.forceLat = false;
								}
							}
							if (this.forceVert) {
								if (this.disRight == false && this.disLeft == false) {
									this.forceVert = false;
								}
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetMarker._x = this._parent._x;
								_root.world.targetMarker._y = this._parent._y;
							}
							if (_root.savedTarget == this.id) {
								_root.savedX = this._parent._x;
								_root.savedY = this._parent._y;
							}
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[3] -= 5;
						_root.factionLevels[8] += 5;
						_root.factionUp('shadowRunners', 5);
						_root.factionDown('theAlliance', 5);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 3413	{
		frame 1 {
			weapon.gotoAndStop(this.weaponEquip);
			shield.gotoAndStop(this.shieldEquip);
			stop();
		}
		frame 33 {
			this.gotoAndPlay('run');
		}
		frame 54 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 81 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 3414 kingLightwarden {
		instance inside of movieClip 3413	{
			onClipEvent (load) {
				this.idName = 'kingLightwarden';
				this.weaponEquip = 'kingzBlade';
				this.shieldEquip = 'kingzShield';
				this.curHp = this.maxHp;
				this.speed = 2.2;
				this.normSpeed = 2.2;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 30;
				this.attacking = false;
				this.baseDamage = 175;
				this.standing = _root.factionLevels[2];
				this.aeHit = false;
				this.dimReturns = 50;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.symbol = 'allia';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.shield.gotoAndStop(this.shieldEquip);
				this.head.gotoAndStop('h41');
				this.chest.gotoAndStop('c49');
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[2]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'allia');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 12 && this.hitTest(_root.world.hero) && this.specialAttack) {
							_root.stunHero(10);
							this.specialAttack = false;
						}
						if (this.attackTimer == 7 && this.hitTest(_root.world.hero) && this.specialAttack == false) {
							var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
							_root.snareHero();
							_root.curHP -= enemyDamage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = enemyDamage;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							if (_root.curHP < 1) {
								_root.heroDie();
							}
						}
						if (this.attackTimer == 30) {
							if (this.specialTimer >= 120) {
								this.specialTimer = 0;
							}
							this.specialAttack = false;
							this.attacking = false;
							if (!this.hitTest(_root.world.hero) && this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.hitTest(_root.world.hero)) {
						if (this.attacking == false && this.stunned == false) {
							if (this.specialTimer == 0) {
								this.gotoAndPlay('special');
								this.specialAttack = true;
							} else {
								this.gotoAndPlay('attack');
							}
							this.attackTimer = 0;
							this.attacking = true;
						}
					} else {
						if (this.rooted == false && this.stunned == false) {
							this.disRight = false;
							this.disLeft = false;
							this.disUp = false;
							this.disDown = false;
							var i = 1;
							while (i <= 10) {
								var object = 'stop' + i;
								if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
									this.disRight = true;
								}
								if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
									this.disLeft = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
									this.disDown = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
									this.disUp = true;
								}
								++i;
							}
							if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
								if (this._parent._x < _root.world.hero._x) {
									this.latDir = 'right';
									if (this.disRight == false) {
										this._parent._x += this.speed;
									}
								} else {
									this.latDir = 'left';
									if (this.disLeft == false) {
										this._parent._x -= this.speed;
									}
								}
							} else {
								this.latDir = 'none';
							}
							if (this.forceLat) {
								this._parent._x += this.speed * this.forceDir;
							}
							if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
								if (this._parent._y < _root.world.hero._y) {
									this.vertDir = 'down';
									if (this.disDown == false) {
										this._parent._y += this.speed;
									}
								} else {
									this.vertDir = 'up';
									if (this.disUp == false) {
										this._parent._y -= this.speed;
									}
								}
							} else {
								this.vertDir = 'none';
							}
							if (this.forceVert) {
								this._parent._y -= this.speed * this.forceDir;
							}
							if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
								this.forceVert = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
								this.forceLat = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if (this.forceLat) {
								if (this.disUp == false && this.disDown == false) {
									this.forceLat = false;
								}
							}
							if (this.forceVert) {
								if (this.disRight == false && this.disLeft == false) {
									this.forceVert = false;
								}
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetMarker._x = this._parent._x;
								_root.world.targetMarker._y = this._parent._y;
							}
							if (_root.savedTarget == this.id) {
								_root.savedX = this._parent._x;
								_root.savedY = this._parent._y;
							}
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						_root.findLoot('finalBossSQ', this.level, this._parent._x, this._parent._y);
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 3473	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 56 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 3474 hireling {
		instance inside of movieClip 3473	{
			onClipEvent (load) {
				this.idName = 'hireling';
				this.weaponEquip = 'rustySword';
				this.curHp = this.maxHp;
				this.speed = 1.5;
				this.normSpeed = 1.5;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 30;
				this.attacking = false;
				this.baseDamage = 21;
				this.standing = _root.factionLevels[17];
				this.aeHit = false;
				this.forceLat = false;
				this.forceVert = false;
				this.symbol = 'merce';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.head.gotoAndStop('h9');
				this.chest.gotoAndStop('c7');
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[17]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'merce');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[17]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'merce');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[17]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'merce');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						if (this.attackTimer == 30) {
							this.attacking = false;
							if (!this.hitTest(_root.world.hero) && this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.hitTest(_root.world.hero)) {
						if (this.attacking == false && this.stunned == false) {
							this.attackTimer = 0;
							this.attacking = true;
							this.gotoAndPlay('attack');
							var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
							_root.curHP -= enemyDamage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = enemyDamage;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							if (_root.curHP < 1) {
								_root.heroDie();
							}
						}
					} else {
						if (this.rooted == false && this.stunned == false) {
							this.disRight = false;
							this.disLeft = false;
							this.disUp = false;
							this.disDown = false;
							var i = 1;
							while (i <= 10) {
								var object = 'stop' + i;
								if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
									this.disRight = true;
								}
								if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
									this.disLeft = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
									this.disDown = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
									this.disUp = true;
								}
								++i;
							}
							if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
								if (this._parent._x < _root.world.hero._x) {
									this.latDir = 'right';
									if (this.disRight == false) {
										this._parent._x += this.speed;
									}
								} else {
									this.latDir = 'left';
									if (this.disLeft == false) {
										this._parent._x -= this.speed;
									}
								}
							} else {
								this.latDir = 'none';
							}
							if (this.forceLat) {
								this._parent._x += this.speed * this.forceDir;
							}
							if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
								if (this._parent._y < _root.world.hero._y) {
									this.vertDir = 'down';
									if (this.disDown == false) {
										this._parent._y += this.speed;
									}
								} else {
									this.vertDir = 'up';
									if (this.disUp == false) {
										this._parent._y -= this.speed;
									}
								}
							} else {
								this.vertDir = 'none';
							}
							if (this.forceVert) {
								this._parent._y -= this.speed * this.forceDir;
							}
							if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
								this.forceVert = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
								this.forceLat = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if (this.forceLat) {
								if (this.disUp == false && this.disDown == false) {
									this.forceLat = false;
								}
							}
							if (this.forceVert) {
								if (this.disRight == false && this.disLeft == false) {
									this.forceVert = false;
								}
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetMarker._x = this._parent._x;
								_root.world.targetMarker._y = this._parent._y;
							}
							if (_root.savedTarget == this.id) {
								_root.savedX = this._parent._x;
								_root.savedY = this._parent._y;
							}
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[13] += 3;
						_root.factionLevels[18] -= 3;
						_root.factionUp('merchantsGuild', 3);
						_root.factionDown('theMercenaries', 3);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[17]);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 3530	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 46 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 3531 brigand {
		instance inside of movieClip 3530	{
			onClipEvent (load) {
				this.idName = 'brigand';
				this.weaponEquip = 'guardSword';
				this.shieldEquip = 'brigandShield';
				this.curHp = this.maxHp;
				this.speed = 1.5;
				this.normSpeed = 1.5;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 30;
				this.attacking = false;
				this.baseDamage = 15;
				this.standing = _root.factionLevels[17];
				this.aeHit = false;
				this.forceLat = false;
				this.forceVert = false;
				this.symbol = 'merce';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.shield.gotoAndStop(this.shieldEquip);
				this.head.gotoAndStop('h16');
				this.chest.gotoAndStop('c7');
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[17]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'merce');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[17]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'merce');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[17]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'merce');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						if (this.attackTimer == 30) {
							this.attacking = false;
							if (!this.hitTest(_root.world.hero) && this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.hitTest(_root.world.hero)) {
						if (this.attacking == false && this.stunned == false) {
							this.attackTimer = 0;
							this.attacking = true;
							this.gotoAndPlay('attack');
							var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
							_root.curHP -= enemyDamage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = enemyDamage;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							if (_root.curHP < 1) {
								_root.heroDie();
							}
						}
					} else {
						if (this.rooted == false && this.stunned == false) {
							this.disRight = false;
							this.disLeft = false;
							this.disUp = false;
							this.disDown = false;
							var i = 1;
							while (i <= 10) {
								var object = 'stop' + i;
								if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
									this.disRight = true;
								}
								if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
									this.disLeft = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
									this.disDown = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
									this.disUp = true;
								}
								++i;
							}
							if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
								if (this._parent._x < _root.world.hero._x) {
									this.latDir = 'right';
									if (this.disRight == false) {
										this._parent._x += this.speed;
									}
								} else {
									this.latDir = 'left';
									if (this.disLeft == false) {
										this._parent._x -= this.speed;
									}
								}
							} else {
								this.latDir = 'none';
							}
							if (this.forceLat) {
								this._parent._x += this.speed * this.forceDir;
							}
							if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
								if (this._parent._y < _root.world.hero._y) {
									this.vertDir = 'down';
									if (this.disDown == false) {
										this._parent._y += this.speed;
									}
								} else {
									this.vertDir = 'up';
									if (this.disUp == false) {
										this._parent._y -= this.speed;
									}
								}
							} else {
								this.vertDir = 'none';
							}
							if (this.forceVert) {
								this._parent._y -= this.speed * this.forceDir;
							}
							if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
								this.forceVert = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
								this.forceLat = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if (this.forceLat) {
								if (this.disUp == false && this.disDown == false) {
									this.forceLat = false;
								}
							}
							if (this.forceVert) {
								if (this.disRight == false && this.disLeft == false) {
									this.forceVert = false;
								}
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetMarker._x = this._parent._x;
								_root.world.targetMarker._y = this._parent._y;
							}
							if (_root.savedTarget == this.id) {
								_root.savedX = this._parent._x;
								_root.savedY = this._parent._y;
							}
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[13] += 3;
						_root.factionLevels[18] -= 3;
						_root.factionUp('merchantsGuild', 3);
						_root.factionDown('theMercenaries', 3);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[17]);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 3536 madcapDie {
		frame 30 {
			this.removeMovieClip();
		}
	}
	movieClip 3556	{
	}
	movieClip 3557	{
	}
	movieClip 3583	{
		frame 1 {
			stop();
		}
		frame 12 {
			stop();
		}
		frame 67 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 3584 madcap {
		instance inside of movieClip 3583	{
			onClipEvent (load) {
				this.idName = 'madcap';
				this.weaponEquip = 'madcapWand';
				this.curHp = this.maxHp;
				this.speed = 1.3;
				this.normSpeed = 1.3;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 0;
				this.attacking = false;
				this.baseDamage = 33;
				this.standing = _root.factionLevels[17];
				this.aeHit = false;
				this.dimReturns = 0;
				this.forceLat = false;
				this.forceVert = false;
				this.symbol = 'merce';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[17]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'merce');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[17]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'merce');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[17]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'merce');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						if (this.attackTimer == 39 && this.stunned == false) {
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('enemyArrow9', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 50) {
							this.attacking = false;
							if (this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.attacking == false && this.stunned == false) {
						this.attackTimer = 0;
						this.attacking = true;
						this.gotoAndPlay('attack');
						var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
					}
					if (this.attackTimer > 40 && this.rooted == false && this.stunned == false && !this.hitTest(_root.world.hero)) {
						this.disRight = false;
						this.disLeft = false;
						this.disUp = false;
						this.disDown = false;
						var i = 1;
						while (i <= 10) {
							var object = 'stop' + i;
							if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
								this.disRight = true;
							}
							if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
								this.disLeft = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
								this.disDown = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
								this.disUp = true;
							}
							++i;
						}
						if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
							if (this._parent._x < _root.world.hero._x) {
								this.latDir = 'right';
								if (this.disRight == false) {
									this._parent._x += this.speed;
								}
							} else {
								this.latDir = 'left';
								if (this.disLeft == false) {
									this._parent._x -= this.speed;
								}
							}
						} else {
							this.latDir = 'none';
						}
						if (this.forceLat) {
							this._parent._x += this.speed * this.forceDir;
						}
						if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
							if (this._parent._y < _root.world.hero._y) {
								this.vertDir = 'down';
								if (this.disDown == false) {
									this._parent._y += this.speed;
								}
							} else {
								this.vertDir = 'up';
								if (this.disUp == false) {
									this._parent._y -= this.speed;
								}
							}
						} else {
							this.vertDir = 'none';
						}
						if (this.forceVert) {
							this._parent._y -= this.speed * this.forceDir;
						}
						if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
							this.forceVert = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
							this.forceLat = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if (this.forceLat) {
							if (this.disUp == false && this.disDown == false) {
								this.forceLat = false;
							}
						}
						if (this.forceVert) {
							if (this.disRight == false && this.disLeft == false) {
								this.forceVert = false;
							}
						}
						if (_root.currentTarget == this.id) {
							_root.world.targetMarker._x = this._parent._x;
							_root.world.targetMarker._y = this._parent._y;
						}
						if (_root.savedTarget == this.id) {
							_root.savedX = this._parent._x;
							_root.savedY = this._parent._y;
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[13] += 3;
						_root.factionLevels[18] -= 3;
						_root.factionUp('merchantsGuild', 3);
						_root.factionDown('theMercenaries', 3);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('madcapDie', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[17]);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 3585 enemyArrow9 {
		instance of movieClip 3557	{
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					var enemyDamage = Math.round(33 + random(3.3) - _root.armor * 0.1);
					_root.curHP -= enemyDamage;
					var sctName = 'sct' + _root.sctDepth;
					_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
					_root.world[sctName].sct2.damage.text = enemyDamage;
					_root.world[sctName]._x = _root.world.hero._x;
					_root.world[sctName]._y = _root.world.hero._y - 20;
					if (_root.curHP < 1) {
						_root.heroDie();
					}
					this._parent.removeMovieClip();
				}
				var i = 1;
				while (i <= 10) {
					var object = 'stop' + i;
					if (this.hitTest(_root.world[object])) {
						this._parent.removeMovieClip();
						break;
					}
					++i;
				}
			}
		}
		frame 51 {
			this.removeMovieClip();
		}
	}
	movieClip 3587	{
	}
	movieClip 3588 enemyArrow10 {
		instance of movieClip 3587	{
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					var enemyDamage = Math.round(45 + random(4.5) - _root.armor * 0.1);
					_root.curHP -= enemyDamage;
					var sctName = 'sct' + _root.sctDepth;
					_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
					_root.world[sctName].sct2.damage.text = enemyDamage;
					_root.world[sctName]._x = _root.world.hero._x;
					_root.world[sctName]._y = _root.world.hero._y - 20;
					if (_root.curHP < 1) {
						_root.heroDie();
					}
					this._parent.removeMovieClip();
				}
				var i = 1;
				while (i <= 10) {
					var object = 'stop' + i;
					if (this.hitTest(_root.world[object])) {
						this._parent.removeMovieClip();
						break;
					}
					++i;
				}
			}
		}
		frame 50 {
			this.removeMovieClip();
		}
	}
	movieClip 3660	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 59 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 86 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 3661 highwayman {
		instance inside of movieClip 3660	{
			onClipEvent (load) {
				this.idName = 'highwayman';
				this.weaponEquip = 'highBow';
				this.curHp = this.maxHp;
				this.normSpeed = 1.5;
				this.speed = 1.5;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 0;
				this.attacking = false;
				this.baseDamage = 45;
				this.standing = _root.factionLevels[17];
				this.aeHit = false;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.symbol = 'merce';
				this.headEquip = 'h13';
				this.chestEquip = 'c13';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.head.gotoAndStop(this.headEquip);
				this.chest.gotoAndStop(this.chestEquip);
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[17]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'merce');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[17]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
									if (this.attacking == false) {
										this.gotoAndStop(1);
									}
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'merce');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[17]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
									if (this.attacking == false) {
										this.gotoAndStop(1);
									}
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'merce');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false && this.attacking == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 19 && this.stunned == false && this.specialAttack) {
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('enemyArrow7', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 22 && this.stunned == false && this.specialAttack == false) {
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('enemyArrow10', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 30) {
							this.attacking = false;
							this.specialAttack = false;
							if (this.specialTimer > 150) {
								this.specialTimer = 0;
							}
							if (this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.attacking == false && this.stunned == false) {
						if (this.specialTimer > 0) {
							this.gotoAndPlay('attack');
						} else {
							this.specialAttack = true;
							this.gotoAndPlay('special');
						}
						this.attackTimer = 0;
						this.attacking = true;
					}
					if (this.attackTimer >= 22 && this.rooted == false && this.stunned == false && !this.hitTest(_root.world.hero)) {
						this.disRight = false;
						this.disLeft = false;
						this.disUp = false;
						this.disDown = false;
						var i = 1;
						while (i <= 10) {
							var object = 'stop' + i;
							if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
								this.disRight = true;
							}
							if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
								this.disLeft = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
								this.disDown = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
								this.disUp = true;
							}
							++i;
						}
						if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
							if (this._parent._x < _root.world.hero._x) {
								this.latDir = 'right';
								if (this.disRight == false) {
									this._parent._x += this.speed;
								}
							} else {
								this.latDir = 'left';
								if (this.disLeft == false) {
									this._parent._x -= this.speed;
								}
							}
						} else {
							this.latDir = 'none';
						}
						if (this.forceLat) {
							this._parent._x += this.speed * this.forceDir;
						}
						if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
							if (this._parent._y < _root.world.hero._y) {
								this.vertDir = 'down';
								if (this.disDown == false) {
									this._parent._y += this.speed;
								}
							} else {
								this.vertDir = 'up';
								if (this.disUp == false) {
									this._parent._y -= this.speed;
								}
							}
						} else {
							this.vertDir = 'none';
						}
						if (this.forceVert) {
							this._parent._y -= this.speed * this.forceDir;
						}
						if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
							this.forceVert = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
							this.forceLat = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if (this.forceLat) {
							if (this.disUp == false && this.disDown == false) {
								this.forceLat = false;
							}
						}
						if (this.forceVert) {
							if (this.disRight == false && this.disLeft == false) {
								this.forceVert = false;
							}
						}
						if (_root.currentTarget == this.id) {
							_root.world.targetMarker._x = this._parent._x;
							_root.world.targetMarker._y = this._parent._y;
						}
						if (_root.savedTarget == this.id) {
							_root.savedX = this._parent._x;
							_root.savedY = this._parent._y;
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[13] += 4;
						_root.factionLevels[18] -= 4;
						_root.factionUp('merchantsGuild', 4);
						_root.factionDown('theMercenaries', 4);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[17]);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 3737	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 46 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 94 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 3738 coinchaser {
		instance inside of movieClip 3737	{
			onClipEvent (load) {
				this.idName = 'coinchaser';
				this.weaponEquip = 'gladiatorsBlade';
				this.shieldEquip = 'coinShield';
				this.curHp = this.maxHp;
				this.speed = 1.5;
				this.normSpeed = 1.5;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 30;
				this.attacking = false;
				this.baseDamage = 54;
				this.standing = _root.factionLevels[17];
				this.aeHit = false;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.symbol = 'merce';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.shield.gotoAndStop(this.shieldEquip);
				this.head.gotoAndStop('h46');
				this.chest.gotoAndStop('c47');
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[17]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'merce');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[17]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'merce');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[17]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'merce');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 45 && this.hitTest(_root.world.hero) && this.specialAttack) {
							var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1) + 20;
							_root.curHP -= enemyDamage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = enemyDamage;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							if (_root.curHP < 1) {
								_root.heroDie();
							}
							this.specialAttack = false;
						}
						if (this.attackTimer == 8 && this.hitTest(_root.world.hero) && this.specialAttack == false) {
							var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
							_root.curHP -= enemyDamage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = enemyDamage;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							if (_root.curHP < 1) {
								_root.heroDie();
							}
						}
						if (this.attackTimer == 46) {
							this.specialAttack = false;
							this.attacking = false;
							if (this.specialTimer >= 180) {
								this.specialTimer = 0;
							}
							if (!this.hitTest(_root.world.hero) && this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.hitTest(_root.world.hero)) {
						if (this.attacking == false && this.stunned == false) {
							if (this.specialTimer == 0) {
								this.gotoAndPlay('special');
								this.specialAttack = true;
							} else {
								this.gotoAndPlay('attack');
							}
							this.attackTimer = 0;
							this.attacking = true;
						}
					} else {
						if (this.rooted == false && this.stunned == false) {
							this.disRight = false;
							this.disLeft = false;
							this.disUp = false;
							this.disDown = false;
							var i = 1;
							while (i <= 10) {
								var object = 'stop' + i;
								if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
									this.disRight = true;
								}
								if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
									this.disLeft = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
									this.disDown = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
									this.disUp = true;
								}
								++i;
							}
							if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
								if (this._parent._x < _root.world.hero._x) {
									this.latDir = 'right';
									if (this.disRight == false) {
										this._parent._x += this.speed;
									}
								} else {
									this.latDir = 'left';
									if (this.disLeft == false) {
										this._parent._x -= this.speed;
									}
								}
							} else {
								this.latDir = 'none';
							}
							if (this.forceLat) {
								this._parent._x += this.speed * this.forceDir;
							}
							if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
								if (this._parent._y < _root.world.hero._y) {
									this.vertDir = 'down';
									if (this.disDown == false) {
										this._parent._y += this.speed;
									}
								} else {
									this.vertDir = 'up';
									if (this.disUp == false) {
										this._parent._y -= this.speed;
									}
								}
							} else {
								this.vertDir = 'none';
							}
							if (this.forceVert) {
								this._parent._y -= this.speed * this.forceDir;
							}
							if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
								this.forceVert = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
								this.forceLat = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if (this.forceLat) {
								if (this.disUp == false && this.disDown == false) {
									this.forceLat = false;
								}
							}
							if (this.forceVert) {
								if (this.disRight == false && this.disLeft == false) {
									this.forceVert = false;
								}
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetMarker._x = this._parent._x;
								_root.world.targetMarker._y = this._parent._y;
							}
							if (_root.savedTarget == this.id) {
								_root.savedX = this._parent._x;
								_root.savedY = this._parent._y;
							}
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[13] += 4;
						_root.factionLevels[18] -= 4;
						_root.factionUp('merchantsGuild', 4);
						_root.factionDown('theMercenaries', 4);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[17]);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 3819	{
		frame 1 {
			weapon.gotoAndStop(this.weaponEquip);
			shield.gotoAndStop(this.shieldEquip);
			stop();
		}
		frame 33 {
			this.gotoAndPlay('run');
		}
		frame 54 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 81 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 3820 sellsword {
		instance inside of movieClip 3819	{
			onClipEvent (load) {
				this.idName = 'sellsword';
				this.weaponEquip = 'terrorBlade';
				this.shieldEquip = 'sellswordShield';
				this.curHp = this.maxHp;
				this.speed = 1.5;
				this.normSpeed = 1.5;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 30;
				this.attacking = false;
				this.baseDamage = 63;
				this.standing = _root.factionLevels[17];
				this.aeHit = false;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.symbol = 'merce';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.shield.gotoAndStop(this.shieldEquip);
				this.head.gotoAndStop('h48');
				this.chest.gotoAndStop('c48');
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[17]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'merce');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[17]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'merce');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[17]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'merce');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 12 && this.hitTest(_root.world.hero) && this.specialAttack) {
							_root.stunHero(this.level);
							this.specialAttack = false;
						}
						if (this.attackTimer == 8 && this.hitTest(_root.world.hero) && this.specialAttack == false) {
							var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
							_root.curHP -= enemyDamage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = enemyDamage;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							if (_root.curHP < 1) {
								_root.heroDie();
							}
						}
						if (this.attackTimer == 46) {
							this.specialAttack = false;
							this.attacking = false;
							if (this.specialTimer >= 180) {
								this.specialTimer = 0;
							}
							if (!this.hitTest(_root.world.hero) && this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.hitTest(_root.world.hero)) {
						if (this.attacking == false && this.stunned == false) {
							if (this.specialTimer == 0) {
								this.gotoAndPlay('special');
								this.specialAttack = true;
							} else {
								this.gotoAndPlay('attack');
							}
							this.attackTimer = 0;
							this.attacking = true;
						}
					} else {
						if (this.rooted == false && this.stunned == false) {
							this.disRight = false;
							this.disLeft = false;
							this.disUp = false;
							this.disDown = false;
							var i = 1;
							while (i <= 10) {
								var object = 'stop' + i;
								if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
									this.disRight = true;
								}
								if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
									this.disLeft = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
									this.disDown = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
									this.disUp = true;
								}
								++i;
							}
							if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
								if (this._parent._x < _root.world.hero._x) {
									this.latDir = 'right';
									if (this.disRight == false) {
										this._parent._x += this.speed;
									}
								} else {
									this.latDir = 'left';
									if (this.disLeft == false) {
										this._parent._x -= this.speed;
									}
								}
							} else {
								this.latDir = 'none';
							}
							if (this.forceLat) {
								this._parent._x += this.speed * this.forceDir;
							}
							if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
								if (this._parent._y < _root.world.hero._y) {
									this.vertDir = 'down';
									if (this.disDown == false) {
										this._parent._y += this.speed;
									}
								} else {
									this.vertDir = 'up';
									if (this.disUp == false) {
										this._parent._y -= this.speed;
									}
								}
							} else {
								this.vertDir = 'none';
							}
							if (this.forceVert) {
								this._parent._y -= this.speed * this.forceDir;
							}
							if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
								this.forceVert = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
								this.forceLat = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if (this.forceLat) {
								if (this.disUp == false && this.disDown == false) {
									this.forceLat = false;
								}
							}
							if (this.forceVert) {
								if (this.disRight == false && this.disLeft == false) {
									this.forceVert = false;
								}
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetMarker._x = this._parent._x;
								_root.world.targetMarker._y = this._parent._y;
							}
							if (_root.savedTarget == this.id) {
								_root.savedX = this._parent._x;
								_root.savedY = this._parent._y;
							}
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[13] += 5;
						_root.factionLevels[18] -= 5;
						_root.factionUp('merchantsGuild', 5);
						_root.factionDown('theMercenaries', 5);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[17]);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 3879	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 56 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 3880 merchantGuard {
		instance inside of movieClip 3879	{
			onClipEvent (load) {
				this.idName = 'merchantGuard';
				this.weaponEquip = 'soldiersBlade';
				this.curHp = this.maxHp;
				this.speed = 1.5;
				this.normSpeed = 1.5;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 30;
				this.attacking = false;
				this.baseDamage = 15;
				this.standing = _root.factionLevels[12];
				this.aeHit = false;
				this.forceLat = false;
				this.forceVert = false;
				this.symbol = 'merch';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.head.gotoAndStop('h42');
				this.chest.gotoAndStop('c3');
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[12]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'merch');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[12]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'merch');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[12]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'merch');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						if (this.attackTimer == 30) {
							this.attacking = false;
							if (!this.hitTest(_root.world.hero) && this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.hitTest(_root.world.hero)) {
						if (this.attacking == false && this.stunned == false) {
							this.attackTimer = 0;
							this.attacking = true;
							this.gotoAndPlay('attack');
							var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
							_root.curHP -= enemyDamage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = enemyDamage;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							if (_root.curHP < 1) {
								_root.heroDie();
							}
						}
					} else {
						if (this.rooted == false && this.stunned == false) {
							this.disRight = false;
							this.disLeft = false;
							this.disUp = false;
							this.disDown = false;
							var i = 1;
							while (i <= 10) {
								var object = 'stop' + i;
								if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
									this.disRight = true;
								}
								if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
									this.disLeft = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
									this.disDown = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
									this.disUp = true;
								}
								++i;
							}
							if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
								if (this._parent._x < _root.world.hero._x) {
									this.latDir = 'right';
									if (this.disRight == false) {
										this._parent._x += this.speed;
									}
								} else {
									this.latDir = 'left';
									if (this.disLeft == false) {
										this._parent._x -= this.speed;
									}
								}
							} else {
								this.latDir = 'none';
							}
							if (this.forceLat) {
								this._parent._x += this.speed * this.forceDir;
							}
							if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
								if (this._parent._y < _root.world.hero._y) {
									this.vertDir = 'down';
									if (this.disDown == false) {
										this._parent._y += this.speed;
									}
								} else {
									this.vertDir = 'up';
									if (this.disUp == false) {
										this._parent._y -= this.speed;
									}
								}
							} else {
								this.vertDir = 'none';
							}
							if (this.forceVert) {
								this._parent._y -= this.speed * this.forceDir;
							}
							if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
								this.forceVert = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
								this.forceLat = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if (this.forceLat) {
								if (this.disUp == false && this.disDown == false) {
									this.forceLat = false;
								}
							}
							if (this.forceVert) {
								if (this.disRight == false && this.disLeft == false) {
									this.forceVert = false;
								}
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetMarker._x = this._parent._x;
								_root.world.targetMarker._y = this._parent._y;
							}
							if (_root.savedTarget == this.id) {
								_root.savedX = this._parent._x;
								_root.savedY = this._parent._y;
							}
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[13] -= 3;
						_root.factionLevels[18] += 3;
						_root.factionDown('merchantsGuild', 3);
						_root.factionUp('theMercenaries', 3);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 3882	{
	}
	movieClip 3883 alliance12 {
		instance of movieClip 3882	{
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					var enemyDamage = Math.round(21 + random(2.1) - _root.armor * 0.1);
					_root.curHP -= enemyDamage;
					var sctName = 'sct' + _root.sctDepth;
					_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
					_root.world[sctName].sct2.damage.text = enemyDamage;
					_root.world[sctName]._x = _root.world.hero._x;
					_root.world[sctName]._y = _root.world.hero._y - 20;
					if (_root.curHP < 1) {
						_root.heroDie();
					}
					this._parent.removeMovieClip();
				}
				var i = 1;
				while (i <= 10) {
					var object = 'stop' + i;
					if (this.hitTest(_root.world[object])) {
						this._parent.removeMovieClip();
						break;
					}
					++i;
				}
			}
		}
		frame 50 {
			this.removeMovieClip();
		}
	}
	movieClip 3951	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 76 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 118 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 3952 wizardProtector {
		instance inside of movieClip 3951	{
			onClipEvent (load) {
				this.idName = 'wizardProtector';
				this.weaponEquip = 'protectorWand';
				this.curHp = this.maxHp;
				this.normSpeed = 1.3;
				this.speed = 1.3;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 0;
				this.attacking = false;
				this.baseDamage = 24;
				this.standing = _root.factionLevels[12];
				this.aeHit = false;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.symbol = 'merch';
				this.headEquip = 'h14';
				this.chestEquip = 'c14';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.head.gotoAndStop(this.headEquip);
				this.chest.gotoAndStop(this.chestEquip);
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[12]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'merch');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[12]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									if (this.attacking == false) {
										this.gotoAndStop(1);
									}
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'merch');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[12]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'merch');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false && this.attacking == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 41 && this.stunned == false && this.specialAttack) {
							this.specialAttack = false;
							var healAmt = random(10) + 30;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('heal_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = healAmt;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp += healAmt;
							if (this.curHp > this.maxHp) {
								this.curHp = this.maxHp;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.attackTimer == 40 && this.stunned == false && this.specialAttack == false) {
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('alliance12', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 50) {
							this.attacking = false;
							if (this.specialTimer > 280) {
								this.specialTimer = 0;
							}
							if (this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.attacking == false && this.stunned == false) {
						if (this.specialTimer > 0 || this.curHp == this.maxHp) {
							this.gotoAndPlay('attack');
						} else {
							this.specialAttack = true;
							this.gotoAndPlay('special');
						}
						this.attackTimer = 0;
						this.attacking = true;
					}
					if (this.attackTimer >= 42 && this.rooted == false && this.stunned == false && !this.hitTest(_root.world.hero)) {
						this.disRight = false;
						this.disLeft = false;
						this.disUp = false;
						this.disDown = false;
						var i = 1;
						while (i <= 10) {
							var object = 'stop' + i;
							if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
								this.disRight = true;
							}
							if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
								this.disLeft = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
								this.disDown = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
								this.disUp = true;
							}
							++i;
						}
						if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
							if (this._parent._x < _root.world.hero._x) {
								this.latDir = 'right';
								if (this.disRight == false) {
									this._parent._x += this.speed;
								}
							} else {
								this.latDir = 'left';
								if (this.disLeft == false) {
									this._parent._x -= this.speed;
								}
							}
						} else {
							this.latDir = 'none';
						}
						if (this.forceLat) {
							this._parent._x += this.speed * this.forceDir;
						}
						if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
							if (this._parent._y < _root.world.hero._y) {
								this.vertDir = 'down';
								if (this.disDown == false) {
									this._parent._y += this.speed;
								}
							} else {
								this.vertDir = 'up';
								if (this.disUp == false) {
									this._parent._y -= this.speed;
								}
							}
						} else {
							this.vertDir = 'none';
						}
						if (this.forceVert) {
							this._parent._y -= this.speed * this.forceDir;
						}
						if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
							this.forceVert = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
							this.forceLat = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if (this.forceLat) {
							if (this.disUp == false && this.disDown == false) {
								this.forceLat = false;
							}
						}
						if (this.forceVert) {
							if (this.disRight == false && this.disLeft == false) {
								this.forceVert = false;
							}
						}
						if (_root.currentTarget == this.id) {
							_root.world.targetMarker._x = this._parent._x;
							_root.world.targetMarker._y = this._parent._y;
						}
						if (_root.savedTarget == this.id) {
							_root.savedX = this._parent._x;
							_root.savedY = this._parent._y;
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[13] -= 3;
						_root.factionLevels[18] += 3;
						_root.factionDown('merchantsGuild', 3);
						_root.factionUp('theMercenaries', 3);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 4009	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 46 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 4010 honorGuard {
		instance inside of movieClip 4009	{
			onClipEvent (load) {
				this.idName = 'honorGuard';
				this.weaponEquip = 'honorGuardSword';
				this.shieldEquip = 'coinShield';
				this.curHp = this.maxHp;
				this.speed = 1.5;
				this.normSpeed = 1.5;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 30;
				this.attacking = false;
				this.baseDamage = 32;
				this.standing = _root.factionLevels[12];
				this.aeHit = false;
				this.forceLat = false;
				this.forceVert = false;
				this.symbol = 'merch';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.shield.gotoAndStop(this.shieldEquip);
				this.head.gotoAndStop('h31');
				this.chest.gotoAndStop('c31');
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[12]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'merch');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[12]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'merch');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[12]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'merch');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						if (this.attackTimer == 30) {
							this.attacking = false;
							if (!this.hitTest(_root.world.hero) && this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.hitTest(_root.world.hero)) {
						if (this.attacking == false && this.stunned == false) {
							this.attackTimer = 0;
							this.attacking = true;
							this.gotoAndPlay('attack');
							var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
							_root.curHP -= enemyDamage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = enemyDamage;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							if (_root.curHP < 1) {
								_root.heroDie();
							}
						}
					} else {
						if (this.rooted == false && this.stunned == false) {
							this.disRight = false;
							this.disLeft = false;
							this.disUp = false;
							this.disDown = false;
							var i = 1;
							while (i <= 10) {
								var object = 'stop' + i;
								if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
									this.disRight = true;
								}
								if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
									this.disLeft = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
									this.disDown = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
									this.disUp = true;
								}
								++i;
							}
							if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
								if (this._parent._x < _root.world.hero._x) {
									this.latDir = 'right';
									if (this.disRight == false) {
										this._parent._x += this.speed;
									}
								} else {
									this.latDir = 'left';
									if (this.disLeft == false) {
										this._parent._x -= this.speed;
									}
								}
							} else {
								this.latDir = 'none';
							}
							if (this.forceLat) {
								this._parent._x += this.speed * this.forceDir;
							}
							if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
								if (this._parent._y < _root.world.hero._y) {
									this.vertDir = 'down';
									if (this.disDown == false) {
										this._parent._y += this.speed;
									}
								} else {
									this.vertDir = 'up';
									if (this.disUp == false) {
										this._parent._y -= this.speed;
									}
								}
							} else {
								this.vertDir = 'none';
							}
							if (this.forceVert) {
								this._parent._y -= this.speed * this.forceDir;
							}
							if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
								this.forceVert = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
								this.forceLat = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if (this.forceLat) {
								if (this.disUp == false && this.disDown == false) {
									this.forceLat = false;
								}
							}
							if (this.forceVert) {
								if (this.disRight == false && this.disLeft == false) {
									this.forceVert = false;
								}
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetMarker._x = this._parent._x;
								_root.world.targetMarker._y = this._parent._y;
							}
							if (_root.savedTarget == this.id) {
								_root.savedX = this._parent._x;
								_root.savedY = this._parent._y;
							}
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[13] -= 3;
						_root.factionLevels[18] += 3;
						_root.factionDown('merchantsGuild', 3);
						_root.factionUp('theMercenaries', 3);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 4017 pledgedTrackerDie {
		frame 72 {
			this.removeMovieClip();
		}
	}
	movieClip 4086	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 51 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 67 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 4087 pledgedTracker {
		instance inside of movieClip 4086	{
			onClipEvent (load) {
				this.idName = 'pledgedTracker';
				this.weaponEquip = 'furyOfTheGlade';
				this.curHp = this.maxHp;
				this.speed = 1.2;
				this.normSpeed = 1.2;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 0;
				this.attacking = false;
				this.baseDamage = 37;
				this.standing = _root.factionLevels[12];
				this.aeHit = false;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.headEquip = 'h32';
				this.chestEquip = 'c32';
				this.symbol = 'merch';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.head.gotoAndStop(this.headEquip);
				this.chest.gotoAndStop(this.chestEquip);
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[12]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'merch');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[12]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									if (this.attacking == false) {
										this.gotoAndStop(1);
									}
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'merch');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[12]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									if (this.attacking == false) {
										this.gotoAndStop(1);
									}
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'merch');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false && this.attacking == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 15 && this.stunned == false && this.specialAttack) {
							this.specialAttack = false;
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('fetter4', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 14 && this.stunned == false && this.specialAttack == false) {
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('enemyArrow11', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 30) {
							if (this.specialTimer >= 210) {
								this.specialTimer = 0;
							}
							this.attacking = false;
							if (this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.attacking == false && this.stunned == false) {
						if (this.specialTimer > 0) {
							this.gotoAndPlay('attack');
						} else {
							this.specialAttack = true;
							this.gotoAndPlay('special');
						}
						this.attackTimer = 0;
						this.attacking = true;
					}
					if (this.attackTimer >= 14 && this.rooted == false && this.stunned == false && !this.hitTest(_root.world.hero)) {
						this.disRight = false;
						this.disLeft = false;
						this.disUp = false;
						this.disDown = false;
						var i = 1;
						while (i <= 10) {
							var object = 'stop' + i;
							if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
								this.disRight = true;
							}
							if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
								this.disLeft = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
								this.disDown = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
								this.disUp = true;
							}
							++i;
						}
						if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
							if (this._parent._x < _root.world.hero._x) {
								this.latDir = 'right';
								if (this.disRight == false) {
									this._parent._x += this.speed;
								}
							} else {
								this.latDir = 'left';
								if (this.disLeft == false) {
									this._parent._x -= this.speed;
								}
							}
						} else {
							this.latDir = 'none';
						}
						if (this.forceLat) {
							this._parent._x += this.speed * this.forceDir;
						}
						if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
							if (this._parent._y < _root.world.hero._y) {
								this.vertDir = 'down';
								if (this.disDown == false) {
									this._parent._y += this.speed;
								}
							} else {
								this.vertDir = 'up';
								if (this.disUp == false) {
									this._parent._y -= this.speed;
								}
							}
						} else {
							this.vertDir = 'none';
						}
						if (this.forceVert) {
							this._parent._y -= this.speed * this.forceDir;
						}
						if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
							this.forceVert = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
							this.forceLat = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if (this.forceLat) {
							if (this.disUp == false && this.disDown == false) {
								this.forceLat = false;
							}
						}
						if (this.forceVert) {
							if (this.disRight == false && this.disLeft == false) {
								this.forceVert = false;
							}
						}
						if (_root.currentTarget == this.id) {
							_root.world.targetMarker._x = this._parent._x;
							_root.world.targetMarker._y = this._parent._y;
						}
						if (_root.savedTarget == this.id) {
							_root.savedX = this._parent._x;
							_root.savedY = this._parent._y;
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[13] -= 4;
						_root.factionLevels[18] += 4;
						_root.factionDown('merchantsGuild', 4);
						_root.factionUp('theMercenaries', 4);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 4088 enemyArrow11 {
		instance of movieClip 1524	{
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					var enemyDamage = Math.round(45 + random(4.5) - _root.armor * 0.1);
					_root.curHP -= enemyDamage;
					var sctName = 'sct' + _root.sctDepth;
					_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
					_root.world[sctName].sct2.damage.text = enemyDamage;
					_root.world[sctName]._x = _root.world.hero._x;
					_root.world[sctName]._y = _root.world.hero._y - 20;
					if (_root.curHP < 1) {
						_root.heroDie();
					}
					this._parent.removeMovieClip();
				}
				var i = 1;
				while (i <= 10) {
					var object = 'stop' + i;
					if (this.hitTest(_root.world[object])) {
						this._parent.removeMovieClip();
						break;
					}
					++i;
				}
			}
		}
		frame 50 {
			this.removeMovieClip();
		}
	}
	movieClip 4159	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 56 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 67 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 4160 waterdancer {
		instance inside of movieClip 4159	{
			onClipEvent (load) {
				this.idName = 'waterdancer';
				this.weaponEquip = 'waterdancerSword';
				this.curHp = this.maxHp;
				this.speed = 1.6;
				this.normSpeed = 1.6;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 30;
				this.attacking = false;
				this.baseDamage = 54;
				this.standing = _root.factionLevels[12];
				this.aeHit = false;
				this.dimReturns = 0;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.symbol = 'merch';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.head.gotoAndStop('h44');
				this.chest.gotoAndStop('c44');
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[12]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'merch');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[12]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'merch');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[12]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'merch');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 8 && this.hitTest(_root.world.hero) && this.specialAttack) {
							_root.snareHero();
							this.specialAttack = false;
						}
						if (this.attackTimer == 7 && this.hitTest(_root.world.hero) && this.specialAttack == false) {
							var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
							_root.curHP -= enemyDamage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = enemyDamage;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							if (_root.curHP < 1) {
								_root.heroDie();
							}
						}
						if (this.attackTimer == 30) {
							this.specialAttack = false;
							this.attacking = false;
							if (this.specialTimer >= 210) {
								this.specialTimer = 0;
							}
							if (!this.hitTest(_root.world.hero) && this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.hitTest(_root.world.hero)) {
						if (this.attacking == false && this.stunned == false) {
							if (this.specialTimer == 0) {
								this.gotoAndPlay('special');
								this.specialAttack = true;
							} else {
								this.gotoAndPlay('attack');
							}
							this.attackTimer = 0;
							this.attacking = true;
						}
					} else {
						if (this.rooted == false && this.stunned == false) {
							this.disRight = false;
							this.disLeft = false;
							this.disUp = false;
							this.disDown = false;
							var i = 1;
							while (i <= 10) {
								var object = 'stop' + i;
								if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
									this.disRight = true;
								}
								if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
									this.disLeft = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
									this.disDown = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
									this.disUp = true;
								}
								++i;
							}
							if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
								if (this._parent._x < _root.world.hero._x) {
									this.latDir = 'right';
									if (this.disRight == false) {
										this._parent._x += this.speed;
									}
								} else {
									this.latDir = 'left';
									if (this.disLeft == false) {
										this._parent._x -= this.speed;
									}
								}
							} else {
								this.latDir = 'none';
							}
							if (this.forceLat) {
								this._parent._x += this.speed * this.forceDir;
							}
							if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
								if (this._parent._y < _root.world.hero._y) {
									this.vertDir = 'down';
									if (this.disDown == false) {
										this._parent._y += this.speed;
									}
								} else {
									this.vertDir = 'up';
									if (this.disUp == false) {
										this._parent._y -= this.speed;
									}
								}
							} else {
								this.vertDir = 'none';
							}
							if (this.forceVert) {
								this._parent._y -= this.speed * this.forceDir;
							}
							if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
								this.forceVert = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
								this.forceLat = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if (this.forceLat) {
								if (this.disUp == false && this.disDown == false) {
									this.forceLat = false;
								}
							}
							if (this.forceVert) {
								if (this.disRight == false && this.disLeft == false) {
									this.forceVert = false;
								}
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetMarker._x = this._parent._x;
								_root.world.targetMarker._y = this._parent._y;
							}
							if (_root.savedTarget == this.id) {
								_root.savedX = this._parent._x;
								_root.savedY = this._parent._y;
							}
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[13] -= 4;
						_root.factionLevels[18] += 4;
						_root.factionDown('merchantsGuild', 4);
						_root.factionUp('theMercenaries', 4);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 4242	{
		frame 1 {
			weapon.gotoAndStop(this.weaponEquip);
			shield.gotoAndStop(this.shieldEquip);
			stop();
		}
		frame 33 {
			this.gotoAndPlay('run');
		}
		frame 54 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 81 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 4243 redCloakGuard {
		instance inside of movieClip 4242	{
			onClipEvent (load) {
				this.idName = 'redCloakGuard';
				this.weaponEquip = 'redCloakSword';
				this.shieldEquip = 'redCloakShield';
				this.curHp = this.maxHp;
				this.speed = 1.6;
				this.normSpeed = 1.6;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 30;
				this.attacking = false;
				this.baseDamage = 65;
				this.standing = _root.factionLevels[12];
				this.aeHit = false;
				this.dimReturns = 0;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.symbol = 'merch';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.shield.gotoAndStop(this.shieldEquip);
				this.head.gotoAndStop('h39');
				this.chest.gotoAndStop('c39');
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[12]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'merch');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[12]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'merch');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[12]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'merch');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 12 && this.hitTest(_root.world.hero) && this.specialAttack) {
							_root.stunHero(this.level);
							this.specialAttack = false;
						}
						if (this.attackTimer == 7 && this.hitTest(_root.world.hero) && this.specialAttack == false) {
							var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
							_root.curHP -= enemyDamage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = enemyDamage;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							if (_root.curHP < 1) {
								_root.heroDie();
							}
						}
						if (this.attackTimer == 30) {
							if (this.specialTimer >= 120) {
								this.specialTimer = 0;
							}
							this.specialAttack = false;
							this.attacking = false;
							if (!this.hitTest(_root.world.hero) && this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.hitTest(_root.world.hero)) {
						if (this.attacking == false && this.stunned == false) {
							if (this.specialTimer == 0) {
								this.gotoAndPlay('special');
								this.specialAttack = true;
							} else {
								this.gotoAndPlay('attack');
							}
							this.attackTimer = 0;
							this.attacking = true;
						}
					} else {
						if (this.rooted == false && this.stunned == false) {
							this.disRight = false;
							this.disLeft = false;
							this.disUp = false;
							this.disDown = false;
							var i = 1;
							while (i <= 10) {
								var object = 'stop' + i;
								if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
									this.disRight = true;
								}
								if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
									this.disLeft = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
									this.disDown = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
									this.disUp = true;
								}
								++i;
							}
							if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
								if (this._parent._x < _root.world.hero._x) {
									this.latDir = 'right';
									if (this.disRight == false) {
										this._parent._x += this.speed;
									}
								} else {
									this.latDir = 'left';
									if (this.disLeft == false) {
										this._parent._x -= this.speed;
									}
								}
							} else {
								this.latDir = 'none';
							}
							if (this.forceLat) {
								this._parent._x += this.speed * this.forceDir;
							}
							if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
								if (this._parent._y < _root.world.hero._y) {
									this.vertDir = 'down';
									if (this.disDown == false) {
										this._parent._y += this.speed;
									}
								} else {
									this.vertDir = 'up';
									if (this.disUp == false) {
										this._parent._y -= this.speed;
									}
								}
							} else {
								this.vertDir = 'none';
							}
							if (this.forceVert) {
								this._parent._y -= this.speed * this.forceDir;
							}
							if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
								this.forceVert = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
								this.forceLat = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if (this.forceLat) {
								if (this.disUp == false && this.disDown == false) {
									this.forceLat = false;
								}
							}
							if (this.forceVert) {
								if (this.disRight == false && this.disLeft == false) {
									this.forceVert = false;
								}
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetMarker._x = this._parent._x;
								_root.world.targetMarker._y = this._parent._y;
							}
							if (_root.savedTarget == this.id) {
								_root.savedX = this._parent._x;
								_root.savedY = this._parent._y;
							}
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[13] -= 5;
						_root.factionLevels[18] += 5;
						_root.factionDown('merchantsGuild', 5);
						_root.factionUp('theMercenaries', 5);
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 4299	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 51 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 4300 trainee {
		instance inside of movieClip 4299	{
			onClipEvent (load) {
				this.idName = 'trainee';
				this.weaponEquip = 'woodenBow';
				this.curHp = this.maxHp;
				this.normSpeed = 1.2;
				this.speed = 1.2;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 0;
				this.attacking = false;
				this.baseDamage = 13;
				this.standing = _root.factionLevels[22];
				this.aeHit = false;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.headEquip = 'h1';
				this.chestEquip = 'c1';
				this.symbol = 'track';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.head.gotoAndStop(this.headEquip);
				this.chest.gotoAndStop(this.chestEquip);
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[22]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'track');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[22]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
									if (this.attacking == false) {
										this.gotoAndStop(1);
									}
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'track');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[22]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
									if (this.attacking == false) {
										this.gotoAndStop(1);
									}
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'track');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false && this.attacking == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						if (this.attackTimer == 14 && this.stunned == false) {
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('alliance1', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 30) {
							this.attacking = false;
							if (this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.attacking == false && this.stunned == false) {
						this.gotoAndPlay('attack');
						this.attackTimer = 0;
						this.attacking = true;
					}
					if (this.attackTimer >= 14 && this.rooted == false && this.stunned == false && !this.hitTest(_root.world.hero)) {
						this.disRight = false;
						this.disLeft = false;
						this.disUp = false;
						this.disDown = false;
						var i = 1;
						while (i <= 10) {
							var object = 'stop' + i;
							if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
								this.disRight = true;
							}
							if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
								this.disLeft = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
								this.disDown = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
								this.disUp = true;
							}
							++i;
						}
						if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
							if (this._parent._x < _root.world.hero._x) {
								this.latDir = 'right';
								if (this.disRight == false) {
									this._parent._x += this.speed;
								}
							} else {
								this.latDir = 'left';
								if (this.disLeft == false) {
									this._parent._x -= this.speed;
								}
							}
						} else {
							this.latDir = 'none';
						}
						if (this.forceLat) {
							this._parent._x += this.speed * this.forceDir;
						}
						if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
							if (this._parent._y < _root.world.hero._y) {
								this.vertDir = 'down';
								if (this.disDown == false) {
									this._parent._y += this.speed;
								}
							} else {
								this.vertDir = 'up';
								if (this.disUp == false) {
									this._parent._y -= this.speed;
								}
							}
						} else {
							this.vertDir = 'none';
						}
						if (this.forceVert) {
							this._parent._y -= this.speed * this.forceDir;
						}
						if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
							this.forceVert = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
							this.forceLat = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if (this.forceLat) {
							if (this.disUp == false && this.disDown == false) {
								this.forceLat = false;
							}
						}
						if (this.forceVert) {
							if (this.disRight == false && this.disLeft == false) {
								this.forceVert = false;
							}
						}
						if (_root.currentTarget == this.id) {
							_root.world.targetMarker._x = this._parent._x;
							_root.world.targetMarker._y = this._parent._y;
						}
						if (_root.savedTarget == this.id) {
							_root.savedX = this._parent._x;
							_root.savedY = this._parent._y;
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[23] -= 3;
						_root.factionDown('theTrackers', 3);
						if (_root.classFaction != 'theTrackers') {
							_root.factionLevels[_root.classFactionNum] += 3;
							_root.factionUp(_root.classFaction, 3);
						}
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
				_root.showTutorial(2);
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 4369	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 51 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 67 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 4370 archer {
		instance inside of movieClip 4369	{
			onClipEvent (load) {
				this.idName = 'archer';
				this.weaponEquip = 'pathfindersBow';
				this.curHp = this.maxHp;
				this.normSpeed = 1.2;
				this.speed = 1.2;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 0;
				this.attacking = false;
				this.baseDamage = 13;
				this.standing = _root.factionLevels[22];
				this.aeHit = false;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.headEquip = 'h50';
				this.chestEquip = 'c36';
				this.symbol = 'track';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.head.gotoAndStop(this.headEquip);
				this.chest.gotoAndStop(this.chestEquip);
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[22]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'track');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[22]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
									if (this.attacking == false) {
										this.gotoAndStop(1);
									}
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'track');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[22]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
									if (this.attacking == false) {
										this.gotoAndStop(1);
									}
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'track');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false && this.attacking == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 15 && this.stunned == false && this.specialAttack) {
							this.specialAttack = false;
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('fetter2', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 14 && this.stunned == false && this.specialAttack == false) {
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('enemyArrow3', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 30) {
							this.attacking = false;
							if (this.specialTimer >= 300) {
								this.specialTimer = 0;
							}
							if (this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.attacking == false && this.stunned == false) {
						if (this.specialTimer > 0) {
							this.gotoAndPlay('attack');
						} else {
							this.specialAttack = true;
							this.gotoAndPlay('special');
						}
						this.attackTimer = 0;
						this.attacking = true;
					}
					if (this.attackTimer >= 14 && this.rooted == false && this.stunned == false && !this.hitTest(_root.world.hero)) {
						this.disRight = false;
						this.disLeft = false;
						this.disUp = false;
						this.disDown = false;
						var i = 1;
						while (i <= 10) {
							var object = 'stop' + i;
							if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
								this.disRight = true;
							}
							if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
								this.disLeft = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
								this.disDown = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
								this.disUp = true;
							}
							++i;
						}
						if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
							if (this._parent._x < _root.world.hero._x) {
								this.latDir = 'right';
								if (this.disRight == false) {
									this._parent._x += this.speed;
								}
							} else {
								this.latDir = 'left';
								if (this.disLeft == false) {
									this._parent._x -= this.speed;
								}
							}
						} else {
							this.latDir = 'none';
						}
						if (this.forceLat) {
							this._parent._x += this.speed * this.forceDir;
						}
						if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
							if (this._parent._y < _root.world.hero._y) {
								this.vertDir = 'down';
								if (this.disDown == false) {
									this._parent._y += this.speed;
								}
							} else {
								this.vertDir = 'up';
								if (this.disUp == false) {
									this._parent._y -= this.speed;
								}
							}
						} else {
							this.vertDir = 'none';
						}
						if (this.forceVert) {
							this._parent._y -= this.speed * this.forceDir;
						}
						if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
							this.forceVert = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
							this.forceLat = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if (this.forceLat) {
							if (this.disUp == false && this.disDown == false) {
								this.forceLat = false;
							}
						}
						if (this.forceVert) {
							if (this.disRight == false && this.disLeft == false) {
								this.forceVert = false;
							}
						}
						if (_root.currentTarget == this.id) {
							_root.world.targetMarker._x = this._parent._x;
							_root.world.targetMarker._y = this._parent._y;
						}
						if (_root.savedTarget == this.id) {
							_root.savedX = this._parent._x;
							_root.savedY = this._parent._y;
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[23] -= 3;
						_root.factionDown('theTrackers', 3);
						if (_root.classFaction != 'theTrackers') {
							_root.factionLevels[_root.classFactionNum] += 3;
							_root.factionUp(_root.classFaction, 3);
						}
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 4437	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 51 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 68 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 4438 pathfinder {
		instance inside of movieClip 4437	{
			onClipEvent (load) {
				this.idName = 'pathfinder';
				this.weaponEquip = 'pBow';
				this.curHp = this.maxHp;
				this.normSpeed = 1.2;
				this.speed = 1.2;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 0;
				this.attacking = false;
				this.baseDamage = 13;
				this.standing = _root.factionLevels[22];
				this.aeHit = false;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.headEquip = 'h50';
				this.chestEquip = 'c17';
				this.symbol = 'track';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.head.gotoAndStop(this.headEquip);
				this.chest.gotoAndStop(this.chestEquip);
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[22]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'track');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[22]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
									if (this.attacking == false) {
										this.gotoAndStop(1);
									}
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'track');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[22]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
									if (this.attacking == false) {
										this.gotoAndStop(1);
									}
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'track');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false && this.attacking == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 15 && this.stunned == false && this.specialAttack) {
							this.specialAttack = false;
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('special1', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 14 && this.stunned == false && this.specialAttack == false) {
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('alliance4', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 30) {
							this.attacking = false;
							if (this.specialTimer >= 300) {
								this.specialTimer = 0;
							}
							if (this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.attacking == false && this.stunned == false) {
						if (this.specialTimer > 0) {
							this.gotoAndPlay('attack');
						} else {
							this.specialAttack = true;
							this.gotoAndPlay('special');
						}
						this.attackTimer = 0;
						this.attacking = true;
					}
					if (this.attackTimer >= 14 && this.rooted == false && this.stunned == false && !this.hitTest(_root.world.hero)) {
						this.disRight = false;
						this.disLeft = false;
						this.disUp = false;
						this.disDown = false;
						var i = 1;
						while (i <= 10) {
							var object = 'stop' + i;
							if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
								this.disRight = true;
							}
							if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
								this.disLeft = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
								this.disDown = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
								this.disUp = true;
							}
							++i;
						}
						if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
							if (this._parent._x < _root.world.hero._x) {
								this.latDir = 'right';
								if (this.disRight == false) {
									this._parent._x += this.speed;
								}
							} else {
								this.latDir = 'left';
								if (this.disLeft == false) {
									this._parent._x -= this.speed;
								}
							}
						} else {
							this.latDir = 'none';
						}
						if (this.forceLat) {
							this._parent._x += this.speed * this.forceDir;
						}
						if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
							if (this._parent._y < _root.world.hero._y) {
								this.vertDir = 'down';
								if (this.disDown == false) {
									this._parent._y += this.speed;
								}
							} else {
								this.vertDir = 'up';
								if (this.disUp == false) {
									this._parent._y -= this.speed;
								}
							}
						} else {
							this.vertDir = 'none';
						}
						if (this.forceVert) {
							this._parent._y -= this.speed * this.forceDir;
						}
						if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
							this.forceVert = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
							this.forceLat = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if (this.forceLat) {
							if (this.disUp == false && this.disDown == false) {
								this.forceLat = false;
							}
						}
						if (this.forceVert) {
							if (this.disRight == false && this.disLeft == false) {
								this.forceVert = false;
							}
						}
						if (_root.currentTarget == this.id) {
							_root.world.targetMarker._x = this._parent._x;
							_root.world.targetMarker._y = this._parent._y;
						}
						if (_root.savedTarget == this.id) {
							_root.savedX = this._parent._x;
							_root.savedY = this._parent._y;
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[23] -= 3;
						_root.factionDown('theTrackers', 3);
						if (_root.classFaction != 'theTrackers') {
							_root.factionLevels[_root.classFactionNum] += 3;
							_root.factionUp(_root.classFaction, 3);
						}
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 4496	{
	}
	movieClip 4509	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 56 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 83 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 4510 bowmaster {
		instance inside of movieClip 4509	{
			onClipEvent (load) {
				this.idName = 'bowmaster';
				this.weaponEquip = 'furyOfTheGlade';
				this.curHp = this.maxHp;
				this.normSpeed = 1.2;
				this.speed = 1.2;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 0;
				this.attacking = false;
				this.baseDamage = 13;
				this.standing = _root.factionLevels[22];
				this.aeHit = false;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.symbol = 'track';
				this.specialAttack = false;
				this.headEquip = 'h52';
				this.chestEquip = 'c52';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.head.gotoAndStop(this.headEquip);
				this.chest.gotoAndStop(this.chestEquip);
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[22]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'track');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[22]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
									if (this.attacking == false) {
										this.gotoAndStop(1);
									}
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'track');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[22]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
									if (this.attacking == false) {
										this.gotoAndStop(1);
									}
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'track');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false && this.attacking == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 19 && this.stunned == false && this.specialAttack) {
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('trackers1', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 22 && this.stunned == false && this.specialAttack == false) {
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('alliance6', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 30) {
							this.attacking = false;
							this.specialAttack = false;
							if (this.specialTimer > 150) {
								this.specialTimer = 0;
							}
							if (this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.attacking == false && this.stunned == false) {
						if (this.specialTimer > 0) {
							this.gotoAndPlay('attack');
						} else {
							this.specialAttack = true;
							this.gotoAndPlay('special');
						}
						this.attackTimer = 0;
						this.attacking = true;
					}
					if (this.attackTimer >= 22 && this.rooted == false && this.stunned == false && !this.hitTest(_root.world.hero)) {
						this.disRight = false;
						this.disLeft = false;
						this.disUp = false;
						this.disDown = false;
						var i = 1;
						while (i <= 10) {
							var object = 'stop' + i;
							if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
								this.disRight = true;
							}
							if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
								this.disLeft = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
								this.disDown = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
								this.disUp = true;
							}
							++i;
						}
						if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
							if (this._parent._x < _root.world.hero._x) {
								this.latDir = 'right';
								if (this.disRight == false) {
									this._parent._x += this.speed;
								}
							} else {
								this.latDir = 'left';
								if (this.disLeft == false) {
									this._parent._x -= this.speed;
								}
							}
						} else {
							this.latDir = 'none';
						}
						if (this.forceLat) {
							this._parent._x += this.speed * this.forceDir;
						}
						if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
							if (this._parent._y < _root.world.hero._y) {
								this.vertDir = 'down';
								if (this.disDown == false) {
									this._parent._y += this.speed;
								}
							} else {
								this.vertDir = 'up';
								if (this.disUp == false) {
									this._parent._y -= this.speed;
								}
							}
						} else {
							this.vertDir = 'none';
						}
						if (this.forceVert) {
							this._parent._y -= this.speed * this.forceDir;
						}
						if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
							this.forceVert = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
							this.forceLat = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if (this.forceLat) {
							if (this.disUp == false && this.disDown == false) {
								this.forceLat = false;
							}
						}
						if (this.forceVert) {
							if (this.disRight == false && this.disLeft == false) {
								this.forceVert = false;
							}
						}
						if (_root.currentTarget == this.id) {
							_root.world.targetMarker._x = this._parent._x;
							_root.world.targetMarker._y = this._parent._y;
						}
						if (_root.savedTarget == this.id) {
							_root.savedX = this._parent._x;
							_root.savedY = this._parent._y;
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[23] -= 4;
						_root.factionDown('theTrackers', 4);
						if (_root.classFaction != 'theTrackers') {
							_root.factionLevels[_root.classFactionNum] += 4;
							_root.factionUp(_root.classFaction, 4);
						}
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 4511 trackers1 {
		instance of movieClip 2871	{
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					var enemyDamage = Math.round(65 + random(6.5) - _root.armor * 0.1);
					_root.curHP -= enemyDamage;
					var sctName = 'sct' + _root.sctDepth;
					_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
					_root.world[sctName].sct2.damage.text = enemyDamage;
					_root.world[sctName]._x = _root.world.hero._x;
					_root.world[sctName]._y = _root.world.hero._y - 20;
					if (_root.curHP < 1) {
						_root.heroDie();
					}
					this._parent.removeMovieClip();
				}
				var i = 1;
				while (i <= 10) {
					var object = 'stop' + i;
					if (this.hitTest(_root.world[object])) {
						this._parent.removeMovieClip();
						break;
					}
					++i;
				}
			}
		}
		frame 65 {
			this.removeMovieClip();
		}
	}
	movieClip 4518 warderDie {
		frame 65 {
			this.removeMovieClip();
		}
	}
	movieClip 4520	{
	}
	movieClip 4521 trackers2 {
		instance of movieClip 4520	{
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					_root.stunHero(20);
					this._parent.removeMovieClip();
				}
				var i = 1;
				while (i <= 10) {
					var object = 'stop' + i;
					if (this.hitTest(_root.world[object])) {
						this._parent.removeMovieClip();
						break;
					}
					++i;
				}
			}
		}
		frame 45 {
			this.removeMovieClip();
		}
	}
	movieClip 4589	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 56 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 83 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 4590 warder {
		instance inside of movieClip 4589	{
			onClipEvent (load) {
				this.idName = 'warder';
				this.weaponEquip = 'warderBow';
				this.curHp = this.maxHp;
				this.normSpeed = 1.2;
				this.speed = 1.2;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 0;
				this.attacking = false;
				this.baseDamage = 13;
				this.standing = _root.factionLevels[22];
				this.aeHit = false;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.headEquip = 'h51';
				this.chestEquip = 'c51';
				this.symbol = 'track';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.head.gotoAndStop(this.headEquip);
				this.chest.gotoAndStop(this.chestEquip);
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[22]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'track');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[22]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
									if (this.attacking == false) {
										this.gotoAndStop(1);
									}
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'track');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[22]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
									if (this.attacking == false) {
										this.gotoAndStop(1);
									}
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'track');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false && this.attacking == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 15 && this.stunned == false && this.specialAttack) {
							this.specialAttack = false;
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('trackers2', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 14 && this.stunned == false && this.specialAttack == false) {
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('enemyArrow7', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 30) {
							this.attacking = false;
							if (this.specialTimer >= 300) {
								this.specialTimer = 0;
							}
							if (this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.attacking == false && this.stunned == false) {
						if (this.specialTimer > 0) {
							this.gotoAndPlay('attack');
						} else {
							this.specialAttack = true;
							this.gotoAndPlay('special');
						}
						this.attackTimer = 0;
						this.attacking = true;
					}
					if (this.attackTimer >= 14 && this.rooted == false && this.stunned == false && !this.hitTest(_root.world.hero)) {
						this.disRight = false;
						this.disLeft = false;
						this.disUp = false;
						this.disDown = false;
						var i = 1;
						while (i <= 10) {
							var object = 'stop' + i;
							if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
								this.disRight = true;
							}
							if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
								this.disLeft = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
								this.disDown = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
								this.disUp = true;
							}
							++i;
						}
						if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
							if (this._parent._x < _root.world.hero._x) {
								this.latDir = 'right';
								if (this.disRight == false) {
									this._parent._x += this.speed;
								}
							} else {
								this.latDir = 'left';
								if (this.disLeft == false) {
									this._parent._x -= this.speed;
								}
							}
						} else {
							this.latDir = 'none';
						}
						if (this.forceLat) {
							this._parent._x += this.speed * this.forceDir;
						}
						if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
							if (this._parent._y < _root.world.hero._y) {
								this.vertDir = 'down';
								if (this.disDown == false) {
									this._parent._y += this.speed;
								}
							} else {
								this.vertDir = 'up';
								if (this.disUp == false) {
									this._parent._y -= this.speed;
								}
							}
						} else {
							this.vertDir = 'none';
						}
						if (this.forceVert) {
							this._parent._y -= this.speed * this.forceDir;
						}
						if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
							this.forceVert = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
							this.forceLat = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if (this.forceLat) {
							if (this.disUp == false && this.disDown == false) {
								this.forceLat = false;
							}
						}
						if (this.forceVert) {
							if (this.disRight == false && this.disLeft == false) {
								this.forceVert = false;
							}
						}
						if (_root.currentTarget == this.id) {
							_root.world.targetMarker._x = this._parent._x;
							_root.world.targetMarker._y = this._parent._y;
						}
						if (_root.savedTarget == this.id) {
							_root.savedX = this._parent._x;
							_root.savedY = this._parent._y;
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[23] -= 4;
						_root.factionDown('theTrackers', 4);
						if (_root.classFaction != 'theTrackers') {
							_root.factionLevels[_root.classFactionNum] += 4;
							_root.factionUp(_root.classFaction, 4);
						}
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 4659	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 56 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 83 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 4660 forestStalker {
		instance inside of movieClip 4659	{
			onClipEvent (load) {
				this.idName = 'forestStalker';
				this.weaponEquip = 'shadowWardBow';
				this.curHp = this.maxHp;
				this.normSpeed = 1.2;
				this.speed = 1.2;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 0;
				this.attacking = false;
				this.baseDamage = 13;
				this.standing = _root.factionLevels[22];
				this.aeHit = false;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.headEquip = 'h50';
				this.chestEquip = 'c50';
				this.symbol = 'track';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.head.gotoAndStop(this.headEquip);
				this.chest.gotoAndStop(this.chestEquip);
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[22]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'track');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[22]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
									if (this.attacking == false) {
										this.gotoAndStop(1);
									}
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'track');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[22]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
									if (this.attacking == false) {
										this.gotoAndStop(1);
									}
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'track');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false && this.attacking == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 15 && this.stunned == false && this.specialAttack) {
							this.specialAttack = false;
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('trackers2', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 14 && this.stunned == false && this.specialAttack == false) {
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('enemyArrow7', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('enemyArrow7', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 75;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('enemyArrow7', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 105;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 30) {
							this.attacking = false;
							if (this.specialTimer >= 300) {
								this.specialTimer = 0;
							}
							if (this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.attacking == false && this.stunned == false) {
						if (this.specialTimer > 0) {
							this.gotoAndPlay('attack');
						} else {
							this.specialAttack = true;
							this.gotoAndPlay('special');
						}
						this.attackTimer = 0;
						this.attacking = true;
					}
					if (this.attackTimer >= 14 && this.rooted == false && this.stunned == false && !this.hitTest(_root.world.hero)) {
						this.disRight = false;
						this.disLeft = false;
						this.disUp = false;
						this.disDown = false;
						var i = 1;
						while (i <= 10) {
							var object = 'stop' + i;
							if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
								this.disRight = true;
							}
							if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
								this.disLeft = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
								this.disDown = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
								this.disUp = true;
							}
							++i;
						}
						if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
							if (this._parent._x < _root.world.hero._x) {
								this.latDir = 'right';
								if (this.disRight == false) {
									this._parent._x += this.speed;
								}
							} else {
								this.latDir = 'left';
								if (this.disLeft == false) {
									this._parent._x -= this.speed;
								}
							}
						} else {
							this.latDir = 'none';
						}
						if (this.forceLat) {
							this._parent._x += this.speed * this.forceDir;
						}
						if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
							if (this._parent._y < _root.world.hero._y) {
								this.vertDir = 'down';
								if (this.disDown == false) {
									this._parent._y += this.speed;
								}
							} else {
								this.vertDir = 'up';
								if (this.disUp == false) {
									this._parent._y -= this.speed;
								}
							}
						} else {
							this.vertDir = 'none';
						}
						if (this.forceVert) {
							this._parent._y -= this.speed * this.forceDir;
						}
						if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
							this.forceVert = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
							this.forceLat = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if (this.forceLat) {
							if (this.disUp == false && this.disDown == false) {
								this.forceLat = false;
							}
						}
						if (this.forceVert) {
							if (this.disRight == false && this.disLeft == false) {
								this.forceVert = false;
							}
						}
						if (_root.currentTarget == this.id) {
							_root.world.targetMarker._x = this._parent._x;
							_root.world.targetMarker._y = this._parent._y;
						}
						if (_root.savedTarget == this.id) {
							_root.savedX = this._parent._x;
							_root.savedY = this._parent._y;
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[23] -= 5;
						_root.factionDown('theTrackers', 5);
						if (_root.classFaction != 'theTrackers') {
							_root.factionLevels[_root.classFactionNum] += 5;
							_root.factionUp(_root.classFaction, 5);
						}
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 4712	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 76 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 4713 apprentice {
		instance inside of movieClip 4712	{
			onClipEvent (load) {
				this.idName = 'apprentice';
				this.weaponEquip = 'silverWand';
				this.curHp = this.maxHp;
				this.speed = 1.3;
				this.normSpeed = 1.3;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 0;
				this.attacking = false;
				this.baseDamage = 16;
				this.standing = _root.factionLevels[27];
				this.aeHit = false;
				this.dimReturns = 0;
				this.forceLat = false;
				this.forceVert = false;
				this.symbol = 'magic';
				this.headEquip = 'h55';
				this.chestEquip = 'c54';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.head.gotoAndStop(this.headEquip);
				this.chest.gotoAndStop(this.chestEquip);
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[27]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'magic');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[27]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'magic');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[27]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'magic');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						if (this.attackTimer == 40 && this.stunned == false) {
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('magicians1', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 50) {
							this.attacking = false;
							if (this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.attacking == false && this.stunned == false) {
						this.attackTimer = 0;
						this.attacking = true;
						this.gotoAndPlay('attack');
						var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
					}
					if (this.attackTimer > 40 && this.rooted == false && this.stunned == false && !this.hitTest(_root.world.hero)) {
						this.disRight = false;
						this.disLeft = false;
						this.disUp = false;
						this.disDown = false;
						var i = 1;
						while (i <= 10) {
							var object = 'stop' + i;
							if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
								this.disRight = true;
							}
							if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
								this.disLeft = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
								this.disDown = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
								this.disUp = true;
							}
							++i;
						}
						if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
							if (this._parent._x < _root.world.hero._x) {
								this.latDir = 'right';
								if (this.disRight == false) {
									this._parent._x += this.speed;
								}
							} else {
								this.latDir = 'left';
								if (this.disLeft == false) {
									this._parent._x -= this.speed;
								}
							}
						} else {
							this.latDir = 'none';
						}
						if (this.forceLat) {
							this._parent._x += this.speed * this.forceDir;
						}
						if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
							if (this._parent._y < _root.world.hero._y) {
								this.vertDir = 'down';
								if (this.disDown == false) {
									this._parent._y += this.speed;
								}
							} else {
								this.vertDir = 'up';
								if (this.disUp == false) {
									this._parent._y -= this.speed;
								}
							}
						} else {
							this.vertDir = 'none';
						}
						if (this.forceVert) {
							this._parent._y -= this.speed * this.forceDir;
						}
						if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
							this.forceVert = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
							this.forceLat = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if (this.forceLat) {
							if (this.disUp == false && this.disDown == false) {
								this.forceLat = false;
							}
						}
						if (this.forceVert) {
							if (this.disRight == false && this.disLeft == false) {
								this.forceVert = false;
							}
						}
						if (_root.currentTarget == this.id) {
							_root.world.targetMarker._x = this._parent._x;
							_root.world.targetMarker._y = this._parent._y;
						}
						if (_root.savedTarget == this.id) {
							_root.savedX = this._parent._x;
							_root.savedY = this._parent._y;
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[28] -= 3;
						_root.factionDown('theMagicians', 3);
						if (_root.classFaction != 'theMagicians') {
							_root.factionLevels[_root.classFactionNum] += 3;
							_root.factionUp(_root.classFaction, 3);
						}
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
				_root.showTutorial(2);
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 4717	{
	}
	movieClip 4718 magicians1 {
		instance of movieClip 113	{
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					var enemyDamage = Math.round(15 + random(1.5) - _root.armor * 0.1);
					_root.curHP -= enemyDamage;
					var sctName = 'sct' + _root.sctDepth;
					_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
					_root.world[sctName].sct2.damage.text = enemyDamage;
					_root.world[sctName]._x = _root.world.hero._x;
					_root.world[sctName]._y = _root.world.hero._y - 20;
					if (_root.curHP < 1) {
						_root.heroDie();
					}
					this._parent.removeMovieClip();
				}
				var i = 1;
				while (i <= 10) {
					var object = 'stop' + i;
					if (this.hitTest(_root.world[object])) {
						this._parent.removeMovieClip();
						break;
					}
					++i;
				}
			}
		}
		frame 50 {
			this.removeMovieClip();
		}
	}
	movieClip 4775	{
	}
	movieClip 4794	{
	}
	movieClip 4797	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 72 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 109 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 4798 sage {
		instance inside of movieClip 4797	{
			onClipEvent (load) {
				this.idName = 'sage';
				this.weaponEquip = 'protectorWand';
				this.curHp = this.maxHp;
				this.speed = 1.4;
				this.normSpeed = 1.4;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 0;
				this.attacking = false;
				this.baseDamage = 16;
				this.standing = _root.factionLevels[27];
				this.aeHit = false;
				this.dimReturns = 0;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.symbol = 'magic';
				this.headEquip = 'h33';
				this.chestEquip = 'c33';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.head.gotoAndStop(this.headEquip);
				this.chest.gotoAndStop(this.chestEquip);
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[27]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'magic');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[27]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'magic');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[27]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'magic');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 36 && this.stunned == false && this.specialAttack) {
							this.specialAttack = false;
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('magicians3', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 35 && this.stunned == false && this.specialAttack == false) {
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('magicians2', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 50) {
							this.attacking = false;
							if (this.specialTimer > 180) {
								this.specialTimer = 0;
							}
							if (this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.attacking == false && this.stunned == false) {
						if (this.specialTimer > 0) {
							this.gotoAndPlay('attack');
						} else {
							this.specialAttack = true;
							this.gotoAndPlay('special');
						}
						this.attackTimer = 0;
						this.attacking = true;
					}
					if (this.attackTimer > 40 && this.rooted == false && this.stunned == false && !this.hitTest(_root.world.hero)) {
						this.disRight = false;
						this.disLeft = false;
						this.disUp = false;
						this.disDown = false;
						var i = 1;
						while (i <= 10) {
							var object = 'stop' + i;
							if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
								this.disRight = true;
							}
							if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
								this.disLeft = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
								this.disDown = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
								this.disUp = true;
							}
							++i;
						}
						if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
							if (this._parent._x < _root.world.hero._x) {
								this.latDir = 'right';
								if (this.disRight == false) {
									this._parent._x += this.speed;
								}
							} else {
								this.latDir = 'left';
								if (this.disLeft == false) {
									this._parent._x -= this.speed;
								}
							}
						} else {
							this.latDir = 'none';
						}
						if (this.forceLat) {
							this._parent._x += this.speed * this.forceDir;
						}
						if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
							if (this._parent._y < _root.world.hero._y) {
								this.vertDir = 'down';
								if (this.disDown == false) {
									this._parent._y += this.speed;
								}
							} else {
								this.vertDir = 'up';
								if (this.disUp == false) {
									this._parent._y -= this.speed;
								}
							}
						} else {
							this.vertDir = 'none';
						}
						if (this.forceVert) {
							this._parent._y -= this.speed * this.forceDir;
						}
						if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
							this.forceVert = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
							this.forceLat = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if (this.forceLat) {
							if (this.disUp == false && this.disDown == false) {
								this.forceLat = false;
							}
						}
						if (this.forceVert) {
							if (this.disRight == false && this.disLeft == false) {
								this.forceVert = false;
							}
						}
						if (_root.currentTarget == this.id) {
							_root.world.targetMarker._x = this._parent._x;
							_root.world.targetMarker._y = this._parent._y;
						}
						if (_root.savedTarget == this.id) {
							_root.savedX = this._parent._x;
							_root.savedY = this._parent._y;
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[28] -= 3;
						_root.factionDown('theMagicians', 3);
						if (_root.classFaction != 'theMagicians') {
							_root.factionLevels[_root.classFactionNum] += 3;
							_root.factionUp(_root.classFaction, 3);
						}
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 4799 magicians3 {
		instance of movieClip 4794	{
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					_root.rootHero();
					this._parent.removeMovieClip();
				}
				var i = 1;
				while (i <= 10) {
					var object = 'stop' + i;
					if (this.hitTest(_root.world[object])) {
						this._parent.removeMovieClip();
						break;
					}
					++i;
				}
			}
		}
		frame 50 {
			this.removeMovieClip();
		}
	}
	movieClip 4800 magicians2 {
		instance of movieClip 4775	{
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					var enemyDamage = Math.round(24 + random(2.4) - _root.armor * 0.1);
					_root.curHP -= enemyDamage;
					var sctName = 'sct' + _root.sctDepth;
					_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
					_root.world[sctName].sct2.damage.text = enemyDamage;
					_root.world[sctName]._x = _root.world.hero._x;
					_root.world[sctName]._y = _root.world.hero._y - 20;
					if (_root.curHP < 1) {
						_root.heroDie();
					}
					this._parent.removeMovieClip();
				}
				var i = 1;
				while (i <= 10) {
					var object = 'stop' + i;
					if (this.hitTest(_root.world[object])) {
						this._parent.removeMovieClip();
						break;
					}
					++i;
				}
			}
		}
		frame 50 {
			this.removeMovieClip();
		}
	}
	movieClip 4861	{
	}
	movieClip 4881	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 76 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 118 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 4882 ritualist {
		instance inside of movieClip 4881	{
			onClipEvent (load) {
				this.idName = 'ritualist';
				this.weaponEquip = 'woodenWand';
				this.curHp = this.maxHp;
				this.speed = 1.4;
				this.normSpeed = 1.4;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 0;
				this.attacking = false;
				this.baseDamage = 16;
				this.standing = _root.factionLevels[27];
				this.aeHit = false;
				this.dimReturns = 0;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.headEquip = 'h47';
				this.chestEquip = 'c49';
				this.symbol = 'magic';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.head.gotoAndStop(this.headEquip);
				this.chest.gotoAndStop(this.chestEquip);
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[27]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'magic');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[27]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'magic');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[27]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'magic');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 41 && this.stunned == false && this.specialAttack) {
							this.specialAttack = false;
							var healAmt = random(10) + 40;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('heal_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = healAmt;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp += healAmt;
							if (this.curHp > this.maxHp) {
								this.curHp = this.maxHp;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.attackTimer == 40 && this.stunned == false && this.specialAttack == false) {
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('magicians6', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 50) {
							this.attacking = false;
							if (this.specialTimer > 280) {
								this.specialTimer = 0;
							}
							if (this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.attacking == false && this.stunned == false) {
						if (this.specialTimer > 0 || this.curHp == this.maxHp) {
							this.gotoAndPlay('attack');
						} else {
							this.specialAttack = true;
							this.gotoAndPlay('special');
						}
						this.attackTimer = 0;
						this.attacking = true;
					}
					if (this.attackTimer > 42 && this.rooted == false && this.stunned == false && !this.hitTest(_root.world.hero)) {
						this.disRight = false;
						this.disLeft = false;
						this.disUp = false;
						this.disDown = false;
						var i = 1;
						while (i <= 10) {
							var object = 'stop' + i;
							if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
								this.disRight = true;
							}
							if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
								this.disLeft = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
								this.disDown = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
								this.disUp = true;
							}
							++i;
						}
						if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
							if (this._parent._x < _root.world.hero._x) {
								this.latDir = 'right';
								if (this.disRight == false) {
									this._parent._x += this.speed;
								}
							} else {
								this.latDir = 'left';
								if (this.disLeft == false) {
									this._parent._x -= this.speed;
								}
							}
						} else {
							this.latDir = 'none';
						}
						if (this.forceLat) {
							this._parent._x += this.speed * this.forceDir;
						}
						if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
							if (this._parent._y < _root.world.hero._y) {
								this.vertDir = 'down';
								if (this.disDown == false) {
									this._parent._y += this.speed;
								}
							} else {
								this.vertDir = 'up';
								if (this.disUp == false) {
									this._parent._y -= this.speed;
								}
							}
						} else {
							this.vertDir = 'none';
						}
						if (this.forceVert) {
							this._parent._y -= this.speed * this.forceDir;
						}
						if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
							this.forceVert = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
							this.forceLat = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if (this.forceLat) {
							if (this.disUp == false && this.disDown == false) {
								this.forceLat = false;
							}
						}
						if (this.forceVert) {
							if (this.disRight == false && this.disLeft == false) {
								this.forceVert = false;
							}
						}
						if (_root.currentTarget == this.id) {
							_root.world.targetMarker._x = this._parent._x;
							_root.world.targetMarker._y = this._parent._y;
						}
						if (_root.savedTarget == this.id) {
							_root.savedX = this._parent._x;
							_root.savedY = this._parent._y;
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[28] -= 3;
						_root.factionDown('theMagicians', 3);
						if (_root.classFaction != 'theMagicians') {
							_root.factionLevels[_root.classFactionNum] += 3;
							_root.factionUp(_root.classFaction, 3);
						}
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 4883 magicians6 {
		instance of movieClip 4861	{
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					var enemyDamage = Math.round(33 + random(3.3) - _root.armor * 0.1);
					_root.curHP -= enemyDamage;
					var sctName = 'sct' + _root.sctDepth;
					_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
					_root.world[sctName].sct2.damage.text = enemyDamage;
					_root.world[sctName]._x = _root.world.hero._x;
					_root.world[sctName]._y = _root.world.hero._y - 20;
					if (_root.curHP < 1) {
						_root.heroDie();
					}
					this._parent.removeMovieClip();
				}
				var i = 1;
				while (i <= 10) {
					var object = 'stop' + i;
					if (this.hitTest(_root.world[object])) {
						this._parent.removeMovieClip();
						break;
					}
					++i;
				}
			}
		}
		frame 50 {
			this.removeMovieClip();
		}
	}
	movieClip 4889 channelerDie {
		frame 40 {
			this.removeMovieClip();
		}
	}
	movieClip 4941	{
		frame 1 {
			stop();
		}
		frame 12 {
			stop();
		}
		frame 67 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 109 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 4942 channeler {
		instance inside of movieClip 4941	{
			onClipEvent (load) {
				this.idName = 'channeler';
				this.weaponEquip = 'channelerWand';
				this.curHp = this.maxHp;
				this.speed = 1.4;
				this.normSpeed = 1.4;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 0;
				this.attacking = false;
				this.baseDamage = 16;
				this.standing = _root.factionLevels[27];
				this.aeHit = false;
				this.dimReturns = 0;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.symbol = 'magic';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[27]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'magic');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[27]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'magic');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[27]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'magic');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 40 && this.stunned == false && this.specialAttack) {
							this.specialAttack = false;
							var healAmt = random(10) + 70;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('heal_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = healAmt;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp += healAmt;
							if (this.curHp > this.maxHp) {
								this.curHp = this.maxHp;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.attackTimer == 39 && this.stunned == false && this.specialAttack == false) {
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('alliance3', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 50) {
							this.attacking = false;
							if (this.specialTimer > 210) {
								this.specialTimer = 0;
							}
							if (this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.attacking == false && this.stunned == false) {
						if (this.specialTimer > 0 || this.curHp == this.maxHp) {
							this.gotoAndPlay('attack');
						} else {
							this.specialAttack = true;
							this.gotoAndPlay('special');
						}
						this.attackTimer = 0;
						this.attacking = true;
					}
					if (this.attackTimer > 41 && this.rooted == false && this.stunned == false && !this.hitTest(_root.world.hero)) {
						this.disRight = false;
						this.disLeft = false;
						this.disUp = false;
						this.disDown = false;
						var i = 1;
						while (i <= 10) {
							var object = 'stop' + i;
							if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
								this.disRight = true;
							}
							if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
								this.disLeft = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
								this.disDown = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
								this.disUp = true;
							}
							++i;
						}
						if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
							if (this._parent._x < _root.world.hero._x) {
								this.latDir = 'right';
								if (this.disRight == false) {
									this._parent._x += this.speed;
								}
							} else {
								this.latDir = 'left';
								if (this.disLeft == false) {
									this._parent._x -= this.speed;
								}
							}
						} else {
							this.latDir = 'none';
						}
						if (this.forceLat) {
							this._parent._x += this.speed * this.forceDir;
						}
						if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
							if (this._parent._y < _root.world.hero._y) {
								this.vertDir = 'down';
								if (this.disDown == false) {
									this._parent._y += this.speed;
								}
							} else {
								this.vertDir = 'up';
								if (this.disUp == false) {
									this._parent._y -= this.speed;
								}
							}
						} else {
							this.vertDir = 'none';
						}
						if (this.forceVert) {
							this._parent._y -= this.speed * this.forceDir;
						}
						if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
							this.forceVert = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
							this.forceLat = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if (this.forceLat) {
							if (this.disUp == false && this.disDown == false) {
								this.forceLat = false;
							}
						}
						if (this.forceVert) {
							if (this.disRight == false && this.disLeft == false) {
								this.forceVert = false;
							}
						}
						if (_root.currentTarget == this.id) {
							_root.world.targetMarker._x = this._parent._x;
							_root.world.targetMarker._y = this._parent._y;
						}
						if (_root.savedTarget == this.id) {
							_root.savedX = this._parent._x;
							_root.savedY = this._parent._y;
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[28] -= 4;
						_root.factionDown('theMagicians', 4);
						if (_root.classFaction != 'theMagicians') {
							_root.factionLevels[_root.classFactionNum] += 4;
							_root.factionUp(_root.classFaction, 4);
						}
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('channelerDie', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 4948 elementalistDie {
		frame 40 {
			this.removeMovieClip();
		}
	}
	movieClip 4968	{
	}
	movieClip 5002	{
	}
	movieClip 5018	{
		frame 1 {
			stop();
		}
		frame 12 {
			stop();
		}
		frame 65 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 119 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 5019 elementalist {
		instance inside of movieClip 5018	{
			onClipEvent (load) {
				this.idName = 'elementalist';
				this.weaponEquip = 'elementalistWand';
				this.curHp = this.maxHp;
				this.speed = 1.4;
				this.normSpeed = 1.4;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 0;
				this.attacking = false;
				this.baseDamage = 16;
				this.standing = _root.factionLevels[27];
				this.aeHit = false;
				this.dimReturns = 0;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.symbol = 'magic';
				this.specialAttack = false;
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[27]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'magic');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[27]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'magic');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[27]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'magic');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 41 && this.stunned == false && this.specialAttack) {
							this.specialAttack = false;
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('magicians5', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 39 && this.stunned == false && this.specialAttack == false) {
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('magicians4', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 50) {
							this.attacking = false;
							if (this.specialTimer > 180) {
								this.specialTimer = 0;
							}
							if (this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.attacking == false && this.stunned == false) {
						if (this.specialTimer > 0) {
							this.gotoAndPlay('attack');
						} else {
							this.specialAttack = true;
							this.gotoAndPlay('special');
						}
						this.attackTimer = 0;
						this.attacking = true;
					}
					if (this.attackTimer > 40 && this.rooted == false && this.stunned == false && !this.hitTest(_root.world.hero)) {
						this.disRight = false;
						this.disLeft = false;
						this.disUp = false;
						this.disDown = false;
						var i = 1;
						while (i <= 10) {
							var object = 'stop' + i;
							if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
								this.disRight = true;
							}
							if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
								this.disLeft = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
								this.disDown = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
								this.disUp = true;
							}
							++i;
						}
						if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
							if (this._parent._x < _root.world.hero._x) {
								this.latDir = 'right';
								if (this.disRight == false) {
									this._parent._x += this.speed;
								}
							} else {
								this.latDir = 'left';
								if (this.disLeft == false) {
									this._parent._x -= this.speed;
								}
							}
						} else {
							this.latDir = 'none';
						}
						if (this.forceLat) {
							this._parent._x += this.speed * this.forceDir;
						}
						if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
							if (this._parent._y < _root.world.hero._y) {
								this.vertDir = 'down';
								if (this.disDown == false) {
									this._parent._y += this.speed;
								}
							} else {
								this.vertDir = 'up';
								if (this.disUp == false) {
									this._parent._y -= this.speed;
								}
							}
						} else {
							this.vertDir = 'none';
						}
						if (this.forceVert) {
							this._parent._y -= this.speed * this.forceDir;
						}
						if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
							this.forceVert = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
							this.forceLat = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if (this.forceLat) {
							if (this.disUp == false && this.disDown == false) {
								this.forceLat = false;
							}
						}
						if (this.forceVert) {
							if (this.disRight == false && this.disLeft == false) {
								this.forceVert = false;
							}
						}
						if (_root.currentTarget == this.id) {
							_root.world.targetMarker._x = this._parent._x;
							_root.world.targetMarker._y = this._parent._y;
						}
						if (_root.savedTarget == this.id) {
							_root.savedX = this._parent._x;
							_root.savedY = this._parent._y;
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[28] -= 4;
						_root.factionDown('theMagicians', 4);
						if (_root.classFaction != 'theMagicians') {
							_root.factionLevels[_root.classFactionNum] += 4;
							_root.factionUp(_root.classFaction, 4);
						}
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('elementalistDie', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 5023	{
	}
	movieClip 5024 magicians4 {
		instance of movieClip 5023	{
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					var enemyDamage = Math.round(49 + random(4.9) - _root.armor * 0.1);
					_root.curHP -= enemyDamage;
					var sctName = 'sct' + _root.sctDepth;
					_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
					_root.world[sctName].sct2.damage.text = enemyDamage;
					_root.world[sctName]._x = _root.world.hero._x;
					_root.world[sctName]._y = _root.world.hero._y - 20;
					if (_root.curHP < 1) {
						_root.heroDie();
					}
					this._parent.removeMovieClip();
				}
				var i = 1;
				while (i <= 10) {
					var object = 'stop' + i;
					if (this.hitTest(_root.world[object])) {
						this._parent.removeMovieClip();
						break;
					}
					++i;
				}
			}
		}
		frame 50 {
			this.removeMovieClip();
		}
	}
	movieClip 5028	{
	}
	movieClip 5029 magicians5 {
		instance of movieClip 5028	{
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					_root.snareHero();
					this._parent.removeMovieClip();
				}
				var i = 1;
				while (i <= 10) {
					var object = 'stop' + i;
					if (this.hitTest(_root.world[object])) {
						this._parent.removeMovieClip();
						break;
					}
					++i;
				}
			}
		}
		frame 50 {
			this.removeMovieClip();
		}
	}
	movieClip 5035 aeromancerDie {
		frame 40 {
			this.removeMovieClip();
		}
	}
	movieClip 5037	{
	}
	movieClip 5038 magicians8 {
		instance of movieClip 5037	{
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					_root.stunHero(20);
					this._parent.removeMovieClip();
				}
				var i = 1;
				while (i <= 10) {
					var object = 'stop' + i;
					if (this.hitTest(_root.world[object])) {
						this._parent.removeMovieClip();
						break;
					}
					++i;
				}
			}
		}
		frame 49 {
			this.removeMovieClip();
		}
	}
	movieClip 5040	{
	}
	movieClip 5041 magicians7 {
		instance of movieClip 5040	{
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					var enemyDamage = Math.round(61 + random(6.100000000000001) - _root.armor * 0.1);
					_root.curHP -= enemyDamage;
					var sctName = 'sct' + _root.sctDepth;
					_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
					_root.world[sctName].sct2.damage.text = enemyDamage;
					_root.world[sctName]._x = _root.world.hero._x;
					_root.world[sctName]._y = _root.world.hero._y - 20;
					if (_root.curHP < 1) {
						_root.heroDie();
					}
					this._parent.removeMovieClip();
				}
				var i = 1;
				while (i <= 10) {
					var object = 'stop' + i;
					if (this.hitTest(_root.world[object])) {
						this._parent.removeMovieClip();
						break;
					}
					++i;
				}
			}
		}
		frame 49 {
			this.removeMovieClip();
		}
	}
	movieClip 5103	{
		frame 1 {
			stop();
		}
		frame 12 {
			stop();
		}
		frame 65 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 119 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 5104 aeromancer {
		instance inside of movieClip 5103	{
			onClipEvent (load) {
				this.idName = 'aeromancer';
				this.weaponEquip = 'dragonFinger';
				this.curHp = this.maxHp;
				this.speed = 1.6;
				this.normSpeed = 1.6;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 0;
				this.attacking = false;
				this.baseDamage = 16;
				this.standing = _root.factionLevels[27];
				this.aeHit = false;
				this.dimReturns = 0;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.symbol = 'magic';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[27]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'magic');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[27]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'magic');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[27]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'magic');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 41 && this.stunned == false && this.specialAttack) {
							this.specialAttack = false;
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('magicians8', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 39 && this.stunned == false && this.specialAttack == false) {
							var enemyArrow = 'enemyArrow' + _root.arrowDepth;
							_root.world.attachMovie('magicians7', enemyArrow, ++_root.arrowDepth);
							_root.world[enemyArrow]._x = this._parent._x;
							_root.world[enemyArrow]._y = this._parent._y;
							_root.world[enemyArrow]._rotation = this._parent._rotation - 90;
							if (_root.arrowDepth > 2098) {
								_root.arrowDepth = 2050;
							}
						}
						if (this.attackTimer == 50) {
							this.attacking = false;
							if (this.specialTimer > 180) {
								this.specialTimer = 0;
							}
							if (this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.attacking == false && this.stunned == false) {
						if (this.specialTimer > 0) {
							this.gotoAndPlay('attack');
						} else {
							this.specialAttack = true;
							this.gotoAndPlay('special');
						}
						this.attackTimer = 0;
						this.attacking = true;
					}
					if (this.attackTimer > 40 && this.rooted == false && this.stunned == false && !this.hitTest(_root.world.hero)) {
						this.disRight = false;
						this.disLeft = false;
						this.disUp = false;
						this.disDown = false;
						var i = 1;
						while (i <= 10) {
							var object = 'stop' + i;
							if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
								this.disRight = true;
							}
							if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
								this.disLeft = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
								this.disDown = true;
							}
							if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
								this.disUp = true;
							}
							++i;
						}
						if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
							if (this._parent._x < _root.world.hero._x) {
								this.latDir = 'right';
								if (this.disRight == false) {
									this._parent._x += this.speed;
								}
							} else {
								this.latDir = 'left';
								if (this.disLeft == false) {
									this._parent._x -= this.speed;
								}
							}
						} else {
							this.latDir = 'none';
						}
						if (this.forceLat) {
							this._parent._x += this.speed * this.forceDir;
						}
						if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
							if (this._parent._y < _root.world.hero._y) {
								this.vertDir = 'down';
								if (this.disDown == false) {
									this._parent._y += this.speed;
								}
							} else {
								this.vertDir = 'up';
								if (this.disUp == false) {
									this._parent._y -= this.speed;
								}
							}
						} else {
							this.vertDir = 'none';
						}
						if (this.forceVert) {
							this._parent._y -= this.speed * this.forceDir;
						}
						if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
							this.forceVert = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
							this.forceLat = true;
							var pickDir = random(2);
							if (pickDir == 1) {
								this.forceDir = 1;
							} else {
								this.forceDir = -1;
							}
						}
						if (this.forceLat) {
							if (this.disUp == false && this.disDown == false) {
								this.forceLat = false;
							}
						}
						if (this.forceVert) {
							if (this.disRight == false && this.disLeft == false) {
								this.forceVert = false;
							}
						}
						if (_root.currentTarget == this.id) {
							_root.world.targetMarker._x = this._parent._x;
							_root.world.targetMarker._y = this._parent._y;
						}
						if (_root.savedTarget == this.id) {
							_root.savedX = this._parent._x;
							_root.savedY = this._parent._y;
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[28] -= 5;
						_root.factionDown('theMagicians', 5);
						if (_root.classFaction != 'theMagicians') {
							_root.factionLevels[_root.classFactionNum] += 5;
							_root.factionUp(_root.classFaction, 5);
						}
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('aeromancerDie', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 5163	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 56 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 5164 squire {
		instance inside of movieClip 5163	{
			onClipEvent (load) {
				this.idName = 'squire';
				this.weaponEquip = 'ironShortsword';
				this.curHp = this.maxHp;
				this.speed = 1.5;
				this.normSpeed = 1.5;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 30;
				this.attacking = false;
				this.baseDamage = 14;
				this.standing = _root.factionLevels[32];
				this.aeHit = false;
				this.forceLat = false;
				this.forceVert = false;
				this.symbol = 'blade';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.head.gotoAndStop('h4');
				this.chest.gotoAndStop('c11');
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[32]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'blade');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[32]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'blade');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[32]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'blade');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						if (this.attackTimer == 30) {
							this.attacking = false;
							if (!this.hitTest(_root.world.hero) && this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.hitTest(_root.world.hero)) {
						if (this.attacking == false && this.stunned == false) {
							this.attackTimer = 0;
							this.attacking = true;
							this.gotoAndPlay('attack');
							var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
							_root.curHP -= enemyDamage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = enemyDamage;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							if (_root.curHP < 1) {
								_root.heroDie();
							}
						}
					} else {
						if (this.rooted == false && this.stunned == false) {
							this.disRight = false;
							this.disLeft = false;
							this.disUp = false;
							this.disDown = false;
							var i = 1;
							while (i <= 10) {
								var object = 'stop' + i;
								if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
									this.disRight = true;
								}
								if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
									this.disLeft = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
									this.disDown = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
									this.disUp = true;
								}
								++i;
							}
							if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
								if (this._parent._x < _root.world.hero._x) {
									this.latDir = 'right';
									if (this.disRight == false) {
										this._parent._x += this.speed;
									}
								} else {
									this.latDir = 'left';
									if (this.disLeft == false) {
										this._parent._x -= this.speed;
									}
								}
							} else {
								this.latDir = 'none';
							}
							if (this.forceLat) {
								this._parent._x += this.speed * this.forceDir;
							}
							if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
								if (this._parent._y < _root.world.hero._y) {
									this.vertDir = 'down';
									if (this.disDown == false) {
										this._parent._y += this.speed;
									}
								} else {
									this.vertDir = 'up';
									if (this.disUp == false) {
										this._parent._y -= this.speed;
									}
								}
							} else {
								this.vertDir = 'none';
							}
							if (this.forceVert) {
								this._parent._y -= this.speed * this.forceDir;
							}
							if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
								this.forceVert = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
								this.forceLat = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if (this.forceLat) {
								if (this.disUp == false && this.disDown == false) {
									this.forceLat = false;
								}
							}
							if (this.forceVert) {
								if (this.disRight == false && this.disLeft == false) {
									this.forceVert = false;
								}
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetMarker._x = this._parent._x;
								_root.world.targetMarker._y = this._parent._y;
							}
							if (_root.savedTarget == this.id) {
								_root.savedX = this._parent._x;
								_root.savedY = this._parent._y;
							}
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[33] -= 3;
						_root.factionDown('theBlademasters', 3);
						if (_root.classFaction != 'theBlademasters') {
							_root.factionLevels[_root.classFactionNum] += 3;
							_root.factionUp(_root.classFaction, 3);
						}
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
				_root.showTutorial(2);
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 5220	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 46 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 5221 defender {
		instance inside of movieClip 5220	{
			onClipEvent (load) {
				this.idName = 'defender';
				this.weaponEquip = 'blueSteelBlade';
				this.shieldEquip = 'towerShield';
				this.curHp = this.maxHp;
				this.speed = 1.5;
				this.normSpeed = 1.5;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 30;
				this.attacking = false;
				this.baseDamage = 24;
				this.standing = _root.factionLevels[32];
				this.aeHit = false;
				this.forceLat = false;
				this.forceVert = false;
				this.symbol = 'blade';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.shield.gotoAndStop(this.shieldEquip);
				this.head.gotoAndStop('h24');
				this.chest.gotoAndStop('c11');
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[32]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'blade');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[32]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'blade');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[32]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'blade');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						if (this.attackTimer == 7 && this.hitTest(_root.world.hero)) {
							var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
							_root.curHP -= enemyDamage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = enemyDamage;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							if (_root.curHP < 1) {
								_root.heroDie();
							}
						}
						if (this.attackTimer == 30) {
							this.attacking = false;
							if (!this.hitTest(_root.world.hero) && this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.hitTest(_root.world.hero)) {
						if (this.attacking == false && this.stunned == false) {
							this.attackTimer = 0;
							this.attacking = true;
							this.gotoAndPlay('attack');
						}
					} else {
						if (this.rooted == false && this.stunned == false) {
							this.disRight = false;
							this.disLeft = false;
							this.disUp = false;
							this.disDown = false;
							var i = 1;
							while (i <= 10) {
								var object = 'stop' + i;
								if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
									this.disRight = true;
								}
								if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
									this.disLeft = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
									this.disDown = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
									this.disUp = true;
								}
								++i;
							}
							if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
								if (this._parent._x < _root.world.hero._x) {
									this.latDir = 'right';
									if (this.disRight == false) {
										this._parent._x += this.speed;
									}
								} else {
									this.latDir = 'left';
									if (this.disLeft == false) {
										this._parent._x -= this.speed;
									}
								}
							} else {
								this.latDir = 'none';
							}
							if (this.forceLat) {
								this._parent._x += this.speed * this.forceDir;
							}
							if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
								if (this._parent._y < _root.world.hero._y) {
									this.vertDir = 'down';
									if (this.disDown == false) {
										this._parent._y += this.speed;
									}
								} else {
									this.vertDir = 'up';
									if (this.disUp == false) {
										this._parent._y -= this.speed;
									}
								}
							} else {
								this.vertDir = 'none';
							}
							if (this.forceVert) {
								this._parent._y -= this.speed * this.forceDir;
							}
							if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
								this.forceVert = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
								this.forceLat = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if (this.forceLat) {
								if (this.disUp == false && this.disDown == false) {
									this.forceLat = false;
								}
							}
							if (this.forceVert) {
								if (this.disRight == false && this.disLeft == false) {
									this.forceVert = false;
								}
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetMarker._x = this._parent._x;
								_root.world.targetMarker._y = this._parent._y;
							}
							if (_root.savedTarget == this.id) {
								_root.savedX = this._parent._x;
								_root.savedY = this._parent._y;
							}
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[33] -= 3;
						_root.factionDown('theBlademasters', 3);
						if (_root.classFaction != 'theBlademasters') {
							_root.factionLevels[_root.classFactionNum] += 3;
							_root.factionUp(_root.classFaction, 3);
						}
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 5302	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 46 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 73 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 5303 knight {
		instance inside of movieClip 5302	{
			onClipEvent (load) {
				this.idName = 'knight';
				this.weaponEquip = 'masterSword';
				this.shieldEquip = 'soldiersShield';
				this.curHp = this.maxHp;
				this.speed = 1.5;
				this.normSpeed = 1.5;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 30;
				this.attacking = false;
				this.baseDamage = 33;
				this.standing = _root.factionLevels[32];
				this.aeHit = false;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.symbol = 'blade';
				this.specialAttack = false;
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.shield.gotoAndStop(this.shieldEquip);
				this.head.gotoAndStop('h22');
				this.chest.gotoAndStop('c23');
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[32]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'blade');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[32]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'blade');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[32]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'blade');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 12 && this.hitTest(_root.world.hero) && this.specialAttack) {
							_root.stunHero(this.level);
							this.specialAttack = false;
						}
						if (this.attackTimer == 8 && this.hitTest(_root.world.hero) && this.specialAttack == false) {
							var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
							_root.curHP -= enemyDamage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = enemyDamage;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							if (_root.curHP < 1) {
								_root.heroDie();
							}
						}
						if (this.attackTimer == 30) {
							this.specialAttack = false;
							this.attacking = false;
							if (this.specialTimer >= 180) {
								this.specialTimer = 0;
							}
							if (!this.hitTest(_root.world.hero) && this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.hitTest(_root.world.hero)) {
						if (this.attacking == false && this.stunned == false) {
							if (this.specialTimer == 0) {
								this.gotoAndPlay('special');
								this.specialAttack = true;
							} else {
								this.gotoAndPlay('attack');
							}
							this.attackTimer = 0;
							this.attacking = true;
						}
					} else {
						if (this.rooted == false && this.stunned == false) {
							this.disRight = false;
							this.disLeft = false;
							this.disUp = false;
							this.disDown = false;
							var i = 1;
							while (i <= 10) {
								var object = 'stop' + i;
								if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
									this.disRight = true;
								}
								if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
									this.disLeft = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
									this.disDown = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
									this.disUp = true;
								}
								++i;
							}
							if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
								if (this._parent._x < _root.world.hero._x) {
									this.latDir = 'right';
									if (this.disRight == false) {
										this._parent._x += this.speed;
									}
								} else {
									this.latDir = 'left';
									if (this.disLeft == false) {
										this._parent._x -= this.speed;
									}
								}
							} else {
								this.latDir = 'none';
							}
							if (this.forceLat) {
								this._parent._x += this.speed * this.forceDir;
							}
							if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
								if (this._parent._y < _root.world.hero._y) {
									this.vertDir = 'down';
									if (this.disDown == false) {
										this._parent._y += this.speed;
									}
								} else {
									this.vertDir = 'up';
									if (this.disUp == false) {
										this._parent._y -= this.speed;
									}
								}
							} else {
								this.vertDir = 'none';
							}
							if (this.forceVert) {
								this._parent._y -= this.speed * this.forceDir;
							}
							if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
								this.forceVert = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
								this.forceLat = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if (this.forceLat) {
								if (this.disUp == false && this.disDown == false) {
									this.forceLat = false;
								}
							}
							if (this.forceVert) {
								if (this.disRight == false && this.disLeft == false) {
									this.forceVert = false;
								}
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetMarker._x = this._parent._x;
								_root.world.targetMarker._y = this._parent._y;
							}
							if (_root.savedTarget == this.id) {
								_root.savedX = this._parent._x;
								_root.savedY = this._parent._y;
							}
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[33] -= 3;
						_root.factionDown('theBlademasters', 3);
						if (_root.classFaction != 'theBlademasters') {
							_root.factionLevels[_root.classFactionNum] += 3;
							_root.factionUp(_root.classFaction, 3);
						}
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 5393	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 74 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 101 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 5394 conqueror {
		instance inside of movieClip 5393	{
			onClipEvent (load) {
				this.idName = 'conqueror';
				this.weaponEquip = 'fallenSword';
				this.shieldEquip = 'conquerorsShield';
				this.curHp = this.maxHp;
				this.speed = 1.55;
				this.normSpeed = 1.55;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 30;
				this.attacking = false;
				this.baseDamage = 41;
				this.standing = _root.factionLevels[32];
				this.aeHit = false;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.symbol = 'blade';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.shield.gotoAndStop(this.shieldEquip);
				this.head.gotoAndStop('h26');
				this.chest.gotoAndStop('c26');
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[32]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'blade');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[32]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'blade');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[32]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'blade');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 12 && this.hitTest(_root.world.hero) && this.specialAttack) {
							_root.stunHero(this.level);
						}
						if (this.attackTimer == 45 && this.hitTest(_root.world.hero) && this.specialAttack == false) {
							var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
							_root.curHP -= enemyDamage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = enemyDamage;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							if (_root.curHP < 1) {
								_root.heroDie();
							}
						}
						if (this.attackTimer == 50) {
							this.specialAttack = false;
							this.attacking = false;
							if (this.specialTimer > 120) {
								this.specialTimer = 0;
							}
							if (!this.hitTest(_root.world.hero) && this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.hitTest(_root.world.hero)) {
						if (this.attacking == false && this.stunned == false) {
							if (this.specialTimer == 0) {
								this.gotoAndPlay('special');
								this.specialAttack = true;
							} else {
								this.gotoAndPlay('attack');
							}
							this.attackTimer = 0;
							this.attacking = true;
						}
					} else {
						if (this.rooted == false && this.stunned == false) {
							this.disRight = false;
							this.disLeft = false;
							this.disUp = false;
							this.disDown = false;
							var i = 1;
							while (i <= 10) {
								var object = 'stop' + i;
								if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
									this.disRight = true;
								}
								if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
									this.disLeft = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
									this.disDown = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
									this.disUp = true;
								}
								++i;
							}
							if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
								if (this._parent._x < _root.world.hero._x) {
									this.latDir = 'right';
									if (this.disRight == false) {
										this._parent._x += this.speed;
									}
								} else {
									this.latDir = 'left';
									if (this.disLeft == false) {
										this._parent._x -= this.speed;
									}
								}
							} else {
								this.latDir = 'none';
							}
							if (this.forceLat) {
								this._parent._x += this.speed * this.forceDir;
							}
							if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
								if (this._parent._y < _root.world.hero._y) {
									this.vertDir = 'down';
									if (this.disDown == false) {
										this._parent._y += this.speed;
									}
								} else {
									this.vertDir = 'up';
									if (this.disUp == false) {
										this._parent._y -= this.speed;
									}
								}
							} else {
								this.vertDir = 'none';
							}
							if (this.forceVert) {
								this._parent._y -= this.speed * this.forceDir;
							}
							if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
								this.forceVert = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
								this.forceLat = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if (this.forceLat) {
								if (this.disUp == false && this.disDown == false) {
									this.forceLat = false;
								}
							}
							if (this.forceVert) {
								if (this.disRight == false && this.disLeft == false) {
									this.forceVert = false;
								}
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetMarker._x = this._parent._x;
								_root.world.targetMarker._y = this._parent._y;
							}
							if (_root.savedTarget == this.id) {
								_root.savedX = this._parent._x;
								_root.savedY = this._parent._y;
							}
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[33] -= 4;
						_root.factionDown('theBlademasters', 4);
						if (_root.classFaction != 'theBlademasters') {
							_root.factionLevels[_root.classFactionNum] += 4;
							_root.factionUp(_root.classFaction, 4);
						}
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 5473	{
		frame 1 {
			stop();
		}
		frame 35 {
			this.gotoAndPlay('run');
		}
		frame 56 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 95 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 5474 champion {
		instance inside of movieClip 5473	{
			onClipEvent (load) {
				this.idName = 'champion';
				this.weaponEquip = 'curveBlade';
				this.curHp = this.maxHp;
				this.speed = 1.6;
				this.normSpeed = 1.6;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 30;
				this.attacking = false;
				this.baseDamage = 53;
				this.standing = _root.factionLevels[32];
				this.aeHit = false;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.symbol = 'blade';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.head.gotoAndStop('h42');
				this.chest.gotoAndStop('c42');
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[32]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'blade');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[32]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'blade');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[32]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'blade');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 45 && this.hitTest(_root.world.hero) && this.specialAttack) {
							var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1) + 15;
							_root.curHP -= enemyDamage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = enemyDamage;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							if (_root.curHP < 1) {
								_root.heroDie();
							}
							this.specialAttack = false;
						}
						if (this.attackTimer == 6 && this.hitTest(_root.world.hero) && this.specialAttack == false) {
							var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
							_root.curHP -= enemyDamage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = enemyDamage;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							if (_root.curHP < 1) {
								_root.heroDie();
							}
						}
						if (this.attackTimer == 50) {
							this.specialAttack = false;
							this.attacking = false;
							if (this.specialTimer >= 180) {
								this.specialTimer = 0;
							}
							if (!this.hitTest(_root.world.hero) && this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.hitTest(_root.world.hero)) {
						if (this.attacking == false && this.stunned == false) {
							if (this.specialTimer == 0) {
								this.gotoAndPlay('special');
								this.specialAttack = true;
							} else {
								this.gotoAndPlay('attack');
							}
							this.attackTimer = 0;
							this.attacking = true;
						}
					} else {
						if (this.rooted == false && this.stunned == false) {
							this.disRight = false;
							this.disLeft = false;
							this.disUp = false;
							this.disDown = false;
							var i = 1;
							while (i <= 10) {
								var object = 'stop' + i;
								if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
									this.disRight = true;
								}
								if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
									this.disLeft = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
									this.disDown = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
									this.disUp = true;
								}
								++i;
							}
							if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
								if (this._parent._x < _root.world.hero._x) {
									this.latDir = 'right';
									if (this.disRight == false) {
										this._parent._x += this.speed;
									}
								} else {
									this.latDir = 'left';
									if (this.disLeft == false) {
										this._parent._x -= this.speed;
									}
								}
							} else {
								this.latDir = 'none';
							}
							if (this.forceLat) {
								this._parent._x += this.speed * this.forceDir;
							}
							if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
								if (this._parent._y < _root.world.hero._y) {
									this.vertDir = 'down';
									if (this.disDown == false) {
										this._parent._y += this.speed;
									}
								} else {
									this.vertDir = 'up';
									if (this.disUp == false) {
										this._parent._y -= this.speed;
									}
								}
							} else {
								this.vertDir = 'none';
							}
							if (this.forceVert) {
								this._parent._y -= this.speed * this.forceDir;
							}
							if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
								this.forceVert = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
								this.forceLat = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if (this.forceLat) {
								if (this.disUp == false && this.disDown == false) {
									this.forceLat = false;
								}
							}
							if (this.forceVert) {
								if (this.disRight == false && this.disLeft == false) {
									this.forceVert = false;
								}
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetMarker._x = this._parent._x;
								_root.world.targetMarker._y = this._parent._y;
							}
							if (_root.savedTarget == this.id) {
								_root.savedX = this._parent._x;
								_root.savedY = this._parent._y;
							}
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[33] -= 4;
						_root.factionDown('theBlademasters', 4);
						if (_root.classFaction != 'theBlademasters') {
							_root.factionLevels[_root.classFactionNum] += 4;
							_root.factionUp(_root.classFaction, 4);
						}
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 5555	{
		frame 1 {
			weapon.gotoAndStop(this.weaponEquip);
			shield.gotoAndStop(this.shieldEquip);
			stop();
		}
		frame 33 {
			this.gotoAndPlay('run');
		}
		frame 54 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
		frame 81 {
			if (this.hitTest(_root.world.hero) || this.rooted) {
				this.gotoAndStop(1);
			} else {
				this.gotoAndPlay('run');
			}
		}
	}
	movieClip 5556 gladiator {
		instance inside of movieClip 5555	{
			onClipEvent (load) {
				this.idName = 'gladiator';
				this.weaponEquip = 'gladBlade';
				this.shieldEquip = 'gyshallsDefender';
				this.curHp = this.maxHp;
				this.speed = 1.6;
				this.normSpeed = 1.6;
				this.aggroed = false;
				this.rootTimer = 0;
				this.rooted = false;
				this.snareTimer = 0;
				this.snared = false;
				this.stunned = false;
				this.stunTimer = 0;
				this.attackTimer = 30;
				this.attacking = false;
				this.baseDamage = 62;
				this.standing = _root.factionLevels[32];
				this.aeHit = false;
				this.forceLat = false;
				this.forceVert = false;
				this.specialTimer = 0;
				this.specialAttack = false;
				this.symbol = 'blade';
				if (this.level > _root.level) {
					this.dimReturns = (this.level - _root.level) * _root.dimRetLvlAdj;
				} else {
					this.dimReturns = 0;
				}
			}
			onClipEvent (enterFrame) {
				this.weapon.gotoAndStop(this.weaponEquip);
				this.shield.gotoAndStop(this.shieldEquip);
				this.head.gotoAndStop('h45');
				this.chest.gotoAndStop('c49');
				if (_root.playerClass == 'Warrior' && _root.castInProgress && _root.hitOnSwing == false) {
					if (this.hitTest(_root.world.hero.weapon) || this.hitTest(_root.world.hero.shield) && _root[spellHolder][9] == 'shieldbash') {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[32]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.spellHolder][1] - _root[_root.spellHolder][0]) + _root[_root.spellHolder][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.spellHolder][5] == 'dd') {
							_root.hitOnSwing = true;
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
						} else {
							if (_root[_root.spellHolder][5] == 'snare') {
								_root.hitOnSwing = true;
								this.snareTimer = +this.dimReturns;
								this.breakSnare = _root.snareLength;
								this.dimReturns += _root.dimReturnsValue;
								if (this.snareTimer < this.breakSnare) {
									var dotDamage = _root[_root.spellHolder][4] + Math.round(_root[_root.keyStat] * 0.5);
									this.dotDamage = Math.round(dotDamage / 4);
									this.speed = this.normSpeed * _root.snareValue;
									this.snared = true;
									this.attachMovie(_root.snareEffect, 'snareName', 2);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
							} else {
								if (_root[_root.spellHolder][5] == 'stun') {
									_root.hitOnSwing = true;
									this.stunTimer = +this.dimReturns;
									this.breakStun = damage;
									trace(this.stunTimer);
									if (this.stunTimer < this.breakStun) {
										this.stunned = true;
										this.gotoAndStop(1);
										this.dimReturns += _root.dimReturnsRoot;
										this.attachMovie(_root.rootEffect, 'rootName', 1);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								} else {
									if (_root[_root.spellHolder][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'blade');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
				}
				if (_root.spellAttached) {
					if (this.hitTest(_root.world.spell1001)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.savedStanding = this.standing;
						_root.savedTarget = this.id;
						_root.currentTarget = this.id;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[32]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1001.idName][1] - _root[_root.world.spell1001.idName][0]) + _root[_root.world.spell1001.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1001.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1001);
						} else {
							if (_root[_root.world.spell1001.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1001);
							} else {
								if (_root[_root.world.spell1001.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1001.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1001);
								} else {
									if (_root[_root.world.spell1001.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							_root.sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'blade');
						_root.savedHp = (this.curHp / this.maxHp) * 100;
					}
					if (this.hitTest(_root.world.spell1002)) {
						if (this.aggroed == false) {
							this.gotoAndPlay('run');
							this.aggroed = true;
							_root.inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
						}
						_root.savedTarget = this.id;
						_root.savedLevel = this.level;
						_root.savedName = this.displayName;
						_root.savedFaction = this.faction;
						_root.currentTarget = this.id;
						_root.savedStanding = this.standing;
						_root.targetLevel = this.level;
						_root.targetName = this.displayName;
						_root.factionName = this.faction;
						_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[32]);
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						_root.savedX = this._parent._x;
						_root.savedY = this._parent._y;
						_root.world.targetMarker._x = this._parent._x;
						_root.world.targetMarker._y = this._parent._y;
						_root.playSound(_root[_root.spellHolder][9] + '_hit');
						var weaponDamage = random(_root.maxWeapon - _root.minWeapon) + _root.minWeapon;
						var damage = random(_root[_root.world.spell1002.idName][1] - _root[_root.world.spell1002.idName][0]) + _root[_root.world.spell1002.idName][0] + Math.round(_root[_root.keyStat] * 0.5) + weaponDamage;
						if (_root[_root.world.spell1002.idName][5] == 'dd') {
							this.curHp -= damage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = damage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							if (this.rooted) {
								this.rooted = false;
								this.gotoAndPlay('run');
								removeMovieClip(this.rootName);
							}
							removeMovieClip(_root.world.spell1002);
						} else {
							if (_root[_root.world.spell1002.idName][5] == 'root') {
								this.rootTimer = +this.dimReturns;
								this.breakRoot = damage;
								this.dimReturns += _root.dimReturnsRoot;
								if (this.rootTimer < this.breakRoot) {
									this.gotoAndStop(1);
									this.rooted = true;
									this.attachMovie(_root.rootEffect, 'rootName', 1);
								} else {
									var sctName = 'sct' + _root.sctDepth;
									_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
									_root.world[sctName].sct2.damage.text = 'Immune';
									_root.world[sctName]._x = this._parent._x;
									_root.world[sctName]._y = this._parent._y - 20;
								}
								removeMovieClip(_root.world.spell1002);
							} else {
								if (_root[_root.world.spell1002.idName][5] == 'snare') {
									this.snareTimer = +this.dimReturns;
									this.breakSnare = _root.snareLength;
									this.dimReturns += _root.dimReturnsValue;
									if (this.snareTimer < this.breakSnare) {
										var dotDamage = _root[_root.world.spell1002.idName][4] + Math.round(_root[_root.keyStat] * 0.5);
										this.dotDamage = Math.round(dotDamage / 4);
										this.speed = this.normSpeed * _root.snareValue;
										this.snared = true;
										this.attachMovie(_root.snareEffect, 'snareName', 2);
									} else {
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = 'Immune';
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
									}
									removeMovieClip(_root.world.spell1002);
								} else {
									if (_root[_root.world.spell1002.idName][5] == 'ae' && this.aeHit == false) {
										this.aeHit = true;
										this.curHp -= damage;
										var sctName = 'sct' + _root.sctDepth;
										_root.world.attachMovie('sct', sctName, ++_root.sctDepth);
										_root.world[sctName].sct2.damage.text = damage;
										_root.world[sctName]._x = this._parent._x;
										_root.world[sctName]._y = this._parent._y - 20;
										if (this.rooted) {
											this.rooted = false;
											this.gotoAndPlay('run');
											removeMovieClip(this.rootName);
										}
									}
								}
							}
						}
						if (_root.sctDepth > 135000) {
							sctDepth = 130000;
						}
						_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
						var rangeCheck = _root.aggroRange + (this.level - _root.level) * 5;
						_root.savedHp = (this.curHp / this.maxHp) * 100;
						_root.expandAggro(this._parent._x, this._parent._y, rangeCheck, 'blade');
					}
				}
				if (this.aggroed) {
					if (this.stunned == false) {
						var startX = this._parent._x;
						var startY = this._parent._y;
						var endX = _root.world.hero._x;
						var endY = _root.world.hero._y;
						var difX = endX - startX;
						var difY = endY - startY;
						var tan = Math.atan2(difY, difX);
						var ang = tan * 57.29577951308232 + 180;
						this._parent._rotation = ang;
					}
					if (this.rooted) {
						++this.rootTimer;
						if (this.attacking == false) {
							this.gotoAndStop(1);
						}
						if (this.rootTimer > this.breakRoot) {
							removeMovieClip(this.rootName);
							this.rooted = false;
							if (this.stunned == false) {
								this.gotoAndPlay('run');
							}
						}
					}
					if (this.snared) {
						++this.snareTimer;
						if (this.snareTimer % 125 == 0) {
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('dot_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = this.dotDamage;
							_root.world[sctName]._x = this._parent._x;
							_root.world[sctName]._y = this._parent._y - 20;
							this.curHp -= this.dotDamage;
							if (_root.savedTarget == this.id) {
								_root.savedHp = (this.curHp / this.maxHp) * 100;
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
							}
						}
						if (this.snareTimer > this.breakSnare) {
							removeMovieClip(this.snareName);
							this.snared = false;
							this.speed = this.normSpeed;
						}
					}
					if (this.stunned) {
						this.stunTimer += 3;
						if (this.stunTimer > this.breakStun) {
							this.stunned = false;
							removeMovieClip(this.rootName);
							this.gotoAndPlay('run');
						}
					}
					if (this.attacking) {
						++this.attackTimer;
						++this.specialTimer;
						if (this.attackTimer == 12 && this.hitTest(_root.world.hero) && this.specialAttack) {
							_root.stunHero(this.level);
							this.specialAttack = false;
						}
						if (this.attackTimer == 7 && this.hitTest(_root.world.hero) && this.specialAttack == false) {
							var enemyDamage = Math.round(this.baseDamage + random(this.baseDamage * 0.1) - _root.armor * 0.1);
							_root.curHP -= enemyDamage;
							var sctName = 'sct' + _root.sctDepth;
							_root.world.attachMovie('hero_sct', sctName, ++_root.sctDepth);
							_root.world[sctName].sct2.damage.text = enemyDamage;
							_root.world[sctName]._x = _root.world.hero._x;
							_root.world[sctName]._y = _root.world.hero._y - 20;
							if (_root.curHP < 1) {
								_root.heroDie();
							}
						}
						if (this.attackTimer == 30) {
							if (this.specialTimer >= 120) {
								this.specialTimer = 0;
							}
							this.specialAttack = false;
							this.attacking = false;
							if (!this.hitTest(_root.world.hero) && this.rooted == false) {
								if (this.stunned) {
									this.gotoAndStop(1);
								} else {
									this.gotoAndPlay('run');
								}
							}
						}
					}
					if (this.hitTest(_root.world.hero)) {
						if (this.attacking == false && this.stunned == false) {
							if (this.specialTimer == 0) {
								this.gotoAndPlay('special');
								this.specialAttack = true;
							} else {
								this.gotoAndPlay('attack');
							}
							this.attackTimer = 0;
							this.attacking = true;
						}
					} else {
						if (this.rooted == false && this.stunned == false) {
							this.disRight = false;
							this.disLeft = false;
							this.disUp = false;
							this.disDown = false;
							var i = 1;
							while (i <= 10) {
								var object = 'stop' + i;
								if (_root.world[object].hitTest(this._parent._x + 5, this._parent._y, true)) {
									this.disRight = true;
								}
								if (_root.world[object].hitTest(this._parent._x - 5, this._parent._y, true)) {
									this.disLeft = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y + 5, true) && this.disRight == false && this.disLeft == false) {
									this.disDown = true;
								}
								if (_root.world[object].hitTest(this._parent._x, this._parent._y - 5, true) && this.disRight == false && this.disLeft == false) {
									this.disUp = true;
								}
								++i;
							}
							if (Math.abs(this._parent._x - _root.world.hero._x) > 10 && this.forceLat == false) {
								if (this._parent._x < _root.world.hero._x) {
									this.latDir = 'right';
									if (this.disRight == false) {
										this._parent._x += this.speed;
									}
								} else {
									this.latDir = 'left';
									if (this.disLeft == false) {
										this._parent._x -= this.speed;
									}
								}
							} else {
								this.latDir = 'none';
							}
							if (this.forceLat) {
								this._parent._x += this.speed * this.forceDir;
							}
							if (Math.abs(this._parent._y - _root.world.hero._y) > 10 && this.forceVert == false) {
								if (this._parent._y < _root.world.hero._y) {
									this.vertDir = 'down';
									if (this.disDown == false) {
										this._parent._y += this.speed;
									}
								} else {
									this.vertDir = 'up';
									if (this.disUp == false) {
										this._parent._y -= this.speed;
									}
								}
							} else {
								this.vertDir = 'none';
							}
							if (this.forceVert) {
								this._parent._y -= this.speed * this.forceDir;
							}
							if ((this.latDir == 'right' && this.disRight || this.latDir == 'left' && this.disLeft) && this.forceVert == false && this.vertDir == 'none') {
								this.forceVert = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if ((this.vertDir == 'up' && this.disUp || this.vertDir == 'down' && this.disDown) && this.forceLat == false && this.latDir == 'none') {
								this.forceLat = true;
								var pickDir = random(2);
								if (pickDir == 1) {
									this.forceDir = 1;
								} else {
									this.forceDir = -1;
								}
							}
							if (this.forceLat) {
								if (this.disUp == false && this.disDown == false) {
									this.forceLat = false;
								}
							}
							if (this.forceVert) {
								if (this.disRight == false && this.disLeft == false) {
									this.forceVert = false;
								}
							}
							if (_root.currentTarget == this.id) {
								_root.world.targetMarker._x = this._parent._x;
								_root.world.targetMarker._y = this._parent._y;
							}
							if (_root.savedTarget == this.id) {
								_root.savedX = this._parent._x;
								_root.savedY = this._parent._y;
							}
						}
					}
					if (this.curHp < 1) {
						_root.playSound(this.idName + '_die');
						_root.curExp += this.level;
						_root.factionLevels[33] -= 5;
						_root.factionDown('theBlademasters', 5);
						if (_root.classFaction != 'theBlademasters') {
							_root.factionLevels[_root.classFactionNum] += 5;
							_root.factionUp(_root.classFaction, 5);
						}
						_root.updateLevels();
						_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
						var goldName = 'gold' + _root.goldDepth;
						var amount = random(3) + this.level;
						_root.world.attachMovie('gold', goldName, ++_root.goldDepth);
						_root.world[goldName]._x = this._parent._x;
						_root.world[goldName]._y = this._parent._y;
						_root.world[goldName].amount = amount;
						_root.findLoot(this.idName + 'Q', this.level, this._parent._x, this._parent._y);
						if (_root.goldDepth > 4059) {
							_root.goldDepth = 4030;
						}
						_root.targetLevel = '';
						_root.targetName = 'No Target';
						_root.factionName = 'Faction Name';
						_root.world.targetInfo.factionIndicator.gotoAndStop(3);
						_root.world.targetInfo.hpBar._xscale = 0;
						_root.savedLevel = '';
						_root.savedName = 'No Target';
						_root.savedFaction = 'Faction Name';
						_root.savedStanding = 3;
						_root.savedHp = 0;
						_root.savedTarget = '';
						_root.currentTarget = '';
						_root.savedX = -1000;
						_root.savedY = -1000;
						_root.world.targetMarker._x = -1000;
						var findTile = 'tile' + _root.charRow + '_' + _root.charCol;
						_root[findTile][this.id - 1][4] = false;
						_root.pendingSpawn.push(findTile);
						_root.pendingSpawn.push(this.id);
						_root.pendingSpawn.push(_root[findTile][this.id - 1][5] + _root.spawnTimer + _root.enemiesDead);
						++_root.enemiesDead;
						var dieName = 'die' + this.id;
						_root.world.attachMovie('die', dieName, _root.deathDepth + this.id);
						_root.world[dieName]._x = this._parent._x;
						_root.world[dieName]._y = this._parent._y;
						_root.world[dieName]._rotation = this._parent._rotation;
						_root.world[dieName].chestValue = this.chest._currentframe;
						_root.world[dieName].headValue = this.head._currentframe;
						_root.world[dieName].symbolValue = this.symbol;
						removeMovieClip(this._parent);
					}
				}
			}
			onClipEvent (release) {
				_root.savedTarget = this.id;
				_root.savedLevel = this.level;
				_root.savedName = this.displayName;
				_root.savedFaction = this.faction;
				_root.savedStanding = this.standing;
				_root.savedHp = (this.curHp / this.maxHp) * 100;
				_root.savedX = this._parent._x;
				_root.savedY = this._parent._y;
				_root.savedSymbol = this.symbol;
			}
			onClipEvent (rollOver) {
				_root.world.targetMarker._x = this._parent._x;
				_root.world.targetMarker._y = this._parent._y;
				_root.currentTarget = this.id;
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
				_root.world.targetInfo.hpBar._xscale = (this.curHp / this.maxHp) * 100;
			}
			onClipEvent (rollOut) {
				_root.world.targetInfo.symbol.gotoAndStop(1);
				_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
			}
		}
	}
	movieClip 5558	{
	}
	movieClip 5560	{
	}
	movieClip 5562	{
	}
	movieClip 5564	{
	}
	movieClip 5566	{
	}
	movieClip 5568	{
	}
	movieClip 5570	{
	}
	movieClip 5571	{
		frame 1 {
			stop();
		}
	}
	movieClip 5573	{
	}
	movieClip 5575	{
	}
	movieClip 5576	{
		frame 47 {
			this._parent.removeMovieClip();
		}
	}
	movieClip 5577 die {
		frame 1 {
			this.onEnterFrame = function () {
				this.inside.chest.gotoAndStop(this.chestValue);
				this.inside.head.gotoAndStop(this.headValue);
				this.inside.symbol.gotoAndStop(this.symbolValue);
			};
		}
	}
	frame 13 {
		stop();
	}
	button 5581 {
		on (release) {
			getURL('http://www.bubblebox.com/clickreg.php?type=gamestats&id=1106&subid=intro', '_blank');
		}
	}
	movieClip 5611	{
	}
	movieClip 5612	{
		frame 1 {
			stop();
		}
		frame 10 {
			stop();
		}
	}
	button 5613 {
		on (release) {
			getURL('http://www.bubblebox.com/clickreg.php?type=gamestats&id=1106&subid=splash', '_blank');
		}
	}
	button 5618 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'leatherSleeves';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('leatherSleevesInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5621 leatherSleeves {
		frame 20 {
			stop();
		}
	}
	button 5626 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'sharpshootersSleeves';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('sharpshootersSleevesInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5628 sharpshootersSleeves {
		frame 20 {
			stop();
		}
	}
	button 5633 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'studdedSleeves';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('studdedSleevesInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5635 studdedSleeves {
		frame 20 {
			stop();
		}
	}
	button 5639 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'sylvanArmguards';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('sylvanArmguardsInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5641 sylvanArmguards {
		frame 20 {
			stop();
		}
	}
	button 5645 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'woodsmansArmguards';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('woodsmansArmguardsInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5647 woodsmansArmguards {
		frame 20 {
			stop();
		}
	}
	button 5652 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'bronzeArmplates';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('bronzeArmplatesInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5654 bronzeArmplates {
		frame 20 {
			stop();
		}
	}
	button 5659 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'championsArmguards';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('championsArmguardsInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5661 championsArmguards {
		frame 20 {
			stop();
		}
	}
	button 5666 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'dentedArmguards';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('dentedArmguardsInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5668 dentedArmguards {
		frame 20 {
			stop();
		}
	}
	button 5673 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'gladiatorsVambraces';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('gladiatorsVambracesInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5675 gladiatorsVambraces {
		frame 20 {
			stop();
		}
	}
	button 5680 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'mithrilVambraces';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('mithrilVambracesInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5682 mithrilVambraces {
		frame 20 {
			stop();
		}
	}
	button 5687 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'aeromancersSleeves';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('aeromancersSleevesInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5689 aeromancersSleeves {
		frame 20 {
			stop();
		}
	}
	button 5694 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'magiciansSleeves';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('magiciansSleevesInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5696 magiciansSleeves {
		frame 20 {
			stop();
		}
	}
	button 5701 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'silkSleeves';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('silkSleevesInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5703 silkSleeves {
		frame 20 {
			stop();
		}
	}
	button 5708 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'spellweaversSleeves';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('spellweaversSleevesInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5710 spellweaversSleeves {
		frame 20 {
			stop();
		}
	}
	button 5715 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'tatteredSleeves';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('tatteredSleevesInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5717 tatteredSleeves {
		frame 20 {
			stop();
		}
	}
	button 5722 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'leatherTunic';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('leatherTunicInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5724 leatherTunic {
		frame 20 {
			stop();
		}
	}
	button 5730 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'pokensVest';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('pokensVestInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5732 pokensVest {
		frame 20 {
			stop();
		}
	}
	button 5737 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'sharpshootersTunic';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('sharpshootersTunicInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5739 sharpshootersTunic {
		frame 20 {
			stop();
		}
	}
	button 5744 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'studdedTunic';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('studdedTunicInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5746 studdedTunic {
		frame 20 {
			stop();
		}
	}
	button 5751 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'sylvanTunic';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('sylvanTunicInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5753 sylvanTunic {
		frame 20 {
			stop();
		}
	}
	button 5758 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'woodsmansVest';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('woodsmansVestInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5760 woodsmansVest {
		frame 20 {
			stop();
		}
	}
	button 5765 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'bronzeBreastplate';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('bronzeBreastplateInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5767 bronzeBreastplate {
		frame 20 {
			stop();
		}
	}
	button 5772 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'championsChestguard';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('championsChestguardInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5774 championsChestguard {
		frame 20 {
			stop();
		}
	}
	button 5779 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'dentedChestguard';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('dentedChestguardInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5781 dentedChestguard {
		frame 20 {
			stop();
		}
	}
	button 5786 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'gladiatorsBreastplate';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('gladiatorsBreastplateInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5788 gladiatorsBreastplate {
		frame 20 {
			stop();
		}
	}
	button 5793 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'mithrilBreastplate';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('mithrilBreastplateInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5795 mithrilBreastplate {
		frame 20 {
			stop();
		}
	}
	button 5800 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'rockwellsArmor';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('rockwellsArmorInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5802 rockwellsArmor {
		frame 20 {
			stop();
		}
	}
	button 5807 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'aeromancersRobe';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('aeromancersRobeInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5809 aeromancersRobe {
		frame 20 {
			stop();
		}
	}
	button 5814 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'blazzensRobe';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('blazzensRobeInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5816 blazzensRobe {
		frame 20 {
			stop();
		}
	}
	button 5821 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'magiciansRobe';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('magiciansRobeInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5823 magiciansRobe {
		frame 20 {
			stop();
		}
	}
	button 5829 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'robeOfTheAncients';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('robeOfTheAncientsInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5831 robeOfTheAncients {
		frame 20 {
			stop();
		}
	}
	button 5836 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'silkRobe';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('silkRobeInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5838 silkRobe {
		frame 20 {
			stop();
		}
	}
	button 5843 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'spellweaversRobe';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('spellweaversRobeInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5845 spellweaversRobe {
		frame 20 {
			stop();
		}
	}
	button 5851 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'tatteredRobe';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('tatteredRobeInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5853 tatteredRobe {
		frame 20 {
			stop();
		}
	}
	button 5858 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'leatherBoots';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('leatherBootsInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5860 leatherBoots {
		frame 20 {
			stop();
		}
	}
	button 5865 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'sharpshootersTreads';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('sharpshootersTreadsInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5867 sharpshootersTreads {
		frame 20 {
			stop();
		}
	}
	button 5872 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'studdedBoots';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('studdedBootsInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5874 studdedBoots {
		frame 20 {
			stop();
		}
	}
	button 5879 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'sylvanBoots';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('sylvanBootsInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5881 sylvanBoots {
		frame 20 {
			stop();
		}
	}
	button 5886 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'woodsmansTreads';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('woodsmansTreadsInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5888 woodsmansTreads {
		frame 20 {
			stop();
		}
	}
	button 5893 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'bronzeBoots';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('bronzeBootsInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5895 bronzeBoots {
		frame 20 {
			stop();
		}
	}
	button 5900 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'championsBoots';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('championsBootsInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5902 championsBoots {
		frame 20 {
			stop();
		}
	}
	button 5907 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'dentedBoots';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('dentedBootsInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5909 dentedBoots {
		frame 20 {
			stop();
		}
	}
	button 5914 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'gladiatorsBoots';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('gladiatorsBootsInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5916 gladiatorsBoots {
		frame 20 {
			stop();
		}
	}
	button 5921 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'mithrilBoots';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('mithrilBootsInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5923 mithrilBoots {
		frame 20 {
			stop();
		}
	}
	button 5928 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'aeromancersSlippers';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('aeromancersSlippersInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5930 aeromancersSlippers {
		frame 20 {
			stop();
		}
	}
	button 5935 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'magiciansTreads';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('magiciansTreadsInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5937 magiciansTreads {
		frame 20 {
			stop();
		}
	}
	button 5942 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'silkSlippers';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('silkSlippersInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5944 silkSlippers {
		frame 20 {
			stop();
		}
	}
	button 5949 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'spellweaversTreads';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('spellweaversTreadsInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5951 spellweaversTreads {
		frame 20 {
			stop();
		}
	}
	button 5956 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'tatteredSlippers';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('tatteredSlippersInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5958 tatteredSlippers {
		frame 20 {
			stop();
		}
	}
	button 5963 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'leatherGloves';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('leatherGlovesInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5965 leatherGloves {
		frame 20 {
			stop();
		}
	}
	button 5971 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'sharpshootersGloves';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('sharpshootersGlovesInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5973 sharpshootersGloves {
		frame 20 {
			stop();
		}
	}
	button 5978 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'studdedGloves';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('studdedGlovesInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5980 studdedGloves {
		frame 20 {
			stop();
		}
	}
	button 5986 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'sylvanGloves';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('sylvanGlovesInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5988 sylvanGloves {
		frame 20 {
			stop();
		}
	}
	button 5993 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'woodsmansGloves';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('woodsmansGlovesInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 5995 woodsmansGloves {
		frame 20 {
			stop();
		}
	}
	button 6000 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'bronzeGloves';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('bronzeGlovesInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6002 bronzeGloves {
		frame 20 {
			stop();
		}
	}
	button 6007 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'championsGauntlets';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('championsGauntletsInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6009 championsGauntlets {
		frame 20 {
			stop();
		}
	}
	button 6014 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'dentedHandguards';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('dentedHandguardsInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6016 dentedHandguards {
		frame 20 {
			stop();
		}
	}
	button 6021 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'gladiatorsGauntlets';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('gladiatorsGauntletsInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6023 gladiatorsGauntlets {
		frame 20 {
			stop();
		}
	}
	button 6028 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'mithrilGauntlets';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('mithrilGauntletsInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6030 mithrilGauntlets {
		frame 20 {
			stop();
		}
	}
	button 6035 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'aeromancersGloves';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('aeromancersGlovesInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6037 aeromancersGloves {
		frame 20 {
			stop();
		}
	}
	button 6042 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'magiciansGloves';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('magiciansGlovesInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6044 magiciansGloves {
		frame 20 {
			stop();
		}
	}
	button 6049 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'silkGloves';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('silkGlovesInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6051 silkGloves {
		frame 20 {
			stop();
		}
	}
	button 6056 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'spellweaversGloves';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('spellweaversGlovesInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6058 spellweaversGloves {
		frame 20 {
			stop();
		}
	}
	button 6063 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'tatteredGloves';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('tatteredGlovesInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6065 tatteredGloves {
		frame 20 {
			stop();
		}
	}
	button 6070 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'halfjacksHelmet';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('halfjacksHelmetInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6072 halfjacksHelmet {
		frame 20 {
			stop();
		}
	}
	button 6077 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'leatherSkullcap';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('leatherSkullcapInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6079 leatherSkullcap {
		frame 20 {
			stop();
		}
	}
	button 6084 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'sharpshootersSkullcap';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('sharpshootersSkullcapInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6086 sharpshootersSkullcap {
		frame 20 {
			stop();
		}
	}
	button 6091 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'studdedSkullcap';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('studdedSkullcapInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6093 studdedSkullcap {
		frame 20 {
			stop();
		}
	}
	button 6098 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'sylvanCap';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('sylvanCapInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6100 sylvanCap {
		frame 20 {
			stop();
		}
	}
	button 6105 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'woodsmansCap';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('woodsmansCapInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6107 woodsmansCap {
		frame 20 {
			stop();
		}
	}
	button 6112 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'bronzeHelmet';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('bronzeHelmetInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6114 bronzeHelmet {
		frame 20 {
			stop();
		}
	}
	button 6119 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'championsHelmet';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('championsHelmetInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6121 championsHelmet {
		frame 20 {
			stop();
		}
	}
	button 6126 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'dentedHelmet';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('dentedHelmetInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6128 dentedHelmet {
		frame 20 {
			stop();
		}
	}
	button 6133 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'mithrilHeadguard';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('mithrilHeadguardInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6135 mithrilHeadguard {
		frame 20 {
			stop();
		}
	}
	button 6140 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'nightmareHeadcover';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('nightmareHeadcoverInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6142 nightmareHeadcover {
		frame 20 {
			stop();
		}
	}
	button 6147 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'aeromancersCap';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('aeromancersCapInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6149 aeromancersCap {
		frame 20 {
			stop();
		}
	}
	button 6154 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'magiciansCap';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('magiciansCapInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6156 magiciansCap {
		frame 20 {
			stop();
		}
	}
	button 6161 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'nnuksCap';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('nnuksCapInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6163 nnuksCap {
		frame 20 {
			stop();
		}
	}
	button 6168 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'silkTurban';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('silkTurbanInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6170 silkTurban {
		frame 20 {
			stop();
		}
	}
	button 6175 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'spellweaversCap';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('spellweaversCapInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6177 spellweaversCap {
		frame 20 {
			stop();
		}
	}
	button 6182 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'tatteredCap';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('tatteredCapInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6184 tatteredCap {
		frame 20 {
			stop();
		}
	}
	button 6189 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'emeraldBroach';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('emeraldBroachInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6191 emeraldBroach {
		frame 20 {
			stop();
		}
	}
	button 6196 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'huntersMark';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('huntersMarkInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6198 huntersMark {
		frame 20 {
			stop();
		}
	}
	button 6203 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'silverEarring';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('silverEarringInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6205 silverEarring {
		frame 20 {
			stop();
		}
	}
	button 6210 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'strikersMark';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('strikersMarkInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6212 strikersMark {
		frame 20 {
			stop();
		}
	}
	button 6217 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'wardersNecklace';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('wardersNecklaceInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6219 wardersNecklace {
		frame 20 {
			stop();
		}
	}
	button 6225 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'generalsBroach';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('generalsBroachInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6227 generalsBroach {
		frame 20 {
			stop();
		}
	}
	button 6232 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'gladiatorsJewel';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('gladiatorsJewelInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6234 gladiatorsJewel {
		frame 20 {
			stop();
		}
	}
	button 6239 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'goldenEarring';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('goldenEarringInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6241 goldenEarring {
		frame 20 {
			stop();
		}
	}
	button 6246 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'rubyNecklace';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('rubyNecklaceInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6248 rubyNecklace {
		frame 20 {
			stop();
		}
	}
	button 6254 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'soldiersMark';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('soldiersMarkInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6256 soldiersMark {
		frame 20 {
			stop();
		}
	}
	button 6261 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'aeromancersCharm';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('aeromancersCharmInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6263 aeromancersCharm {
		frame 20 {
			stop();
		}
	}
	button 6268 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'charmersNecklace';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('charmersNecklaceInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6270 charmersNecklace {
		frame 20 {
			stop();
		}
	}
	button 6275 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'jeweledEarring';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('jeweledEarringInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6277 jeweledEarring {
		frame 20 {
			stop();
		}
	}
	button 6282 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'magiciansMark';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('magiciansMarkInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6284 magiciansMark {
		frame 20 {
			stop();
		}
	}
	button 6289 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'sapphireBroach';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('sapphireBroachInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6291 sapphireBroach {
		frame 20 {
			stop();
		}
	}
	button 6296 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'leatherLeggings';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('leatherLeggingsInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6298 leatherLeggings {
		frame 20 {
			stop();
		}
	}
	button 6304 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'legsOfTheTracker';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('legsOfTheTrackerInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6306 legsOfTheTracker {
		frame 20 {
			stop();
		}
	}
	button 6311 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'pokensLegcovers';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('pokensLegcoversInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6313 pokensLegcovers {
		frame 20 {
			stop();
		}
	}
	button 6318 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'sharpshootersLeggings';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('sharpshootersLeggingsInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6320 sharpshootersLeggings {
		frame 20 {
			stop();
		}
	}
	button 6325 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'studdedLeggings';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('studdedLeggingsInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6327 studdedLeggings {
		frame 20 {
			stop();
		}
	}
	button 6332 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'sylvanLeggings';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('sylvanLeggingsInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6334 sylvanLeggings {
		frame 20 {
			stop();
		}
	}
	button 6339 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'woodsmansLegguards';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('woodsmansLegguardsInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6341 woodsmansLegguards {
		frame 20 {
			stop();
		}
	}
	button 6346 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'bronzeLegplates';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('bronzeLegplatesInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6348 bronzeLegplates {
		frame 20 {
			stop();
		}
	}
	button 6353 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'championsLegplates';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('championsLegplatesInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6355 championsLegplates {
		frame 20 {
			stop();
		}
	}
	button 6360 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'dentedLegplates';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('dentedLegplatesInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6362 dentedLegplates {
		frame 20 {
			stop();
		}
	}
	button 6367 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'gyshallsLegplates';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('gyshallsLegplatesInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6369 gyshallsLegplates {
		frame 20 {
			stop();
		}
	}
	button 6374 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'mithrilLegplates';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('mithrilLegplatesInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6376 mithrilLegplates {
		frame 20 {
			stop();
		}
	}
	button 6381 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'nightmareLegplates';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('nightmareLegplatesInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6383 nightmareLegplates {
		frame 20 {
			stop();
		}
	}
	button 6388 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'tuggosLegplates';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('tuggosLegplatesInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6390 tuggosLegplates {
		frame 20 {
			stop();
		}
	}
	button 6395 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'aeromancersLeggings';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('aeromancersLeggingsInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6397 aeromancersLeggings {
		frame 20 {
			stop();
		}
	}
	button 6402 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'blazzensLeggings';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('blazzensLeggingsInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6404 blazzensLeggings {
		frame 20 {
			stop();
		}
	}
	button 6409 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'magiciansPants';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('magiciansPantsInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6411 magiciansPants {
		frame 20 {
			stop();
		}
	}
	button 6416 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'silkTrousers';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('silkTrousersInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6418 silkTrousers {
		frame 20 {
			stop();
		}
	}
	button 6423 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'spellweaversPants';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('spellweaversPantsInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6425 spellweaversPants {
		frame 20 {
			stop();
		}
	}
	button 6430 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'tatteredLeggings';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('tatteredLeggingsInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6432 tatteredLeggings {
		frame 20 {
			stop();
		}
	}
	button 6437 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'bowOfStorms';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('bowOfStormsInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6439 bowOfStorms {
		frame 20 {
			stop();
		}
	}
	button 6444 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'furyOfTheGlade';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('furyOfTheGladeInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6446 furyOfTheGlade {
		frame 20 {
			stop();
		}
	}
	button 6451 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'halfjacksBow';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('halfjacksBowInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6453 halfjacksBow {
		frame 20 {
			stop();
		}
	}
	button 6458 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'oakBow';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('oakBowInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6460 oakBow {
		frame 20 {
			stop();
		}
	}
	button 6465 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'pathfindersBow';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('pathfindersBowInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6467 pathfindersBow {
		frame 20 {
			stop();
		}
	}
	button 6472 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'reinforcedBow';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('reinforcedBowInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6474 reinforcedBow {
		frame 20 {
			stop();
		}
	}
	button 6479 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'stormchaser';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('stormchaserInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6481 stormchaser {
		frame 20 {
			stop();
		}
	}
	button 6486 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'strikersHand';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('strikersHandInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6488 strikersHand {
		frame 20 {
			stop();
		}
	}
	button 6493 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'twilightBow';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('twilightBowInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6495 twilightBow {
		frame 20 {
			stop();
		}
	}
	button 6500 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'typhoon';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('typhoonInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6502 typhoon {
		frame 20 {
			stop();
		}
	}
	button 6507 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'windcaller';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('windcallerInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6509 windcaller {
		frame 20 {
			stop();
		}
	}
	button 6515 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'woodenBow';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('woodenBowInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6517 woodenBow {
		frame 20 {
			stop();
		}
	}
	button 6523 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'blackBronzeSword';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('blackBronzeSwordInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6525 blackBronzeSword {
		frame 20 {
			stop();
		}
	}
	button 6531 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'blueSteelBlade';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('blueSteelBladeInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6533 blueSteelBlade {
		frame 20 {
			stop();
		}
	}
	button 6539 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'captainsBlade';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('captainsBladeInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6541 captainsBlade {
		frame 20 {
			stop();
		}
	}
	button 6546 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'deathsHand';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('deathsHandInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6548 deathsHand {
		frame 20 {
			stop();
		}
	}
	button 6553 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'gladiatorsBlade';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('gladiatorsBladeInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6555 gladiatorsBlade {
		frame 20 {
			stop();
		}
	}
	button 6561 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'ironShortsword';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('ironShortswordInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6563 ironShortsword {
		frame 20 {
			stop();
		}
	}
	button 6568 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'rockwellsTempest';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('rockwellsTempestInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6570 rockwellsTempest {
		frame 20 {
			stop();
		}
	}
	button 6575 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'rustySword';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('rustySwordInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6577 rustySword {
		frame 20 {
			stop();
		}
	}
	button 6583 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'soldiersBlade';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('soldiersBladeInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6585 soldiersBlade {
		frame 20 {
			stop();
		}
	}
	button 6590 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'terrorBlade';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('terrorBladeInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6592 terrorBlade {
		frame 20 {
			stop();
		}
	}
	button 6598 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'woodenSword';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('woodenSwordInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6600 woodenSword {
		frame 20 {
			stop();
		}
	}
	button 6605 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'blazzensFireRod';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('blazzensFireRodInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6607 blazzensFireRod {
		frame 20 {
			stop();
		}
	}
	button 6612 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'charmersRod';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('charmersRodInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6614 charmersRod {
		frame 20 {
			stop();
		}
	}
	button 6619 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'dragonFinger';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('dragonFingerInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6621 dragonFinger {
		frame 20 {
			stop();
		}
	}
	button 6626 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'jeweledWand';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('jeweledWandInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6628 jeweledWand {
		frame 20 {
			stop();
		}
	}
	button 6633 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'silverWand';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('silverWandInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6635 silverWand {
		frame 20 {
			stop();
		}
	}
	button 6640 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'sorcerersWand';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('sorcerersWandInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6642 sorcerersWand {
		frame 20 {
			stop();
		}
	}
	button 6648 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'spellweaversWand';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('spellweaversWandInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6650 spellweaversWand {
		frame 20 {
			stop();
		}
	}
	button 6655 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'terrorOfNnuk';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('terrorOfNnukInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6657 terrorOfNnuk {
		frame 20 {
			stop();
		}
	}
	button 6662 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'twistedBoneRod';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('twistedBoneRodInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6664 twistedBoneRod {
		frame 20 {
			stop();
		}
	}
	button 6669 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'wandOfElements';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('wandOfElementsInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6671 wandOfElements {
		frame 20 {
			stop();
		}
	}
	button 6676 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'warlocksTouch';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('warlocksTouchInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6678 warlocksTouch {
		frame 20 {
			stop();
		}
	}
	button 6683 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'woodenWand';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('woodenWandInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6685 woodenWand {
		frame 20 {
			stop();
		}
	}
	button 6690 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'captainsShield';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('captainsShieldInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6692 captainsShield {
		frame 20 {
			stop();
		}
	}
	button 6698 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'championsShield';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('championsShieldInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6700 championsShield {
		frame 20 {
			stop();
		}
	}
	button 6705 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'dawnsDefender';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('dawnsDefenderInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6707 dawnsDefender {
		frame 20 {
			stop();
		}
	}
	button 6712 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'gyshallsDefender';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('gyshallsDefenderInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6714 gyshallsDefender {
		frame 20 {
			stop();
		}
	}
	button 6719 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'metalBuckler';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('metalBucklerInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6721 metalBuckler {
		frame 20 {
			stop();
		}
	}
	button 6727 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'soldiersShield';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('soldiersShieldInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6729 soldiersShield {
		frame 20 {
			stop();
		}
	}
	button 6735 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'towerShield';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('towerShieldInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6737 towerShield {
		frame 20 {
			stop();
		}
	}
	button 6742 {
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.inventory[openSlot] = 'woodenShield';
				var newName = 'item' + _root.invDepth;
				_root.world.mainMenu.characterMenu.attachMovie('woodenShieldInv', newName, ++_root.invDepth);
				_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
				_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				this.removeMovieClip();
			}
		}
	}
	movieClip 6744 woodenShield {
		frame 20 {
			stop();
		}
	}
	button 6750 {
		on (rollOver) {
			_root.allowCast = false;
			this.questName = 'boss1';
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.clearInventory(this.questName);
				_root.inventory[openSlot] = this.questName;
				var newName = 'item' + _root.questDepth - 1;
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == 'allianceBoss1Q') {
						_root.world.mainMenu.characterMenu.attachMovie('boss1Inv', this.questName, _root.questDepth + i);
						_root.world.mainMenu.characterMenu.boss1._x = _root.inventoryX[openSlot];
						_root.world.mainMenu.characterMenu.boss1._y = _root.inventoryY[openSlot];
						_root.completeQuest('allianceBoss1Q');
						_root.allianceBoss1Q[6] = true;
						_root.allianceBoss1Q[3] = 1;
						_root.showQuestMessage('quest' + (i + 1));
					} else {
						if (_root.activeQuests[i] == 'shadowRunnersBoss1Q') {
							_root.world.mainMenu.characterMenu.attachMovie('boss1Inv', this.questName, _root.questDepth + i);
							_root.world.mainMenu.characterMenu.boss1._x = _root.inventoryX[openSlot];
							_root.world.mainMenu.characterMenu.boss1._y = _root.inventoryY[openSlot];
							_root.completeQuest('shadowRunnersBoss1Q');
							_root.shadowRunnersBoss1Q[6] = true;
							_root.shadowRunnersBoss1Q[3] = 1;
							_root.showQuestMessage('quest' + (i + 1));
							break;
						}
					}
					++i;
				}
				this.removeMovieClip();
			}
		}
	}
	movieClip 6752 boss1 {
		frame 22 {
			stop();
		}
	}
	button 6757 {
		on (rollOver) {
			this.questName = 'boss1';
			if (_root.dragging == false) {
				_root.world.mainMenu.characterMenu.itemStats._x = this._x - 210;
				_root.world.mainMenu.characterMenu.itemStats._y = this._y - 19;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(this.questName);
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = this.questName;
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
						_root.inventory[i - 1] = '';
						break;
					}
					++i;
				}
			} else {
				if (_root.allowDrag) {
					var xInv = _root.world._xmouse;
					var yInv = _root.world._ymouse;
					if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie(this.questName, dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
						_root.dropQuestItem('shadowRunnersBoss1Q');
						_root.dropQuestItem('allianceBoss1Q');
						this.removeMovieClip();
					}
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
							_root.dragging = false;
							_root.draggingItem = '';
							_root.allowDrag = true;
							_root.inventory[i - 1] = this.questName;
							this._x = _root.inventoryX[i - 1];
							this._y = _root.inventoryY[i - 1];
							break;
						}
						++i;
					}
				}
			}
		}
	}
	movieClip 6758 boss1Inv {
	}
	button 6763 {
		on (rollOver) {
			_root.allowCast = false;
			this.questName = 'boss2';
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.clearInventory(this.questName);
				_root.inventory[openSlot] = this.questName;
				var newName = 'item' + _root.questDepth - 1;
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == 'allianceBoss2Q') {
						_root.world.mainMenu.characterMenu.attachMovie('boss2Inv', this.questName, _root.questDepth + i);
						_root.world.mainMenu.characterMenu.boss2._x = _root.inventoryX[openSlot];
						_root.world.mainMenu.characterMenu.boss2._y = _root.inventoryY[openSlot];
						_root.completeQuest('allianceBoss2Q');
						_root.allianceBoss2Q[6] = true;
						_root.allianceBoss2Q[3] = 1;
						_root.showQuestMessage('quest' + (i + 1));
					} else {
						if (_root.activeQuests[i] == 'shadowRunnersBoss2Q') {
							_root.world.mainMenu.characterMenu.attachMovie('boss2Inv', this.questName, _root.questDepth + i);
							_root.world.mainMenu.characterMenu.boss2._x = _root.inventoryX[openSlot];
							_root.world.mainMenu.characterMenu.boss2._y = _root.inventoryY[openSlot];
							_root.completeQuest('shadowRunnersBoss2Q');
							_root.shadowRunnersBoss2Q[6] = true;
							_root.shadowRunnersBoss2Q[3] = 1;
							_root.showQuestMessage('quest' + (i + 1));
							break;
						}
					}
					++i;
				}
				this.removeMovieClip();
			}
		}
	}
	movieClip 6764 boss2 {
		frame 22 {
			stop();
		}
	}
	button 6769 {
		on (rollOver) {
			this.questName = 'boss2';
			if (_root.dragging == false) {
				_root.world.mainMenu.characterMenu.itemStats._x = this._x - 210;
				_root.world.mainMenu.characterMenu.itemStats._y = this._y - 19;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(this.questName);
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = this.questName;
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
						_root.inventory[i - 1] = '';
						break;
					}
					++i;
				}
			} else {
				if (_root.allowDrag) {
					var xInv = _root.world._xmouse;
					var yInv = _root.world._ymouse;
					if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie(this.questName, dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
						_root.dropQuestItem('shadowRunnersBoss2Q');
						_root.dropQuestItem('allianceBoss2Q');
						this.removeMovieClip();
					}
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
							_root.dragging = false;
							_root.draggingItem = '';
							_root.allowDrag = true;
							_root.inventory[i - 1] = this.questName;
							this._x = _root.inventoryX[i - 1];
							this._y = _root.inventoryY[i - 1];
							break;
						}
						++i;
					}
				}
			}
		}
	}
	movieClip 6770 boss2Inv {
	}
	button 6776 {
		on (rollOver) {
			_root.allowCast = false;
			this.questName = 'boss3';
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.clearInventory(this.questName);
				_root.inventory[openSlot] = this.questName;
				var newName = 'item' + _root.questDepth - 1;
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == 'allianceBoss3Q') {
						_root.world.mainMenu.characterMenu.attachMovie('boss3Inv', this.questName, _root.questDepth + i);
						_root.world.mainMenu.characterMenu.boss3._x = _root.inventoryX[openSlot];
						_root.world.mainMenu.characterMenu.boss3._y = _root.inventoryY[openSlot];
						_root.completeQuest('allianceBoss3Q');
						_root.allianceBoss3Q[6] = true;
						_root.allianceBoss3Q[3] = 1;
						_root.showQuestMessage('quest' + (i + 1));
					} else {
						if (_root.activeQuests[i] == 'shadowRunnersBoss3Q') {
							_root.world.mainMenu.characterMenu.attachMovie('boss3Inv', this.questName, _root.questDepth + i);
							_root.world.mainMenu.characterMenu.boss3._x = _root.inventoryX[openSlot];
							_root.world.mainMenu.characterMenu.boss3._y = _root.inventoryY[openSlot];
							_root.completeQuest('shadowRunnersBoss3Q');
							_root.shadowRunnersBoss3Q[6] = true;
							_root.shadowRunnersBoss3Q[3] = 1;
							_root.showQuestMessage('quest' + (i + 1));
							break;
						}
					}
					++i;
				}
				this.removeMovieClip();
			}
		}
	}
	movieClip 6777 boss3 {
		frame 22 {
			stop();
		}
	}
	button 6781 {
		on (rollOver) {
			this.questName = 'boss3';
			if (_root.dragging == false) {
				_root.world.mainMenu.characterMenu.itemStats._x = this._x - 210;
				_root.world.mainMenu.characterMenu.itemStats._y = this._y - 19;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(this.questName);
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = this.questName;
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
						_root.inventory[i - 1] = '';
						break;
					}
					++i;
				}
			} else {
				if (_root.allowDrag) {
					var xInv = _root.world._xmouse;
					var yInv = _root.world._ymouse;
					if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie(this.questName, dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
						_root.dropQuestItem('shadowRunnersBoss3Q');
						_root.dropQuestItem('allianceBoss3Q');
						this.removeMovieClip();
					}
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
							_root.dragging = false;
							_root.draggingItem = '';
							_root.allowDrag = true;
							_root.inventory[i - 1] = this.questName;
							this._x = _root.inventoryX[i - 1];
							this._y = _root.inventoryY[i - 1];
							break;
						}
						++i;
					}
				}
			}
		}
	}
	movieClip 6782 boss3Inv {
	}
	button 6787 {
		on (rollOver) {
			_root.allowCast = false;
			this.questName = 'boss4';
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.clearInventory(this.questName);
				_root.inventory[openSlot] = this.questName;
				var newName = 'item' + _root.questDepth - 1;
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == 'allianceBoss4Q') {
						_root.world.mainMenu.characterMenu.attachMovie('boss4Inv', this.questName, _root.questDepth + i);
						_root.world.mainMenu.characterMenu.boss4._x = _root.inventoryX[openSlot];
						_root.world.mainMenu.characterMenu.boss4._y = _root.inventoryY[openSlot];
						_root.completeQuest('allianceBoss4Q');
						_root.allianceBoss4Q[6] = true;
						_root.allianceBoss4Q[3] = 1;
						_root.showQuestMessage('quest' + (i + 1));
					} else {
						if (_root.activeQuests[i] == 'shadowRunnersBoss4Q') {
							_root.world.mainMenu.characterMenu.attachMovie('boss4Inv', this.questName, _root.questDepth + i);
							_root.world.mainMenu.characterMenu.boss4._x = _root.inventoryX[openSlot];
							_root.world.mainMenu.characterMenu.boss4._y = _root.inventoryY[openSlot];
							_root.completeQuest('shadowRunnersBoss4Q');
							_root.shadowRunnersBoss4Q[6] = true;
							_root.shadowRunnersBoss4Q[3] = 1;
							_root.showQuestMessage('quest' + (i + 1));
							break;
						}
					}
					++i;
				}
				this.removeMovieClip();
			}
		}
	}
	movieClip 6788 boss4 {
		frame 22 {
			stop();
		}
	}
	button 6791 {
		on (rollOver) {
			this.questName = 'boss4';
			if (_root.dragging == false) {
				_root.world.mainMenu.characterMenu.itemStats._x = this._x - 210;
				_root.world.mainMenu.characterMenu.itemStats._y = this._y - 19;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(this.questName);
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = this.questName;
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
						_root.inventory[i - 1] = '';
						break;
					}
					++i;
				}
			} else {
				if (_root.allowDrag) {
					var xInv = _root.world._xmouse;
					var yInv = _root.world._ymouse;
					if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie(this.questName, dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
						_root.dropQuestItem('shadowRunnersBoss4Q');
						_root.dropQuestItem('allianceBoss4Q');
						this.removeMovieClip();
					}
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
							_root.dragging = false;
							_root.draggingItem = '';
							_root.allowDrag = true;
							_root.inventory[i - 1] = this.questName;
							this._x = _root.inventoryX[i - 1];
							this._y = _root.inventoryY[i - 1];
							break;
						}
						++i;
					}
				}
			}
		}
	}
	movieClip 6792 boss4Inv {
	}
	button 6797 {
		on (rollOver) {
			_root.allowCast = false;
			this.questName = 'brightlakeWizardQ';
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.clearInventory(this.questName);
				_root.inventory[openSlot] = this.questName;
				var newName = 'item' + _root.questDepth - 1;
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						_root.world.mainMenu.characterMenu.attachMovie(this.questName + 'Inv', this.questName, _root.questDepth + i);
						_root.world.mainMenu.characterMenu[this.questName]._x = _root.inventoryX[openSlot];
						_root.world.mainMenu.characterMenu[this.questName]._y = _root.inventoryY[openSlot];
						_root.completeQuest(this.questName);
						break;
					}
					++i;
				}
				this.removeMovieClip();
			}
		}
	}
	button 6798 {
		on (rollOver) {
			_root.allowCast = false;
			this.questName = 'brightlakeWizardQ';
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.clearInventory(this.questName);
				_root.inventory[openSlot] = this.questName;
				var newName = 'item' + _root.questDepth - 1;
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						_root.world.mainMenu.characterMenu.attachMovie(this.questName + 'Inv', this.questName, _root.questDepth + i);
						_root.world.mainMenu.characterMenu[this.questName]._x = _root.inventoryX[openSlot];
						_root.world.mainMenu.characterMenu[this.questName]._y = _root.inventoryY[openSlot];
						_root.completeQuest(this.questName);
						_root.showQuestMessage('quest' + (i + 1));
						break;
					}
					++i;
				}
				this.removeMovieClip();
			}
		}
	}
	movieClip 6800 brightlakeWizardQ {
		frame 22 {
			stop();
		}
	}
	button 6805 {
		on (rollOver) {
			this.questName = 'brightlakeWizardQ';
			if (_root.dragging == false) {
				_root.world.mainMenu.characterMenu.itemStats._x = this._x - 210;
				_root.world.mainMenu.characterMenu.itemStats._y = this._y - 19;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(this.questName);
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = this.questName;
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
						_root.inventory[i - 1] = '';
						break;
					}
					++i;
				}
			} else {
				if (_root.allowDrag) {
					var xInv = _root.world._xmouse;
					var yInv = _root.world._ymouse;
					if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie(this.questName, dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
						_root.dropQuestItem(this.questName);
						this.removeMovieClip();
					}
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
							_root.dragging = false;
							_root.draggingItem = '';
							_root.allowDrag = true;
							_root.inventory[i - 1] = this.questName;
							this._x = _root.inventoryX[i - 1];
							this._y = _root.inventoryY[i - 1];
							break;
						}
						++i;
					}
				}
			}
		}
	}
	movieClip 6806 brightlakeWizardQInv {
	}
	button 6812 {
		on (rollOver) {
			_root.allowCast = false;
			this.questName = 'conquerorQ';
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.clearInventory(this.questName);
				_root.inventory[openSlot] = this.questName;
				var newName = 'item' + _root.questDepth - 1;
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						_root.world.mainMenu.characterMenu.attachMovie(this.questName + 'Inv', this.questName, _root.questDepth + i);
						_root.world.mainMenu.characterMenu[this.questName]._x = _root.inventoryX[openSlot];
						_root.world.mainMenu.characterMenu[this.questName]._y = _root.inventoryY[openSlot];
						_root.completeQuest(this.questName);
						_root.showQuestMessage('quest' + (i + 1));
						break;
					}
					++i;
				}
				this.removeMovieClip();
			}
		}
	}
	movieClip 6814 conquerorQ {
		frame 22 {
			stop();
		}
	}
	button 6817 {
		on (rollOver) {
			this.questName = 'conquerorQ';
			if (_root.dragging == false) {
				_root.world.mainMenu.characterMenu.itemStats._x = this._x - 210;
				_root.world.mainMenu.characterMenu.itemStats._y = this._y - 19;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(this.questName);
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = this.questName;
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
						_root.inventory[i - 1] = '';
						break;
					}
					++i;
				}
			} else {
				if (_root.allowDrag) {
					var xInv = _root.world._xmouse;
					var yInv = _root.world._ymouse;
					if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie(this.questName, dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
						_root.dropQuestItem(this.questName);
						this.removeMovieClip();
					}
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
							_root.dragging = false;
							_root.draggingItem = '';
							_root.allowDrag = true;
							_root.inventory[i - 1] = this.questName;
							this._x = _root.inventoryX[i - 1];
							this._y = _root.inventoryY[i - 1];
							break;
						}
						++i;
					}
				}
			}
		}
	}
	movieClip 6818 conquerorQInv {
	}
	button 6824 {
		on (release) {
			++_root.curEnergyPots;
			_root.allowCast = true;
			_root.removeFromArray(this);
			this.removeMovieClip();
		}
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
	}
	movieClip 6826 ePotion {
		frame 21 {
			gold_txt.text = this.amount + ' gold';
			stop();
		}
	}
	button 6831 {
		on (release) {
			if (_root.level > 7) {
				_root.gold += Math.ceil(this.amount * 0.6);
			} else {
				_root.gold += this.amount;
			}
			_root.allowCast = true;
			_root.removeFromArray(this);
			this.removeMovieClip();
		}
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
	}
	movieClip 6833 gold {
		frame 1 {
			_root.itemsOnGround[_root.itemsOnGround.length] = this;
		}
		frame 21 {
			if (_root.level > 7) {
				gold_txt.text = Math.ceil(this.amount * 0.6) + ' gold';
			} else {
				gold_txt.text = this.amount + ' gold';
			}
			stop();
		}
	}
	button 6839 {
		on (release) {
			++_root.curHealthPots;
			_root.allowCast = true;
			_root.removeFromArray(this);
			this.removeMovieClip();
		}
		on (rollOver) {
			_root.allowCast = false;
		}
		on (rollOut) {
			_root.allowCast = true;
		}
	}
	movieClip 6841 hPotion {
		frame 21 {
			gold_txt.text = this.amount + ' gold';
			stop();
		}
	}
	button 6847 {
		on (rollOver) {
			_root.allowCast = false;
			this.questName = 'greenviewMageQ';
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.clearInventory(this.questName);
				_root.inventory[openSlot] = this.questName;
				var newName = 'item' + _root.questDepth - 1;
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						_root.world.mainMenu.characterMenu.attachMovie(this.questName + 'Inv', this.questName, _root.questDepth + i);
						_root.world.mainMenu.characterMenu[this.questName]._x = _root.inventoryX[openSlot];
						_root.world.mainMenu.characterMenu[this.questName]._y = _root.inventoryY[openSlot];
						_root.completeQuest(this.questName);
						_root.showQuestMessage('quest' + (i + 1));
						break;
					}
					++i;
				}
				this.removeMovieClip();
			}
		}
	}
	movieClip 6849 greenviewMageQ {
		frame 22 {
			stop();
		}
	}
	button 6854 {
		on (rollOver) {
			this.questName = 'greenviewMageQ';
			if (_root.dragging == false) {
				_root.world.mainMenu.characterMenu.itemStats._x = this._x - 210;
				_root.world.mainMenu.characterMenu.itemStats._y = this._y - 19;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(this.questName);
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = this.questName;
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
						_root.inventory[i - 1] = '';
						break;
					}
					++i;
				}
			} else {
				if (_root.allowDrag) {
					var xInv = _root.world._xmouse;
					var yInv = _root.world._ymouse;
					if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie(this.questName, dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
						_root.dropQuestItem(this.questName);
						this.removeMovieClip();
					}
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
							_root.dragging = false;
							_root.draggingItem = '';
							_root.allowDrag = true;
							_root.inventory[i - 1] = this.questName;
							this._x = _root.inventoryX[i - 1];
							this._y = _root.inventoryY[i - 1];
							break;
						}
						++i;
					}
				}
			}
		}
	}
	movieClip 6855 greenviewMageQInv {
	}
	button 6861 {
		on (rollOver) {
			_root.allowCast = false;
			this.questName = 'greenviewWardQ';
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.clearInventory(this.questName);
				_root.inventory[openSlot] = this.questName;
				var newName = 'item' + _root.questDepth - 1;
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						_root.world.mainMenu.characterMenu.attachMovie(this.questName + 'Inv', this.questName, _root.questDepth + i);
						_root.world.mainMenu.characterMenu[this.questName]._x = _root.inventoryX[openSlot];
						_root.world.mainMenu.characterMenu[this.questName]._y = _root.inventoryY[openSlot];
						_root.completeQuest(this.questName);
						_root.showQuestMessage('quest' + (i + 1));
						break;
					}
					++i;
				}
				this.removeMovieClip();
			}
		}
	}
	movieClip 6863 greenviewWardQ {
		frame 22 {
			stop();
		}
	}
	button 6868 {
		on (rollOver) {
			this.questName = 'greenviewWardQ';
			if (_root.dragging == false) {
				_root.world.mainMenu.characterMenu.itemStats._x = this._x - 210;
				_root.world.mainMenu.characterMenu.itemStats._y = this._y - 19;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(this.questName);
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = this.questName;
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
						_root.inventory[i - 1] = '';
						break;
					}
					++i;
				}
			} else {
				if (_root.allowDrag) {
					var xInv = _root.world._xmouse;
					var yInv = _root.world._ymouse;
					if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie(this.questName, dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
						_root.dropQuestItem(this.questName);
						this.removeMovieClip();
					}
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
							_root.dragging = false;
							_root.draggingItem = '';
							_root.allowDrag = true;
							_root.inventory[i - 1] = this.questName;
							this._x = _root.inventoryX[i - 1];
							this._y = _root.inventoryY[i - 1];
							break;
						}
						++i;
					}
				}
			}
		}
	}
	movieClip 6869 greenviewWardQInv {
	}
	button 6875 {
		on (rollOver) {
			_root.allowCast = false;
			this.questName = 'guardOfHartQ';
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.clearInventory(this.questName);
				_root.inventory[openSlot] = this.questName;
				var newName = 'item' + _root.questDepth - 1;
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						_root.world.mainMenu.characterMenu.attachMovie(this.questName + 'Inv', this.questName, _root.questDepth + i);
						_root.world.mainMenu.characterMenu[this.questName]._x = _root.inventoryX[openSlot];
						_root.world.mainMenu.characterMenu[this.questName]._y = _root.inventoryY[openSlot];
						_root.completeQuest(this.questName);
						_root.showQuestMessage('quest' + (i + 1));
						break;
					}
					++i;
				}
				this.removeMovieClip();
			}
		}
	}
	movieClip 6877 guardOfHartQ {
		frame 22 {
			stop();
		}
	}
	button 6882 {
		on (rollOver) {
			this.questName = 'guardOfHartQ';
			if (_root.dragging == false) {
				_root.world.mainMenu.characterMenu.itemStats._x = this._x - 210;
				_root.world.mainMenu.characterMenu.itemStats._y = this._y - 19;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(this.questName);
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = this.questName;
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
						_root.inventory[i - 1] = '';
						break;
					}
					++i;
				}
			} else {
				if (_root.allowDrag) {
					var xInv = _root.world._xmouse;
					var yInv = _root.world._ymouse;
					if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie(this.questName, dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
						_root.dropQuestItem(this.questName);
						this.removeMovieClip();
					}
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
							_root.dragging = false;
							_root.draggingItem = '';
							_root.allowDrag = true;
							_root.inventory[i - 1] = this.questName;
							this._x = _root.inventoryX[i - 1];
							this._y = _root.inventoryY[i - 1];
							break;
						}
						++i;
					}
				}
			}
		}
	}
	movieClip 6883 guardOfHartQInv {
	}
	button 6887 {
		on (rollOver) {
			_root.allowCast = false;
			this.questName = 'hirelingQ';
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.clearInventory(this.questName);
				_root.inventory[openSlot] = this.questName;
				var newName = 'item' + _root.questDepth - 1;
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						_root.world.mainMenu.characterMenu.attachMovie(this.questName + 'Inv', this.questName, _root.questDepth + i);
						_root.world.mainMenu.characterMenu[this.questName]._x = _root.inventoryX[openSlot];
						_root.world.mainMenu.characterMenu[this.questName]._y = _root.inventoryY[openSlot];
						_root.completeQuest(this.questName);
						_root.showQuestMessage('quest' + (i + 1));
						break;
					}
					++i;
				}
				this.removeMovieClip();
			}
		}
	}
	movieClip 6889 hirelingQ {
		frame 22 {
			stop();
		}
	}
	button 6893 {
		on (rollOver) {
			this.questName = 'hirelingQ';
			if (_root.dragging == false) {
				_root.world.mainMenu.characterMenu.itemStats._x = this._x - 210;
				_root.world.mainMenu.characterMenu.itemStats._y = this._y - 19;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(this.questName);
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = this.questName;
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
						_root.inventory[i - 1] = '';
						break;
					}
					++i;
				}
			} else {
				if (_root.allowDrag) {
					var xInv = _root.world._xmouse;
					var yInv = _root.world._ymouse;
					if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie(this.questName, dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
						_root.dropQuestItem(this.questName);
						this.removeMovieClip();
					}
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
							_root.dragging = false;
							_root.draggingItem = '';
							_root.allowDrag = true;
							_root.inventory[i - 1] = this.questName;
							this._x = _root.inventoryX[i - 1];
							this._y = _root.inventoryY[i - 1];
							break;
						}
						++i;
					}
				}
			}
		}
	}
	movieClip 6894 hirelingQInv {
	}
	button 6900 {
		on (rollOver) {
			_root.allowCast = false;
			this.questName = 'knightQ';
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.clearInventory(this.questName);
				_root.inventory[openSlot] = this.questName;
				var newName = 'item' + _root.questDepth - 1;
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						_root.world.mainMenu.characterMenu.attachMovie(this.questName + 'Inv', this.questName, _root.questDepth + i);
						_root.world.mainMenu.characterMenu[this.questName]._x = _root.inventoryX[openSlot];
						_root.world.mainMenu.characterMenu[this.questName]._y = _root.inventoryY[openSlot];
						_root.completeQuest(this.questName);
						_root.showQuestMessage('quest' + (i + 1));
						break;
					}
					++i;
				}
				this.removeMovieClip();
			}
		}
	}
	movieClip 6902 knightQ {
		frame 22 {
			stop();
		}
	}
	button 6907 {
		on (rollOver) {
			this.questName = 'knightQ';
			if (_root.dragging == false) {
				_root.world.mainMenu.characterMenu.itemStats._x = this._x - 210;
				_root.world.mainMenu.characterMenu.itemStats._y = this._y - 19;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(this.questName);
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = this.questName;
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
						_root.inventory[i - 1] = '';
						break;
					}
					++i;
				}
			} else {
				if (_root.allowDrag) {
					var xInv = _root.world._xmouse;
					var yInv = _root.world._ymouse;
					if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie(this.questName, dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
						_root.dropQuestItem(this.questName);
						this.removeMovieClip();
					}
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
							_root.dragging = false;
							_root.draggingItem = '';
							_root.allowDrag = true;
							_root.inventory[i - 1] = this.questName;
							this._x = _root.inventoryX[i - 1];
							this._y = _root.inventoryY[i - 1];
							break;
						}
						++i;
					}
				}
			}
		}
	}
	movieClip 6908 knightQInv {
	}
	button 6914 {
		on (rollOver) {
			_root.allowCast = false;
			this.questName = 'merchantGuardQ';
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.clearInventory(this.questName);
				_root.inventory[openSlot] = this.questName;
				var newName = 'item' + _root.questDepth - 1;
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						_root.world.mainMenu.characterMenu.attachMovie(this.questName + 'Inv', this.questName, _root.questDepth + i);
						_root.world.mainMenu.characterMenu[this.questName]._x = _root.inventoryX[openSlot];
						_root.world.mainMenu.characterMenu[this.questName]._y = _root.inventoryY[openSlot];
						_root.completeQuest(this.questName);
						_root.showQuestMessage('quest' + (i + 1));
						break;
					}
					++i;
				}
				this.removeMovieClip();
			}
		}
	}
	movieClip 6916 merchantGuardQ {
		frame 22 {
			stop();
		}
	}
	button 6919 {
		on (rollOver) {
			this.questName = 'merchantGuardQ';
			if (_root.dragging == false) {
				_root.world.mainMenu.characterMenu.itemStats._x = this._x - 210;
				_root.world.mainMenu.characterMenu.itemStats._y = this._y - 19;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(this.questName);
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = this.questName;
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
						_root.inventory[i - 1] = '';
						break;
					}
					++i;
				}
			} else {
				if (_root.allowDrag) {
					var xInv = _root.world._xmouse;
					var yInv = _root.world._ymouse;
					if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie(this.questName, dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
						_root.dropQuestItem(this.questName);
						this.removeMovieClip();
					}
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
							_root.dragging = false;
							_root.draggingItem = '';
							_root.allowDrag = true;
							_root.inventory[i - 1] = this.questName;
							this._x = _root.inventoryX[i - 1];
							this._y = _root.inventoryY[i - 1];
							break;
						}
						++i;
					}
				}
			}
		}
	}
	movieClip 6920 merchantGuardQInv {
	}
	button 6926 {
		on (rollOver) {
			_root.allowCast = false;
			this.questName = 'pathfinderQ';
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.clearInventory(this.questName);
				_root.inventory[openSlot] = this.questName;
				var newName = 'item' + _root.questDepth - 1;
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						_root.world.mainMenu.characterMenu.attachMovie(this.questName + 'Inv', this.questName, _root.questDepth + i);
						_root.world.mainMenu.characterMenu[this.questName]._x = _root.inventoryX[openSlot];
						_root.world.mainMenu.characterMenu[this.questName]._y = _root.inventoryY[openSlot];
						_root.completeQuest(this.questName);
						_root.showQuestMessage('quest' + (i + 1));
						break;
					}
					++i;
				}
				this.removeMovieClip();
			}
		}
	}
	movieClip 6928 pathfinderQ {
		frame 22 {
			stop();
		}
	}
	button 6933 {
		on (rollOver) {
			this.questName = 'pathfinderQ';
			if (_root.dragging == false) {
				_root.world.mainMenu.characterMenu.itemStats._x = this._x - 210;
				_root.world.mainMenu.characterMenu.itemStats._y = this._y - 19;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(this.questName);
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = this.questName;
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
						_root.inventory[i - 1] = '';
						break;
					}
					++i;
				}
			} else {
				if (_root.allowDrag) {
					var xInv = _root.world._xmouse;
					var yInv = _root.world._ymouse;
					if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie(this.questName, dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
						_root.dropQuestItem(this.questName);
						this.removeMovieClip();
					}
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
							_root.dragging = false;
							_root.draggingItem = '';
							_root.allowDrag = true;
							_root.inventory[i - 1] = this.questName;
							this._x = _root.inventoryX[i - 1];
							this._y = _root.inventoryY[i - 1];
							break;
						}
						++i;
					}
				}
			}
		}
	}
	movieClip 6934 pathfinderQInv {
	}
	button 6940 {
		on (rollOver) {
			_root.allowCast = false;
			this.questName = 'shadowArcherQ';
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.clearInventory(this.questName);
				_root.inventory[openSlot] = this.questName;
				var newName = 'item' + _root.questDepth - 1;
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						_root.world.mainMenu.characterMenu.attachMovie(this.questName + 'Inv', this.questName, _root.questDepth + i);
						_root.world.mainMenu.characterMenu[this.questName]._x = _root.inventoryX[openSlot];
						_root.world.mainMenu.characterMenu[this.questName]._y = _root.inventoryY[openSlot];
						_root.completeQuest(this.questName);
						_root.showQuestMessage('quest' + (i + 1));
						break;
					}
					++i;
				}
				this.removeMovieClip();
			}
		}
	}
	movieClip 6942 shadowArcherQ {
		frame 22 {
			stop();
		}
	}
	button 6947 {
		on (rollOver) {
			this.questName = 'shadowArcherQ';
			if (_root.dragging == false) {
				_root.world.mainMenu.characterMenu.itemStats._x = this._x - 210;
				_root.world.mainMenu.characterMenu.itemStats._y = this._y - 19;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(this.questName);
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = this.questName;
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
						_root.inventory[i - 1] = '';
						break;
					}
					++i;
				}
			} else {
				if (_root.allowDrag) {
					var xInv = _root.world._xmouse;
					var yInv = _root.world._ymouse;
					if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie(this.questName, dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
						_root.dropQuestItem(this.questName);
						this.removeMovieClip();
					}
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
							_root.dragging = false;
							_root.draggingItem = '';
							_root.allowDrag = true;
							_root.inventory[i - 1] = this.questName;
							this._x = _root.inventoryX[i - 1];
							this._y = _root.inventoryY[i - 1];
							break;
						}
						++i;
					}
				}
			}
		}
	}
	movieClip 6948 shadowArcherQInv {
	}
	button 6954 {
		on (rollOver) {
			_root.allowCast = false;
			this.questName = 'shadowAssassinQ';
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.clearInventory(this.questName);
				_root.inventory[openSlot] = this.questName;
				var newName = 'item' + _root.questDepth - 1;
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						_root.world.mainMenu.characterMenu.attachMovie(this.questName + 'Inv', this.questName, _root.questDepth + i);
						_root.world.mainMenu.characterMenu[this.questName]._x = _root.inventoryX[openSlot];
						_root.world.mainMenu.characterMenu[this.questName]._y = _root.inventoryY[openSlot];
						_root.completeQuest(this.questName);
						_root.showQuestMessage('quest' + (i + 1));
						break;
					}
					++i;
				}
				this.removeMovieClip();
			}
		}
	}
	movieClip 6956 shadowAssassinQ {
		frame 22 {
			stop();
		}
	}
	button 6961 {
		on (rollOver) {
			this.questName = 'shadowAssassinQ';
			if (_root.dragging == false) {
				_root.world.mainMenu.characterMenu.itemStats._x = this._x - 210;
				_root.world.mainMenu.characterMenu.itemStats._y = this._y - 19;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(this.questName);
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = this.questName;
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
						_root.inventory[i - 1] = '';
						break;
					}
					++i;
				}
			} else {
				if (_root.allowDrag) {
					var xInv = _root.world._xmouse;
					var yInv = _root.world._ymouse;
					if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie(this.questName, dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
						_root.dropQuestItem(this.questName);
						this.removeMovieClip();
					}
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
							_root.dragging = false;
							_root.draggingItem = '';
							_root.allowDrag = true;
							_root.inventory[i - 1] = this.questName;
							this._x = _root.inventoryX[i - 1];
							this._y = _root.inventoryY[i - 1];
							break;
						}
						++i;
					}
				}
			}
		}
	}
	movieClip 6962 shadowAssassinQInv {
	}
	button 6967 {
		on (rollOver) {
			_root.allowCast = false;
			this.questName = 'shadowBowmanQ';
		}
		on (rollOut) {
			_root.allowCast = true;
		}
		on (release) {
			var openSlot = _root.checkInvSlots();
			if (openSlot != 'null') {
				_root.allowCast = true;
				_root.clearInventory(this.questName);
				_root.inventory[openSlot] = this.questName;
				var newName = 'item' + _root.questDepth - 1;
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						_root.world.mainMenu.characterMenu.attachMovie(this.questName + 'Inv', this.questName, _root.questDepth + i);
						_root.world.mainMenu.characterMenu[this.questName]._x = _root.inventoryX[openSlot];
						_root.world.mainMenu.characterMenu[this.questName]._y = _root.inventoryY[openSlot];
						_root.completeQuest(this.questName);
						_root.showQuestMessage('quest' + (i + 1));
						break;
					}
					++i;
				}
				this.removeMovieClip();
			}
		}
	}
	movieClip 6969 shadowBowmanQ {
		frame 22 {
			stop();
		}
	}
	button 6973 {
		on (rollOver) {
			this.questName = 'shadowBowmanQ';
			if (_root.dragging == false) {
				_root.world.mainMenu.characterMenu.itemStats._x = this._x - 210;
				_root.world.mainMenu.characterMenu.itemStats._y = this._y - 19;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(this.questName);
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = this.questName;
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
						_root.inventory[i - 1] = '';
						break;
					}
					++i;
				}
			} else {
				if (_root.allowDrag) {
					var xInv = _root.world._xmouse;
					var yInv = _root.world._ymouse;
					if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie(this.questName, dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
						_root.dropQuestItem(this.questName);
						this.removeMovieClip();
					}
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
							_root.dragging = false;
							_root.draggingItem = '';
							_root.allowDrag = true;
							_root.inventory[i - 1] = this.questName;
							this._x = _root.inventoryX[i - 1];
							this._y = _root.inventoryY[i - 1];
							break;
						}
						++i;
					}
				}
			}
		}
	}
	movieClip 6974 shadowBowmanQInv {
	}
	button 6978 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('leatherSleeves');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (press) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.arms) && _root.equipment[4] == 'leatherSleeves') {
					_root.equipment[4] = '';
					_root.unequip('leatherSleeves');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.leatherSleeves[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('leatherSleeves', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.arms.hitTest(xInv, yInv) && _root.equipment[4] == '') {
					if (_root.leatherSleeves[0] == _root.playerClass) {
						if (_root.leatherSleeves[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[4] = 'leatherSleeves';
							_root.equip('leatherSleeves');
							this._x = _root.equipX[4];
							this._y = _root.equipY[4];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'leatherSleeves';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 6979 leatherSleevesInv {
	}
	button 6984 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('sharpshootersSleeves');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.arms) && _root.equipment[4] == 'sharpshootersSleeves') {
					_root.equipment[4] = '';
					_root.unequip('sharpshootersSleeves');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.sharpshootersSleeves[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('sharpshootersSleeves', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.arms.hitTest(xInv, yInv) && _root.equipment[4] == '') {
					if (_root.sharpshootersSleeves[0] == _root.playerClass) {
						if (_root.sharpshootersSleeves[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[4] = 'sharpshootersSleeves';
							_root.equip('sharpshootersSleeves');
							this._x = _root.equipX[4];
							this._y = _root.equipY[4];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'sharpshootersSleeves';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 6985 sharpshootersSleevesInv {
	}
	button 6989 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('studdedSleeves');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.arms) && _root.equipment[4] == 'studdedSleeves') {
					_root.equipment[4] = '';
					_root.unequip('studdedSleeves');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.studdedSleeves[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('studdedSleeves', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.arms.hitTest(xInv, yInv) && _root.equipment[4] == '') {
					if (_root.studdedSleeves[0] == _root.playerClass) {
						if (_root.studdedSleeves[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[4] = 'studdedSleeves';
							_root.equip('studdedSleeves');
							this._x = _root.equipX[4];
							this._y = _root.equipY[4];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'studdedSleeves';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 6990 studdedSleevesInv {
	}
	button 6993 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('sylvanArmguards');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.arms) && _root.equipment[4] == 'sylvanArmguards') {
					_root.equipment[4] = '';
					_root.unequip('sylvanArmguards');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.sylvanArmguards[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('sylvanArmguards', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.arms.hitTest(xInv, yInv) && _root.equipment[4] == '') {
					if (_root.sylvanArmguards[0] == _root.playerClass) {
						if (_root.sylvanArmguards[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[4] = 'sylvanArmguards';
							_root.equip('sylvanArmguards');
							this._x = _root.equipX[4];
							this._y = _root.equipY[4];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'sylvanArmguards';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 6994 sylvanArmguardsInv {
	}
	button 6997 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('woodsmansArmguards');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.arms) && _root.equipment[4] == 'woodsmansArmguards') {
					_root.equipment[4] = '';
					_root.unequip('woodsmansArmguards');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.woodsmansArmguards[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('woodsmansArmguards', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.arms.hitTest(xInv, yInv) && _root.equipment[4] == '') {
					if (_root.woodsmansArmguards[0] == _root.playerClass) {
						if (_root.woodsmansArmguards[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[4] = 'woodsmansArmguards';
							_root.equip('woodsmansArmguards');
							this._x = _root.equipX[4];
							this._y = _root.equipY[4];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'woodsmansArmguards';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 6998 woodsmansArmguardsInv {
	}
	button 7001 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('bronzeArmplates');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.arms) && _root.equipment[4] == 'bronzeArmplates') {
					_root.equipment[4] = '';
					_root.unequip('bronzeArmplates');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.bronzeArmplates[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('bronzeArmplates', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.arms.hitTest(xInv, yInv) && _root.equipment[4] == '') {
					if (_root.bronzeArmplates[0] == _root.playerClass) {
						if (_root.bronzeArmplates[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[4] = 'bronzeArmplates';
							_root.equip('bronzeArmplates');
							this._x = _root.equipX[4];
							this._y = _root.equipY[4];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'bronzeArmplates';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7002 bronzeArmplatesInv {
	}
	button 7006 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('championsArmguards');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.arms) && _root.equipment[4] == 'championsArmguards') {
					_root.equipment[4] = '';
					_root.unequip('championsArmguards');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.championsArmguards[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('championsArmguards', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.arms.hitTest(xInv, yInv) && _root.equipment[4] == '') {
					if (_root.championsArmguards[0] == _root.playerClass) {
						if (_root.championsArmguards[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[4] = 'championsArmguards';
							_root.equip('championsArmguards');
							this._x = _root.equipX[4];
							this._y = _root.equipY[4];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'championsArmguards';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7007 championsArmguardsInv {
	}
	button 7011 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('dentedArmguards');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.arms) && _root.equipment[4] == 'dentedArmguards') {
					_root.equipment[4] = '';
					_root.unequip('dentedArmguards');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.dentedArmguards[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('dentedArmguards', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.arms.hitTest(xInv, yInv) && _root.equipment[4] == '') {
					if (_root.dentedArmguards[0] == _root.playerClass) {
						if (_root.dentedArmguards[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[4] = 'dentedArmguards';
							_root.equip('dentedArmguards');
							this._x = _root.equipX[4];
							this._y = _root.equipY[4];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'dentedArmguards';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7012 dentedArmguardsInv {
	}
	button 7016 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('gladiatorsVambraces');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.arms) && _root.equipment[4] == 'gladiatorsVambraces') {
					_root.equipment[4] = '';
					_root.unequip('gladiatorsVambraces');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.gladiatorsVambraces[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('gladiatorsVambraces', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.arms.hitTest(xInv, yInv) && _root.equipment[4] == '') {
					if (_root.gladiatorsVambraces[0] == _root.playerClass) {
						if (_root.gladiatorsVambraces[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[4] = 'gladiatorsVambraces';
							_root.equip('gladiatorsVambraces');
							this._x = _root.equipX[4];
							this._y = _root.equipY[4];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'gladiatorsVambraces';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7017 gladiatorsVambracesInv {
	}
	button 7022 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('mithrilVambraces');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.arms) && _root.equipment[4] == 'mithrilVambraces') {
					_root.equipment[4] = '';
					_root.unequip('mithrilVambraces');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.mithrilVambraces[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('mithrilVambraces', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.arms.hitTest(xInv, yInv) && _root.equipment[4] == '') {
					if (_root.mithrilVambraces[0] == _root.playerClass) {
						if (_root.mithrilVambraces[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[4] = 'mithrilVambraces';
							_root.equip('mithrilVambraces');
							this._x = _root.equipX[4];
							this._y = _root.equipY[4];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'mithrilVambraces';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7023 mithrilVambracesInv {
	}
	button 7027 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('aeromancersSleeves');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.arms) && _root.equipment[4] == 'aeromancersSleeves') {
					_root.equipment[4] = '';
					_root.unequip('aeromancersSleeves');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.aeromancersSleeves[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('aeromancersSleeves', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.arms.hitTest(xInv, yInv) && _root.equipment[4] == '') {
					if (_root.aeromancersSleeves[0] == _root.playerClass) {
						if (_root.aeromancersSleeves[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[4] = 'aeromancersSleeves';
							_root.equip('aeromancersSleeves');
							this._x = _root.equipX[4];
							this._y = _root.equipY[4];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'aeromancersSleeves';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7028 aeromancersSleevesInv {
	}
	button 7033 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('magiciansSleeves');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.arms) && _root.equipment[4] == 'magiciansSleeves') {
					_root.equipment[4] = '';
					_root.unequip('magiciansSleeves');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.magiciansSleeves[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('magiciansSleeves', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.arms.hitTest(xInv, yInv) && _root.equipment[4] == '') {
					if (_root.magiciansSleeves[0] == _root.playerClass) {
						if (_root.magiciansSleeves[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[4] = 'magiciansSleeves';
							_root.equip('magiciansSleeves');
							this._x = _root.equipX[4];
							this._y = _root.equipY[4];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'magiciansSleeves';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7034 magiciansSleevesInv {
	}
	button 7037 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('silkSleeves');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.arms) && _root.equipment[4] == 'silkSleeves') {
					_root.equipment[4] = '';
					_root.unequip('silkSleeves');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.silkSleeves[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('silkSleeves', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.arms.hitTest(xInv, yInv) && _root.equipment[4] == '') {
					if (_root.silkSleeves[0] == _root.playerClass) {
						if (_root.silkSleeves[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[4] = 'silkSleeves';
							_root.equip('silkSleeves');
							this._x = _root.equipX[4];
							this._y = _root.equipY[4];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'silkSleeves';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7038 silkSleevesInv {
	}
	button 7042 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('spellweaversSleeves');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.arms) && _root.equipment[4] == 'spellweaversSleeves') {
					_root.equipment[4] = '';
					_root.unequip('spellweaversSleeves');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.spellweaversSleeves[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('spellweaversSleeves', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.arms.hitTest(xInv, yInv) && _root.equipment[4] == '') {
					if (_root.spellweaversSleeves[0] == _root.playerClass) {
						if (_root.spellweaversSleeves[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[4] = 'spellweaversSleeves';
							_root.equip('spellweaversSleeves');
							this._x = _root.equipX[4];
							this._y = _root.equipY[4];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'spellweaversSleeves';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7043 spellweaversSleevesInv {
	}
	button 7047 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('tatteredSleeves');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.arms) && _root.equipment[4] == 'tatteredSleeves') {
					_root.equipment[4] = '';
					_root.unequip('tatteredSleeves');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.tatteredSleeves[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('tatteredSleeves', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.arms.hitTest(xInv, yInv) && _root.equipment[4] == '') {
					if (_root.tatteredSleeves[0] == _root.playerClass) {
						if (_root.tatteredSleeves[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[4] = 'tatteredSleeves';
							_root.equip('tatteredSleeves');
							this._x = _root.equipX[4];
							this._y = _root.equipY[4];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'tatteredSleeves';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7048 tatteredSleevesInv {
	}
	button 7052 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('leatherTunic');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.chest) && _root.equipment[3] == 'leatherTunic') {
					_root.equipment[3] = '';
					_root.unequip('leatherTunic');
					_root.chestEquip = _root.playerClass;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.leatherTunic[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('leatherTunic', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.chest.hitTest(xInv, yInv) && _root.equipment[3] == '') {
					if (_root.leatherTunic[0] == _root.playerClass) {
						if (_root.leatherTunic[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[3] = 'leatherTunic';
							_root.equip('leatherTunic');
							_root.chestEquip = 'leatherTunic';
							this._x = _root.equipX[3];
							this._y = _root.equipY[3];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'leatherTunic';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7053 leatherTunicInv {
	}
	button 7058 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('pokensVest');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.chest) && _root.equipment[3] == 'pokensVest') {
					_root.equipment[3] = '';
					_root.unequip('pokensVest');
					_root.chestEquip = _root.playerClass;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.pokensVest[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('pokensVest', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.chest.hitTest(xInv, yInv) && _root.equipment[3] == '') {
					if (_root.pokensVest[0] == _root.playerClass) {
						if (_root.pokensVest[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[3] = 'pokensVest';
							_root.equip('pokensVest');
							_root.chestEquip = 'pokensVest';
							this._x = _root.equipX[3];
							this._y = _root.equipY[3];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'pokensVest';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7059 pokensVestInv {
	}
	button 7064 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('sharpshootersTunic');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.chest) && _root.equipment[3] == 'sharpshootersTunic') {
					_root.equipment[3] = '';
					_root.unequip('sharpshootersTunic');
					_root.chestEquip = _root.playerClass;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.sharpshootersTunic[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('sharpshootersTunic', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.chest.hitTest(xInv, yInv) && _root.equipment[3] == '') {
					if (_root.sharpshootersTunic[0] == _root.playerClass) {
						if (_root.sharpshootersTunic[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[3] = 'sharpshootersTunic';
							_root.equip('sharpshootersTunic');
							_root.chestEquip = 'sharpshootersTunic';
							this._x = _root.equipX[3];
							this._y = _root.equipY[3];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'sharpshootersTunic';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7065 sharpshootersTunicInv {
	}
	button 7070 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('studdedTunic');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.chest) && _root.equipment[3] == 'studdedTunic') {
					_root.equipment[3] = '';
					_root.unequip('studdedTunic');
					_root.chestEquip = _root.playerClass;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.studdedTunic[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('studdedTunic', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.chest.hitTest(xInv, yInv) && _root.equipment[3] == '') {
					if (_root.studdedTunic[0] == _root.playerClass) {
						if (_root.studdedTunic[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[3] = 'studdedTunic';
							_root.equip('studdedTunic');
							_root.chestEquip = 'studdedTunic';
							this._x = _root.equipX[3];
							this._y = _root.equipY[3];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'studdedTunic';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7071 studdedTunicInv {
	}
	button 7075 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('sylvanTunic');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.chest) && _root.equipment[3] == 'sylvanTunic') {
					_root.equipment[3] = '';
					_root.unequip('sylvanTunic');
					_root.chestEquip = _root.playerClass;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.sylvanTunic[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('sylvanTunic', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.chest.hitTest(xInv, yInv) && _root.equipment[3] == '') {
					if (_root.sylvanTunic[0] == _root.playerClass) {
						if (_root.sylvanTunic[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[3] = 'sylvanTunic';
							_root.equip('sylvanTunic');
							_root.chestEquip = 'sylvanTunic';
							this._x = _root.equipX[3];
							this._y = _root.equipY[3];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'sylvanTunic';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7076 sylvanTunicInv {
	}
	button 7081 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('woodsmansVest');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.chest) && _root.equipment[3] == 'woodsmansVest') {
					_root.equipment[3] = '';
					_root.unequip('woodsmansVest');
					_root.chestEquip = _root.playerClass;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.woodsmansVest[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('woodsmansVest', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.chest.hitTest(xInv, yInv) && _root.equipment[3] == '') {
					if (_root.woodsmansVest[0] == _root.playerClass) {
						if (_root.woodsmansVest[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[3] = 'woodsmansVest';
							_root.equip('woodsmansVest');
							_root.chestEquip = 'woodsmansVest';
							this._x = _root.equipX[3];
							this._y = _root.equipY[3];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'woodsmansVest';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7082 woodsmansVestInv {
	}
	button 7087 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('bronzeBreastplate');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.chest) && _root.equipment[3] == 'bronzeBreastplate') {
					_root.equipment[3] = '';
					_root.unequip('bronzeBreastplate');
					_root.chestEquip = _root.playerClass;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.bronzeBreastplate[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('bronzeBreastplate', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.chest.hitTest(xInv, yInv) && _root.equipment[3] == '') {
					if (_root.bronzeBreastplate[0] == _root.playerClass) {
						if (_root.bronzeBreastplate[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[3] = 'bronzeBreastplate';
							_root.equip('bronzeBreastplate');
							_root.chestEquip = 'bronzeBreastplate';
							this._x = _root.equipX[3];
							this._y = _root.equipY[3];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'bronzeBreastplate';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7088 bronzeBreastplateInv {
	}
	button 7093 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('championsChestguard');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.chest) && _root.equipment[3] == 'championsChestguard') {
					_root.equipment[3] = '';
					_root.unequip('championsChestguard');
					_root.chestEquip = _root.playerClass;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.championsChestguard[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('championsChestguard', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.chest.hitTest(xInv, yInv) && _root.equipment[3] == '') {
					if (_root.championsChestguard[0] == _root.playerClass) {
						if (_root.championsChestguard[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[3] = 'championsChestguard';
							_root.equip('championsChestguard');
							_root.chestEquip = 'championsChestguard';
							this._x = _root.equipX[3];
							this._y = _root.equipY[3];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'championsChestguard';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7094 championsChestguardInv {
	}
	button 7098 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('dentedChestguard');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.chest) && _root.equipment[3] == 'dentedChestguard') {
					_root.equipment[3] = '';
					_root.unequip('dentedChestguard');
					_root.chestEquip = _root.playerClass;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.dentedChestguard[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('dentedChestguard', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.chest.hitTest(xInv, yInv) && _root.equipment[3] == '') {
					if (_root.dentedChestguard[0] == _root.playerClass) {
						if (_root.dentedChestguard[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[3] = 'dentedChestguard';
							_root.equip('dentedChestguard');
							_root.chestEquip = 'dentedChestguard';
							this._x = _root.equipX[3];
							this._y = _root.equipY[3];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'dentedChestguard';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7099 dentedChestguardInv {
	}
	button 7103 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('gladiatorsBreastplate');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.chest) && _root.equipment[3] == 'gladiatorsBreastplate') {
					_root.equipment[3] = '';
					_root.unequip('gladiatorsBreastplate');
					_root.chestEquip = _root.playerClass;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.gladiatorsBreastplate[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('gladiatorsBreastplate', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.chest.hitTest(xInv, yInv) && _root.equipment[3] == '') {
					if (_root.gladiatorsBreastplate[0] == _root.playerClass) {
						if (_root.gladiatorsBreastplate[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[3] = 'gladiatorsBreastplate';
							_root.equip('gladiatorsBreastplate');
							_root.chestEquip = 'gladiatorsBreastplate';
							this._x = _root.equipX[3];
							this._y = _root.equipY[3];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'gladiatorsBreastplate';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7104 gladiatorsBreastplateInv {
	}
	button 7108 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('mithrilBreastplate');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.chest) && _root.equipment[3] == 'mithrilBreastplate') {
					_root.equipment[3] = '';
					_root.unequip('mithrilBreastplate');
					_root.chestEquip = _root.playerClass;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.mithrilBreastplate[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('mithrilBreastplate', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.chest.hitTest(xInv, yInv) && _root.equipment[3] == '') {
					if (_root.mithrilBreastplate[0] == _root.playerClass) {
						if (_root.mithrilBreastplate[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[3] = 'mithrilBreastplate';
							_root.equip('mithrilBreastplate');
							_root.chestEquip = 'mithrilBreastplate';
							this._x = _root.equipX[3];
							this._y = _root.equipY[3];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'mithrilBreastplate';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7109 mithrilBreastplateInv {
	}
	button 7114 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('rockwellsArmor');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.chest) && _root.equipment[3] == 'rockwellsArmor') {
					_root.equipment[3] = '';
					_root.unequip('rockwellsArmor');
					_root.chestEquip = _root.playerClass;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.rockwellsArmor[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('rockwellsArmor', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.chest.hitTest(xInv, yInv) && _root.equipment[3] == '') {
					if (_root.rockwellsArmor[0] == _root.playerClass) {
						if (_root.rockwellsArmor[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[3] = 'rockwellsArmor';
							_root.equip('rockwellsArmor');
							_root.chestEquip = 'rockwellsArmor';
							this._x = _root.equipX[3];
							this._y = _root.equipY[3];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'rockwellsArmor';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7115 rockwellsArmorInv {
	}
	button 7120 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('aeromancersRobe');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.chest) && _root.equipment[3] == 'aeromancersRobe') {
					_root.equipment[3] = '';
					_root.unequip('aeromancersRobe');
					_root.chestEquip = _root.playerClass;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.aeromancersRobe[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('aeromancersRobe', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.chest.hitTest(xInv, yInv) && _root.equipment[3] == '') {
					if (_root.aeromancersRobe[0] == _root.playerClass) {
						if (_root.aeromancersRobe[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[3] = 'aeromancersRobe';
							_root.equip('aeromancersRobe');
							_root.chestEquip = 'aeromancersRobe';
							this._x = _root.equipX[3];
							this._y = _root.equipY[3];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'aeromancersRobe';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7121 aeromancersRobeInv {
	}
	button 7125 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('blazzensRobe');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.chest) && _root.equipment[3] == 'blazzensRobe') {
					_root.equipment[3] = '';
					_root.unequip('blazzensRobe');
					_root.chestEquip = _root.playerClass;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.blazzensRobe[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('blazzensRobe', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.chest.hitTest(xInv, yInv) && _root.equipment[3] == '') {
					if (_root.blazzensRobe[0] == _root.playerClass) {
						if (_root.blazzensRobe[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[3] = 'blazzensRobe';
							_root.equip('blazzensRobe');
							_root.chestEquip = 'blazzensRobe';
							this._x = _root.equipX[3];
							this._y = _root.equipY[3];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'blazzensRobe';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7126 blazzensRobeInv {
	}
	button 7130 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('magiciansRobe');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.chest) && _root.equipment[3] == 'magiciansRobe') {
					_root.equipment[3] = '';
					_root.unequip('magiciansRobe');
					_root.chestEquip = _root.playerClass;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.magiciansRobe[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('magiciansRobe', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.chest.hitTest(xInv, yInv) && _root.equipment[3] == '') {
					if (_root.magiciansRobe[0] == _root.playerClass) {
						if (_root.magiciansRobe[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[3] = 'magiciansRobe';
							_root.equip('magiciansRobe');
							_root.chestEquip = 'magiciansRobe';
							this._x = _root.equipX[3];
							this._y = _root.equipY[3];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'magiciansRobe';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7131 magiciansRobeInv {
	}
	button 7136 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('robeOfTheAncients');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.chest) && _root.equipment[3] == 'robeOfTheAncients') {
					_root.equipment[3] = '';
					_root.unequip('robeOfTheAncients');
					_root.chestEquip = _root.playerClass;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.robeOfTheAncients[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('robeOfTheAncients', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.chest.hitTest(xInv, yInv) && _root.equipment[3] == '') {
					if (_root.robeOfTheAncients[0] == _root.playerClass) {
						if (_root.robeOfTheAncients[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[3] = 'robeOfTheAncients';
							_root.equip('robeOfTheAncients');
							_root.chestEquip = 'robeOfTheAncients';
							this._x = _root.equipX[3];
							this._y = _root.equipY[3];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'robeOfTheAncients';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7137 robeOfTheAncientsInv {
	}
	button 7141 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('silkRobe');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.chest) && _root.equipment[3] == 'silkRobe') {
					_root.equipment[3] = '';
					_root.unequip('silkRobe');
					_root.chestEquip = _root.playerClass;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.silkRobe[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('silkRobe', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.chest.hitTest(xInv, yInv) && _root.equipment[3] == '') {
					if (_root.silkRobe[0] == _root.playerClass) {
						if (_root.silkRobe[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[3] = 'silkRobe';
							_root.equip('silkRobe');
							_root.chestEquip = 'silkRobe';
							this._x = _root.equipX[3];
							this._y = _root.equipY[3];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'silkRobe';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7142 silkRobeInv {
	}
	button 7146 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('spellweaversRobe');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.chest) && _root.equipment[3] == 'spellweaversRobe') {
					_root.equipment[3] = '';
					_root.unequip('spellweaversRobe');
					_root.chestEquip = _root.playerClass;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.spellweaversRobe[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('spellweaversRobe', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.chest.hitTest(xInv, yInv) && _root.equipment[3] == '') {
					if (_root.spellweaversRobe[0] == _root.playerClass) {
						if (_root.spellweaversRobe[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[3] = 'spellweaversRobe';
							_root.equip('spellweaversRobe');
							_root.chestEquip = 'spellweaversRobe';
							this._x = _root.equipX[3];
							this._y = _root.equipY[3];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'spellweaversRobe';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7147 spellweaversRobeInv {
	}
	button 7152 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('tatteredRobe');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.chest) && _root.equipment[3] == 'tatteredRobe') {
					_root.equipment[3] = '';
					_root.unequip('tatteredRobe');
					_root.chestEquip = _root.playerClass;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.tatteredRobe[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('tatteredRobe', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.chest.hitTest(xInv, yInv) && _root.equipment[3] == '') {
					if (_root.tatteredRobe[0] == _root.playerClass) {
						if (_root.tatteredRobe[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[3] = 'tatteredRobe';
							_root.equip('tatteredRobe');
							_root.chestEquip = 'tatteredRobe';
							this._x = _root.equipX[3];
							this._y = _root.equipY[3];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'tatteredRobe';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7153 tatteredRobeInv {
	}
	button 7158 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('leatherBoots');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.feet) && _root.equipment[8] == 'leatherBoots') {
					_root.equipment[8] = '';
					_root.unequip('leatherBoots');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.leatherBoots[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('leatherBoots', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.feet.hitTest(xInv, yInv) && _root.equipment[8] == '') {
					if (_root.leatherBoots[0] == _root.playerClass) {
						if (_root.leatherBoots[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[8] = 'leatherBoots';
							_root.equip('leatherBoots');
							this._x = _root.equipX[8];
							this._y = _root.equipY[8];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'leatherBoots';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7159 leatherBootsInv {
	}
	button 7163 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('sharpshootersTreads');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.feet) && _root.equipment[8] == 'sharpshootersTreads') {
					_root.equipment[8] = '';
					_root.unequip('sharpshootersTreads');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.sharpshootersTreads[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('sharpshootersTreads', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.feet.hitTest(xInv, yInv) && _root.equipment[8] == '') {
					if (_root.sharpshootersTreads[0] == _root.playerClass) {
						if (_root.sharpshootersTreads[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[8] = 'sharpshootersTreads';
							_root.equip('sharpshootersTreads');
							this._x = _root.equipX[8];
							this._y = _root.equipY[8];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'sharpshootersTreads';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7164 sharpshootersTreadsInv {
	}
	button 7169 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('studdedBoots');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.feet) && _root.equipment[8] == 'studdedBoots') {
					_root.equipment[8] = '';
					_root.unequip('studdedBoots');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.studdedBoots[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('studdedBoots', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.feet.hitTest(xInv, yInv) && _root.equipment[8] == '') {
					if (_root.studdedBoots[0] == _root.playerClass) {
						if (_root.studdedBoots[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[8] = 'studdedBoots';
							_root.equip('studdedBoots');
							this._x = _root.equipX[8];
							this._y = _root.equipY[8];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'studdedBoots';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7170 studdedBootsInv {
	}
	button 7174 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('sylvanBoots');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.feet) && _root.equipment[8] == 'sylvanBoots') {
					_root.equipment[8] = '';
					_root.unequip('sylvanBoots');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.sylvanBoots[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('sylvanBoots', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.feet.hitTest(xInv, yInv) && _root.equipment[8] == '') {
					if (_root.sylvanBoots[0] == _root.playerClass) {
						if (_root.sylvanBoots[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[8] = 'sylvanBoots';
							_root.equip('sylvanBoots');
							this._x = _root.equipX[8];
							this._y = _root.equipY[8];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'sylvanBoots';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7175 sylvanBootsInv {
	}
	button 7180 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('woodsmansTreads');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.feet) && _root.equipment[8] == 'woodsmansTreads') {
					_root.equipment[8] = '';
					_root.unequip('woodsmansTreads');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.woodsmansTreads[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('woodsmansTreads', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.feet.hitTest(xInv, yInv) && _root.equipment[8] == '') {
					if (_root.woodsmansTreads[0] == _root.playerClass) {
						if (_root.woodsmansTreads[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[8] = 'woodsmansTreads';
							_root.equip('woodsmansTreads');
							this._x = _root.equipX[8];
							this._y = _root.equipY[8];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'woodsmansTreads';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7181 woodsmansTreadsInv {
	}
	button 7185 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('bronzeBoots');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.feet) && _root.equipment[8] == 'bronzeBoots') {
					_root.equipment[8] = '';
					_root.unequip('bronzeBoots');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.bronzeBoots[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('bronzeBoots', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.feet.hitTest(xInv, yInv) && _root.equipment[8] == '') {
					if (_root.bronzeBoots[0] == _root.playerClass) {
						if (_root.bronzeBoots[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[8] = 'bronzeBoots';
							_root.equip('bronzeBoots');
							this._x = _root.equipX[8];
							this._y = _root.equipY[8];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'bronzeBoots';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7186 bronzeBootsInv {
	}
	button 7191 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('championsBoots');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.feet) && _root.equipment[8] == 'championsBoots') {
					_root.equipment[8] = '';
					_root.unequip('championsBoots');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.championsBoots[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('championsBoots', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.feet.hitTest(xInv, yInv) && _root.equipment[8] == '') {
					if (_root.championsBoots[0] == _root.playerClass) {
						if (_root.championsBoots[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[8] = 'championsBoots';
							_root.equip('championsBoots');
							this._x = _root.equipX[8];
							this._y = _root.equipY[8];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'championsBoots';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7192 championsBootsInv {
	}
	button 7196 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('dentedBoots');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.feet) && _root.equipment[8] == 'dentedBoots') {
					_root.equipment[8] = '';
					_root.unequip('dentedBoots');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.dentedBoots[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('dentedBoots', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.feet.hitTest(xInv, yInv) && _root.equipment[8] == '') {
					if (_root.dentedBoots[0] == _root.playerClass) {
						if (_root.dentedBoots[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[8] = 'dentedBoots';
							_root.equip('dentedBoots');
							this._x = _root.equipX[8];
							this._y = _root.equipY[8];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'dentedBoots';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7197 dentedBootsInv {
	}
	button 7201 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('gladiatorsBoots');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.feet) && _root.equipment[8] == 'gladiatorsBoots') {
					_root.equipment[8] = '';
					_root.unequip('gladiatorsBoots');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.gladiatorsBoots[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('gladiatorsBoots', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.feet.hitTest(xInv, yInv) && _root.equipment[8] == '') {
					if (_root.gladiatorsBoots[0] == _root.playerClass) {
						if (_root.gladiatorsBoots[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[8] = 'gladiatorsBoots';
							_root.equip('gladiatorsBoots');
							this._x = _root.equipX[8];
							this._y = _root.equipY[8];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'gladiatorsBoots';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7202 gladiatorsBootsInv {
	}
	button 7206 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('mithrilBoots');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.feet) && _root.equipment[8] == 'mithrilBoots') {
					_root.equipment[8] = '';
					_root.unequip('mithrilBoots');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.mithrilBoots[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('mithrilBoots', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.feet.hitTest(xInv, yInv) && _root.equipment[8] == '') {
					if (_root.mithrilBoots[0] == _root.playerClass) {
						if (_root.mithrilBoots[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[8] = 'mithrilBoots';
							_root.equip('mithrilBoots');
							this._x = _root.equipX[8];
							this._y = _root.equipY[8];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'mithrilBoots';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7207 mithrilBootsInv {
	}
	button 7212 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('aeromancersSlippers');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.feet) && _root.equipment[8] == 'aeromancersSlippers') {
					_root.equipment[8] = '';
					_root.unequip('aeromancersSlippers');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.aeromancersSlippers[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('aeromancersSlippers', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.feet.hitTest(xInv, yInv) && _root.equipment[8] == '') {
					if (_root.aeromancersSlippers[0] == _root.playerClass) {
						if (_root.aeromancersSlippers[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[8] = 'aeromancersSlippers';
							_root.equip('aeromancersSlippers');
							this._x = _root.equipX[8];
							this._y = _root.equipY[8];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'aeromancersSlippers';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7213 aeromancersSlippersInv {
	}
	button 7217 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('magiciansTreads');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.feet) && _root.equipment[8] == 'magiciansTreads') {
					_root.equipment[8] = '';
					_root.unequip('magiciansTreads');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.magiciansTreads[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('magiciansTreads', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.feet.hitTest(xInv, yInv) && _root.equipment[8] == '') {
					if (_root.magiciansTreads[0] == _root.playerClass) {
						if (_root.magiciansTreads[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[8] = 'magiciansTreads';
							_root.equip('magiciansTreads');
							this._x = _root.equipX[8];
							this._y = _root.equipY[8];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'magiciansTreads';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7218 magiciansTreadsInv {
	}
	button 7223 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('silkSlippers');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.feet) && _root.equipment[8] == 'silkSlippers') {
					_root.equipment[8] = '';
					_root.unequip('silkSlippers');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.silkSlippers[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('silkSlippers', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.feet.hitTest(xInv, yInv) && _root.equipment[8] == '') {
					if (_root.silkSlippers[0] == _root.playerClass) {
						if (_root.silkSlippers[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[8] = 'silkSlippers';
							_root.equip('silkSlippers');
							this._x = _root.equipX[8];
							this._y = _root.equipY[8];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'silkSlippers';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7224 silkSlippersInv {
	}
	button 7228 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('spellweaversTreads');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.feet) && _root.equipment[8] == 'spellweaversTreads') {
					_root.equipment[8] = '';
					_root.unequip('spellweaversTreads');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.spellweaversTreads[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('spellweaversTreads', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.feet.hitTest(xInv, yInv) && _root.equipment[8] == '') {
					if (_root.spellweaversTreads[0] == _root.playerClass) {
						if (_root.spellweaversTreads[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[8] = 'spellweaversTreads';
							_root.equip('spellweaversTreads');
							this._x = _root.equipX[8];
							this._y = _root.equipY[8];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'spellweaversTreads';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7229 spellweaversTreadsInv {
	}
	button 7233 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('tatteredSlippers');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.feet) && _root.equipment[8] == 'tatteredSlippers') {
					_root.equipment[8] = '';
					_root.unequip('tatteredSlippers');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.tatteredSlippers[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('tatteredSlippers', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.feet.hitTest(xInv, yInv) && _root.equipment[8] == '') {
					if (_root.tatteredSlippers[0] == _root.playerClass) {
						if (_root.tatteredSlippers[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[8] = 'tatteredSlippers';
							_root.equip('tatteredSlippers');
							this._x = _root.equipX[8];
							this._y = _root.equipY[8];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'tatteredSlippers';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7234 tatteredSlippersInv {
	}
	button 7238 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('leatherGloves');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.hands) && _root.equipment[0] == 'leatherGloves') {
					_root.equipment[0] = '';
					_root.unequip('leatherGloves');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.leatherGloves[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('leatherGloves', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.hands.hitTest(xInv, yInv) && _root.equipment[0] == '') {
					if (_root.leatherGloves[0] == _root.playerClass) {
						if (_root.leatherGloves[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[0] = 'leatherGloves';
							_root.equip('leatherGloves');
							this._x = _root.equipX[0];
							this._y = _root.equipY[0];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'leatherGloves';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7239 leatherGlovesInv {
	}
	button 7244 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('sharpshootersGloves');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.hands) && _root.equipment[0] == 'sharpshootersGloves') {
					_root.equipment[0] = '';
					_root.unequip('sharpshootersGloves');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.sharpshootersGloves[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('sharpshootersGloves', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.hands.hitTest(xInv, yInv) && _root.equipment[0] == '') {
					if (_root.sharpshootersGloves[0] == _root.playerClass) {
						if (_root.sharpshootersGloves[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[0] = 'sharpshootersGloves';
							_root.equip('sharpshootersGloves');
							this._x = _root.equipX[0];
							this._y = _root.equipY[0];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'sharpshootersGloves';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7245 sharpshootersGlovesInv {
	}
	button 7249 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('studdedGloves');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.hands) && _root.equipment[0] == 'studdedGloves') {
					_root.equipment[0] = '';
					_root.unequip('studdedGloves');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.studdedGloves[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('studdedGloves', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.hands.hitTest(xInv, yInv) && _root.equipment[0] == '') {
					if (_root.studdedGloves[0] == _root.playerClass) {
						if (_root.studdedGloves[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[0] = 'studdedGloves';
							_root.equip('studdedGloves');
							this._x = _root.equipX[0];
							this._y = _root.equipY[0];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'studdedGloves';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7250 studdedGlovesInv {
	}
	button 7255 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('sylvanGloves');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.hands) && _root.equipment[0] == 'sylvanGloves') {
					_root.equipment[0] = '';
					_root.unequip('sylvanGloves');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.sylvanGloves[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('sylvanGloves', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.hands.hitTest(xInv, yInv) && _root.equipment[0] == '') {
					if (_root.sylvanGloves[0] == _root.playerClass) {
						if (_root.sylvanGloves[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[0] = 'sylvanGloves';
							_root.equip('sylvanGloves');
							this._x = _root.equipX[0];
							this._y = _root.equipY[0];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'sylvanGloves';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7256 sylvanGlovesInv {
	}
	button 7261 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('woodsmansGloves');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.hands) && _root.equipment[0] == 'woodsmansGloves') {
					_root.equipment[0] = '';
					_root.unequip('woodsmansGloves');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.woodsmansGloves[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('woodsmansGloves', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.hands.hitTest(xInv, yInv) && _root.equipment[0] == '') {
					if (_root.woodsmansGloves[0] == _root.playerClass) {
						if (_root.woodsmansGloves[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[0] = 'woodsmansGloves';
							_root.equip('woodsmansGloves');
							this._x = _root.equipX[0];
							this._y = _root.equipY[0];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'woodsmansGloves';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7262 woodsmansGlovesInv {
	}
	button 7267 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('bronzeGloves');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.hands) && _root.equipment[0] == 'bronzeGloves') {
					_root.equipment[0] = '';
					_root.unequip('bronzeGloves');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.bronzeGloves[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('bronzeGloves', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.hands.hitTest(xInv, yInv) && _root.equipment[0] == '') {
					if (_root.bronzeGloves[0] == _root.playerClass) {
						if (_root.bronzeGloves[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[0] = 'bronzeGloves';
							_root.equip('bronzeGloves');
							this._x = _root.equipX[0];
							this._y = _root.equipY[0];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'bronzeGloves';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7268 bronzeGlovesInv {
	}
	button 7272 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('championsGauntlets');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.hands) && _root.equipment[0] == 'championsGauntlets') {
					_root.equipment[0] = '';
					_root.unequip('championsGauntlets');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.championsGauntlets[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('championsGauntlets', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.hands.hitTest(xInv, yInv) && _root.equipment[0] == '') {
					if (_root.championsGauntlets[0] == _root.playerClass) {
						if (_root.championsGauntlets[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[0] = 'championsGauntlets';
							_root.equip('championsGauntlets');
							this._x = _root.equipX[0];
							this._y = _root.equipY[0];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'championsGauntlets';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7273 championsGauntletsInv {
	}
	button 7277 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('dentedHandguards');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.hands) && _root.equipment[0] == 'dentedHandguards') {
					_root.equipment[0] = '';
					_root.unequip('dentedHandguards');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.dentedHandguards[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('dentedHandguards', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.hands.hitTest(xInv, yInv) && _root.equipment[0] == '') {
					if (_root.dentedHandguards[0] == _root.playerClass) {
						if (_root.dentedHandguards[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[0] = 'dentedHandguards';
							_root.equip('dentedHandguards');
							this._x = _root.equipX[0];
							this._y = _root.equipY[0];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'dentedHandguards';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7278 dentedHandguardsInv {
	}
	button 7282 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('gladiatorsGauntlets');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.hands) && _root.equipment[0] == 'gladiatorsGauntlets') {
					_root.equipment[0] = '';
					_root.unequip('gladiatorsGauntlets');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.gladiatorsGauntlets[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('gladiatorsGauntlets', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.hands.hitTest(xInv, yInv) && _root.equipment[0] == '') {
					if (_root.gladiatorsGauntlets[0] == _root.playerClass) {
						if (_root.gladiatorsGauntlets[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[0] = 'gladiatorsGauntlets';
							_root.equip('gladiatorsGauntlets');
							this._x = _root.equipX[0];
							this._y = _root.equipY[0];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'gladiatorsGauntlets';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7283 gladiatorsGauntletsInv {
	}
	button 7287 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('mithrilGauntlets');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.hands) && _root.equipment[0] == 'mithrilGauntlets') {
					_root.equipment[0] = '';
					_root.unequip('mithrilGauntlets');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.mithrilGauntlets[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('mithrilGauntlets', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.hands.hitTest(xInv, yInv) && _root.equipment[0] == '') {
					if (_root.mithrilGauntlets[0] == _root.playerClass) {
						if (_root.mithrilGauntlets[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[0] = 'mithrilGauntlets';
							_root.equip('mithrilGauntlets');
							this._x = _root.equipX[0];
							this._y = _root.equipY[0];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'mithrilGauntlets';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7288 mithrilGauntletsInv {
	}
	button 7293 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('aeromancersGloves');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.hands) && _root.equipment[0] == 'aeromancersGloves') {
					_root.equipment[0] = '';
					_root.unequip('aeromancersGloves');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.aeromancersGloves[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('aeromancersGloves', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.hands.hitTest(xInv, yInv) && _root.equipment[0] == '') {
					if (_root.aeromancersGloves[0] == _root.playerClass) {
						if (_root.aeromancersGloves[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[0] = 'aeromancersGloves';
							_root.equip('aeromancersGloves');
							this._x = _root.equipX[0];
							this._y = _root.equipY[0];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'aeromancersGloves';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7294 aeromancersGlovesInv {
	}
	button 7299 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('magiciansGloves');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.hands) && _root.equipment[0] == 'magiciansGloves') {
					_root.equipment[0] = '';
					_root.unequip('magiciansGloves');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.magiciansGloves[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('magiciansGloves', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.hands.hitTest(xInv, yInv) && _root.equipment[0] == '') {
					if (_root.magiciansGloves[0] == _root.playerClass) {
						if (_root.magiciansGloves[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[0] = 'magiciansGloves';
							_root.equip('magiciansGloves');
							this._x = _root.equipX[0];
							this._y = _root.equipY[0];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'magiciansGloves';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7300 magiciansGlovesInv {
	}
	button 7304 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('silkGloves');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.hands) && _root.equipment[0] == 'silkGloves') {
					_root.equipment[0] = '';
					_root.unequip('silkGloves');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.silkGloves[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('silkGloves', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.hands.hitTest(xInv, yInv) && _root.equipment[0] == '') {
					if (_root.silkGloves[0] == _root.playerClass) {
						if (_root.silkGloves[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[0] = 'silkGloves';
							_root.equip('silkGloves');
							this._x = _root.equipX[0];
							this._y = _root.equipY[0];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'silkGloves';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7305 silkGlovesInv {
	}
	button 7309 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('spellweaversGloves');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.hands) && _root.equipment[0] == 'spellweaversGloves') {
					_root.equipment[0] = '';
					_root.unequip('spellweaversGloves');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.spellweaversGloves[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('spellweaversGloves', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.hands.hitTest(xInv, yInv) && _root.equipment[0] == '') {
					if (_root.spellweaversGloves[0] == _root.playerClass) {
						if (_root.spellweaversGloves[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[0] = 'spellweaversGloves';
							_root.equip('spellweaversGloves');
							this._x = _root.equipX[0];
							this._y = _root.equipY[0];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'spellweaversGloves';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7310 spellweaversGlovesInv {
	}
	button 7314 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('tatteredGloves');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.hands) && _root.equipment[0] == 'tatteredGloves') {
					_root.equipment[0] = '';
					_root.unequip('tatteredGloves');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.tatteredGloves[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('tatteredGloves', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.hands.hitTest(xInv, yInv) && _root.equipment[0] == '') {
					if (_root.tatteredGloves[0] == _root.playerClass) {
						if (_root.tatteredGloves[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[0] = 'tatteredGloves';
							_root.equip('tatteredGloves');
							this._x = _root.equipX[0];
							this._y = _root.equipY[0];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'tatteredGloves';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7315 tatteredGlovesInv {
	}
	button 7320 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('halfjacksHelmet');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.head) && _root.equipment[1] == 'halfjacksHelmet') {
					_root.equipment[1] = '';
					_root.unequip('halfjacksHelmet');
					_root.headEquip = 'head';
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.halfjacksHelmet[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('halfjacksHelmet', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.head.hitTest(xInv, yInv) && _root.equipment[1] == '') {
					if (_root.halfjacksHelmet[0] == _root.playerClass) {
						if (_root.halfjacksHelmet[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[1] = 'halfjacksHelmet';
							_root.equip('halfjacksHelmet');
							_root.headEquip = 'halfjacksHelmet';
							this._x = _root.equipX[1];
							this._y = _root.equipY[1];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'halfjacksHelmet';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7321 halfjacksHelmetInv {
	}
	button 7325 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('leatherSkullcap');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.head) && _root.equipment[1] == 'leatherSkullcap') {
					_root.equipment[1] = '';
					_root.unequip('leatherSkullcap');
					_root.headEquip = 'head';
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.leatherSkullcap[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('leatherSkullcap', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.head.hitTest(xInv, yInv) && _root.equipment[1] == '') {
					if (_root.leatherSkullcap[0] == _root.playerClass) {
						if (_root.leatherSkullcap[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[1] = 'leatherSkullcap';
							_root.equip('leatherSkullcap');
							_root.headEquip = 'leatherSkullcap';
							this._x = _root.equipX[1];
							this._y = _root.equipY[1];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'leatherSkullcap';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7326 leatherSkullcapInv {
	}
	button 7330 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('sharpshootersSkullcap');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.head) && _root.equipment[1] == 'sharpshootersSkullcap') {
					_root.equipment[1] = '';
					_root.unequip('sharpshootersSkullcap');
					_root.headEquip = 'head';
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.sharpshootersSkullcap[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('sharpshootersSkullcap', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.head.hitTest(xInv, yInv) && _root.equipment[1] == '') {
					if (_root.sharpshootersSkullcap[0] == _root.playerClass) {
						if (_root.sharpshootersSkullcap[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[1] = 'sharpshootersSkullcap';
							_root.equip('sharpshootersSkullcap');
							_root.headEquip = 'sharpshootersSkullcap';
							this._x = _root.equipX[1];
							this._y = _root.equipY[1];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'sharpshootersSkullcap';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7331 sharpshootersSkullcapInv {
	}
	button 7335 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('studdedSkullcap');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.head) && _root.equipment[1] == 'studdedSkullcap') {
					_root.equipment[1] = '';
					_root.unequip('studdedSkullcap');
					_root.headEquip = 'head';
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.studdedSkullcap[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('studdedSkullcap', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.head.hitTest(xInv, yInv) && _root.equipment[1] == '') {
					if (_root.studdedSkullcap[0] == _root.playerClass) {
						if (_root.studdedSkullcap[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[1] = 'studdedSkullcap';
							_root.equip('studdedSkullcap');
							_root.headEquip = 'studdedSkullcap';
							this._x = _root.equipX[1];
							this._y = _root.equipY[1];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'studdedSkullcap';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7336 studdedSkullcapInv {
	}
	button 7341 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('sylvanCap');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.head) && _root.equipment[1] == 'sylvanCap') {
					_root.equipment[1] = '';
					_root.unequip('sylvanCap');
					_root.headEquip = 'head';
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.sylvanCap[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('sylvanCap', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.head.hitTest(xInv, yInv) && _root.equipment[1] == '') {
					if (_root.sylvanCap[0] == _root.playerClass) {
						if (_root.sylvanCap[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[1] = 'sylvanCap';
							_root.equip('sylvanCap');
							_root.headEquip = 'sylvanCap';
							this._x = _root.equipX[1];
							this._y = _root.equipY[1];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'sylvanCap';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7342 sylvanCapInv {
	}
	button 7345 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('woodsmansCap');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.head) && _root.equipment[1] == 'woodsmansCap') {
					_root.equipment[1] = '';
					_root.unequip('woodsmansCap');
					_root.headEquip = 'head';
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.woodsmansCap[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('woodsmansCap', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.head.hitTest(xInv, yInv) && _root.equipment[1] == '') {
					if (_root.woodsmansCap[0] == _root.playerClass) {
						if (_root.woodsmansCap[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[1] = 'woodsmansCap';
							_root.equip('woodsmansCap');
							_root.headEquip = 'woodsmansCap';
							this._x = _root.equipX[1];
							this._y = _root.equipY[1];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'woodsmansCap';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7346 woodsmansCapInv {
	}
	button 7350 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('bronzeHelmet');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.head) && _root.equipment[1] == 'bronzeHelmet') {
					_root.equipment[1] = '';
					_root.unequip('bronzeHelmet');
					_root.headEquip = 'head';
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.bronzeHelmet[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('bronzeHelmet', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.head.hitTest(xInv, yInv) && _root.equipment[1] == '') {
					if (_root.bronzeHelmet[0] == _root.playerClass) {
						if (_root.bronzeHelmet[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[1] = 'bronzeHelmet';
							_root.equip('bronzeHelmet');
							_root.headEquip = 'bronzeHelmet';
							this._x = _root.equipX[1];
							this._y = _root.equipY[1];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'bronzeHelmet';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7351 bronzeHelmetInv {
	}
	button 7355 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('championsHelmet');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.head) && _root.equipment[1] == 'championsHelmet') {
					_root.equipment[1] = '';
					_root.unequip('championsHelmet');
					_root.headEquip = 'head';
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.championsHelmet[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('championsHelmet', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.head.hitTest(xInv, yInv) && _root.equipment[1] == '') {
					if (_root.championsHelmet[0] == _root.playerClass) {
						if (_root.championsHelmet[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[1] = 'championsHelmet';
							_root.equip('championsHelmet');
							_root.headEquip = 'championsHelmet';
							this._x = _root.equipX[1];
							this._y = _root.equipY[1];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'championsHelmet';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7356 championsHelmetInv {
	}
	button 7361 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('dentedHelmet');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.head) && _root.equipment[1] == 'dentedHelmet') {
					_root.equipment[1] = '';
					_root.unequip('dentedHelmet');
					_root.headEquip = 'head';
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.dentedHelmet[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('dentedHelmet', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.head.hitTest(xInv, yInv) && _root.equipment[1] == '') {
					if (_root.dentedHelmet[0] == _root.playerClass) {
						if (_root.dentedHelmet[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[1] = 'dentedHelmet';
							_root.equip('dentedHelmet');
							_root.headEquip = 'dentedHelmet';
							this._x = _root.equipX[1];
							this._y = _root.equipY[1];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'dentedHelmet';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7362 dentedHelmetInv {
	}
	button 7367 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('mithrilHeadguard');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.head) && _root.equipment[1] == 'mithrilHeadguard') {
					_root.equipment[1] = '';
					_root.unequip('mithrilHeadguard');
					_root.headEquip = 'head';
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.mithrilHeadguard[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('mithrilHeadguard', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.head.hitTest(xInv, yInv) && _root.equipment[1] == '') {
					if (_root.mithrilHeadguard[0] == _root.playerClass) {
						if (_root.mithrilHeadguard[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[1] = 'mithrilHeadguard';
							_root.equip('mithrilHeadguard');
							_root.headEquip = 'mithrilHeadguard';
							this._x = _root.equipX[1];
							this._y = _root.equipY[1];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'mithrilHeadguard';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7368 mithrilHeadguardInv {
	}
	button 7373 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('nightmareHeadcover');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.head) && _root.equipment[1] == 'nightmareHeadcover') {
					_root.equipment[1] = '';
					_root.unequip('nightmareHeadcover');
					_root.headEquip = 'head';
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.nightmareHeadcover[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('nightmareHeadcover', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.head.hitTest(xInv, yInv) && _root.equipment[1] == '') {
					if (_root.nightmareHeadcover[0] == _root.playerClass) {
						if (_root.nightmareHeadcover[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[1] = 'nightmareHeadcover';
							_root.equip('nightmareHeadcover');
							_root.headEquip = 'nightmareHeadcover';
							this._x = _root.equipX[1];
							this._y = _root.equipY[1];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'nightmareHeadcover';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7374 nightmareHeadcoverInv {
	}
	button 7379 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('aeromancersCap');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.head) && _root.equipment[1] == 'aeromancersCap') {
					_root.equipment[1] = '';
					_root.unequip('aeromancersCap');
					_root.headEquip = 'head';
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.aeromancersCap[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('aeromancersCap', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.head.hitTest(xInv, yInv) && _root.equipment[1] == '') {
					if (_root.aeromancersCap[0] == _root.playerClass) {
						if (_root.aeromancersCap[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[1] = 'aeromancersCap';
							_root.equip('aeromancersCap');
							_root.headEquip = 'aeromancersCap';
							this._x = _root.equipX[1];
							this._y = _root.equipY[1];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'aeromancersCap';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7380 aeromancersCapInv {
	}
	button 7385 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('magiciansCap');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.head) && _root.equipment[1] == 'magiciansCap') {
					_root.equipment[1] = '';
					_root.unequip('magiciansCap');
					_root.headEquip = 'head';
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.magiciansCap[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('magiciansCap', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.head.hitTest(xInv, yInv) && _root.equipment[1] == '') {
					if (_root.magiciansCap[0] == _root.playerClass) {
						if (_root.magiciansCap[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[1] = 'magiciansCap';
							_root.equip('magiciansCap');
							_root.headEquip = 'magiciansCap';
							this._x = _root.equipX[1];
							this._y = _root.equipY[1];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'magiciansCap';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7386 magiciansCapInv {
	}
	button 7391 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('nnuksCap');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.head) && _root.equipment[1] == 'nnuksCap') {
					_root.equipment[1] = '';
					_root.unequip('nnuksCap');
					_root.headEquip = 'head';
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.nnuksCap[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('nnuksCap', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.head.hitTest(xInv, yInv) && _root.equipment[1] == '') {
					if (_root.nnuksCap[0] == _root.playerClass) {
						if (_root.nnuksCap[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[1] = 'nnuksCap';
							_root.equip('nnuksCap');
							_root.headEquip = 'nnuksCap';
							this._x = _root.equipX[1];
							this._y = _root.equipY[1];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'nnuksCap';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7392 nnuksCapInv {
	}
	button 7397 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('silkTurban');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.head) && _root.equipment[1] == 'silkTurban') {
					_root.equipment[1] = '';
					_root.unequip('silkTurban');
					_root.headEquip = 'head';
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.silkTurban[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('silkTurban', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.head.hitTest(xInv, yInv) && _root.equipment[1] == '') {
					if (_root.silkTurban[0] == _root.playerClass) {
						if (_root.silkTurban[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[1] = 'silkTurban';
							_root.equip('silkTurban');
							_root.headEquip = 'silkTurban';
							this._x = _root.equipX[1];
							this._y = _root.equipY[1];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'silkTurban';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7398 silkTurbanInv {
	}
	button 7403 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('spellweaversCap');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.head) && _root.equipment[1] == 'spellweaversCap') {
					_root.equipment[1] = '';
					_root.unequip('spellweaversCap');
					_root.headEquip = 'head';
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.spellweaversCap[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('spellweaversCap', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.head.hitTest(xInv, yInv) && _root.equipment[1] == '') {
					if (_root.spellweaversCap[0] == _root.playerClass) {
						if (_root.spellweaversCap[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[1] = 'spellweaversCap';
							_root.equip('spellweaversCap');
							_root.headEquip = 'spellweaversCap';
							this._x = _root.equipX[1];
							this._y = _root.equipY[1];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'spellweaversCap';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7404 spellweaversCapInv {
	}
	button 7408 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('tatteredCap');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.head) && _root.equipment[1] == 'tatteredCap') {
					_root.equipment[1] = '';
					_root.unequip('tatteredCap');
					_root.headEquip = 'head';
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.tatteredCap[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('tatteredCap', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.head.hitTest(xInv, yInv) && _root.equipment[1] == '') {
					if (_root.tatteredCap[0] == _root.playerClass) {
						if (_root.tatteredCap[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[1] = 'tatteredCap';
							_root.equip('tatteredCap');
							_root.headEquip = 'tatteredCap';
							this._x = _root.equipX[1];
							this._y = _root.equipY[1];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'tatteredCap';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7409 tatteredCapInv {
	}
	button 7414 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('emeraldBroach');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.jewel) && _root.equipment[2] == 'emeraldBroach') {
					_root.equipment[2] = '';
					_root.unequip('emeraldBroach');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.emeraldBroach[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('emeraldBroach', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.jewel.hitTest(xInv, yInv) && _root.equipment[2] == '') {
					if (_root.emeraldBroach[1] <= _root.level) {
						_root.dragging = false;
						_root.equipment[2] = 'emeraldBroach';
						_root.equip('emeraldBroach');
						this._x = _root.equipX[2];
						this._y = _root.equipY[2];
					} else {
						_root.insufficientLevel();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'emeraldBroach';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7415 emeraldBroachInv {
	}
	button 7419 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('huntersMark');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.jewel) && _root.equipment[2] == 'huntersMark') {
					_root.equipment[2] = '';
					_root.unequip('huntersMark');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.huntersMark[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('huntersMark', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.jewel.hitTest(xInv, yInv) && _root.equipment[2] == '') {
					if (_root.huntersMark[1] <= _root.level) {
						_root.dragging = false;
						_root.equipment[2] = 'huntersMark';
						_root.equip('huntersMark');
						this._x = _root.equipX[2];
						this._y = _root.equipY[2];
					} else {
						_root.insufficientLevel();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'huntersMark';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7420 huntersMarkInv {
	}
	button 7425 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('silverEarring');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.jewel) && _root.equipment[2] == 'silverEarring') {
					_root.equipment[2] = '';
					_root.unequip('silverEarring');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.silverEarring[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('silverEarring', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.jewel.hitTest(xInv, yInv) && _root.equipment[2] == '') {
					if (_root.silverEarring[1] <= _root.level) {
						_root.dragging = false;
						_root.equipment[2] = 'silverEarring';
						_root.equip('silverEarring');
						this._x = _root.equipX[2];
						this._y = _root.equipY[2];
					} else {
						_root.insufficientLevel();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'silverEarring';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7426 silverEarringInv {
	}
	button 7431 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('strikersMark');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.jewel) && _root.equipment[2] == 'strikersMark') {
					_root.equipment[2] = '';
					_root.unequip('strikersMark');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.strikersMark[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('strikersMark', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.jewel.hitTest(xInv, yInv) && _root.equipment[2] == '') {
					if (_root.strikersMark[1] <= _root.level) {
						_root.dragging = false;
						_root.equipment[2] = 'strikersMark';
						_root.equip('strikersMark');
						this._x = _root.equipX[2];
						this._y = _root.equipY[2];
					} else {
						_root.insufficientLevel();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'strikersMark';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7432 strikersMarkInv {
	}
	button 7437 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('theHeartstone');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.jewel) && _root.equipment[2] == 'theHeartstone') {
					_root.equipment[2] = '';
					_root.unequip('theHeartstone');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.jewel.hitTest(xInv, yInv) && _root.equipment[2] == '') {
					if (_root.theHeartstone[1] <= _root.level) {
						_root.dragging = false;
						_root.equipment[2] = 'theHeartstone';
						_root.equip('theHeartstone');
						this._x = _root.equipX[2];
						this._y = _root.equipY[2];
					} else {
						_root.insufficientLevel();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'theHeartstone';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7438 theHeartstoneInv {
	}
	button 7443 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('wardersNecklace');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.jewel) && _root.equipment[2] == 'wardersNecklace') {
					_root.equipment[2] = '';
					_root.unequip('wardersNecklace');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.wardersNecklace[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('wardersNecklace', dItem, ++_root.itemDepth);
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.jewel.hitTest(xInv, yInv) && _root.equipment[2] == '') {
					if (_root.wardersNecklace[1] <= _root.level) {
						_root.dragging = false;
						_root.equipment[2] = 'wardersNecklace';
						_root.equip('wardersNecklace');
						this._x = _root.equipX[2];
						this._y = _root.equipY[2];
					} else {
						_root.insufficientLevel();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'wardersNecklace';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7444 wardersNecklaceInv {
	}
	button 7448 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('generalsBroach');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.jewel) && _root.equipment[2] == 'generalsBroach') {
					_root.equipment[2] = '';
					_root.unequip('generalsBroach');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.generalsBroach[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('generalsBroach', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.jewel.hitTest(xInv, yInv) && _root.equipment[2] == '') {
					if (_root.generalsBroach[1] <= _root.level) {
						_root.dragging = false;
						_root.equipment[2] = 'generalsBroach';
						_root.equip('generalsBroach');
						this._x = _root.equipX[2];
						this._y = _root.equipY[2];
					} else {
						_root.insufficientLevel();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'generalsBroach';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7449 generalsBroachInv {
	}
	button 7454 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('gladiatorsJewel');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.jewel) && _root.equipment[2] == 'gladiatorsJewel') {
					_root.equipment[2] = '';
					_root.unequip('gladiatorsJewel');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.gladiatorsJewel[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('gladiatorsJewel', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.jewel.hitTest(xInv, yInv) && _root.equipment[2] == '') {
					if (_root.gladiatorsJewel[1] <= _root.level) {
						_root.dragging = false;
						_root.equipment[2] = 'gladiatorsJewel';
						_root.equip('gladiatorsJewel');
						this._x = _root.equipX[2];
						this._y = _root.equipY[2];
					} else {
						_root.insufficientLevel();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'gladiatorsJewel';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7455 gladiatorsJewelInv {
	}
	button 7460 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('goldenEarring');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.jewel) && _root.equipment[2] == 'goldenEarring') {
					_root.equipment[2] = '';
					_root.unequip('goldenEarring');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.goldenEarring[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('goldenEarring', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.jewel.hitTest(xInv, yInv) && _root.equipment[2] == '') {
					if (_root.goldenEarring[1] <= _root.level) {
						_root.dragging = false;
						_root.equipment[2] = 'goldenEarring';
						_root.equip('goldenEarring');
						this._x = _root.equipX[2];
						this._y = _root.equipY[2];
					} else {
						_root.insufficientLevel();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'goldenEarring';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7461 goldenEarringInv {
	}
	button 7466 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('rubyNecklace');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.jewel) && _root.equipment[2] == 'rubyNecklace') {
					_root.equipment[2] = '';
					_root.unequip('rubyNecklace');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.rubyNecklace[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('rubyNecklace', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.jewel.hitTest(xInv, yInv) && _root.equipment[2] == '') {
					if (_root.rubyNecklace[1] <= _root.level) {
						_root.dragging = false;
						_root.equipment[2] = 'rubyNecklace';
						_root.equip('rubyNecklace');
						this._x = _root.equipX[2];
						this._y = _root.equipY[2];
					} else {
						_root.insufficientLevel();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'rubyNecklace';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7467 rubyNecklaceInv {
	}
	button 7471 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('soldiersMark');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.jewel) && _root.equipment[2] == 'soldiersMark') {
					_root.equipment[2] = '';
					_root.unequip('soldiersMark');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.soldiersMark[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('soldiersMark', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.jewel.hitTest(xInv, yInv) && _root.equipment[2] == '') {
					if (_root.soldiersMark[1] <= _root.level) {
						_root.dragging = false;
						_root.equipment[2] = 'soldiersMark';
						_root.equip('soldiersMark');
						this._x = _root.equipX[2];
						this._y = _root.equipY[2];
					} else {
						_root.insufficientLevel();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'soldiersMark';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7472 soldiersMarkInv {
	}
	button 7476 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('aeromancersCharm');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.jewel) && _root.equipment[2] == 'aeromancersCharm') {
					_root.equipment[2] = '';
					_root.unequip('aeromancersCharm');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.aeromancersCharm[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('aeromancersCharm', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.jewel.hitTest(xInv, yInv) && _root.equipment[2] == '') {
					if (_root.aeromancersCharm[1] <= _root.level) {
						_root.dragging = false;
						_root.equipment[2] = 'aeromancersCharm';
						_root.equip('aeromancersCharm');
						this._x = _root.equipX[2];
						this._y = _root.equipY[2];
					} else {
						_root.insufficientLevel();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'aeromancersCharm';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7477 aeromancersCharmInv {
	}
	button 7482 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('charmersNecklace');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.jewel) && _root.equipment[2] == 'charmersNecklace') {
					_root.equipment[2] = '';
					_root.unequip('charmersNecklace');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.charmersNecklace[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('charmersNecklace', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.jewel.hitTest(xInv, yInv) && _root.equipment[2] == '') {
					if (_root.charmersNecklace[1] <= _root.level) {
						_root.dragging = false;
						_root.equipment[2] = 'charmersNecklace';
						_root.equip('charmersNecklace');
						this._x = _root.equipX[2];
						this._y = _root.equipY[2];
					} else {
						_root.insufficientLevel();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'charmersNecklace';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7483 charmersNecklaceInv {
	}
	button 7488 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('jeweledEarring');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.jewel) && _root.equipment[2] == 'jeweledEarring') {
					_root.equipment[2] = '';
					_root.unequip('jeweledEarring');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.jeweledEarring[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('jeweledEarring', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.jewel.hitTest(xInv, yInv) && _root.equipment[2] == '') {
					if (_root.jeweledEarring[1] <= _root.level) {
						_root.dragging = false;
						_root.equipment[2] = 'jeweledEarring';
						_root.equip('jeweledEarring');
						this._x = _root.equipX[2];
						this._y = _root.equipY[2];
					} else {
						_root.insufficientLevel();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'jeweledEarring';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7489 jeweledEarringInv {
	}
	button 7493 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('magiciansMark');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.jewel) && _root.equipment[2] == 'magiciansMark') {
					_root.equipment[2] = '';
					_root.unequip('magiciansMark');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.magiciansMark[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('magiciansMark', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.jewel.hitTest(xInv, yInv) && _root.equipment[2] == '') {
					if (_root.magiciansMark[1] <= _root.level) {
						_root.dragging = false;
						_root.equipment[2] = 'magiciansMark';
						_root.equip('magiciansMark');
						this._x = _root.equipX[2];
						this._y = _root.equipY[2];
					} else {
						_root.insufficientLevel();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'magiciansMark';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7494 magiciansMarkInv {
	}
	button 7499 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('sapphireBroach');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.jewel) && _root.equipment[2] == 'sapphireBroach') {
					_root.equipment[2] = '';
					_root.unequip('sapphireBroach');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.sapphireBroach[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('sapphireBroach', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.jewel.hitTest(xInv, yInv) && _root.equipment[2] == '') {
					if (_root.sapphireBroach[1] <= _root.level) {
						_root.dragging = false;
						_root.equipment[2] = 'sapphireBroach';
						_root.equip('sapphireBroach');
						this._x = _root.equipX[2];
						this._y = _root.equipY[2];
					} else {
						_root.insufficientLevel();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'sapphireBroach';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7500 sapphireBroachInv {
	}
	button 7505 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('leatherLeggings');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.legs) && _root.equipment[5] == 'leatherLeggings') {
					_root.equipment[5] = '';
					_root.unequip('leatherLeggings');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.leatherLeggings[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('leatherLeggings', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.legs.hitTest(xInv, yInv) && _root.equipment[5] == '') {
					if (_root.leatherLeggings[0] == _root.playerClass) {
						if (_root.leatherLeggings[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[5] = 'leatherLeggings';
							_root.equip('leatherLeggings');
							this._x = _root.equipX[5];
							this._y = _root.equipY[5];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'leatherLeggings';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7506 leatherLeggingsInv {
	}
	button 7511 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('legsOfTheTracker');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.legs) && _root.equipment[5] == 'legsOfTheTracker') {
					_root.equipment[5] = '';
					_root.unequip('legsOfTheTracker');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.legsOfTheTracker[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('legsOfTheTracker', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.legs.hitTest(xInv, yInv) && _root.equipment[5] == '') {
					if (_root.legsOfTheTracker[0] == _root.playerClass) {
						if (_root.legsOfTheTracker[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[5] = 'legsOfTheTracker';
							_root.equip('legsOfTheTracker');
							this._x = _root.equipX[5];
							this._y = _root.equipY[5];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'legsOfTheTracker';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7512 legsOfTheTrackerInv {
	}
	button 7517 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('pokensLegcovers');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.legs) && _root.equipment[5] == 'pokensLegcovers') {
					_root.equipment[5] = '';
					_root.unequip('pokensLegcovers');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.pokensLegcovers[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('pokensLegcovers', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.legs.hitTest(xInv, yInv) && _root.equipment[5] == '') {
					if (_root.pokensLegcovers[0] == _root.playerClass) {
						if (_root.pokensLegcovers[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[5] = 'pokensLegcovers';
							_root.equip('pokensLegcovers');
							this._x = _root.equipX[5];
							this._y = _root.equipY[5];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'pokensLegcovers';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7518 pokensLegcoversInv {
	}
	button 7523 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('sharpshootersLeggings');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.legs) && _root.equipment[5] == 'sharpshootersLeggings') {
					_root.equipment[5] = '';
					_root.unequip('sharpshootersLeggings');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.sharpshootersLeggings[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('sharpshootersLeggings', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.legs.hitTest(xInv, yInv) && _root.equipment[5] == '') {
					if (_root.sharpshootersLeggings[0] == _root.playerClass) {
						if (_root.sharpshootersLeggings[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[5] = 'sharpshootersLeggings';
							_root.equip('sharpshootersLeggings');
							this._x = _root.equipX[5];
							this._y = _root.equipY[5];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'sharpshootersLeggings';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7524 sharpshootersLeggingsInv {
	}
	button 7529 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('studdedLeggings');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.legs) && _root.equipment[5] == 'studdedLeggings') {
					_root.equipment[5] = '';
					_root.unequip('studdedLeggings');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.studdedLeggings[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('studdedLeggings', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.legs.hitTest(xInv, yInv) && _root.equipment[5] == '') {
					if (_root.studdedLeggings[0] == _root.playerClass) {
						if (_root.studdedLeggings[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[5] = 'studdedLeggings';
							_root.equip('studdedLeggings');
							this._x = _root.equipX[5];
							this._y = _root.equipY[5];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'studdedLeggings';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7530 studdedLeggingsInv {
	}
	button 7535 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('sylvanLeggings');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.legs) && _root.equipment[5] == 'sylvanLeggings') {
					_root.equipment[5] = '';
					_root.unequip('sylvanLeggings');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.sylvanLeggings[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('sylvanLeggings', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.legs.hitTest(xInv, yInv) && _root.equipment[5] == '') {
					if (_root.sylvanLeggings[0] == _root.playerClass) {
						if (_root.sylvanLeggings[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[5] = 'sylvanLeggings';
							_root.equip('sylvanLeggings');
							this._x = _root.equipX[5];
							this._y = _root.equipY[5];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'sylvanLeggings';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7536 sylvanLeggingsInv {
	}
	button 7541 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('woodsmansLegguards');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.legs) && _root.equipment[5] == 'woodsmansLegguards') {
					_root.equipment[5] = '';
					_root.unequip('woodsmansLegguards');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.woodsmansLegguards[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('woodsmansLegguards', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.legs.hitTest(xInv, yInv) && _root.equipment[5] == '') {
					if (_root.woodsmansLegguards[0] == _root.playerClass) {
						if (_root.woodsmansLegguards[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[5] = 'woodsmansLegguards';
							_root.equip('woodsmansLegguards');
							this._x = _root.equipX[5];
							this._y = _root.equipY[5];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'woodsmansLegguards';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7542 woodsmansLegguardsInv {
	}
	button 7547 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('bronzeLegplates');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.legs) && _root.equipment[5] == 'bronzeLegplates') {
					_root.equipment[5] = '';
					_root.unequip('bronzeLegplates');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.bronzeLegplates[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('bronzeLegplates', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.legs.hitTest(xInv, yInv) && _root.equipment[5] == '') {
					if (_root.bronzeLegplates[0] == _root.playerClass) {
						if (_root.bronzeLegplates[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[5] = 'bronzeLegplates';
							_root.equip('bronzeLegplates');
							this._x = _root.equipX[5];
							this._y = _root.equipY[5];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'bronzeLegplates';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7548 bronzeLegplatesInv {
	}
	button 7553 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('championsLegplates');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.legs) && _root.equipment[5] == 'championsLegplates') {
					_root.equipment[5] = '';
					_root.unequip('championsLegplates');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.championsLegplates[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('championsLegplates', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.legs.hitTest(xInv, yInv) && _root.equipment[5] == '') {
					if (_root.championsLegplates[0] == _root.playerClass) {
						if (_root.championsLegplates[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[5] = 'championsLegplates';
							_root.equip('championsLegplates');
							this._x = _root.equipX[5];
							this._y = _root.equipY[5];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'championsLegplates';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7554 championsLegplatesInv {
	}
	button 7559 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('dentedLegplates');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.legs) && _root.equipment[5] == 'dentedLegplates') {
					_root.equipment[5] = '';
					_root.unequip('dentedLegplates');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.dentedLegplates[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('dentedLegplates', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.legs.hitTest(xInv, yInv) && _root.equipment[5] == '') {
					if (_root.dentedLegplates[0] == _root.playerClass) {
						if (_root.dentedLegplates[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[5] = 'dentedLegplates';
							_root.equip('dentedLegplates');
							this._x = _root.equipX[5];
							this._y = _root.equipY[5];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'dentedLegplates';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7560 dentedLegplatesInv {
	}
	button 7565 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('gyshallsLegplates');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.legs) && _root.equipment[5] == 'gyshallsLegplates') {
					_root.equipment[5] = '';
					_root.unequip('gyshallsLegplates');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.gyshallsLegplates[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('gyshallsLegplates', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.legs.hitTest(xInv, yInv) && _root.equipment[5] == '') {
					if (_root.gyshallsLegplates[0] == _root.playerClass) {
						if (_root.gyshallsLegplates[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[5] = 'gyshallsLegplates';
							_root.equip('gyshallsLegplates');
							this._x = _root.equipX[5];
							this._y = _root.equipY[5];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'gyshallsLegplates';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7566 gyshallsLegplatesInv {
	}
	button 7571 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('mithrilLegplates');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.legs) && _root.equipment[5] == 'mithrilLegplates') {
					_root.equipment[5] = '';
					_root.unequip('mithrilLegplates');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.mithrilLegplates[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('mithrilLegplates', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.legs.hitTest(xInv, yInv) && _root.equipment[5] == '') {
					if (_root.mithrilLegplates[0] == _root.playerClass) {
						if (_root.mithrilLegplates[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[5] = 'mithrilLegplates';
							_root.equip('mithrilLegplates');
							this._x = _root.equipX[5];
							this._y = _root.equipY[5];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'mithrilLegplates';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7572 mithrilLegplatesInv {
	}
	button 7577 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('nightmareLegplates');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.legs) && _root.equipment[5] == 'nightmareLegplates') {
					_root.equipment[5] = '';
					_root.unequip('nightmareLegplates');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.nightmareLegplates[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('nightmareLegplates', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.legs.hitTest(xInv, yInv) && _root.equipment[5] == '') {
					if (_root.nightmareLegplates[0] == _root.playerClass) {
						if (_root.nightmareLegplates[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[5] = 'nightmareLegplates';
							_root.equip('nightmareLegplates');
							this._x = _root.equipX[5];
							this._y = _root.equipY[5];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'nightmareLegplates';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7578 nightmareLegplatesInv {
	}
	button 7583 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('tuggosLegplates');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.legs) && _root.equipment[5] == 'tuggosLegplates') {
					_root.equipment[5] = '';
					_root.unequip('tuggosLegplates');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.tuggosLegplates[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('tuggosLegplates', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.legs.hitTest(xInv, yInv) && _root.equipment[5] == '') {
					if (_root.tuggosLegplates[0] == _root.playerClass) {
						if (_root.tuggosLegplates[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[5] = 'tuggosLegplates';
							_root.equip('tuggosLegplates');
							this._x = _root.equipX[5];
							this._y = _root.equipY[5];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'tuggosLegplates';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7584 tuggosLegplatesInv {
	}
	button 7588 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('aeromancersLeggings');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.legs) && _root.equipment[5] == 'aeromancersLeggings') {
					_root.equipment[5] = '';
					_root.unequip('aeromancersLeggings');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.aeromancersLeggings[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('aeromancersLeggings', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.legs.hitTest(xInv, yInv) && _root.equipment[5] == '') {
					if (_root.aeromancersLeggings[0] == _root.playerClass) {
						if (_root.aeromancersLeggings[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[5] = 'aeromancersLeggings';
							_root.equip('aeromancersLeggings');
							this._x = _root.equipX[5];
							this._y = _root.equipY[5];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'aeromancersLeggings';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7589 aeromancersLeggingsInv {
	}
	button 7593 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('blazzensLeggings');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.legs) && _root.equipment[5] == 'blazzensLeggings') {
					_root.equipment[5] = '';
					_root.unequip('blazzensLeggings');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.blazzensLeggings[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('blazzensLeggings', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.legs.hitTest(xInv, yInv) && _root.equipment[5] == '') {
					if (_root.blazzensLeggings[0] == _root.playerClass) {
						if (_root.blazzensLeggings[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[5] = 'blazzensLeggings';
							_root.equip('blazzensLeggings');
							this._x = _root.equipX[5];
							this._y = _root.equipY[5];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'blazzensLeggings';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7594 blazzensLeggingsInv {
	}
	button 7598 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('magiciansPants');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.legs) && _root.equipment[5] == 'magiciansPants') {
					_root.equipment[5] = '';
					_root.unequip('magiciansPants');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.magiciansPants[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('magiciansPants', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.legs.hitTest(xInv, yInv) && _root.equipment[5] == '') {
					if (_root.magiciansPants[0] == _root.playerClass) {
						if (_root.magiciansPants[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[5] = 'magiciansPants';
							_root.equip('magiciansPants');
							this._x = _root.equipX[5];
							this._y = _root.equipY[5];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'magiciansPants';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7599 magiciansPantsInv {
	}
	button 7603 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('silkTrousers');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.legs) && _root.equipment[5] == 'silkTrousers') {
					_root.equipment[5] = '';
					_root.unequip('silkTrousers');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.silkTrousers[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('silkTrousers', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.legs.hitTest(xInv, yInv) && _root.equipment[5] == '') {
					if (_root.silkTrousers[0] == _root.playerClass) {
						if (_root.silkTrousers[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[5] = 'silkTrousers';
							_root.equip('silkTrousers');
							this._x = _root.equipX[5];
							this._y = _root.equipY[5];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'silkTrousers';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7604 silkTrousersInv {
	}
	button 7608 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('spellweaversPants');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.legs) && _root.equipment[5] == 'spellweaversPants') {
					_root.equipment[5] = '';
					_root.unequip('spellweaversPants');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.spellweaversPants[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('spellweaversPants', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.legs.hitTest(xInv, yInv) && _root.equipment[5] == '') {
					if (_root.spellweaversPants[0] == _root.playerClass) {
						if (_root.spellweaversPants[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[5] = 'spellweaversPants';
							_root.equip('spellweaversPants');
							this._x = _root.equipX[5];
							this._y = _root.equipY[5];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'spellweaversPants';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7609 spellweaversPantsInv {
	}
	button 7613 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('tatteredLeggings');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.legs) && _root.equipment[5] == 'tatteredLeggings') {
					_root.equipment[5] = '';
					_root.unequip('tatteredLeggings');
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.tatteredLeggings[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('tatteredLeggings', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.legs.hitTest(xInv, yInv) && _root.equipment[5] == '') {
					if (_root.tatteredLeggings[0] == _root.playerClass) {
						if (_root.tatteredLeggings[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[5] = 'tatteredLeggings';
							_root.equip('tatteredLeggings');
							this._x = _root.equipX[5];
							this._y = _root.equipY[5];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'tatteredLeggings';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7614 tatteredLeggingsInv {
	}
	button 7618 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('bowOfStorms');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.mainHand) && _root.equipment[6] == 'bowOfStorms') {
					_root.equipment[6] = '';
					_root.unequip('bowOfStorms');
					_root.weaponEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.bowOfStorms[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('bowOfStorms', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.mainHand.hitTest(xInv, yInv) && _root.equipment[6] == '') {
					if (_root.bowOfStorms[0] == _root.playerClass) {
						if (_root.bowOfStorms[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[6] = 'bowOfStorms';
							_root.equip('bowOfStorms');
							_root.weaponEquip = 'bowOfStorms';
							this._x = _root.equipX[6];
							this._y = _root.equipY[6];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'bowOfStorms';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7619 bowOfStormsInv {
	}
	button 7623 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('furyOfTheGlade');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.mainHand) && _root.equipment[6] == 'furyOfTheGlade') {
					_root.equipment[6] = '';
					_root.unequip('furyOfTheGlade');
					_root.weaponEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.furyOfTheGlade[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('furyOfTheGlade', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.mainHand.hitTest(xInv, yInv) && _root.equipment[6] == '') {
					if (_root.furyOfTheGlade[0] == _root.playerClass) {
						if (_root.furyOfTheGlade[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[6] = 'furyOfTheGlade';
							_root.equip('furyOfTheGlade');
							_root.weaponEquip = 'furyOfTheGlade';
							this._x = _root.equipX[6];
							this._y = _root.equipY[6];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'furyOfTheGlade';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7624 furyOfTheGladeInv {
	}
	button 7628 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('halfjacksBow');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.mainHand) && _root.equipment[6] == 'halfjacksBow') {
					_root.equipment[6] = '';
					_root.unequip('halfjacksBow');
					_root.weaponEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.halfjacksBow[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('halfjacksBow', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.mainHand.hitTest(xInv, yInv) && _root.equipment[6] == '') {
					if (_root.halfjacksBow[0] == _root.playerClass) {
						if (_root.halfjacksBow[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[6] = 'halfjacksBow';
							_root.equip('halfjacksBow');
							_root.weaponEquip = 'halfjacksBow';
							this._x = _root.equipX[6];
							this._y = _root.equipY[6];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'halfjacksBow';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7629 halfjacksBowInv {
	}
	button 7632 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('oakBow');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.mainHand) && _root.equipment[6] == 'oakBow') {
					_root.equipment[6] = '';
					_root.unequip('oakBow');
					_root.weaponEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.oakBow[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('oakBow', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.mainHand.hitTest(xInv, yInv) && _root.equipment[6] == '') {
					if (_root.oakBow[0] == _root.playerClass) {
						if (_root.oakBow[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[6] = 'oakBow';
							_root.equip('oakBow');
							_root.weaponEquip = 'oakBow';
							this._x = _root.equipX[6];
							this._y = _root.equipY[6];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'oakBow';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7633 oakBowInv {
	}
	button 7637 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('pathfindersBow');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.mainHand) && _root.equipment[6] == 'pathfindersBow') {
					_root.equipment[6] = '';
					_root.unequip('pathfindersBow');
					_root.weaponEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.pathfindersBow[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('pathfindersBow', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.mainHand.hitTest(xInv, yInv) && _root.equipment[6] == '') {
					if (_root.pathfindersBow[0] == _root.playerClass) {
						if (_root.pathfindersBow[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[6] = 'pathfindersBow';
							_root.equip('pathfindersBow');
							_root.weaponEquip = 'pathfindersBow';
							this._x = _root.equipX[6];
							this._y = _root.equipY[6];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'pathfindersBow';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7638 pathfindersBowInv {
	}
	button 7643 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('reinforcedBow');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.mainHand) && _root.equipment[6] == 'reinforcedBow') {
					_root.equipment[6] = '';
					_root.unequip('reinforcedBow');
					_root.weaponEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.reinforcedBow[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('reinforcedBow', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.mainHand.hitTest(xInv, yInv) && _root.equipment[6] == '') {
					if (_root.reinforcedBow[0] == _root.playerClass) {
						if (_root.reinforcedBow[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[6] = 'reinforcedBow';
							_root.equip('reinforcedBow');
							_root.weaponEquip = 'reinforcedBow';
							this._x = _root.equipX[6];
							this._y = _root.equipY[6];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'reinforcedBow';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7644 reinforcedBowInv {
	}
	button 7648 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('stormchaser');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.mainHand) && _root.equipment[6] == 'stormchaser') {
					_root.equipment[6] = '';
					_root.unequip('stormchaser');
					_root.weaponEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.stormchaser[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('stormchaser', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.mainHand.hitTest(xInv, yInv) && _root.equipment[6] == '') {
					if (_root.stormchaser[0] == _root.playerClass) {
						if (_root.stormchaser[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[6] = 'stormchaser';
							_root.equip('stormchaser');
							_root.weaponEquip = 'stormchaser';
							this._x = _root.equipX[6];
							this._y = _root.equipY[6];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'stormchaser';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7649 stormchaserInv {
	}
	button 7653 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('strikersHand');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.mainHand) && _root.equipment[6] == 'strikersHand') {
					_root.equipment[6] = '';
					_root.unequip('strikersHand');
					_root.weaponEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.strikersHand[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('strikersHand', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.mainHand.hitTest(xInv, yInv) && _root.equipment[6] == '') {
					if (_root.strikersHand[0] == _root.playerClass) {
						if (_root.strikersHand[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[6] = 'strikersHand';
							_root.equip('strikersHand');
							_root.weaponEquip = 'strikersHand';
							this._x = _root.equipX[6];
							this._y = _root.equipY[6];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'strikersHand';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7654 strikersHandInv {
	}
	button 7658 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('twilightBow');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.mainHand) && _root.equipment[6] == 'twilightBow') {
					_root.equipment[6] = '';
					_root.unequip('twilightBow');
					_root.weaponEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.twilightBow[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('twilightBow', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.mainHand.hitTest(xInv, yInv) && _root.equipment[6] == '') {
					if (_root.twilightBow[0] == _root.playerClass) {
						if (_root.twilightBow[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[6] = 'twilightBow';
							_root.equip('twilightBow');
							_root.weaponEquip = 'twilightBow';
							this._x = _root.equipX[6];
							this._y = _root.equipY[6];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'twilightBow';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7659 twilightBowInv {
	}
	button 7663 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('typhoon');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.mainHand) && _root.equipment[6] == 'typhoon') {
					_root.equipment[6] = '';
					_root.unequip('typhoon');
					_root.weaponEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.typhoon[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('typhoon', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.mainHand.hitTest(xInv, yInv) && _root.equipment[6] == '') {
					if (_root.typhoon[0] == _root.playerClass) {
						if (_root.typhoon[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[6] = 'typhoon';
							_root.equip('typhoon');
							_root.weaponEquip = 'typhoon';
							this._x = _root.equipX[6];
							this._y = _root.equipY[6];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'typhoon';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7664 typhoonInv {
	}
	button 7668 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('windcaller');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.mainHand) && _root.equipment[6] == 'windcaller') {
					_root.equipment[6] = '';
					_root.unequip('windcaller');
					_root.weaponEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.windcaller[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('windcaller', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.mainHand.hitTest(xInv, yInv) && _root.equipment[6] == '') {
					if (_root.windcaller[0] == _root.playerClass) {
						if (_root.windcaller[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[6] = 'windcaller';
							_root.equip('windcaller');
							_root.weaponEquip = 'windcaller';
							this._x = _root.equipX[6];
							this._y = _root.equipY[6];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'windcaller';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7669 windcallerInv {
	}
	button 7673 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('woodenBow');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.mainHand) && _root.equipment[6] == 'woodenBow') {
					_root.equipment[6] = '';
					_root.unequip('woodenBow');
					_root.weaponEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.woodenBow[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('woodenBow', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.mainHand.hitTest(xInv, yInv) && _root.equipment[6] == '') {
					if (_root.woodenBow[0] == _root.playerClass) {
						if (_root.woodenBow[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[6] = 'woodenBow';
							_root.equip('woodenBow');
							_root.weaponEquip = 'woodenBow';
							this._x = _root.equipX[6];
							this._y = _root.equipY[6];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'woodenBow';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7674 woodenBowInv {
	}
	button 7679 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('blackBronzeSword');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.mainHand) && _root.equipment[6] == 'blackBronzeSword') {
					_root.equipment[6] = '';
					_root.unequip('blackBronzeSword');
					_root.weaponEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.blackBronzeSword[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('blackBronzeSword', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.mainHand.hitTest(xInv, yInv) && _root.equipment[6] == '') {
					if (_root.blackBronzeSword[0] == _root.playerClass) {
						if (_root.blackBronzeSword[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[6] = 'blackBronzeSword';
							_root.equip('blackBronzeSword');
							_root.weaponEquip = 'blackBronzeSword';
							this._x = _root.equipX[6];
							this._y = _root.equipY[6];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'blackBronzeSword';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7680 blackBronzeSwordInv {
	}
	button 7685 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('blueSteelBlade');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.mainHand) && _root.equipment[6] == 'blueSteelBlade') {
					_root.equipment[6] = '';
					_root.unequip('blueSteelBlade');
					_root.weaponEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.blueSteelBlade[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('blueSteelBlade', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.mainHand.hitTest(xInv, yInv) && _root.equipment[6] == '') {
					if (_root.blueSteelBlade[0] == _root.playerClass) {
						if (_root.blueSteelBlade[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[6] = 'blueSteelBlade';
							_root.equip('blueSteelBlade');
							_root.weaponEquip = 'blueSteelBlade';
							this._x = _root.equipX[6];
							this._y = _root.equipY[6];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'blueSteelBlade';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7686 blueSteelBladeInv {
	}
	button 7691 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('captainsBlade');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.mainHand) && _root.equipment[6] == 'captainsBlade') {
					_root.equipment[6] = '';
					_root.unequip('captainsBlade');
					_root.weaponEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.captainsBlade[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('captainsBlade', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.mainHand.hitTest(xInv, yInv) && _root.equipment[6] == '') {
					if (_root.captainsBlade[0] == _root.playerClass) {
						if (_root.captainsBlade[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[6] = 'captainsBlade';
							_root.equip('captainsBlade');
							_root.weaponEquip = 'captainsBlade';
							this._x = _root.equipX[6];
							this._y = _root.equipY[6];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'captainsBlade';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7692 captainsBladeInv {
	}
	button 7697 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('deathsHand');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.mainHand) && _root.equipment[6] == 'deathsHand') {
					_root.equipment[6] = '';
					_root.unequip('deathsHand');
					_root.weaponEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.deathsHand[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('deathsHand', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.mainHand.hitTest(xInv, yInv) && _root.equipment[6] == '') {
					if (_root.deathsHand[0] == _root.playerClass) {
						if (_root.deathsHand[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[6] = 'deathsHand';
							_root.equip('deathsHand');
							_root.weaponEquip = 'deathsHand';
							this._x = _root.equipX[6];
							this._y = _root.equipY[6];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'deathsHand';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7698 deathsHandInv {
	}
	button 7702 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('gladiatorsBlade');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.mainHand) && _root.equipment[6] == 'gladiatorsBlade') {
					_root.equipment[6] = '';
					_root.unequip('gladiatorsBlade');
					_root.weaponEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.gladiatorsBlade[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('gladiatorsBlade', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.mainHand.hitTest(xInv, yInv) && _root.equipment[6] == '') {
					if (_root.gladiatorsBlade[0] == _root.playerClass) {
						if (_root.gladiatorsBlade[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[6] = 'gladiatorsBlade';
							_root.equip('gladiatorsBlade');
							_root.weaponEquip = 'gladiatorsBlade';
							this._x = _root.equipX[6];
							this._y = _root.equipY[6];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'gladiatorsBlade';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7703 gladiatorsBladeInv {
	}
	button 7707 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('ironShortsword');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.mainHand) && _root.equipment[6] == 'ironShortsword') {
					_root.equipment[6] = '';
					_root.unequip('ironShortsword');
					_root.weaponEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.ironShortsword[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('ironShortsword', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.mainHand.hitTest(xInv, yInv) && _root.equipment[6] == '') {
					if (_root.ironShortsword[0] == _root.playerClass) {
						if (_root.ironShortsword[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[6] = 'ironShortsword';
							_root.equip('ironShortsword');
							_root.weaponEquip = 'ironShortsword';
							this._x = _root.equipX[6];
							this._y = _root.equipY[6];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'ironShortsword';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7708 ironShortswordInv {
	}
	button 7712 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('rockwellsTempest');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.mainHand) && _root.equipment[6] == 'rockwellsTempest') {
					_root.equipment[6] = '';
					_root.unequip('rockwellsTempest');
					_root.weaponEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.rockwellsTempest[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('rockwellsTempest', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.mainHand.hitTest(xInv, yInv) && _root.equipment[6] == '') {
					if (_root.rockwellsTempest[0] == _root.playerClass) {
						if (_root.rockwellsTempest[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[6] = 'rockwellsTempest';
							_root.equip('rockwellsTempest');
							_root.weaponEquip = 'rockwellsTempest';
							this._x = _root.equipX[6];
							this._y = _root.equipY[6];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'rockwellsTempest';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7713 rockwellsTempestInv {
	}
	button 7717 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('rustySword');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.mainHand) && _root.equipment[6] == 'rustySword') {
					_root.equipment[6] = '';
					_root.unequip('rustySword');
					_root.weaponEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.rustySword[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('rustySword', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.mainHand.hitTest(xInv, yInv) && _root.equipment[6] == '') {
					if (_root.rustySword[0] == _root.playerClass) {
						if (_root.rustySword[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[6] = 'rustySword';
							_root.equip('rustySword');
							_root.weaponEquip = 'rustySword';
							this._x = _root.equipX[6];
							this._y = _root.equipY[6];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'rustySword';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7718 rustySwordInv {
	}
	button 7722 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('soldiersBlade');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.mainHand) && _root.equipment[6] == 'soldiersBlade') {
					_root.equipment[6] = '';
					_root.unequip('soldiersBlade');
					_root.weaponEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.soldiersBlade[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('soldiersBlade', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.mainHand.hitTest(xInv, yInv) && _root.equipment[6] == '') {
					if (_root.soldiersBlade[0] == _root.playerClass) {
						if (_root.soldiersBlade[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[6] = 'soldiersBlade';
							_root.equip('soldiersBlade');
							_root.weaponEquip = 'soldiersBlade';
							this._x = _root.equipX[6];
							this._y = _root.equipY[6];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'soldiersBlade';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7723 soldiersBladeInv {
	}
	button 7727 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('terrorBlade');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.mainHand) && _root.equipment[6] == 'terrorBlade') {
					_root.equipment[6] = '';
					_root.unequip('terrorBlade');
					_root.weaponEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.terrorBlade[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('terrorBlade', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.mainHand.hitTest(xInv, yInv) && _root.equipment[6] == '') {
					if (_root.terrorBlade[0] == _root.playerClass) {
						if (_root.terrorBlade[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[6] = 'terrorBlade';
							_root.equip('terrorBlade');
							_root.weaponEquip = 'terrorBlade';
							this._x = _root.equipX[6];
							this._y = _root.equipY[6];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'terrorBlade';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7728 terrorBladeInv {
	}
	button 7732 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('woodenSword');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.mainHand) && _root.equipment[6] == 'woodenSword') {
					_root.equipment[6] = '';
					_root.unequip('woodenSword');
					_root.weaponEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.woodenSword[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('woodenSword', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.mainHand.hitTest(xInv, yInv) && _root.equipment[6] == '') {
					if (_root.woodenSword[0] == _root.playerClass) {
						if (_root.woodenSword[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[6] = 'woodenSword';
							_root.equip('woodenSword');
							_root.weaponEquip = 'woodenSword';
							this._x = _root.equipX[6];
							this._y = _root.equipY[6];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'woodenSword';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7733 woodenSwordInv {
	}
	button 7738 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('blazzensFireRod');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.mainHand) && _root.equipment[6] == 'blazzensFireRod') {
					_root.equipment[6] = '';
					_root.unequip('blazzensFireRod');
					_root.weaponEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.blazzensFireRod[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('blazzensFireRod', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.mainHand.hitTest(xInv, yInv) && _root.equipment[6] == '') {
					if (_root.blazzensFireRod[0] == _root.playerClass) {
						if (_root.blazzensFireRod[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[6] = 'blazzensFireRod';
							_root.equip('blazzensFireRod');
							_root.weaponEquip = 'blazzensFireRod';
							this._x = _root.equipX[6];
							this._y = _root.equipY[6];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'blazzensFireRod';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7739 blazzensFireRodInv {
	}
	button 7744 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('charmersRod');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.mainHand) && _root.equipment[6] == 'charmersRod') {
					_root.equipment[6] = '';
					_root.unequip('charmersRod');
					_root.weaponEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.charmersRod[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('charmersRod', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.mainHand.hitTest(xInv, yInv) && _root.equipment[6] == '') {
					if (_root.charmersRod[0] == _root.playerClass) {
						if (_root.charmersRod[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[6] = 'charmersRod';
							_root.equip('charmersRod');
							_root.weaponEquip = 'charmersRod';
							this._x = _root.equipX[6];
							this._y = _root.equipY[6];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'charmersRod';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7745 charmersRodInv {
	}
	button 7749 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('dragonFinger');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.mainHand) && _root.equipment[6] == 'dragonFinger') {
					_root.equipment[6] = '';
					_root.unequip('dragonFinger');
					_root.weaponEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.dragonFinger[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('dragonFinger', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.mainHand.hitTest(xInv, yInv) && _root.equipment[6] == '') {
					if (_root.dragonFinger[0] == _root.playerClass) {
						if (_root.dragonFinger[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[6] = 'dragonFinger';
							_root.equip('dragonFinger');
							_root.weaponEquip = 'dragonFinger';
							this._x = _root.equipX[6];
							this._y = _root.equipY[6];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'dragonFinger';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7750 dragonFingerInv {
	}
	button 7754 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('jeweledWand');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.mainHand) && _root.equipment[6] == 'jeweledWand') {
					_root.equipment[6] = '';
					_root.unequip('jeweledWand');
					_root.weaponEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.jeweledWand[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('jeweledWand', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.mainHand.hitTest(xInv, yInv) && _root.equipment[6] == '') {
					if (_root.jeweledWand[0] == _root.playerClass) {
						if (_root.jeweledWand[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[6] = 'jeweledWand';
							_root.equip('jeweledWand');
							_root.weaponEquip = 'jeweledWand';
							this._x = _root.equipX[6];
							this._y = _root.equipY[6];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'jeweledWand';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7755 jeweledWandInv {
	}
	button 7759 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('silverWand');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.mainHand) && _root.equipment[6] == 'silverWand') {
					_root.equipment[6] = '';
					_root.unequip('silverWand');
					_root.weaponEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.silverWand[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('silverWand', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.mainHand.hitTest(xInv, yInv) && _root.equipment[6] == '') {
					if (_root.silverWand[0] == _root.playerClass) {
						if (_root.silverWand[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[6] = 'silverWand';
							_root.equip('silverWand');
							_root.weaponEquip = 'silverWand';
							this._x = _root.equipX[6];
							this._y = _root.equipY[6];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'silverWand';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7760 silverWandInv {
	}
	button 7764 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('sorcerersWand');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.mainHand) && _root.equipment[6] == 'sorcerersWand') {
					_root.equipment[6] = '';
					_root.unequip('sorcerersWand');
					_root.weaponEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.sorcerersWand[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('sorcerersWand', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.mainHand.hitTest(xInv, yInv) && _root.equipment[6] == '') {
					if (_root.sorcerersWand[0] == _root.playerClass) {
						if (_root.sorcerersWand[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[6] = 'sorcerersWand';
							_root.equip('sorcerersWand');
							_root.weaponEquip = 'sorcerersWand';
							this._x = _root.equipX[6];
							this._y = _root.equipY[6];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'sorcerersWand';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7765 sorcerersWandInv {
	}
	button 7769 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('spellweaversWand');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.mainHand) && _root.equipment[6] == 'spellweaversWand') {
					_root.equipment[6] = '';
					_root.unequip('spellweaversWand');
					_root.weaponEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.spellweaversWand[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('spellweaversWand', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.mainHand.hitTest(xInv, yInv) && _root.equipment[6] == '') {
					if (_root.spellweaversWand[0] == _root.playerClass) {
						if (_root.spellweaversWand[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[6] = 'spellweaversWand';
							_root.equip('spellweaversWand');
							_root.weaponEquip = 'spellweaversWand';
							this._x = _root.equipX[6];
							this._y = _root.equipY[6];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'spellweaversWand';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7770 spellweaversWandInv {
	}
	button 7774 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('terrorOfNnuk');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.mainHand) && _root.equipment[6] == 'terrorOfNnuk') {
					_root.equipment[6] = '';
					_root.unequip('terrorOfNnuk');
					_root.weaponEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.terrorOfNnuk[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('terrorOfNnuk', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.mainHand.hitTest(xInv, yInv) && _root.equipment[6] == '') {
					if (_root.terrorOfNnuk[0] == _root.playerClass) {
						if (_root.terrorOfNnuk[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[6] = 'terrorOfNnuk';
							_root.equip('terrorOfNnuk');
							_root.weaponEquip = 'terrorOfNnuk';
							this._x = _root.equipX[6];
							this._y = _root.equipY[6];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'terrorOfNnuk';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7775 terrorOfNnukInv {
	}
	button 7779 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('twistedBoneRod');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.mainHand) && _root.equipment[6] == 'twistedBoneRod') {
					_root.equipment[6] = '';
					_root.unequip('twistedBoneRod');
					_root.weaponEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.twistedBoneRod[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('twistedBoneRod', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.mainHand.hitTest(xInv, yInv) && _root.equipment[6] == '') {
					if (_root.twistedBoneRod[0] == _root.playerClass) {
						if (_root.twistedBoneRod[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[6] = 'twistedBoneRod';
							_root.equip('twistedBoneRod');
							_root.weaponEquip = 'twistedBoneRod';
							this._x = _root.equipX[6];
							this._y = _root.equipY[6];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'twistedBoneRod';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7780 twistedBoneRodInv {
	}
	button 7784 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('wandOfElements');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.mainHand) && _root.equipment[6] == 'wandOfElements') {
					_root.equipment[6] = '';
					_root.unequip('wandOfElements');
					_root.weaponEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.wandOfElements[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('wandOfElements', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.mainHand.hitTest(xInv, yInv) && _root.equipment[6] == '') {
					if (_root.wandOfElements[0] == _root.playerClass) {
						if (_root.wandOfElements[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[6] = 'wandOfElements';
							_root.equip('wandOfElements');
							_root.weaponEquip = 'wandOfElements';
							this._x = _root.equipX[6];
							this._y = _root.equipY[6];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'wandOfElements';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7785 wandOfElementsInv {
	}
	button 7789 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('warlocksTouch');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.mainHand) && _root.equipment[6] == 'warlocksTouch') {
					_root.equipment[6] = '';
					_root.unequip('warlocksTouch');
					_root.weaponEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.warlocksTouch[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('warlocksTouch', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.mainHand.hitTest(xInv, yInv) && _root.equipment[6] == '') {
					if (_root.warlocksTouch[0] == _root.playerClass) {
						if (_root.warlocksTouch[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[6] = 'warlocksTouch';
							_root.equip('warlocksTouch');
							_root.weaponEquip = 'warlocksTouch';
							this._x = _root.equipX[6];
							this._y = _root.equipY[6];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'warlocksTouch';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7790 warlocksTouchInv {
	}
	button 7794 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('woodenWand');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.mainHand) && _root.equipment[6] == 'woodenWand') {
					_root.equipment[6] = '';
					_root.unequip('woodenWand');
					_root.weaponEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.woodenWand[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('woodenWand', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.mainHand.hitTest(xInv, yInv) && _root.equipment[6] == '') {
					if (_root.woodenWand[0] == _root.playerClass) {
						if (_root.woodenWand[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[6] = 'woodenWand';
							_root.equip('woodenWand');
							_root.weaponEquip = 'woodenWand';
							this._x = _root.equipX[6];
							this._y = _root.equipY[6];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'woodenWand';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7795 woodenWandInv {
	}
	button 7799 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('captainsShield');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.offHand) && _root.equipment[7] == 'captainsShield') {
					_root.equipment[7] = '';
					_root.unequip('captainsShield');
					_root.shieldEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.captainsShield[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('captainsShield', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.offHand.hitTest(xInv, yInv) && _root.equipment[7] == '') {
					if (_root.captainsShield[0] == _root.playerClass) {
						if (_root.captainsShield[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[7] = 'captainsShield';
							_root.equip('captainsShield');
							_root.shieldEquip = 'captainsShield';
							this._x = _root.equipX[7];
							this._y = _root.equipY[7];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'captainsShield';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7800 captainsShieldInv {
	}
	button 7804 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('championsShield');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.offHand) && _root.equipment[7] == 'championsShield') {
					_root.equipment[7] = '';
					_root.unequip('championsShield');
					_root.shieldEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.championsShield[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('championsShield', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.offHand.hitTest(xInv, yInv) && _root.equipment[7] == '') {
					if (_root.championsShield[0] == _root.playerClass) {
						if (_root.championsShield[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[7] = 'championsShield';
							_root.equip('championsShield');
							_root.shieldEquip = 'championsShield';
							this._x = _root.equipX[7];
							this._y = _root.equipY[7];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'championsShield';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7805 championsShieldInv {
	}
	button 7809 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('dawnsDefender');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.offHand) && _root.equipment[7] == 'dawnsDefender') {
					_root.equipment[7] = '';
					_root.unequip('dawnsDefender');
					_root.shieldEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.dawnsDefender[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('dawnsDefender', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.offHand.hitTest(xInv, yInv) && _root.equipment[7] == '') {
					if (_root.dawnsDefender[0] == _root.playerClass) {
						if (_root.dawnsDefender[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[7] = 'dawnsDefender';
							_root.equip('dawnsDefender');
							_root.shieldEquip = 'dawnsDefender';
							this._x = _root.equipX[7];
							this._y = _root.equipY[7];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'dawnsDefender';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7810 dawnsDefenderInv {
	}
	button 7814 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('gyshallsDefender');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.offHand) && _root.equipment[7] == 'gyshallsDefender') {
					_root.equipment[7] = '';
					_root.unequip('gyshallsDefender');
					_root.shieldEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.gyshallsDefender[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('gyshallsDefender', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.offHand.hitTest(xInv, yInv) && _root.equipment[7] == '') {
					if (_root.gyshallsDefender[0] == _root.playerClass) {
						if (_root.gyshallsDefender[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[7] = 'gyshallsDefender';
							_root.equip('gyshallsDefender');
							_root.shieldEquip = 'gyshallsDefender';
							this._x = _root.equipX[7];
							this._y = _root.equipY[7];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'gyshallsDefender';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7815 gyshallsDefenderInv {
	}
	button 7820 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('metalBuckler');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.offHand) && _root.equipment[7] == 'metalBuckler') {
					_root.equipment[7] = '';
					_root.unequip('metalBuckler');
					_root.shieldEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.metalBuckler[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('metalBuckler', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.offHand.hitTest(xInv, yInv) && _root.equipment[7] == '') {
					if (_root.metalBuckler[0] == _root.playerClass) {
						if (_root.metalBuckler[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[7] = 'metalBuckler';
							_root.equip('metalBuckler');
							_root.shieldEquip = 'metalBuckler';
							this._x = _root.equipX[7];
							this._y = _root.equipY[7];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'metalBuckler';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7821 metalBucklerInv {
	}
	button 7825 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('soldiersShield');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.offHand) && _root.equipment[7] == 'soldiersShield') {
					_root.equipment[7] = '';
					_root.unequip('soldiersShield');
					_root.shieldEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.soldiersShield[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('soldiersShield', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.offHand.hitTest(xInv, yInv) && _root.equipment[7] == '') {
					if (_root.soldiersShield[0] == _root.playerClass) {
						if (_root.soldiersShield[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[7] = 'soldiersShield';
							_root.equip('soldiersShield');
							_root.shieldEquip = 'soldiersShield';
							this._x = _root.equipX[7];
							this._y = _root.equipY[7];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'soldiersShield';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7826 soldiersShieldInv {
	}
	button 7830 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('towerShield');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.offHand) && _root.equipment[7] == 'towerShield') {
					_root.equipment[7] = '';
					_root.unequip('towerShield');
					_root.shieldEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.towerShield[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('towerShield', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.offHand.hitTest(xInv, yInv) && _root.equipment[7] == '') {
					if (_root.towerShield[0] == _root.playerClass) {
						if (_root.towerShield[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[7] = 'towerShield';
							_root.equip('towerShield');
							_root.shieldEquip = 'towerShield';
							this._x = _root.equipX[7];
							this._y = _root.equipY[7];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'towerShield';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7831 towerShieldInv {
	}
	button 7835 {
		on (rollOver) {
			if (_root.dragging == false) {
				_root.displayItemStats(this);
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop('woodenShield');
			}
		}
		on (rollOut) {
			_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
		}
		on (release) {
			if (_root.dragging == false) {
				_root.draggingItem = 'item' + (this.getDepth() - 1);
				_root.dragging = true;
				_root.allowDrag = false;
				_root.world.mainMenu.characterMenu.itemStats.gotoAndStop(1);
				if (this.hitTest(_root.world.mainMenu.characterMenu.offHand) && _root.equipment[7] == 'woodenShield') {
					_root.equipment[7] = '';
					_root.unequip('woodenShield');
					_root.shieldEquip = 1;
				} else {
					var i = 1;
					while (i < 19) {
						var findSlot = 'inv' + i;
						if (this.hitTest(_root.world.mainMenu.characterMenu[findSlot])) {
							_root.inventory[i - 1] = '';
							break;
						}
						++i;
					}
				}
			}
			if (_root.allowDrag) {
				var xInv = _root.world._xmouse;
				var yInv = _root.world._ymouse;
				if (_root.world.mainMenu.characterMenu.drop.hitTest(xInv, yInv)) {
					if (_root.inStore) {
						_root.gold += _root.woodenShield[12];
						_root.playSound('gold');
					} else {
						var dItem = 'dItem' + _root.itemDepth;
						_root.world.attachMovie('woodenShield', dItem, ++_root.itemDepth);
						_root.world[dItem]._x = _root.world.hero._x;
						_root.world[dItem]._y = _root.world.hero._y;
						_root.dragging = false;
					}
					this.removeMovieClip();
				}
				if (_root.world.mainMenu.characterMenu.offHand.hitTest(xInv, yInv) && _root.equipment[7] == '') {
					if (_root.woodenShield[0] == _root.playerClass) {
						if (_root.woodenShield[1] <= _root.level) {
							_root.dragging = false;
							_root.equipment[7] = 'woodenShield';
							_root.equip('woodenShield');
							_root.shieldEquip = 'woodenShield';
							this._x = _root.equipX[7];
							this._y = _root.equipY[7];
						} else {
							_root.insufficientLevel();
						}
					} else {
						_root.wrongClass();
					}
				}
				var i = 1;
				while (i < 19) {
					var findSlot = 'inv' + i;
					if (_root.world.mainMenu.characterMenu[findSlot].hitTest(xInv, yInv) && _root.inventory[i - 1] == '') {
						_root.dragging = false;
						_root.draggingItem = '';
						_root.allowDrag = true;
						_root.inventory[i - 1] = 'woodenShield';
						this._x = _root.inventoryX[i - 1];
						this._y = _root.inventoryY[i - 1];
						break;
					}
					++i;
				}
			}
		}
	}
	movieClip 7836 woodenShieldInv {
	}
	movieClip 7837 elvenshot {
		frame 40 {
			this.removeMovieClip();
		}
	}
	movieClip 7838 fetter {
		frame 50 {
			this.removeMovieClip();
		}
	}
	movieClip 7839 fetter_effect {
	}
	movieClip 7840	{
	}
	movieClip 7841 frostshot {
		frame 40 {
			this.removeMovieClip();
		}
	}
	movieClip 7842 frostshot_effect {
	}
	movieClip 7844	{
	}
	movieClip 7845 searingarrow {
		frame 40 {
			this.removeMovieClip();
		}
	}
	movieClip 7846 shootarrow {
		frame 50 {
			this.removeMovieClip();
		}
	}
	movieClip 7847	{
	}
	movieClip 7848	{
		frame 25 {
			this.gotoAndPlay(1);
		}
	}
	movieClip 7849 bondsofair {
		frame 65 {
			this.removeMovieClip();
		}
	}
	movieClip 7850 bondsofair_effect {
	}
	movieClip 7851 energybolt {
		frame 50 {
			this.removeMovieClip();
		}
	}
	movieClip 7853	{
	}
	movieClip 7854 firenova {
		frame 15 {
			this.removeMovieClip();
		}
	}
	movieClip 7857	{
	}
	movieClip 7858 fireball {
		frame 50 {
			this.removeMovieClip();
		}
	}
	movieClip 7859 frostbite {
		frame 50 {
			this.removeMovieClip();
		}
	}
	movieClip 7860	{
		frame 154 {
			_root.gotoAndStop('axis');
		}
	}
	frame 21 {
		stop();
	}
	movieClip 7881	{
		frame 39 {
			stop();
		}
	}
	movieClip 7901	{
		frame 39 {
			stop();
		}
	}
	movieClip 7903	{
	}
	button 7907 {
		on (release) {
			getURL('http://www.axis-games.com', '_blank');
		}
	}
	movieClip 7911	{
	}
	movieClip 7932	{
		frame 40 {
			this.gotoAndPlay(1);
		}
	}
	movieClip 7934	{
	}
	movieClip 7935	{
		frame 175 {
			stopAllSounds();
		}
		frame 176 {
			_root.gotoAndStop('splash');
		}
	}
	frame 27 {
		function myFirstItemHandler() {
			getURL('http://www.axis-games.com/handsofwar.php', '');
		}
		var my_cm;
		my_cm = new ContextMenu();
		my_cm.hideBuiltInItems();
		var myFirstItem_cmi;
		myFirstItem_cmi = new ContextMenuItem('(c)2008 - axis-games.com', myFirstItemHandler);
		my_cm.customItems.push(myFirstItem_cmi);
		stop();
	}
	movieClip 7939	{
	}
	movieClip 7949	{
	}
	movieClip 7960	{
	}
	movieClip 7964	{
	}
	movieClip 7966	{
	}
	movieClip 7967	{
		frame 1 {
			stop();
			this.onRollOver = function () {
				this.gotoAndStop(2);
			};
			this.onRollOut = function () {
				this.gotoAndStop(1);
			};
			this.onReleaseOutside = function () {
				this.gotoAndStop(1);
			};
			this.onRelease = function () {
				getURL('http://www.bubblebox.com/clickreg.php?type=gamestats&id=1106&subid=splash', '_blank');
			};
		}
	}
	movieClip 7968	{
	}
	movieClip 7989	{
	}
	button 7992 {
		on (release) {
			_root.gameLoaded = false;
			_root.fadeScreen.gotoAndPlay('close');
		}
	}
	button 7995 {
		on (release) {
			mySharedObject = SharedObject.getLocal('how');
			if (mySharedObject.data.playerNameSO == null) {
				_root.noFile.gotoAndPlay(2);
			} else {
				_root.gameLoaded = true;
				_root.gotoAndStop('game');
			}
		}
	}
	movieClip 7997	{
		frame 1 {
			stop();
		}
		frame 60 {
			this.gotoAndStop(1);
		}
	}
	button 8004 {
		on (release) {
			getURL('http://www.axis-games.com', '_blank');
		}
	}
	movieClip 8008	{
		frame 11 {
			stop();
		}
		frame 21 {
			_root.gotoAndStop('charSelect');
		}
	}
	frame 33 {
		_root.pName = '';
		stop();
	}
	movieClip 8020	{
		frame 1 {
			stop();
		}
	}
	button 8022 {
		on (rollOver) {
			if (_root.charName._currentframe == 1) {
				_root.curClass.gotoAndStop('warrior');
			}
		}
		on (rollOut) {
			_root.curClass.gotoAndStop(1);
		}
		on (release) {
			_root.playerClass = 'Warrior';
			_root.curClass.gotoAndStop(1);
			_root.charName.gotoAndStop(2);
		}
	}
	button 8025 {
		on (rollOver) {
			if (_root.charName._currentframe == 1) {
				_root.curClass.gotoAndStop('wizard');
			}
		}
		on (rollOut) {
			_root.curClass.gotoAndStop(1);
		}
		on (release) {
			_root.playerClass = 'Wizard';
			_root.curClass.gotoAndStop(1);
			_root.charName.gotoAndStop(2);
		}
	}
	button 8027 {
		on (rollOver) {
			if (_root.charName._currentframe == 1) {
				_root.curClass.gotoAndStop('ranger');
			}
		}
		on (rollOut) {
			_root.curClass.gotoAndStop(1);
		}
		on (release) {
			_root.playerClass = 'Ranger';
			_root.curClass.gotoAndStop(1);
			_root.charName.gotoAndStop(2);
		}
	}
	button 8033 {
		on (release) {
			if (_root.charName.field1 != '') {
				_root.pName = _root.charName.field1.text;
				_root.fadeScreen.gotoAndPlay('close');
				_root.charName.gotoAndStop(1);
			}
		}
	}
	movieClip 8034	{
		frame 1 {
			stop();
		}
	}
	movieClip 8037	{
		frame 11 {
			stop();
		}
		frame 21 {
			_root.gotoAndPlay('introVideo');
		}
	}
	frame 43 {
		stop();
	}
	movieClip 8039	{
	}
	button 8043 {
		on (release) {
			_root.gotoAndStop('game');
		}
	}
	movieClip 8046	{
	}
	movieClip 8048	{
	}
	movieClip 8050	{
	}
	movieClip 8052	{
	}
	movieClip 8054	{
	}
	movieClip 8056	{
	}
	movieClip 8058	{
	}
	movieClip 8060	{
	}
	movieClip 8061	{
		frame 1 {
			stopAllSounds();
		}
		frame 732 {
			_root.gotoAndStop('game');
		}
	}
	frame 52 {
		function myFirstItemHandler() {
			getURL('http://www.axis-games.com/handsofwar.php', '');
		}
		function loadGame() {
			var v2 = SharedObject.getLocal('how');
			_root.playerName = v2.data.playerNameSO;
			_root.playerClass = v2.data.playerClassSO;
			_root.factionLevels = copyArray(v2.data.factionLevelsSO);
			_root.activeQuests = copyArray(v2.data.activeQuestsSO);
			_root.inventory = copyArray(v2.data.inventorySO);
			_root.tutorialDone = copyArray(v2.data.tutorialDoneSO);
			_root.tutorialName = copyArray(v2.data.tutorialNameSO);
			_root.curEnergyPots = v2.data.curEnergyPotsSO;
			_root.curHealthPots = v2.data.curHealthPotsSO;
			_root.gold = v2.data.goldSO;
			_root.armor = v2.data.armorSO;
			_root.level = v2.data.levelSO;
			_root.str = v2.data.strSO;
			_root.vit = v2.data.vitSO;
			_root.agi = v2.data.agiSO;
			_root.inte = v2.data.inteSO;
			_root.foc = v2.data.focSO;
			_root.expToLevel = v2.data.expToLevelSO;
			_root.pointsLeft = v2.data.pointsLeftSO;
			_root.curExp = v2.data.curExpSO;
			_root.charRow = v2.data.charRowSO;
			_root.charCol = v2.data.charColSO;
			_root.minWeapon = v2.data.minWeaponSO;
			_root.maxWeapon = v2.data.maxWeaponSO;
			_root.heroSpeed = v2.data.heroSpeedSO;
			_root.itemEnergy = v2.data.itemEnergySO;
			_root.baseEnergy = 50 + _root.level * 25;
			_root.inteEnergy = _root.inte * 2;
			_root.maxEnergy = _root.itemEnergy + _root.baseEnergy + _root.inteEnergy;
			_root.itemHP = v2.data.itemHPSO;
			_root.baseHP = 50 + _root.level * 20;
			_root.vitHP = _root.vit * 4;
			_root.maxHP = _root.itemHP + _root.baseHP + _root.vitHP;
			_root.curEnergy = v2.data.curEnergySO;
			_root.curHP = v2.data.curHPSO;
			_root.activeSpell = v2.data.activeSpellSO;
			_root.spellList = copyArray(v2.data.spellListSO);
			_root.shieldEquip = v2.data.shieldEquipSO;
			_root.equipment = copyArray(v2.data.equipmentSO);
			_root.chestEquip = v2.data.chestEquipSO;
			_root.weaponEquip = v2.data.weaponEquipSO;
			_root.headEquip = v2.data.headEquipSO;
			_root.shadowSoldierQ = copyArray(v2.data.shadowSoldierQSO);
			_root.shadowWizardQ = copyArray(v2.data.shadowWizardQSO);
			_root.shadowBowmanQ = copyArray(v2.data.shadowBowmanQSO);
			_root.allianceBoss1Q = copyArray(v2.data.allianceBoss1QSO);
			_root.shadowGuardQ = copyArray(v2.data.shadowGuardQSO);
			_root.shadowArcherQ = copyArray(v2.data.shadowArcherQSO);
			_root.shadowKnightQ = copyArray(v2.data.shadowKnightQSO);
			_root.allianceBoss2Q = copyArray(v2.data.allianceBoss2QSO);
			_root.necromancerQ = copyArray(v2.data.necromancerQSO);
			_root.shadowTrackerQ = copyArray(v2.data.shadowTrackerQSO);
			_root.shadowAssassinQ = copyArray(v2.data.shadowAssassinQSO);
			_root.darkRitualistQ = copyArray(v2.data.darkRitualistQSO);
			_root.bloodMageQ = copyArray(v2.data.bloodMageQSO);
			_root.allianceBoss3Q = copyArray(v2.data.allianceBoss3QSO);
			_root.shadowWardQ = copyArray(v2.data.shadowWardQSO);
			_root.fallenShadowQ = copyArray(v2.data.fallenShadowQSO);
			_root.hellCasterQ = copyArray(v2.data.hellCasterQSO);
			_root.shadowCaptainQ = copyArray(v2.data.shadowCaptainQSO);
			_root.allianceBoss4Q = copyArray(v2.data.allianceBoss4QSO);
			_root.finalBossAQ = copyArray(v2.data.finalBossAQSO);
			_root.brightlakeGuardQ = copyArray(v2.data.brightlakeGuardQSO);
			_root.brightlakeScoutQ = copyArray(v2.data.brightlakeScoutQSO);
			_root.brightlakeWizardQ = copyArray(v2.data.brightlakeWizardQSO);
			_root.shadowRunnersBoss1Q = copyArray(v2.data.shadowRunnersBoss1QSO);
			_root.paladinQ = copyArray(v2.data.paladinQSO);
			_root.greenviewMageQ = copyArray(v2.data.greenviewMageQSO);
			_root.greenviewGuardQ = copyArray(v2.data.greenviewGuardQSO);
			_root.shadowRunnersBoss2Q = copyArray(v2.data.shadowRunnersBoss2QSO);
			_root.greenviewWardQ = copyArray(v2.data.greenviewWardQSO);
			_root.sageOfLightQ = copyArray(v2.data.sageOfLightQSO);
			_root.holyAssassinQ = copyArray(v2.data.holyAssassinQSO);
			_root.strikerOfHartQ = copyArray(v2.data.strikerOfHartQSO);
			_root.guardOfHartQ = copyArray(v2.data.guardOfHartQSO);
			_root.shadowRunnersBoss3Q = copyArray(v2.data.shadowRunnersBoss3QSO);
			_root.icecallerOfHartQ = copyArray(v2.data.icecallerOfHartQSO);
			_root.shadowOfLightQ = copyArray(v2.data.shadowOfLightQSO);
			_root.devoutGamemasterQ = copyArray(v2.data.devoutGamemasterQSO);
			_root.masterPaladinQ = copyArray(v2.data.masterPaladinQSO);
			_root.shadowRunnersBoss4Q = copyArray(v2.data.shadowRunnersBoss4QSO);
			_root.finalBossSQ = copyArray(v2.data.finalBossSQSO);
			_root.brigandQ = copyArray(v2.data.brigandQSO);
			_root.hirelingQ = copyArray(v2.data.hirelingQSO);
			_root.madcapQ = copyArray(v2.data.madcapQSO);
			_root.highwaymanQ = copyArray(v2.data.highwaymanQSO);
			_root.coinchaserQ = copyArray(v2.data.coinchaserQSO);
			_root.sellswordQ = copyArray(v2.data.sellswordQSO);
			_root.merchantGuardQ = copyArray(v2.data.merchantGuardQSO);
			_root.wizardProtectorQ = copyArray(v2.data.wizardProtectorQSO);
			_root.honorGuardQ = copyArray(v2.data.honorGuardQSO);
			_root.pledgedTrackerQ = copyArray(v2.data.pledgedTrackerQSO);
			_root.waterdancerQ = copyArray(v2.data.waterdancerQSO);
			_root.redCloakGuardQ = copyArray(v2.data.redCloakGuardQSO);
			_root.squireQ = copyArray(v2.data.squireQSO);
			_root.sageQ = copyArray(v2.data.sageQSO);
			_root.ritualistQ = copyArray(v2.data.ritualistQSO);
			_root.conquerorQ = copyArray(v2.data.conquerorQSO);
			_root.elementalistQ = copyArray(v2.data.elementalistQSO);
			_root.gladiatorQ = copyArray(v2.data.gladiatorQSO);
			_root.apprenticeQ = copyArray(v2.data.apprenticeQSO);
			_root.archerQ = copyArray(v2.data.archerQSO);
			_root.pathfinderQ = copyArray(v2.data.pathfinderQSO);
			_root.channelerQ = copyArray(v2.data.channelerQSO);
			_root.warderQ = copyArray(v2.data.warderQSO);
			_root.aeromancerQ = copyArray(v2.data.aeromancerQSO);
			_root.traineeQ = copyArray(v2.data.traineeQSO);
			_root.defenderQ = copyArray(v2.data.defenderQSO);
			_root.knightQ = copyArray(v2.data.knightQSO);
			_root.bowmasterQ = copyArray(v2.data.bowmasterQSO);
			_root.championQ = copyArray(v2.data.championQSO);
			_root.forestStalkerQ = copyArray(v2.data.forestStalkerQSO);
			_root.quest1 = copyArray(v2.data.quest1SO);
			_root.quest2 = copyArray(v2.data.quest2SO);
			_root.quest3 = copyArray(v2.data.quest3SO);
			_root.quest4 = copyArray(v2.data.quest4SO);
			_root.quest5 = copyArray(v2.data.quest5SO);
			_root.quest6 = copyArray(v2.data.quest6SO);
			_root.quest7 = copyArray(v2.data.quest7SO);
			_root.tile15_3 = copyArray(v2.data.tile15_3SO);
			_root.tile18_2 = copyArray(v2.data.tile18_2SO);
			_root.tile15_6 = copyArray(v2.data.tile15_6SO);
			_root.tile18_5 = copyArray(v2.data.tile18_5SO);
			_root.characterA = v2.data.characterASO;
			_root.characterX = v2.data.characterXSO;
			_root.characterY = v2.data.characterYSO;
			_root.targetX = v2.data.targetXSO;
			_root.targetY = v2.data.targetYSO;
			_root.targetA = v2.data.targetASO;
			_root.spellX = v2.data.spellXSO;
			_root.spellY = v2.data.spellYSO;
			_root.spellA = v2.data.spellASO;
			_root.castX = v2.data.castXSO;
			_root.castY = v2.data.castYSO;
			_root.castA = v2.data.castASO;
			_root.gameX = v2.data.gameXSO;
			_root.gameY = v2.data.gameYSO;
			_root.gameA = v2.data.gameASO;
			_root.potionsX = v2.data.potionsXSO;
			_root.potionsY = v2.data.potionsYSO;
			_root.potionsA = v2.data.potionsASO;
			_root.soundOn = v2.data.soundOnSO;
			_root.showFactions = v2.data.showFactionsSO;
			_root.tutorials = v2.data.tutorialsSO;
			_root.world.charInfo._x = characterX;
			_root.world.charInfo._y = characterY;
			_root.world.charInfo._alpha = characterA;
			_root.world.targetInfo._x = targetX;
			_root.world.targetInfo._y = targetY;
			_root.world.targetInfo._alpha = targetA;
			_root.world.spellBar._x = spellX;
			_root.world.spellBar._y = spellY;
			_root.world.spellBar._alpha = spellA;
			_root.world.castMeter._x = castX;
			_root.world.castMeter._y = castY;
			_root.world.castMeter._alpha = castA;
			_root.world.gameBar._x = gameX;
			_root.world.gameBar._y = gameY;
			_root.world.gameBar._alpha = gameA;
			_root.world.potionsBar._x = potionsX;
			_root.world.potionsBar._y = potionsY;
			_root.world.potionsBar._alpha = potionsA;
			if (_root.playerClass == 'Wizard') {
				_root.fireballRank = v2.data.fireballRankSO;
				_root.bondsofairRank = v2.data.bondsofairRankSO;
				_root.healRank = v2.data.healRankSO;
				_root.frostbiteRank = v2.data.frostbiteRankSO;
				_root.firenovaRank = v2.data.firenovaRankSO;
				_root.energyboltRank = v2.data.energyboltRankSO;
				_root.wizardSpellArray = ['', 'fireball', 'heal', 'bondsofair', 'frostbite', 'firenova', 'energybolt'];
				_root.classFaction = 'theMagicians';
				_root.classFactionNum = 28;
				_root.keyStat = 'foc';
				_root.rootEffect = 'bondsofair_effect';
				_root.snareEffect = 'frostbite_effect';
				_root.firenovaCDTimer = 0;
				_root.energyboltCDTimer = 0;
				_root.aeSpell = 'firenova';
				_root.ddSpell = 'energybolt';
				setWizardAbilities();
				_root.fireball1 = copyArray(v2.data.fireball1SO);
				_root.fireball2 = copyArray(v2.data.fireball2SO);
				_root.fireball3 = copyArray(v2.data.fireball3SO);
				_root.fireball4 = copyArray(v2.data.fireball4SO);
				_root.fireball5 = copyArray(v2.data.fireball5SO);
				_root.fireball6 = copyArray(v2.data.fireball6SO);
				_root.heal1 = copyArray(v2.data.heal1SO);
				_root.heal2 = copyArray(v2.data.heal2SO);
				_root.heal3 = copyArray(v2.data.heal3SO);
				_root.heal4 = copyArray(v2.data.heal4SO);
				_root.heal5 = copyArray(v2.data.heal5SO);
				_root.heal6 = copyArray(v2.data.heal6SO);
				_root.bondsofair1 = copyArray(v2.data.bondsofair1SO);
				_root.bondsofair2 = copyArray(v2.data.bondsofair2SO);
				_root.bondsofair3 = copyArray(v2.data.bondsofair3SO);
				_root.bondsofair4 = copyArray(v2.data.bondsofair4SO);
				_root.bondsofair5 = copyArray(v2.data.bondsofair5SO);
				_root.bondsofair6 = copyArray(v2.data.bondsofair6SO);
				_root.frostbite1 = copyArray(v2.data.frostbite1SO);
				_root.frostbite2 = copyArray(v2.data.frostbite2SO);
				_root.frostbite3 = copyArray(v2.data.frostbite3SO);
				_root.frostbite4 = copyArray(v2.data.frostbite4SO);
				_root.frostbite5 = copyArray(v2.data.frostbite5SO);
				_root.frostbite6 = copyArray(v2.data.frostbite6SO);
				_root.firenova1 = copyArray(v2.data.firenova1SO);
				_root.firenova2 = copyArray(v2.data.firenova2SO);
				_root.firenova3 = copyArray(v2.data.firenova3SO);
				_root.firenova4 = copyArray(v2.data.firenova4SO);
				_root.firenova5 = copyArray(v2.data.firenova5SO);
				_root.firenova6 = copyArray(v2.data.firenova6SO);
				_root.energybolt1 = copyArray(v2.data.energybolt1SO);
				_root.energybolt2 = copyArray(v2.data.energybolt2SO);
				_root.energybolt3 = copyArray(v2.data.energybolt3SO);
				_root.energybolt4 = copyArray(v2.data.energybolt4SO);
				_root.energybolt5 = copyArray(v2.data.energybolt5SO);
				_root.energybolt6 = copyArray(v2.data.energybolt6SO);
			} else {
				if (_root.playerClass == 'Ranger') {
					_root.shootarrowRank = v2.data.shootarrowRankSO;
					_root.bindwoundRank = v2.data.bindwoundRankSO;
					_root.fetterRank = v2.data.fetterRankSO;
					_root.frostshotRank = v2.data.frostshotRankSO;
					_root.searingarrowRank = v2.data.searingarrowRankSO;
					_root.elvenshotRank = v2.data.elvenshotRankSO;
					_root.rangerSpellArray = ['', 'shootarrow', 'bindwound', 'fetter', 'frostshot', 'searingarrow', 'elvenshot'];
					_root.classFaction = 'theTrackers';
					_root.classFactionNum = 23;
					_root.keyStat = 'agi';
					_root.rootEffect = 'fetter_effect';
					_root.snareEffect = 'frostshot_effect';
					_root.world.gameBar.charImages.gotoAndStop(2);
					_root.searingarrowCDTimer = 0;
					_root.elvenshotCDTimer = 0;
					_root.aeSpell = 'searingarrow';
					_root.ddSpell = 'elvenshot';
					setRangerAbilities();
					_root.shootarrow1 = copyArray(v2.data.shootarrow1SO);
					_root.shootarrow2 = copyArray(v2.data.shootarrow2SO);
					_root.shootarrow3 = copyArray(v2.data.shootarrow3SO);
					_root.shootarrow4 = copyArray(v2.data.shootarrow4SO);
					_root.shootarrow5 = copyArray(v2.data.shootarrow5SO);
					_root.shootarrow6 = copyArray(v2.data.shootarrow6SO);
					_root.bindwound1 = copyArray(v2.data.bindwound1SO);
					_root.bindwound2 = copyArray(v2.data.bindwound2SO);
					_root.bindwound3 = copyArray(v2.data.bindwound3SO);
					_root.bindwound4 = copyArray(v2.data.bindwound4SO);
					_root.bindwound5 = copyArray(v2.data.bindwound5SO);
					_root.bindwound6 = copyArray(v2.data.bindwound6SO);
					_root.fetter1 = copyArray(v2.data.fetter1SO);
					_root.fetter2 = copyArray(v2.data.fetter2SO);
					_root.fetter3 = copyArray(v2.data.fetter3SO);
					_root.fetter4 = copyArray(v2.data.fetter4SO);
					_root.fetter5 = copyArray(v2.data.fetter5SO);
					_root.fetter6 = copyArray(v2.data.fetter6SO);
					_root.frostshot1 = copyArray(v2.data.frostshot1SO);
					_root.frostshot2 = copyArray(v2.data.frostshot2SO);
					_root.frostshot3 = copyArray(v2.data.frostshot3SO);
					_root.frostshot4 = copyArray(v2.data.frostshot4SO);
					_root.frostshot5 = copyArray(v2.data.frostshot5SO);
					_root.frostshot6 = copyArray(v2.data.frostshot6SO);
					_root.searingarrow1 = copyArray(v2.data.searingarrow1SO);
					_root.searingarrow2 = copyArray(v2.data.searingarrow2SO);
					_root.searingarrow3 = copyArray(v2.data.searingarrow3SO);
					_root.searingarrow4 = copyArray(v2.data.searingarrow4SO);
					_root.searingarrow5 = copyArray(v2.data.searingarrow5SO);
					_root.searingarrow6 = copyArray(v2.data.searingarrow6SO);
					_root.elvenshot1 = copyArray(v2.data.elvenshot1SO);
					_root.elvenshot2 = copyArray(v2.data.elvenshot2SO);
					_root.elvenshot3 = copyArray(v2.data.elvenshot3SO);
					_root.elvenshot4 = copyArray(v2.data.elvenshot4SO);
					_root.elvenshot5 = copyArray(v2.data.elvenshot5SO);
					_root.elvenshot6 = copyArray(v2.data.elvenshot6SO);
				} else {
					if (_root.playerClass == 'Warrior') {
						_root.stabRank = v2.data.stabRankSO;
						_root.frostbladeRank = v2.data.frostbladeRankSO;
						_root.mendwoundRank = v2.data.mendwoundRankSO;
						_root.shieldbashRank = v2.data.shieldbashRankSO;
						_root.cleaveRank = v2.data.cleaveRankSO;
						_root.deathblowRank = v2.data.deathblowRankSO;
						_root.warriorSpellArray = ['', 'stab', 'mendwound', 'frostblade', 'shieldbash', 'cleave', 'deathblow'];
						_root.classFaction = 'theBlademasters';
						_root.classFactionNum = 33;
						_root.keyStat = 'str';
						_root.snareEffect = 'frostblade_effect';
						_root.rootEffect = 'shieldbash_effect';
						_root.world.gameBar.charImages.gotoAndStop(3);
						_root.cleaveCDTimer = 0;
						_root.deathblowCDTimer = 0;
						_root.aeSpell = 'cleave';
						_root.ddSpell = 'deathblow';
						setWarriorAbilities();
						_root.stab1 = copyArray(v2.data.stab1SO);
						_root.stab2 = copyArray(v2.data.stab2SO);
						_root.stab3 = copyArray(v2.data.stab3SO);
						_root.stab4 = copyArray(v2.data.stab4SO);
						_root.stab5 = copyArray(v2.data.stab5SO);
						_root.stab6 = copyArray(v2.data.stab6SO);
						_root.mendwound1 = copyArray(v2.data.mendwound1SO);
						_root.mendwound2 = copyArray(v2.data.mendwound2SO);
						_root.mendwound3 = copyArray(v2.data.mendwound3SO);
						_root.mendwound4 = copyArray(v2.data.mendwound4SO);
						_root.mendwound5 = copyArray(v2.data.mendwound5SO);
						_root.mendwound6 = copyArray(v2.data.mendwound6SO);
						_root.frostblade1 = copyArray(v2.data.frostblade1SO);
						_root.frostblade2 = copyArray(v2.data.frostblade2SO);
						_root.frostblade3 = copyArray(v2.data.frostblade3SO);
						_root.frostblade4 = copyArray(v2.data.frostblade4SO);
						_root.frostblade5 = copyArray(v2.data.frostblade5SO);
						_root.frostblade6 = copyArray(v2.data.frostblade6SO);
						_root.shieldbash1 = copyArray(v2.data.shieldbash1SO);
						_root.shieldbash2 = copyArray(v2.data.shieldbash2SO);
						_root.shieldbash3 = copyArray(v2.data.shieldbash3SO);
						_root.shieldbash4 = copyArray(v2.data.shieldbash4SO);
						_root.shieldbash5 = copyArray(v2.data.shieldbash5SO);
						_root.shieldbash6 = copyArray(v2.data.shieldbash6SO);
						_root.cleave1 = copyArray(v2.data.cleave1SO);
						_root.cleave2 = copyArray(v2.data.cleave2SO);
						_root.cleave3 = copyArray(v2.data.cleave3SO);
						_root.cleave4 = copyArray(v2.data.cleave4SO);
						_root.cleave5 = copyArray(v2.data.cleave5SO);
						_root.cleave6 = copyArray(v2.data.cleave6SO);
						_root.deathblow1 = copyArray(v2.data.deathblow1SO);
						_root.deathblow2 = copyArray(v2.data.deathblow2SO);
						_root.deathblow3 = copyArray(v2.data.deathblow3SO);
						_root.deathblow4 = copyArray(v2.data.deathblow4SO);
						_root.deathblow5 = copyArray(v2.data.deathblow5SO);
						_root.deathblow6 = copyArray(v2.data.deathblow6SO);
					}
				}
			}
			var v3 = 0;
			while (v3 <= 17) {
				if (_root.inventory[v3] != '') {
					var v5 = _root.inventory[v3] + 'Inv';
					var v4 = 'item' + _root.invDepth;
					_root.world.mainMenu.characterMenu.attachMovie(v5, v4, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[v4]._x = _root.inventoryX[v3];
					_root.world.mainMenu.characterMenu[v4]._y = _root.inventoryY[v3];
				}
				++v3;
			}
			v3 = 0;
			while (v3 <= 8) {
				if (_root.equipment[v3] != '') {
					v5 = _root.equipment[v3] + 'Inv';
					v4 = 'item' + _root.invDepth;
					_root.world.mainMenu.characterMenu.attachMovie(v5, v4, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[v4]._x = _root.equipX[v3];
					_root.world.mainMenu.characterMenu[v4]._y = _root.equipY[v3];
				}
				++v3;
			}
			_root.world.charInfo.expBar._xscale = (curExp / expToLevel) * 100;
			mapMenu();
		}
		function copyArray(savedArray) {
			var v3 = [];
			var v1 = 0;
			while (v1 < savedArray.length) {
				v3[v1] = savedArray[v1];
				++v1;
			}
			return v3;
		}
		function useEnePot() {
			if (_root.curEnergyPots > 0 && !_root.globalCD && !_root.castInProgress) {
				_root.globalCD = true;
				--_root.curEnergyPots;
				_root.curEnergy += Math.round(_root.maxEnergy * 0.15);
				if (_root.curEnergy > _root.maxEnergy) {
					_root.curEnergy = _root.maxEnergy;
				}
				_root.world.charInfo.energyBar._xscale = (_root.curEnergy / _root.maxEnergy) * 100;
				_root.playSound('heal_use');
			}
		}
		function useHealthPot() {
			if (_root.curHealthPots > 0 && !_root.globalCD && !_root.castInProgress) {
				_root.globalCD = true;
				--_root.curHealthPots;
				_root.curHP += Math.round(_root.maxHP * 0.15);
				if (_root.curHP > _root.maxHP) {
					_root.curHP = _root.maxHP;
				}
				_root.world.charInfo.hpBar._xscale = (_root.curHP / _root.maxHP) * 100;
				_root.playSound('heal_use');
			}
		}
		function heroDie() {
			heroDead = true;
			_root.world.transition.gotoAndPlay(2);
			curHP = Math.round(maxHP / 2);
			curEnergy = Math.round(maxEnergy / 2);
			curExp -= level * 5;
			if (curExp <= 0) {
				curExp = 0;
			}
			_root.world.charInfo.expBar._xscale = (curExp / expToLevel) * 100;
			_root.world.heroSnareIcon._visible = false;
			_root.world.heroRootIcon._visible = false;
			_root.world.hero._y = 530;
			_root.world.hero._x = 300;
			charRow = 12;
			charCol = 1;
			if (allianceBoss1Q[9] || shadowRunnersBoss1Q[9]) {
				charCol = 2;
			}
			if (allianceBoss2Q[9] || shadowRunnersBoss2Q[9]) {
				charCol = 3;
			}
			if (allianceBoss3Q[9] || shadowRunnersBoss3Q[9]) {
				charCol = 3;
			}
			trace(charRow);
			trace(charCol);
			inCity = true;
			inStore = true;
			_root.world.hero._visible = false;
		}
		function showTutorial(num) {
			if (tutorials) {
				if (inCombat) {
					pendingNum = num;
				} else {
					if (tutorialDone[num] == false) {
						tutorialDone[num] = true;
						_root.tutorialWindow.gotoAndStop(tutorialName[num]);
					}
				}
			}
		}
		function getSellPrice(price) {
			return Math.round(price * 4);
		}
		function purchaseItem() {
			showMessage('Item Purchased');
			playSound('invEquip');
		}
		function showMessage(name) {
			_root.displayMessage.gotoAndPlay(2);
			_root.displayMessage.message.text = name;
		}
		function playSound(name) {
			var v4 = substring(name, 0, 4);
			if (name == 'overworld' || name == 'city' || v4 == 'cave' || name == 'combat') {
				if (musicOn) {
					if (name == 'combat') {
						var v3 = random(2) + 1;
						name += v3;
					}
					_root.soundEffects.gotoAndPlay(name);
				}
			} else {
				if (soundOn) {
					_root.soundEffects.gotoAndPlay(name);
				}
			}
			if (name == 'gold') {
				_root.dragging = false;
			}
		}
		function factionUp(faction, amount) {
			if (showFactions) {
				_root.world.factionUp.gotoAndPlay(2);
				_root.world.factionUp.symbol.gotoAndStop(faction);
				_root.world.factionUp.textField.text = '+ ' + amount;
			}
		}
		function factionDown(faction, amount) {
			if (showFactions) {
				_root.world.factionDown.gotoAndPlay(2);
				_root.world.factionDown.symbol.gotoAndStop(faction);
				_root.world.factionDown.textField.text = '- ' + amount;
			}
		}
		function updateSpellList(newSpell) {
			_root.showTutorial(4);
			var v7 = playerClass.toLowerCase() + 'SpellArray';
			playSound('train');
			var v2 = 0;
			while (v2 <= 5) {
				var v6 = spellList[v2];
				var v5 = length(newSpell);
				var v4 = newSpell + 'Rank';
				if (newSpell == substring(v6, 0, v5)) {
					spellList[v2] = newSpell + _root[v4];
				}
				if (newSpell == _root[v7][v2 + 1] && _root[v4] == 1) {
					_root.world.spellBar['slot' + (v2 + 1)].gotoAndStop(newSpell);
					spellList[v2] = newSpell + _root[v4];
				}
				++v2;
			}
		}
		function setTrainingWindow(mySpellArray) {
			var v2 = 1;
			while (v2 <= 6) {
				var v4 = 1;
				while (v4 <= 6) {
					var v3 = mySpellArray[v2] + v4;
					if (_root[v3][8] == false) {
						var v6 = 'rank' + v2;
						var v5 = 'level' + v2;
						_root.world.trainingWindow[v6].text = _root[v3][6] + ' - Rank ' + v4;
						if (_root[v3][7] <= _root.level) {
							_root.world.trainingWindow[v5].gotoAndStop(2);
						} else {
							_root.world.trainingWindow[v5].gotoAndStop(1);
							_root.world.trainingWindow[v5].insideText.text = 'Requires level ' + _root[v3][7];
						}
						break;
					}
					if (_root[mySpellArray[v2] + 'Rank'] == 6) {
						v6 = 'rank' + v2;
						v5 = 'level' + v2;
						_root.world.trainingWindow[v5].gotoAndStop(3);
						_root.world.trainingWindow[v6].text = '';
						_root.world.trainingWindow['spell' + v2]._visible = false;
					}
					++v4;
				}
				++v2;
			}
			_root.world.trainingWindow.costText.text = '';
			_root.world.trainingWindow.gold._visible = false;
		}
		function rootHero() {
			rootTimer = 0;
			if (!heroRooted) {
				heroRooted = true;
				allowMove = false;
				_root.world.attachMovie('fetter_effect', 'heroRootIcon', 89997);
				_root.world.heroRootIcon._x = _root.world.hero._x;
				_root.world.heroRootIcon._y = _root.world.hero._y;
				running = false;
				if (!castInProgress) {
					_root.world.hero.gotoAndStop(1);
				}
			}
		}
		function snareHero() {
			snareTimer = 0;
			if (!heroSnared) {
				heroSnared = true;
				heroSpeed = (2.8 + agi * 0.005) * 0.35;
				_root.world.attachMovie('heroSnareEffect', 'heroSnareIcon', 89998);
				_root.world.heroSnareIcon._x = _root.world.hero._x;
				_root.world.heroSnareIcon._y = _root.world.hero._y;
			}
		}
		function stunHero(duration) {
			if (heroStunned == false) {
				_root.world.attachMovie('shieldbash_effect', 'heroStunIcon', 89999);
				_root.world.heroStunIcon._x = _root.world.hero._x;
				_root.world.heroStunIcon._y = _root.world.hero._y;
				heroStunned = true;
				stunDuration = Math.round(15 + duration * 2);
				stunTimer = 0;
				_root.world.hero.gotoAndStop(1);
				running = false;
				if (castInProgress) {
					castInProgress = false;
					_root.world.castMeter._visible = false;
					globalCD = false;
					globalTimer = 0;
				}
			}
		}
		function insufficientLevel() {
			playSound('error');
			_root.showMessage('Insufficient level');
		}
		function wrongClass() {
			playSound('error');
			_root.showMessage(_root.playerClass + 's can\'t use that item');
		}
		function setSpellBar() {
			var v2 = 0;
			while (v2 < 6) {
				var v4 = _root.spellList[v2];
				var v3 = 'slot' + (v2 + 1);
				_root.world.spellBar[v3].gotoAndStop(_root[v4][9]);
				++v2;
			}
		}
		function equip(item) {
			str += _root[item][2];
			vit += _root[item][3];
			agi += _root[item][4];
			inte += _root[item][5];
			foc += _root[item][6];
			armor += Math.round(_root[item][9] * 0.65);
			itemHP += _root[item][7];
			itemEnergy += _root[item][8];
			playSound('invEquip');
			if (_root[item][10] != 0) {
				minWeapon = _root[item][10];
				maxWeapon = _root[item][11];
			}
			heroSpeed = 2.8 + agi * 0.005;
			if (heroSnared) {
				heroSpeed = (2.8 + agi * 0.005) * 0.35;
			}
			inteEnergy = inte * 2;
			maxEnergy = baseEnergy + itemEnergy + inteEnergy;
			vitHP = vit * 4;
			maxHP = baseHP + itemHP + vitHP;
			characterMenu();
		}
		function unequip(item) {
			playSound('invUnequip');
			str -= _root[item][2];
			vit -= _root[item][3];
			agi -= _root[item][4];
			inte -= _root[item][5];
			foc -= _root[item][6];
			armor -= Math.round(_root[item][9] * 0.65);
			itemHP -= _root[item][7];
			itemEnergy -= _root[item][8];
			heroSpeed = 2.8 + agi * 0.005;
			inteEnergy = inte * 2;
			maxEnergy = baseEnergy + itemEnergy + inteEnergy;
			vitHP = vit * 4;
			maxHP = baseHP + itemHP + vitHP;
			characterMenu();
			if (curHP > maxHP) {
				curHP = maxHP;
			}
			if (curEnergy > maxEnergy) {
				curEnergy = maxEnergy;
			}
		}
		function dragItems() {
			if (allowDrag == false) {
				++dragTimer;
				if (dragTimer > 5) {
					allowDrag = true;
					dragTimer = 0;
				}
			}
			if (abilityDrag) {
				if (_root.world._xmouse > 45 && _root.world._xmouse < 557 && _root.world._ymouse > 120 && _root.world._ymouse < 480) {
					_root.world.mainMenu.abilitiesMenu.attachedIcon._x = _root.world.mainMenu._xmouse + 3;
					_root.world.mainMenu.abilitiesMenu.attachedIcon._y = _root.world.mainMenu._ymouse + 13;
					if (aSoundPlayed == false) {
						playSound('intClick');
						aSoundPlayed = true;
					}
				}
			}
			if (dragging) {
				if (_root.world._xmouse > 45 && _root.world._xmouse < 557 && _root.world._ymouse > 120 && _root.world._ymouse < 480) {
					_root.world.mainMenu.characterMenu[draggingItem]._x = _root.world.mainMenu._xmouse + 3;
					_root.world.mainMenu.characterMenu[draggingItem]._y = _root.world.mainMenu._ymouse + 13;
				}
			}
		}
		function checkInvSlots() {
			var v2 = 0;
			while (v2 < 18) {
				if (_root.inventory[v2] == '') {
					return v2;
					break;
				} else {
					if (v2 == 17) {
						_root.showMessage('Your inventory is full');
						return 'null';
					}
				}
				++v2;
			}
		}
		function removeFromArray(item) {
			var v1 = 0;
			while (v1 < itemsOnGround.length) {
				if (item == itemsOnGround[v1]) {
					itemsOnGround.splice(v1, 1);
				}
				++v1;
			}
		}
		function checkQuest(questName) {
			i = 0;
			while (i < 7) {
				if (_root.activeQuests[i] == '') {
					_root.activeQuests[i] = questName;
					var v3 = 'quest' + (i + 1);
					_root[v3] = [_root[questName][0], _root[questName][1], _root[questName][2], _root[questName][3], _root[questName][4], _root[questName][5], _root[questName][6], _root[questName][7], _root[questName][8], _root[questName][9], false, _root[questName][11], _root[questName][12], _root[questName][13], _root[questName][14]];
					_root.showMessage('Quest accepted: ' + _root[v3][0]);
					playSound('acceptQuest');
					showTutorial(1);
					return true;
					break;
				} else {
					if (i == 6) {
						_root.showMessage('Your quest log is full');
						return false;
					}
				}
				++i;
			}
		}
		function showQuestMessage(targetQuest) {
			_root.questMessage.gotoAndPlay(2);
			_root.questMessage.questName.text = _root[targetQuest][0];
			_root.questMessage.questMessage.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		function findLoot(eName, eLevel, xLoot, yLoot) {
			savedSymbol = '';
			_root.world.targetInfo.symbol.gotoAndStop(1);
			playSound('enemyDie');
			var v4 = 0;
			while (v4 < 7) {
				if (_root.activeQuests[v4] == eName) {
					var v2 = 'quest' + (v4 + 1);
					if (_root[v2][6] == false) {
						if (_root[v2][2] == 'kill') {
							++_root[v2][3];
							showQuestMessage(v2);
							if (_root[v2][3] == _root[v2][4]) {
								_root[v2][6] = true;
								_root[eName][6] = true;
							}
						} else {
							var v9 = random(_root[v2][5]);
							if (v9 == 0) {
								var v3 = 'qItem' + questDepth;
								_root.world.attachMovie(eName, v3, ++questDepth);
								_root.world[v3]._x = xLoot;
								_root.world[v3]._y = yLoot;
								itemsOnGround[itemsOnGround.length] = _root.world[v3];
								if (questDepth > 4079) {
									questDepth = 4060;
								}
							}
						}
					}
				}
				++v4;
			}
			v9 = random(15);
			if (v9 == 1) {
				var v8 = 'dItem' + itemDepth;
				_root.world.attachMovie('ePotion', v8, ++itemDepth);
				_root.world[v8]._x = xLoot;
				_root.world[v8]._y = yLoot;
				itemsOnGround[itemsOnGround.length] = _root.world[v8];
				if (itemDepth > 4099) {
					itemDepth = 4080;
				}
			} else {
				if (v9 == 2) {
					var v8 = 'dItem' + itemDepth;
					_root.world.attachMovie('hPotion', v8, ++itemDepth);
					_root.world[v8]._x = xLoot;
					_root.world[v8]._y = yLoot;
					itemsOnGround[itemsOnGround.length] = _root.world[v8];
					if (itemDepth > 4099) {
						itemDepth = 4080;
					}
				}
			}
			v9 = random(200);
			if (v9 <= 40) {
				var v12 = eLevel - 1;
				var v13 = v12 * 2 + random(5);
				var v10 = _root.commonLoot[v13];
				if (v9 <= 5) {
					v12 = eLevel - 1;
					v13 = v12;
					v10 = _root.rareLoot[v13];
				}
				if (v9 == 0) {
					v12 = Math.floor((eLevel - 1) / 2);
					v13 = v12;
					v10 = _root.epicLoot[v13];
				}
				v8 = 'dItem' + itemDepth;
				_root.world.attachMovie(v10, v8, ++itemDepth);
				_root.world[v8]._x = xLoot;
				_root.world[v8]._y = yLoot;
				itemsOnGround[itemsOnGround.length] = _root.world[v8];
				if (itemDepth > 4099) {
					itemDepth = 4080;
				}
			}
		}
		function displayMerchantStats() {
			_root.world.merchantWindow.itemStats._x = _root.world.merchantWindow['slot' + purchaseSlot]._x + 15;
			_root.world.merchantWindow.itemStats._y = _root.world.merchantWindow['slot' + purchaseSlot]._y + 25;
		}
		function displayItemStats(item) {
			if (item._x < -260) {
				_root.world.mainMenu.characterMenu.itemStats._x = -260;
			} else {
				if (item._x > 90) {
					_root.world.mainMenu.characterMenu.itemStats._x = 90;
				} else {
					_root.world.mainMenu.characterMenu.itemStats._x = item._x + 10;
				}
			}
			if (item._y > 130) {
				_root.world.mainMenu.characterMenu.itemStats._y = 130;
			} else {
				_root.world.mainMenu.characterMenu.itemStats._y = item._y + 10;
			}
		}
		function regen() {
			if (menuVisible) {
				_root.world.mainMenu.characterMenu.healthBar._xscale = (curHP / maxHP) * 100;
				_root.world.mainMenu.characterMenu.energyBar._xscale = (curEnergy / maxEnergy) * 100;
				_root.world.mainMenu.characterMenu.expBar._xscale = (curExp / expToLevel) * 100;
			}
			if (heroSnared) {
				++snareTimer;
				_root.world.heroSnareIcon._x = _root.world.hero._x;
				_root.world.heroSnareIcon._y = _root.world.hero._y;
				if (snareTimer == 180) {
					heroSnared = false;
					heroSpeed = 2.8 + agi * 0.005;
					removeMovieClip(_root.world.heroSnareIcon);
				}
			}
			if (heroRooted) {
				++rootTimer;
				if (rootTimer == 120) {
					heroRooted = false;
					allowMove = true;
					removeMovieClip(_root.world.heroRootIcon);
				}
			}
			if (heroStunned) {
				++stunTimer;
				if (stunTimer == stunDuration) {
					heroStunned = false;
					removeMovieClip(_root.world.heroStunIcon);
				}
			}
			if (curEnergy < maxEnergy) {
				if (inCombat) {
					curEnergy += inte * 0.002;
				} else {
					if (playerClass == 'Warrior') {
						curEnergy += inte * 0.01;
					} else {
						curEnergy += inte * 0.007;
					}
				}
				_root.world.charInfo.energyBar._xscale = (curEnergy / maxEnergy) * 100;
			}
			_root.world.charInfo.energyNumbers.txt.text = Math.round(_root.curEnergy) + ' / ' + _root.maxEnergy;
			if (curHP < maxHP) {
				if (inCombat) {
					curHP += vit * 0.0015;
				} else {
					curHP += vit * 0.004;
				}
				_root.world.charInfo.hpBar._xscale = (curHP / maxHP) * 100;
			}
			_root.world.charInfo.hpNumbers.txt.text = Math.round(_root.curHP) + ' / ' + _root.maxHP;
			if (menuVisible) {
				_root.world.mainMenu.characterMenu.health_txt.text = Math.round(curHP) + '/' + maxHP;
				_root.world.mainMenu.characterMenu.energy_txt.text = Math.round(curEnergy) + '/' + maxEnergy;
			}
			if (playerClass == 'Wizard') {
				if (firenovaCDTimer > 0) {
					--firenovaCDTimer;
					var v2 = Math.round(firenovaCDTimer / 25);
					_root.world.spellBar.aetile.CDText.text = v2;
					if (firenovaCDTimer == 0) {
						_root.world.spellBar.aetile._visible = false;
					}
				}
				if (energyboltCDTimer > 0) {
					--energyboltCDTimer;
					v2 = Math.round(energyboltCDTimer / 25);
					_root.world.spellBar.ddtile.CDText.text = v2;
					if (energyboltCDTimer == 0) {
						_root.world.spellBar.ddtile._visible = false;
					}
				}
			} else {
				if (playerClass == 'Ranger') {
					if (searingarrowCDTimer > 0) {
						--searingarrowCDTimer;
						var v2 = Math.round(searingarrowCDTimer / 25);
						_root.world.spellBar.aetile.CDText.text = v2;
						if (searingarrowCDTimer == 0) {
							_root.world.spellBar.aetile._visible = false;
						}
					}
					if (elvenshotCDTimer > 0) {
						--elvenshotCDTimer;
						v2 = Math.round(elvenshotCDTimer / 25);
						_root.world.spellBar.ddtile.CDText.text = v2;
						if (elvenshotCDTimer == 0) {
							_root.world.spellBar.ddtile._visible = false;
						}
					}
				} else {
					if (cleaveCDTimer > 0) {
						--cleaveCDTimer;
						var v2 = Math.round(cleaveCDTimer / 25);
						_root.world.spellBar.aetile.CDText.text = v2;
						if (cleaveCDTimer == 0) {
							_root.world.spellBar.aetile._visible = false;
						}
					}
					if (deathblowCDTimer > 0) {
						--deathblowCDTimer;
						v2 = Math.round(deathblowCDTimer / 25);
						_root.world.spellBar.ddtile.CDText.text = v2;
						if (deathblowCDTimer == 0) {
							_root.world.spellBar.ddtile._visible = false;
						}
					}
				}
			}
		}
		function spawnEnemies() {
			var v8 = pendingSpawn.length / 3;
			if (v8 > 0) {
				++spawnTimer;
				var v7 = pendingSpawn[2];
				if (v7 <= spawnTimer) {
					var v5 = _root.pendingSpawn[0];
					var v4 = _root.pendingSpawn[1];
					_root.pendingSpawn.splice(0, 3);
					_root[v5][v4 - 1][4] = true;
					if (v5 == tileCheck) {
						var v2 = _root[tileCheck][v4 - 1][1];
						if (v2 != 'iceBoss' && v2 != 'fireBoss' && v2 != 'earthBoss' && v2 != 'airBoss') {
							var v3 = 'enemy' + v4;
							var v6 = random(_root[v2][3] - _root[v2][2] + 1) + _root[v2][2];
							_root.world.attachMovie(v2, v3, enemyDepth + v4);
							_root.world[v3].inside.id = v4;
							_root.world[v3]._x = _root[tileCheck][v4 - 1][2];
							_root.world[v3]._y = _root[tileCheck][v4 - 1][3];
							_root.world[v3]._rotation = _root[tileCheck][v4 - 1][6];
							_root.world[v3].inside.aggroed = false;
							_root.world[v3].inside.displayName = _root[v2][0];
							_root.world[v3].inside.faction = _root[v2][1];
							_root.world[v3].inside.level = v6;
							_root.world[v3].inside.maxHp = _root[v2][4] + v6 * _root[v2][5];
						}
					}
				}
			} else {
				spawnTimer = 0;
			}
		}
		function aggroCheck() {
			++aggroTimer;
			if (inCombat) {
				if (aggroTimer == 15) {
					if (playingCombatSong == false && inCave == false) {
						stopAllSounds();
						playSound('combat');
						playingCombatSong = true;
					}
					_root.inCombat = false;
					_root.world.charInfo.combat.gotoAndStop(1);
					var v4 = 1;
					while (v4 <= enemiesInTile) {
						var v5 = 'enemy' + v4;
						if (_root.world[v5].inside.aggroed) {
							_root.world.charInfo.combat.gotoAndStop(2);
							_root.inCombat = true;
							break;
						}
						++v4;
					}
					if (pendingNum != '') {
						showTutorial(pendingNum);
						pendingNum = '';
					}
					if (inCombat == false && playingCombatSong && inCave == false && heroDead == false) {
						stopAllSounds();
						playingCombatSong = false;
						playSound('overworld');
					}
				}
			}
			if (aggroTimer == 30) {
				aggroTimer = 0;
				v4 = 1;
				while (v4 <= enemiesInTile) {
					var v2 = 'enemy' + v4;
					var v6 = Math.abs(_root.world.hero._x - _root.world[v2]._x);
					var v7 = Math.abs(_root.world.hero._y - _root.world[v2]._y);
					var v3 = aggroRange + (_root.world[v2].inside.level - level) * 5;
					if (v6 <= v3 && v7 <= v3 && _root.world[v2].inside.aggroed == false) {
						if (_root.world[v2].inside.faction == 'The Alliance' && factionLevels[2] == 5 || _root.world[v2].inside.faction == 'Shadow Runners' && factionLevels[7] == 5 || _root.world[v2].inside.faction == 'Merchant\'s Guild' && factionLevels[12] == 5 || _root.world[v2].inside.faction == 'The Mercenaries' && factionLevels[17] == 5 || _root.world[v2].inside.faction == 'The Trackers' && factionLevels[22] == 5 || _root.world[v2].inside.faction == 'The Magicians' && factionLevels[27] == 5 || _root.world[v2].inside.faction == 'The Blademasters' && factionLevels[32] == 5 || _root.world[v2].inside.faction == 'Unknown') {
							inCombat = true;
							_root.world.charInfo.combat.gotoAndStop(2);
							if (savedTarget == '') {
								_root.world[v2].inside.aggroed = true;
								_root.world[v2].inside.gotoAndPlay('run');
								_root.currentTarget = _root.world[v2].inside.id;
								_root.savedTarget = _root.world[v2].inside.id;
								_root.savedLevel = _root.world[v2].inside.level;
								_root.savedName = _root.world[v2].inside.displayName;
								_root.savedFaction = _root.world[v2].inside.faction;
								_root.savedStanding = _root.world[v2].inside.standing;
								_root.savedHp = 100;
								_root.savedSymbol = _root.world[v2].inside.symbol;
								_root.savedX = _root.world[v2]._x;
								_root.savedY = _root.world[v2]._y;
								_root.currentTarget = _root.savedTarget;
								_root.targetLevel = _root.savedLevel;
								_root.targetName = _root.savedName;
								_root.factionName = _root.savedFaction;
								_root.world.targetInfo.hpBar._xscale = 100;
								_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
								_root.world.targetInfo.symbol.gotoAndStop(_root.savedSymbol);
							}
							expandAggro(_root.world[v2]._x, _root.world[v2]._y, v3, _root.savedSymbol);
							break;
						}
					}
					++v4;
				}
			}
		}
		function expandAggro(startX, startY, range, symbol) {
			_root.world.attachMovie('aggroBlock', 'aggroBlock', 3000);
			_root.savedSymbol = symbol;
			_root.world.aggroBlock._width = range;
			_root.world.aggroBlock._height = range;
			_root.world.aggroBlock._x = startX;
			_root.world.aggroBlock._y = startY;
			_root.world.targetInfo.symbol.gotoAndStop(symbol);
			var v3 = 1;
			while (v3 <= enemiesInTile) {
				var v2 = 'enemy' + v3;
				if (_root.world.aggroBlock.hitTest(_root.world[v2]) && _root.world[v2].inside.aggroed == false) {
					_root.world[v2].inside.aggroed = true;
					_root.world[v2].inside.gotoAndPlay('run');
				}
				++v3;
			}
			removeMovieClip(_root.world.aggroBlock);
		}
		function castSpell() {
			if (!castInProgress) {
				if (_root[activeSpell][9] == aeSpell || _root[activeSpell][9] == ddSpell) {
					var v3 = _root[activeSpell][9] + 'CDTimer';
					var v2 = true;
				} else {
					var v2 = false;
				}
				if (curEnergy > _root[activeSpell][2]) {
					if (_root[storedv3] == 0 || v2 == false) {
						_root.world.hero.gotoAndPlay(_root[activeSpell][9]);
						playSound(_root[activeSpell][9] + '_cast');
						energyCost = _root[activeSpell][2];
						globalCD = true;
						castInProgress = true;
						spellHolder = activeSpell;
						castTime = _root[activeSpell][3];
						elapsedTime = 0;
						spellName = _root[activeSpell][9];
						savedSpellPosition = spellPosition;
						if (_root[activeSpell][3] > 0) {
							hitOnSwing = true;
							_root.world.castMeter.castBarText.castBarName.text = _root[activeSpell][6];
							_root.world.castMeter._visible = true;
							healAmt = random(_root[activeSpell][1] - _root[activeSpell][0]) + _root[activeSpell][0] + Math.round(foc * 0.2);
						} else {
							if (allowSpam) {
								hitOnSwing = false;
								curEnergy -= energyCost;
								allowSpam = false;
								spamTimer = 0;
							}
						}
					} else {
						_root.showMessage('That ability is recharging');
					}
				} else {
					_root.showMessage('Insufficient energy');
				}
			}
		}
		function executeCast() {
			if (castInProgress) {
				remainingSec = Math.floor((castTime - elapsedTime) / 25);
				remainingTenth = Math.round(((castTime - elapsedTime) / 25 - remainingSec) * 10);
				if (remainingTenth == 10) {
					remainingTenth = 9;
				}
				_root.world.castMeter.timeRemaining.text = remainingSec + '.' + remainingTenth + ' sec';
				_root.world.castMeter.castBar._xscale = (elapsedTime / castTime) * 100;
				++elapsedTime;
				if (elapsedTime == castTime) {
					castInProgress = false;
					if (spellName == aeSpell || spellName == ddSpell) {
						setCooldown = spellName + 'CDTimer';
						_root[setCooldown] = _root[spellHolder][10];
						setTile = spellName + 'CDslot';
						_root[setTile] = savedSpellPosition;
						var v6 = _root[spellHolder][5] + 'tile';
						_root.world.spellBar[v6]._visible = true;
						_root.world.spellBar[v6].gotoAndStop(savedSpellPosition);
					}
					_root.world.castMeter._visible = false;
					playSound(_root[spellHolder][9] + '_use');
					if (spellName == 'heal' || spellName == 'mendwound' || spellName == 'bindwound') {
						curEnergy -= energyCost;
						curHP += healAmt;
						var v5 = 'sct' + _root.sctDepth;
						_root.world.attachMovie('heal_sct', v5, ++_root.sctDepth);
						_root.world[v5].sct2.damage.text = healAmt;
						_root.world[v5]._x = _root.world.hero._x;
						_root.world[v5]._y = _root.world.hero._y - 20;
						if (curHP > maxHP) {
							curHP = maxHP;
							_root.world.charInfo.hpBar._xscale = 100;
						}
					} else {
						if (_root[spellHolder][3] > 0) {
							curEnergy -= energyCost;
							var v2 = 1;
							while (v2 <= enemiesInTile) {
								var v4 = 'enemy' + v2;
								_root.world[v4].inside.aeHit = false;
								++v2;
							}
							if (playerClass == 'Wizard' || playerClass == 'Ranger') {
								v4 = 'spell' + depth;
								_root.world.attachMovie(spellName, v4, ++depth);
								_root.world[v4].idName = spellHolder;
								_root.world[v4].spellType = spellName;
								_root.world[v4]._x = _root.world.hero._x;
								_root.world[v4]._y = _root.world.hero._y;
								_root.world[v4]._rotation = ang - 90;
								spellAttached = true;
								attachTimer = 0;
								if (depth > 1002) {
									depth = 1001;
								}
							} else {
								castInProgress = true;
								hitOnSwing = false;
								_root.world.hero.gotoAndPlay(_root[spellHolder][9] + '_do');
							}
						} else {
							castInProgress = true;
						}
					}
					_root.world.charInfo.energyBar._xscale = (curEnergy / maxEnergy) * 100;
				}
			}
			if (spellAttached) {
				++attachTimer;
				var v2 = 1;
				while (v2 <= 10) {
					var v3 = 'stop' + v2;
					if (_root.world.spell1001.hitTest(_root.world[v3]) && _root.world.spell1001.spellType != 'firenova') {
						removeMovieClip(_root.world.spell1001);
						break;
					} else {
						if (_root.world.spell1002.hitTest(_root.world[v3]) && _root.world.spell1002.spellType != 'firenova') {
							removeMovieClip(_root.world.spell1002);
							break;
						}
					}
					++v2;
				}
				if (attachTimer > 65) {
					spellAttached = false;
				}
			}
			if (globalCD) {
				++globalTimer;
				if (globalTimer >= 25) {
					globalCD = false;
					globalTimer = 0;
					_root.world.spellBar.cdCovers._visible = false;
				}
				_root.world.spellBar.cdCovers._yscale = (globalTimer / 25) * 100;
			}
			if (allowSpam == false) {
				++spamTimer;
				if (spamTimer >= 25) {
					spamTimer = 0;
					allowSpam = true;
				}
			}
		}
		function changeSpell() {
			startWheelTimer = false;
			myMouseListener.onMouseWheel = function (delta) {
				if (delta > 0 && spellPosition > 1 && startWheelTimer == false) {
					startWheelTimer = true;
					if (spellList[spellPosition - 2] != '' && spellPosition - 1 > 0) {
						--spellPosition;
						activeSpell = spellList[spellPosition - 1];
						_root.world.spellBar.spellIndicator.gotoAndStop(spellPosition);
					} else {
						if (spellList[spellPosition - 3] != '' && spellPosition - 2 > 0) {
							spellPosition -= 2;
							activeSpell = spellList[spellPosition - 1];
							_root.world.spellBar.spellIndicator.gotoAndStop(spellPosition);
						} else {
							if (spellList[spellPosition - 4] != '' && spellPosition - 3 > 0) {
								spellPosition -= 3;
								activeSpell = spellList[spellPosition - 1];
								_root.world.spellBar.spellIndicator.gotoAndStop(spellPosition);
							} else {
								if (spellList[spellPosition - 5] != '' && spellPosition - 4 > 0) {
									spellPosition -= 4;
									activeSpell = spellList[spellPosition - 1];
									_root.world.spellBar.spellIndicator.gotoAndStop(spellPosition);
								} else {
									if (spellList[spellPosition - 6] != '' && spellPosition - 5 > 0) {
										spellPosition -= 5;
										activeSpell = spellList[spellPosition - 1];
										_root.world.spellBar.spellIndicator.gotoAndStop(spellPosition);
									}
								}
							}
						}
					}
				}
				if (delta < 0 && spellPosition < 6 && startWheelTimer == false) {
					startWheelTimer = true;
					if (spellList[spellPosition] != '' && spellPosition + 1 <= 6) {
						++spellPosition;
						activeSpell = spellList[spellPosition - 1];
						_root.world.spellBar.spellIndicator.gotoAndStop(spellPosition);
					} else {
						if (spellList[spellPosition + 1] != '' && spellPosition + 2 <= 6) {
							spellPosition += 2;
							activeSpell = spellList[spellPosition - 1];
							_root.world.spellBar.spellIndicator.gotoAndStop(spellPosition);
						} else {
							if (spellList[spellPosition + 2] != '' && spellPosition + 3 <= 6) {
								spellPosition += 3;
								activeSpell = spellList[spellPosition - 1];
								_root.world.spellBar.spellIndicator.gotoAndStop(spellPosition);
							} else {
								if (spellList[spellPosition + 3] != '' && spellPosition + 4 <= 6) {
									spellPosition += 4;
									activeSpell = spellList[spellPosition - 1];
									_root.world.spellBar.spellIndicator.gotoAndStop(spellPosition);
								} else {
									if (spellList[spellPosition + 4] != '' && spellPosition + 5 <= 6) {
										spellPosition += 5;
										activeSpell = spellList[spellPosition - 1];
										_root.world.spellBar.spellIndicator.gotoAndStop(spellPosition);
									}
								}
							}
						}
					}
				}
			};
			if (Key.isDown(49) && spellList[0] != '') {
				_root.world.spellBar.spellIndicator.gotoAndStop(1);
				activeSpell = spellList[0];
				spellPosition = 1;
			} else {
				if (Key.isDown(50) && spellList[1] != '') {
					_root.world.spellBar.spellIndicator.gotoAndStop(2);
					activeSpell = spellList[1];
					spellPosition = 2;
				} else {
					if (Key.isDown(51) && spellList[2] != '') {
						_root.world.spellBar.spellIndicator.gotoAndStop(3);
						activeSpell = spellList[2];
						spellPosition = 3;
					} else {
						if (Key.isDown(52) && spellList[3] != '') {
							_root.world.spellBar.spellIndicator.gotoAndStop(4);
							activeSpell = spellList[3];
							spellPosition = 4;
						} else {
							if (Key.isDown(53) && spellList[4] != '') {
								_root.world.spellBar.spellIndicator.gotoAndStop(5);
								activeSpell = spellList[4];
								spellPosition = 5;
							} else {
								if (Key.isDown(54) && spellList[5] != '') {
									_root.world.spellBar.spellIndicator.gotoAndStop(6);
									activeSpell = spellList[5];
									spellPosition = 6;
								}
							}
						}
					}
				}
			}
		}
		function moveHero() {
			if (Key.isDown(81)) {
				useEnePot();
			} else {
				if (Key.isDown(69)) {
					useHealthPot();
				}
			}
			if (heroStunned == false) {
				if (running == false) {
					var v3 = _root.world.hero._x;
					var v2 = _root.world.hero._y;
					var v8 = _root.world._xmouse;
					var v6 = _root.world._ymouse;
					var v5 = v8 - v3;
					var v4 = v6 - v2;
					var v7 = Math.atan2(v4, v5);
					ang = v7 * 57.29577951308232 + 180;
					_root.world.hero._rotation = ang;
				}
				if ((Key.isDown(38) || Key.isDown(87) || Key.isDown(40) || Key.isDown(83) || Key.isDown(39) || Key.isDown(68) || Key.isDown(37) || Key.isDown(65)) && heroRooted == false) {
					if (allowMove == false) {
						++safetyTimer;
						if (safetyTimer >= 30) {
							allowMove = true;
							safetyTimer = 0;
						}
					}
				}
				if ((Key.isDown(38) || Key.isDown(87) || Key.isDown(40) || Key.isDown(83) || Key.isDown(39) || Key.isDown(68) || Key.isDown(37) || Key.isDown(65)) && running == false && heroRooted == false) {
					_root.world.hero.gotoAndPlay('run');
					running = true;
					if (castInProgress) {
						castInProgress = false;
						_root.world.castMeter._visible = false;
						globalCD = false;
						globalTimer = 0;
					}
				} else {
					if (!(Key.isDown(38) || Key.isDown(87) || Key.isDown(40) || Key.isDown(83) || Key.isDown(39) || Key.isDown(68) || Key.isDown(37) || Key.isDown(65))) {
						running = false;
						if (!castInProgress) {
							_root.world.hero.gotoAndStop(1);
						}
					}
				}
				if ((Key.isDown(38) || Key.isDown(87)) && disDown == false && allowMove) {
					_root.world.hero._y -= heroSpeed;
					_root.world.hero._rotation = 90;
					if (_root.world.hero._y < 0) {
						_root.world.transition.gotoAndPlay(2);
						--charRow;
						_root.world.hero._visible = false;
						_root.world.heroSnareIcon._visible = false;
						_root.world.hero._y = 570;
					}
				}
				if ((Key.isDown(40) || Key.isDown(83)) && disUp == false && allowMove) {
					_root.world.hero._rotation = -90;
					_root.world.hero._y += heroSpeed;
					if (_root.world.hero._y > 590) {
						_root.world.transition.gotoAndPlay(2);
						++charRow;
						_root.world.hero._visible = false;
						_root.world.heroSnareIcon._visible = false;
						_root.world.hero._y = 20;
					}
				}
				if ((Key.isDown(39) || Key.isDown(68)) && disRight == false && allowMove) {
					_root.world.hero._rotation = 180;
					_root.world.hero._x += heroSpeed;
					if (_root.world.hero._x > 600) {
						_root.world.transition.gotoAndPlay(2);
						++charCol;
						_root.world.hero._visible = false;
						_root.world.heroSnareIcon._visible = false;
						_root.world.hero._x = 20;
					}
				}
				if ((Key.isDown(37) || Key.isDown(65)) && disLeft == false && allowMove) {
					_root.world.hero._rotation = 0;
					_root.world.hero._x -= heroSpeed;
					if (_root.world.hero._x < 0) {
						_root.world.transition.gotoAndPlay(2);
						--charCol;
						_root.world.hero._visible = false;
						_root.world.heroSnareIcon._visible = false;
						_root.world.hero._x = 580;
					}
				}
			}
		}
		function collisionDetection() {
			if (running && !castInProgress) {
				disRight = false;
				disLeft = false;
				disUp = false;
				disDown = false;
				var v3 = 1;
				while (v3 <= 10) {
					var v4 = 'stop' + v3;
					var v5 = 'enemy' + v3;
					if (_root.world[v4].hitTest(_root.world.hero._x + 15, _root.world.hero._y, true) || _root.world[v5].hitTest(_root.world.hero._x + 15, _root.world.hero._y, true)) {
						disRight = true;
					}
					if (_root.world[v4].hitTest(_root.world.hero._x - 15, _root.world.hero._y, true) || _root.world[v5].hitTest(_root.world.hero._x - 15, _root.world.hero._y, true)) {
						disLeft = true;
					}
					if (_root.world[v4].hitTest(_root.world.hero._x, _root.world.hero._y - 15, true) || _root.world[v5].hitTest(_root.world.hero._x, _root.world.hero._y - 15, true)) {
						disDown = true;
					}
					if (_root.world[v4].hitTest(_root.world.hero._x, _root.world.hero._y + 15, true) || _root.world[v5].hitTest(_root.world.hero._x, _root.world.hero._y + 15, true)) {
						disUp = true;
					}
					++v3;
				}
				var v2 = 1;
				while (v2 <= 4) {
					var v6 = 'city' + v2;
					var v7 = 'cave' + v2;
					if (_root.world.hero.hitTest(_root.world.stop1[v6])) {
						_root.world.transition.gotoAndPlay(2);
						charCol = v2;
						charRow = 12;
						_root.world.hero._visible = false;
						_root.world.heroSnareIcon._visible = false;
						_root.world.hero._y = 535;
						_root.world.hero._x = 300;
						inCity = true;
						inStore = true;
						stopAllSounds();
						_root.playSound('city');
						break;
					} else {
						if (_root.world.hero.hitTest(_root.world[v7])) {
							_root.world.transition.gotoAndPlay(2);
							charCol = caveCol[v2 - 1];
							charRow = 17;
							_root.world.hero._visible = false;
							_root.world.heroSnareIcon._visible = false;
							_root.world.hero._y = 535;
							_root.world.hero._x = 300;
							inCave = true;
							stopAllSounds();
							_root.playSound('cave' + v2);
							break;
						}
					}
					++v2;
				}
				if (charRow == 12) {
					v2 = 0;
					while (v2 <= 3) {
						v6 = 'exit' + (v2 + 1);
						if (_root.world.hero.hitTest(_root.world[v6])) {
							_root.world.transition.gotoAndPlay(2);
							charRow = cityPoints[v2 * 2];
							charCol = cityPoints[v2 * 2 + 1];
							_root.world.hero._visible = false;
							_root.world.heroSnareIcon._visible = false;
							_root.world.hero._y = 335;
							_root.world.hero._x = 282;
							inCity = false;
							inStore = false;
							stopAllSounds();
							_root.playSound('overworld');
							showTutorial(2);
							break;
						}
						++v2;
					}
				} else {
					if (charRow == 17) {
						v2 = 0;
						while (v2 <= 3) {
							v6 = 'exit' + (v2 + 1);
							if (_root.world.hero.hitTest(_root.world[v6])) {
								_root.world.transition.gotoAndPlay(2);
								charRow = cavePoints[v2 * 2];
								charCol = cavePoints[v2 * 2 + 1];
								_root.world.hero._visible = false;
								_root.world.heroSnareIcon._visible = false;
								_root.world.hero._x = 290;
								_root.world.hero._y = 340;
								inCave = false;
								stopAllSounds();
								_root.playSound('overworld');
								break;
							}
							++v2;
						}
					}
				}
				if (_root.world.hero.hitTest(_root.world.bridge)) {
					if (charRow == 4 && charCol == 3) {
						if (allianceBoss1Q[9] == false && shadowRunnersBoss1Q[9] == false) {
							_root.world.hero._x = 295;
							_root.world.hero._y = 150;
							showMessage('You must complete the quest in the city first!');
						}
					} else {
						if (charRow == 9 && charCol == 11) {
							if (allianceBoss2Q[9] == false && shadowRunnersBoss2Q[9] == false) {
								_root.world.hero._x = 75;
								_root.world.hero._y = 270;
								showMessage('You must complete the quest in the city first!');
							}
						} else {
							if (charRow == 5 && charCol == 11) {
								if (allianceBoss3Q[9] == false && shadowRunnersBoss3Q[9] == false) {
									_root.world.hero._x = 75;
									_root.world.hero._y = 260;
									showMessage('You must complete the quest in the city first!');
								}
							}
						}
					}
				}
			}
		}
		function mapTransition() {
			var v8 = itemDepth - 4080;
			var v7 = Math.max(v8, enemiesInTile);
			var v4 = 0;
			while (v4 <= v7) {
				removeMovieClip(_root.world['qItem' + (4060 + v4)]);
				removeMovieClip(_root.world['dItem' + (4080 + v4)]);
				removeMovieClip(_root.world['enemy' + (v4 + 1)]);
				removeMovieClip(_root.world['die' + (v4 + 1)]);
				removeMovieClip(_root.world['enemyArrow' + (arrowDepth - enemiesInTile + v4)]);
				removeMovieClip(_root.world['sct' + (sctDepth - enemiesInTile + v4)]);
				++v4;
			}
			v4 = 0;
			while (v4 < itemsOnGround.length) {
				trace('Removing: ' + itemsOnGround[v4]);
				removeMovieClip(itemsOnGround[v4]);
				++v4;
			}
			trace(itemsOnGround);
			itemsOnGround = [];
			removeMovieClip(_root.world.spell1001);
			removeMovieClip(_root.world.spell1002);
			arrowDepth = 2050;
			enemyDepth = 7000;
			deathDepth = 2000;
			sctDepth = 130000;
			goldDepth = 4030;
			questDepth = 4060;
			itemDepth = 4080;
			if (menuVisible) {
				_root.mapMenu();
				_root.world.mainMenu.characterMenu._visible = true;
			}
			_root.world.targetInfo.symbol.gotoAndStop(1);
			_root.enemiesDead = 0;
			_root.world.gotoAndStop(charRow + ',' + charCol);
			_root.world.hero._visible = true;
			_root.world.heroSnareIcon._visible = true;
			tileCheck = 'tile' + charRow + '_' + charCol;
			enemiesInTile = _root[tileCheck].length;
			allowCast = true;
			targetLevel = '';
			targetName = 'No Target';
			factionName = 'Faction Name';
			world.targetInfo.factionIndicator.gotoAndStop(3);
			world.targetInfo.hpBar._xscale = 0;
			savedLevel = '';
			savedName = 'No Target';
			savedSymbol = '';
			savedFaction = 'Faction Name';
			savedStanding = 3;
			savedHp = 0;
			savedTarget = '';
			currentTarget = '';
			savedX = 1000;
			_root.world.attachMovie('targetMarker', 'targetMarker', 1999);
			_root.world.targetMarker._y = -1500;
			v4 = 0;
			while (v4 < enemiesInTile) {
				if (_root[tileCheck][v4][4]) {
					var v3 = _root[tileCheck][v4][1];
					var v2 = 'enemy' + _root[tileCheck][v4][0];
					var v5 = random(_root[v3][3] - _root[v3][2] + 1) + _root[v3][2];
					_root.world.attachMovie(v3, v2, enemyDepth + v4 + 1);
					_root.world[v2].inside.id = _root[tileCheck][v4][0];
					_root.world[v2]._x = _root[tileCheck][v4][2];
					_root.world[v2]._y = _root[tileCheck][v4][3];
					_root.world[v2]._rotation = _root[tileCheck][v4][6];
					_root.world[v2].inside.aggroed = false;
					_root.world[v2].inside.displayName = _root[v3][0];
					_root.world[v2].inside.faction = _root[v3][1];
					_root.world[v2].inside.level = v5;
					_root.world[v2].inside.maxHp = _root[v3][4] + v5 * _root[v3][5];
				}
				++v4;
			}
			if (charRow == 15 && charCol == 3 && !onQuest('allianceBoss1Q') && !onQuest('shadowRunnersBoss1Q')) {
				_root.world.enemy1.removeMovieClip();
			} else {
				if (charRow == 18 && charCol == 2 && !onQuest('allianceBoss2Q') && !onQuest('shadowRunnersBoss2Q')) {
					_root.world.enemy1.removeMovieClip();
				} else {
					if (charRow == 15 && charCol == 6 && !onQuest('allianceBoss3Q') && !onQuest('shadowRunnersBoss3Q')) {
						_root.world.enemy1.removeMovieClip();
					} else {
						if (charRow == 18 && charCol == 5 && !onQuest('allianceBoss4Q') && !onQuest('shadowRunnersBoss4Q')) {
							_root.world.enemy1.removeMovieClip();
						} else {
							if (charCol == 15 && charRow == 5 && !onQuest('finalBossAQ')) {
								v4 = 1;
								while (v4 <= 5) {
									var v6 = 'enemy' + v4;
									_root.world[v6].removeMovieClip();
									++v4;
								}
							} else {
								if (charCol == 8 && charRow == 1 && !onQuest('finalBossSQ')) {
									v4 = 1;
									while (v4 <= 5) {
										var v6 = 'enemy' + v4;
										_root.world[v6].removeMovieClip();
										++v4;
									}
								}
							}
						}
					}
				}
			}
			_root.allowMove = true;
			_root.questMessage.gotoAndStop(1);
			_root.displayMessage.gotoAndStop(1);
		}
		function onQuest(questName) {
			i = 0;
			while (i < 7) {
				if (_root.activeQuests[i] == questName) {
					return true;
				}
				++i;
			}
			return false;
		}
		function updateLevels() {
			if (curExp >= expToLevel) {
				var v6 = curExp - expToLevel;
				expToLevel = expSplits[level];
				++level;
				curExp = v6;
				pointsLeft += 3;
				++str;
				++vit;
				++agi;
				++inte;
				++foc;
				baseEnergy = 50 + level * 25;
				inteEnergy = inte * 2;
				maxEnergy = baseEnergy + itemEnergy + inteEnergy;
				curEnergy = maxEnergy;
				baseHP = 50 + level * 20;
				vitHP = vit * 4;
				maxHP = baseHP + itemHP + vitHP;
				curHP = maxHP;
				_root.world.charInfo.hpBar._xscale = 100;
				_root.world.charInfo.energyBar._xscale = 100;
				dimReturnsRoot = 40 + level * 5;
				_root.showMessage('Level ' + level + '! You gained 3 ability points');
				playSound('levelUp');
				if (level == 2) {
					_root.showTutorial(3);
				} else {
					if (level == 4) {
						_root.showTutorial(7);
					} else {
						if (level == 5) {
							_root.showTutorial(5);
						} else {
							if (level == 3) {
								_root.showTutorial(8);
							}
						}
					}
				}
				if (curExp >= expToLevel) {
					updateLevels();
				}
			}
			var v3 = 0;
			while (v3 < 7) {
				var v2 = v3 * 5;
				var v4 = factionLevels[3 + v2];
				var v5 = factionLevels[4 + v2];
				if (v4 > v5) {
					if (factionLevels[1 + v2] == 'Ally') {
						factionLevels[3 + v2] = 3000;
					} else {
						if (factionLevels[1 + v2] == 'Friendly') {
							factionLevels[1 + v2] = 'Ally';
							--factionLevels[2 + v2];
							factionLevels[3 + v2] = 0;
							factionLevels[3 + v2] = 3000;
							_root.showMessage('You are now an Ally of ' + factionLevels[+v2]);
						} else {
							if (factionLevels[1 + v2] == 'Neutral') {
								factionLevels[1 + v2] = 'Friendly';
								--factionLevels[2 + v2];
								factionLevels[3 + v2] = 0;
								factionLevels[4 + v2] = 3000;
								_root.showMessage('You are now Friendly with ' + factionLevels[+v2]);
							} else {
								if (factionLevels[1 + v2] == 'Unfriendly') {
									factionLevels[1 + v2] = 'Neutral';
									--factionLevels[2 + v2];
									factionLevels[3 + v2] = 0;
									factionLevels[4 + v2] = 1000;
									_root.showMessage('You are now Neutral with ' + factionLevels[+v2]);
								} else {
									if (factionLevels[1 + v2] == 'Kill On Sight') {
										factionLevels[1 + v2] = 'Unfriendly';
										--factionLevels[2 + v2];
										factionLevels[3 + v2] = 0;
										factionLevels[4 + v2] = 1000;
										_root.showMessage('You are now Unfriendly with ' + factionLevels[+v2]);
									}
								}
							}
						}
					}
				}
				if (v4 < 0) {
					if (factionLevels[1 + v2] == 'Kill On Sight') {
						factionLevels[3 + v2] = 0;
					} else {
						if (factionLevels[1 + v2] == 'Unfriendly') {
							factionLevels[1 + v2] = 'Kill On Sight';
							++factionLevels[2 + v2];
							factionLevels[3 + v2] = 3000;
							factionLevels[4 + v2] = 3000;
							_root.showMessage('You are now Kill On Sight with ' + factionLevels[+v2]);
						} else {
							if (factionLevels[1 + v2] == 'Neutral') {
								factionLevels[1 + v2] = 'Unfriendly';
								++factionLevels[2 + v2];
								factionLevels[3 + v2] = 1000;
								factionLevels[4 + v2] = 1000;
								_root.showMessage('You are now Unfriendly with ' + factionLevels[+v2]);
							} else {
								if (factionLevels[1 + v2] == 'Friendly') {
									factionLevels[1 + v2] = 'Neutral';
									++factionLevels[2 + v2];
									factionLevels[3 + v2] = 1000;
									factionLevels[4 + v2] = 1000;
									_root.showMessage('You are now Neutral with ' + factionLevels[+v2]);
								} else {
									if (factionLevels[1 + v2] == 'Ally') {
										factionLevels[1 + v2] = 'Friendly';
										++factionLevels[2 + v2];
										factionLevels[3 + v2] = 3000;
										factionLevels[4 + v2] = 3000;
										_root.showMessage('You are now Friendly with ' + factionLevels[+v2]);
									}
								}
							}
						}
					}
				}
				++v3;
			}
		}
		function characterMenu() {
			_root.world.mainMenu.characterMenu.exp_txt.text = curExp + '/' + expToLevel;
			_root.world.mainMenu.characterMenu.level_txt.text = playerName + ' - Level ' + level;
			_root.world.mainMenu.characterMenu.healthBar._xscale = (curHP / maxHP) * 100;
			_root.world.mainMenu.characterMenu.energyBar._xscale = (curEnergy / maxEnergy) * 100;
			_root.world.mainMenu.characterMenu.expBar._xscale = (curExp / expToLevel) * 100;
			_root.world.mainMenu.characterMenu.avatar.gotoAndStop(playerClass);
			if (equipment[0] != '') {
				_root.world.mainMenu.characterMenu.handEquip.gotoAndStop(equipment[0]);
			} else {
				_root.world.mainMenu.characterMenu.handEquip.gotoAndStop(1);
			}
			if (equipment[1] != '') {
				_root.world.mainMenu.characterMenu.headEquip.gotoAndStop(equipment[1]);
			} else {
				_root.world.mainMenu.characterMenu.headEquip.gotoAndStop(1);
			}
			if (equipment[3] != '') {
				_root.world.mainMenu.characterMenu.chestEquip.gotoAndStop(equipment[3]);
			} else {
				_root.world.mainMenu.characterMenu.chestEquip.gotoAndStop(1);
			}
			if (equipment[4] != '') {
				_root.world.mainMenu.characterMenu.armEquip.gotoAndStop(equipment[4]);
			} else {
				_root.world.mainMenu.characterMenu.armEquip.gotoAndStop(1);
			}
			if (equipment[5] != '') {
				_root.world.mainMenu.characterMenu.legEquip.gotoAndStop(equipment[5]);
			} else {
				_root.world.mainMenu.characterMenu.legEquip.gotoAndStop(1);
			}
			if (equipment[6] != '') {
				_root.world.mainMenu.characterMenu.mainHandEquip.gotoAndStop(equipment[6]);
			} else {
				_root.world.mainMenu.characterMenu.mainHandEquip.gotoAndStop(1);
			}
			if (equipment[7] != '') {
				_root.world.mainMenu.characterMenu.offHandEquip.gotoAndStop(equipment[7]);
			} else {
				_root.world.mainMenu.characterMenu.offHandEquip.gotoAndStop(1);
			}
			if (equipment[8] != '') {
				_root.world.mainMenu.characterMenu.feetEquip.gotoAndStop(equipment[8]);
			} else {
				_root.world.mainMenu.characterMenu.feetEquip.gotoAndStop(1);
			}
			if (_root.world.mainMenu.characterMenu.chestEquip._currentframe == 28) {
				_root.world.mainMenu.characterMenu.avatar.cloak.gotoAndStop(2);
			} else {
				_root.world.mainMenu.characterMenu.avatar.cloak.gotoAndStop(1);
			}
		}
		function factionsMenu() {
			_root.world.mainMenu.characterMenu._visible = false;
			_root.world.mainMenu.factionsMenu.theAllianceBar._xscale = (_root.factionLevels[3] / _root.factionLevels[4]) * 100;
			_root.world.mainMenu.factionsMenu.shadowRunnersBar._xscale = (_root.factionLevels[8] / _root.factionLevels[9]) * 100;
			_root.world.mainMenu.factionsMenu.merchantsGuildBar._xscale = (_root.factionLevels[13] / _root.factionLevels[14]) * 100;
			_root.world.mainMenu.factionsMenu.theMercenariesBar._xscale = (_root.factionLevels[18] / _root.factionLevels[19]) * 100;
			_root.world.mainMenu.factionsMenu.theTrackersBar._xscale = (_root.factionLevels[23] / _root.factionLevels[24]) * 100;
			_root.world.mainMenu.factionsMenu.theMagiciansBar._xscale = (_root.factionLevels[28] / _root.factionLevels[29]) * 100;
			_root.world.mainMenu.factionsMenu.theBlademastersBar._xscale = (_root.factionLevels[33] / _root.factionLevels[34]) * 100;
			_root.world.mainMenu.factionsMenu.theAllianceBar.gotoAndStop(_root.factionLevels[2]);
			_root.world.mainMenu.factionsMenu.shadowRunnersBar.gotoAndStop(_root.factionLevels[7]);
			_root.world.mainMenu.factionsMenu.merchantsGuildBar.gotoAndStop(_root.factionLevels[12]);
			_root.world.mainMenu.factionsMenu.theMercenariesBar.gotoAndStop(_root.factionLevels[17]);
			_root.world.mainMenu.factionsMenu.theTrackersBar.gotoAndStop(_root.factionLevels[22]);
			_root.world.mainMenu.factionsMenu.theMagiciansBar.gotoAndStop(_root.factionLevels[27]);
			_root.world.mainMenu.factionsMenu.theBlademastersBar.gotoAndStop(_root.factionLevels[32]);
			_root.theAlliance = factionLevels[1] + '	' + factionLevels[3] + '/' + factionLevels[4];
			_root.shadowRunners = factionLevels[6] + '	' + factionLevels[8] + '/' + factionLevels[9];
			_root.merchantsGuild = factionLevels[11] + '	' + factionLevels[13] + '/' + factionLevels[14];
			_root.theMercenaries = factionLevels[16] + '	' + factionLevels[18] + '/' + factionLevels[19];
			_root.theTrackers = factionLevels[21] + '	' + factionLevels[23] + '/' + factionLevels[24];
			_root.theMagicians = factionLevels[26] + '	' + factionLevels[28] + '/' + factionLevels[29];
			_root.theBlademasters = factionLevels[31] + '	' + factionLevels[33] + '/' + factionLevels[34];
		}
		function abilitiesMenu() {
			_root.world.mainMenu.characterMenu._visible = false;
			var v2 = 0;
			while (v2 < 6) {
				var v4 = _root.spellList[v2];
				var v3 = 'slot' + (v2 + 1);
				_root.world.mainMenu.abilitiesMenu[v3].gotoAndStop(_root[v4][9]);
				++v2;
			}
			if (playerClass == 'Wizard') {
				_root.world.mainMenu.abilitiesMenu.ability1.gotoAndStop('fireball' + fireballRank);
				_root.world.mainMenu.abilitiesMenu.ability2.gotoAndStop('heal' + healRank);
				_root.world.mainMenu.abilitiesMenu.ability3.gotoAndStop('bondsofair' + bondsofairRank);
				_root.world.mainMenu.abilitiesMenu.ability4.gotoAndStop('frostbite' + frostbiteRank);
				_root.world.mainMenu.abilitiesMenu.ability5.gotoAndStop('firenova' + firenovaRank);
				_root.world.mainMenu.abilitiesMenu.ability6.gotoAndStop('energybolt' + energyboltRank);
			} else {
				if (playerClass == 'Warrior') {
					_root.world.mainMenu.abilitiesMenu.ability1.gotoAndStop('stab' + stabRank);
					_root.world.mainMenu.abilitiesMenu.ability2.gotoAndStop('mendwound' + mendwoundRank);
					_root.world.mainMenu.abilitiesMenu.ability3.gotoAndStop('frostblade' + frostbladeRank);
					_root.world.mainMenu.abilitiesMenu.ability4.gotoAndStop('shieldbash' + shieldbashRank);
					_root.world.mainMenu.abilitiesMenu.ability5.gotoAndStop('cleave' + cleaveRank);
					_root.world.mainMenu.abilitiesMenu.ability6.gotoAndStop('deathblow' + deathblowRank);
				} else {
					_root.world.mainMenu.abilitiesMenu.ability1.gotoAndStop('shootarrow' + shootarrowRank);
					_root.world.mainMenu.abilitiesMenu.ability2.gotoAndStop('bindwound' + bindwoundRank);
					_root.world.mainMenu.abilitiesMenu.ability3.gotoAndStop('fetter' + fetterRank);
					_root.world.mainMenu.abilitiesMenu.ability4.gotoAndStop('frostshot' + frostshotRank);
					_root.world.mainMenu.abilitiesMenu.ability5.gotoAndStop('searingarrow' + searingarrowRank);
					_root.world.mainMenu.abilitiesMenu.ability6.gotoAndStop('elvenshot' + elvenshotRank);
				}
			}
		}
		function questMenu() {
			_root.world.mainMenu.characterMenu._visible = false;
			_root.world.mainMenu.descriptions.gotoAndStop(1);
			_root.world.mainMenu.questBorder.gotoAndStop(1);
			_root.questHighlighted = 'null';
			_root.world.mainMenu.quest1.gotoAndStop(_root.activeQuests[0]);
			_root.world.mainMenu.quest2.gotoAndStop(_root.activeQuests[1]);
			_root.world.mainMenu.quest3.gotoAndStop(_root.activeQuests[2]);
			_root.world.mainMenu.quest4.gotoAndStop(_root.activeQuests[3]);
			_root.world.mainMenu.quest5.gotoAndStop(_root.activeQuests[4]);
			_root.world.mainMenu.quest6.gotoAndStop(_root.activeQuests[5]);
			_root.world.mainMenu.quest7.gotoAndStop(_root.activeQuests[6]);
			if (quest1[6]) {
				_root.world.mainMenu.complete1.gotoAndStop(2);
			} else {
				_root.world.mainMenu.complete1.gotoAndStop(1);
			}
			if (quest2[6]) {
				_root.world.mainMenu.complete2.gotoAndStop(2);
			} else {
				_root.world.mainMenu.complete2.gotoAndStop(1);
			}
			if (quest3[6]) {
				_root.world.mainMenu.complete3.gotoAndStop(2);
			} else {
				_root.world.mainMenu.complete3.gotoAndStop(1);
			}
			if (quest4[6]) {
				_root.world.mainMenu.complete4.gotoAndStop(2);
			} else {
				_root.world.mainMenu.complete4.gotoAndStop(1);
			}
			if (quest5[6]) {
				_root.world.mainMenu.complete5.gotoAndStop(2);
			} else {
				_root.world.mainMenu.complete5.gotoAndStop(1);
			}
			if (quest6[6]) {
				_root.world.mainMenu.complete6.gotoAndStop(2);
			} else {
				_root.world.mainMenu.complete6.gotoAndStop(1);
			}
			if (quest7[6]) {
				_root.world.mainMenu.complete7.gotoAndStop(2);
			} else {
				_root.world.mainMenu.complete7.gotoAndStop(1);
			}
		}
		function gameMenu() {
			_root.world.mainMenu.characterMenu._visible = false;
			if (tutorials) {
				_root.world.mainMenu.gameMenu.tutorials.gotoAndStop(1);
			} else {
				_root.world.mainMenu.gameMenu.tutorials.gotoAndStop(2);
			}
			if (soundOn) {
				_root.world.mainMenu.gameMenu.sound.gotoAndStop(1);
			} else {
				_root.world.mainMenu.gameMenu.sound.gotoAndStop(2);
			}
			if (musicOn) {
				_root.world.mainMenu.gameMenu.music.gotoAndStop(1);
			} else {
				_root.world.mainMenu.gameMenu.music.gotoAndStop(2);
			}
			_root.world.mainMenu.gameMenu.quality.gotoAndStop(gameQuality);
		}
		function mapMenu() {
			_root.world.mainMenu.characterMenu._visible = false;
			_root.world.mainMenu.mapMenu.indicator.gotoAndStop(playerClass);
			if (charRow <= 10 && charCol <= 15) {
				_root.world.mainMenu.mapMenu.indicator._x = -217 + charCol * 27;
				_root.world.mainMenu.mapMenu.indicator._y = -137 + charRow * 27;
			} else {
				if (charRow == 12) {
					if (charCol == 1) {
						_root.world.mainMenu.mapMenu.indicator._y = -83;
						_root.world.mainMenu.mapMenu.indicator._x = -136;
					} else {
						if (charCol == 2) {
							_root.world.mainMenu.mapMenu.indicator._y = 106;
							_root.world.mainMenu.mapMenu.indicator._x = -109;
						} else {
							if (charCol == 3) {
								_root.world.mainMenu.mapMenu.indicator._y = 79;
								_root.world.mainMenu.mapMenu.indicator._x = 134;
							} else {
								if (charCol == 4) {
									_root.world.mainMenu.mapMenu.indicator._y = -56;
									_root.world.mainMenu.mapMenu.indicator._x = 107;
								}
							}
						}
					}
				}
			}
		}
		function completeQuest(qName) {
			var v2 = 0;
			while (v2 < 7) {
				if (_root.activeQuests[v2] == qName) {
					_root['quest' + (v2 + 1)][6] = true;
					_root['quest' + (v2 + 1)][3] = 1;
					_root[qName][6] = true;
					_root[qName][3] = 1;
					break;
				}
				++v2;
			}
		}
		function dropQuestItem(qName) {
			var v2 = 0;
			while (v2 < 7) {
				if (_root.activeQuests[v2] == qName) {
					_root['quest' + (v2 + 1)][6] = false;
					_root['quest' + (v2 + 1)][3] = 0;
					_root[qName][6] = false;
					_root[qName][3] = 0;
					break;
				}
				++v2;
			}
		}
		function clearInventory(qName) {
			var v1 = 0;
			while (v1 < 17) {
				if (inventory[v1] == qName) {
					inventory[v1] = '';
				}
				++v1;
			}
		}
		function checkForComplete(iName) {
			var v1 = 0;
			while (v1 < 17) {
				if (inventory[v1] == iName) {
					return true;
				}
				++v1;
			}
			return false;
		}
		function setQuests() {
			shadowSoldierQ = ['Sending A Message', 'shadowSoldier', 'kill', 0, 10, 1, false, 10, 50, false, 3, 2, 7, 10, 'Shadow Soldiers Killed', 15];
			shadowWizardQ = ['Get Off Our Land', 'shadowWizard', 'kill', 0, 10, 1, false, 0, 55, false, 3, 2, 7, 15, 'Shadow Wizards Killed'];
			shadowBowmanQ = ['A Lost Bow', 'shadowBowman', 'collect', 0, 1, 5, false, 0, 55, false, 3, 2, 7, 25, 'Ricken\'s Bow'];
			allianceBoss1Q = ['What Must Be Done', 'boss1', 'collect', 0, 1, 10, false, 0, 90, false, 2, 2, 7, 25, 'Broken Piece of the Heartstone'];
			shadowGuardQ = ['Opportunities', 'shadowGuard', 'kill', 0, 8, 1, false, 25, 60, false, 2, 2, 7, 25, 'Shadow Guards Killed'];
			shadowArcherQ = ['Special String', 'shadowArcher', 'collect', 0, 1, 10, false, 0, 65, false, 2, 2, 7, 30, 'Shadow String'];
			shadowKnightQ = ['Striking First', 'shadowKnight', 'kill', 0, 8, 1, false, 0, 65, false, 2, 2, 7, 35, 'Shadow Knights Killed'];
			allianceBoss2Q = ['The Next Piece', 'boss2', 'collect', 0, 1, 1, false, 0, 100, false, 2, 2, 7, 50, 'Broken Piece of the Heartstone'];
			necromancerQ = ['Evil Magic', 'necromancer', 'kill', 0, 6, 1, false, 40, 50, false, 2, 2, 7, 45, 'Necromancers Killed'];
			shadowTrackerQ = ['Tracking Trackers', 'shadowTracker', 'kill', 0, 7, 1, false, 45, 50, false, 2, 2, 7, 50, 'Shadow Trackers Killed'];
			shadowAssassinQ = ['Mask of the Enemy', 'shadowAssassin', 'collect', 0, 1, 5, false, 50, 50, false, 2, 2, 7, 50, 'Shadow Mask'];
			darkRitualistQ = ['Darker Magic', 'darkRitualist', 'kill', 0, 8, 1, false, 50, 50, false, 2, 2, 7, 50, 'Dark Ritualists Killed'];
			bloodMageQ = ['Unhuman', 'bloodMage', 'kill', 0, 10, 1, false, 55, 50, false, 2, 2, 7, 55, 'Blood Mages Killed'];
			allianceBoss3Q = ['The Third Piece', 'boss3', 'collect', 0, 1, 1, false, 60, 100, false, 2, 2, 7, 60, 'Broken Piece of the Heartstone'];
			shadowWardQ = ['The Beginning of the End', 'shadowWard', 'kill', 0, 6, 1, false, 60, 70, false, 2, 2, 7, 80, 'Shadow Wards Killed'];
			fallenShadowQ = ['Our Fallen Soldiers', 'fallenShadow', 'kill', 0, 10, 1, false, 70, 150, false, 2, 2, 7, 90, 'Fallen Shadows Killed'];
			hellCasterQ = ['Hell Spawns', 'hellCaster', 'kill', 0, 7, 1, false, 80, 200, false, 2, 2, 7, 100, 'Hell Casters Killed'];
			shadowCaptainQ = ['Strike The Leaders', 'shadowCaptain', 'kill', 0, 15, 1, false, 0, 300, false, 2, 2, 7, 200, 'Shadow Captains Killed'];
			allianceBoss4Q = ['The Hammer Falls', 'boss4', 'collect', 0, 1, 1, false, 0, 100, false, 1, 2, 7, 200, 'Broken Piece of the Heartstone'];
			finalBossAQ = ['Saving Our People', 'sBoss', 'kill', 0, 1, 1, false, 0, 0, false, 1, 2, 7, 0, 'Shadow Lord Xin Slain'];
			brightlakeGuardQ = ['Hypocrites', 'brightlakeGuard', 'kill', 0, 6, 1, false, 10, 50, false, 4, 7, 2, 10, 'Brightlake Guards Killed'];
			brightlakeScoutQ = ['Intolerance', 'brightlakeScout', 'kill', 0, 8, 1, false, 0, 55, false, 4, 7, 2, 15, 'Brightlake Scouts Killed'];
			brightlakeWizardQ = ['Stealing Their Magic', 'brightlakeWizard', 'collect', 0, 1, 5, false, 0, 55, false, 4, 7, 2, 25, 'Magical Orb'];
			shadowRunnersBoss1Q = ['Our Plan Revealed', 'boss1', 'collect', 0, 1, 10, false, 0, 70, false, 3, 7, 2, 25, 'Broken Piece of the Heartstone'];
			paladinQ = ['Righteous Lies', 'paladin', 'kill', 0, 10, 1, false, 25, 55, false, 3, 7, 2, 25, 'Paladins Killed'];
			greenviewMageQ = ['Healing Power', 'greenviewMage', 'collect', 0, 1, 5, false, 0, 60, false, 3, 7, 2, 30, 'Healing Orb'];
			greenviewGuardQ = ['Preparation', 'greenviewGuard', 'kill', 0, 7, 1, false, 0, 60, false, 3, 7, 2, 35, 'Greenview Guards Killed'];
			shadowRunnersBoss2Q = ['The Second Piece', 'boss2', 'collect', 0, 1, 1, false, 0, 100, false, 3, 7, 2, 45, 'Broken Piece of the Heartstone'];
			greenviewWardQ = ['Silent Feet', 'greenviewWard', 'collect', 0, 1, 10, false, 40, 50, false, 3, 7, 2, 45, 'Silent Boots'];
			sageOfLightQ = ['Light and Dark', 'sageOfLight', 'kill', 0, 6, 1, false, 45, 50, false, 3, 7, 2, 50, 'Sages of Light Killed'];
			holyAssassinQ = ['Fake Assassins', 'holyAssassin', 'kill', 0, 8, 1, false, 50, 50, false, 3, 7, 2, 50, 'Holy Assassins Killed'];
			strikerOfHartQ = ['Clearing Their Cover', 'strikerOfHart', 'kill', 0, 5, 1, false, 50, 50, false, 3, 7, 2, 50, 'Strikers of Hart Killed'];
			guardOfHartQ = ['The Third Location', 'guardOfHart', 'collect', 0, 1, 5, false, 55, 50, false, 3, 7, 2, 55, 'Enscribed Shield'];
			shadowRunnersBoss3Q = ['The Next Step', 'boss3', 'collect', 0, 1, 1, false, 60, 100, false, 2, 7, 2, 60, 'Broken Piece of the Heartstone'];
			icecallerOfHartQ = ['The End Starts Now', 'icecallerOfHart', 'kill', 0, 8, 1, false, 55, 50, false, 2, 7, 2, 70, 'Icecallers Of Hart Killed'];
			shadowOfLightQ = ['Copied Counterparts', 'shadowOfLight', 'kill', 0, 10, 1, false, 60, 150, false, 2, 7, 2, 80, 'Shadows Of Light Killed'];
			devoutGamemasterQ = ['Taking Out Backup', 'devoutGamemaster', 'kill', 0, 6, 1, false, 70, 300, false, 2, 7, 2, 90, 'Devout Gamemasters Killed'];
			masterPaladinQ = ['The Last Move', 'masterPaladin', 'kill', 0, 15, 1, false, 0, 400, false, 2, 7, 2, 100, 'Master Paladins Killed'];
			shadowRunnersBoss4Q = ['Check Mate', 'boss4', 'collect', 0, 1, 1, false, 0, 100, false, 1, 7, 2, 200, 'Broken Piece of the Heartstone'];
			finalBossSQ = ['The Final Blow', 'aBoss', 'kill', 0, 1, 1, false, 0, 0, false, 1, 7, 2, 0, 'King Lightwarden Slain'];
			brigandQ = ['Clearing A Path', 'brigand', 'kill', 0, 4, 1, false, 15, 400, false, 3, 12, 17, 15, 'Brigands Killed'];
			hirelingQ = ['Stealing From Thieves', 'hireling', 'collect', 0, 1, 5, false, 30, 400, false, 3, 12, 17, 25, 'Blue Gold'];
			madcapQ = ['Insane...', 'madcap', 'kill', 0, 8, 1, false, 40, 450, false, 3, 12, 17, 30, 'Madcaps Killed'];
			highwaymanQ = ['Protecting Our Goods', 'highwayman', 'kill', 0, 6, 1, false, 45, 700, false, 3, 12, 17, 45, 'Highwaymen Killed'];
			coinchaserQ = ['Holy Mercenary', 'coinchaser', 'kill', 0, 8, 1, false, 50, 800, false, 2, 12, 17, 55, 'Coinchasers Killed'];
			sellswordQ = ['Cutting Off The Head', 'sellsword', 'kill', 0, 30, 1, false, 0, 500, false, 1, 12, 17, 70, 'Sellswords Killed'];
			merchantGuardQ = ['The Key To The Problem', 'merchantGuard', 'collect', 0, 1, 1, false, 15, 300, false, 3, 17, 12, 15, 'Francis\' Key'];
			wizardProtectorQ = ['Thinning Their Numbers', 'wizardProtector', 'kill', 0, 8, 1, false, 30, 400, false, 3, 17, 12, 25, 'Wizard Protectors Killed'];
			honorGuardQ = ['Worthy Opposition', 'honorGuard', 'kill', 0, 6, 1, false, 0, 550, false, 3, 17, 12, 30, 'Honor Guards Killed'];
			pledgedTrackerQ = ['Counter Ambush', 'pledgedTracker', 'kill', 0, 4, 1, false, 45, 750, false, 3, 17, 12, 45, 'Pledged Trackers Killed'];
			waterdancerQ = ['Foreign Guards', 'waterdancer', 'kill', 0, 8, 1, false, 50, 850, false, 2, 17, 12, 55, 'Waterdancers Killed'];
			redCloakGuardQ = ['End Of Corruption', 'redCloakGuard', 'kill', 0, 30, 1, false, 0, 500, false, 1, 17, 12, 70, 'Red Cloak Guards Killed'];
			squireQ = ['Proving Your Skill', 'squire', 'kill', 0, 8, 1, false, 0, 300, false, 2, 22, 32, 15, 'Squires Killed'];
			sageQ = ['The Best Defense', 'sage', 'kill', 0, 10, 1, false, 25, 300, false, 2, 22, 27, 25, 'Sages Killed'];
			ritualistQ = ['Abominations', 'ritualist', 'kill', 0, 5, 1, false, 0, 300, false, 2, 22, 27, 30, 'Ritualists Killed'];
			conquerorQ = ['What A Word Means', 'conqueror', 'collect', 0, 1, 5, false, 40, 400, false, 2, 22, 32, 45, 'Conqueror\'s Blade'];
			elementalistQ = ['Preparing Our Attack', 'elementalist', 'kill', 0, 7, 1, false, 0, 400, false, 2, 22, 27, 50, 'Elementalists Killed'];
			gladiatorQ = ['Your Final Task', 'gladiator', 'kill', 0, 30, 1, false, 0, 500, false, 1, 22, 32, 100, 'Gladiators Killed'];
			apprenticeQ = ['A Warrior\'s Weapon', 'apprentice', 'kill', 0, 6, 1, false, 0, 300, false, 2, 32, 27, 15, 'Apprentices Killed'];
			archerQ = ['Teaching A Lesson', 'archer', 'kill', 0, 10, 1, false, 25, 300, false, 2, 32, 22, 25, 'Archers Killed'];
			pathfinderQ = ['Feather For My Hat', 'pathfinder', 'collect', 0, 1, 10, false, 0, 300, false, 2, 32, 22, 30, 'Tracker Feather'];
			channelerQ = ['Pestilence', 'channeler', 'kill', 0, 5, 1, false, 0, 400, false, 2, 32, 27, 40, 'Channelers Killed'];
			warderQ = ['A Time To Act', 'warder', 'kill', 0, 8, 1, false, 0, 400, false, 2, 32, 22, 50, 'Warders Killed'];
			aeromancerQ = ['Service To Our Cause', 'aeromancer', 'kill', 0, 30, 1, false, 0, 500, false, 1, 32, 27, 100, 'Aeromancers Killed'];
			traineeQ = ['Magic Over Matter', 'trainee', 'kill', 0, 7, 1, false, 0, 300, false, 2, 27, 22, 15, 'Trainees Killed'];
			defenderQ = ['Inferior', 'defender', 'kill', 0, 10, 1, false, 25, 300, false, 2, 27, 32, 25, 'Defenders Killed'];
			knightQ = ['Primitive Decorations', 'knight', 'collect', 0, 1, 10, false, 0, 300, false, 2, 27, 32, 30, 'Blademaster\'s Shield'];
			bowmasterQ = ['Showing Our Power', 'bowmaster', 'kill', 0, 8, 1, false, 40, 400, false, 2, 27, 22, 40, 'Bowmasters Killed'];
			championQ = ['Making Our Move', 'champion', 'kill', 0, 6, 1, false, 0, 400, false, 2, 27, 32, 50, 'Champions Killed'];
			forestStalkerQ = ['Our Secrets', 'forestStalker', 'kill', 0, 30, 1, false, 0, 500, false, 1, 27, 22, 100, 'Forest Stalkers Killed'];
			quest1 = [];
			quest2 = [];
			quest3 = [];
			quest4 = [];
			quest5 = [];
			quest6 = [];
			quest7 = [];
		}
		function setWizardAbilities() {
			fireball1 = [10, 14, 12, 37, 0, 'dd', 'Fireball', 1, true, 'fireball', 0];
			fireball2 = [27, 32, 22, 37, 0, 'dd', 'Fireball', 6, false, 'fireball', 0];
			fireball3 = [42, 47, 35, 37, 0, 'dd', 'Fireball', 12, false, 'fireball', 0];
			fireball4 = [55, 60, 46, 37, 0, 'dd', 'Fireball', 18, false, 'fireball', 0];
			fireball5 = [64, 70, 58, 37, 0, 'dd', 'Fireball', 24, false, 'fireball', 0];
			fireball6 = [75, 85, 75, 37, 0, 'dd', 'Fireball', 30, false, 'fireball', 0];
			heal1 = [10, 15, 12, 37, 0, 'heal', 'Heal', 2, false, 'heal', 0];
			heal2 = [29, 36, 30, 37, 0, 'heal', 'Heal', 6, false, 'heal', 0];
			heal3 = [46, 51, 48, 37, 0, 'heal', 'Heal', 12, false, 'heal', 0];
			heal4 = [70, 75, 70, 37, 0, 'heal', 'Heal', 18, false, 'heal', 0];
			heal5 = [95, 102, 100, 37, 0, 'heal', 'Heal', 22, false, 'heal', 0];
			heal6 = [120, 131, 125, 37, 0, 'heal', 'Heal', 26, false, 'heal', 0];
			bondsofair1 = [250, 375, 7, 25, 0, 'root', 'Bonds of Air', 4, false, 'bondsofair', 0];
			bondsofair2 = [300, 400, 16, 25, 0, 'root', 'Bonds of Air', 10, false, 'bondsofair', 0];
			bondsofair3 = [325, 475, 25, 25, 0, 'root', 'Bonds of Air', 14, false, 'bondsofair', 0];
			bondsofair4 = [400, 600, 36, 25, 0, 'root', 'Bonds of Air', 18, false, 'bondsofair', 0];
			bondsofair5 = [450, 750, 47, 25, 0, 'root', 'Bonds of Air', 22, false, 'bondsofair', 0];
			bondsofair6 = [500, 800, 60, 25, 0, 'root', 'Bonds of Air', 26, false, 'bondsofair', 0];
			frostbite1 = [0, 0, 9, 50, 20, 'snare', 'Frostbite', 6, false, 'frostbite', 0];
			frostbite2 = [0, 0, 20, 50, 35, 'snare', 'Frostbite', 10, false, 'frostbite', 0];
			frostbite3 = [0, 0, 31, 50, 69, 'snare', 'Frostbite', 14, false, 'frostbite', 0];
			frostbite4 = [0, 0, 48, 50, 84, 'snare', 'Frostbite', 20, false, 'frostbite', 0];
			frostbite5 = [0, 0, 68, 50, 112, 'snare', 'Frostbite', 24, false, 'frostbite', 0];
			frostbite6 = [0, 0, 95, 50, 135, 'snare', 'Frostbite', 28, false, 'frostbite', 0];
			firenova1 = [23, 28, 30, 25, 0, 'ae', 'Fire Nova', 8, false, 'firenova', 250];
			firenova2 = [42, 48, 49, 25, 0, 'ae', 'Fire Nova', 12, false, 'firenova', 250];
			firenova3 = [65, 75, 85, 25, 0, 'ae', 'Fire Nova', 16, false, 'firenova', 250];
			firenova4 = [81, 89, 100, 25, 0, 'ae', 'Fire Nova', 20, false, 'firenova', 250];
			firenova5 = [99, 115, 120, 25, 0, 'ae', 'Fire Nova', 24, false, 'firenova', 250];
			firenova6 = [130, 155, 170, 25, 0, 'ae', 'Fire Nova', 28, false, 'firenova', 250];
			energybolt1 = [70, 76, 45, 75, 0, 'dd', 'Energy Bolt', 10, false, 'energybolt', 750];
			energybolt2 = [82, 92, 70, 75, 0, 'dd', 'Energy Bolt', 14, false, 'energybolt', 750];
			energybolt3 = [106, 115, 85, 75, 0, 'dd', 'Energy Bolt', 18, false, 'energybolt', 750];
			energybolt4 = [130, 143, 100, 75, 0, 'dd', 'Energy Bolt', 22, false, 'energybolt', 750];
			energybolt5 = [163, 170, 120, 75, 0, 'dd', 'Energy Bolt', 24, false, 'energybolt', 750];
			energybolt6 = [190, 205, 190, 75, 0, 'dd', 'Energy Bolt', 30, false, 'energybolt', 750];
		}
		function setWarriorAbilities() {
			stab1 = [6, 9, 5, 0, 0, 'dd', 'Stab', 1, true, 'stab', 0];
			stab2 = [12, 16, 10, 0, 0, 'dd', 'Stab', 6, false, 'stab', 0];
			stab3 = [18, 21, 16, 0, 0, 'dd', 'Stab', 12, false, 'stab', 0];
			stab4 = [27, 31, 25, 0, 0, 'dd', 'Stab', 18, false, 'stab', 0];
			stab5 = [37, 42, 35, 0, 0, 'dd', 'Stab', 24, false, 'stab', 0];
			stab6 = [44, 55, 47, 0, 0, 'dd', 'Stab', 30, false, 'stab', 0];
			mendwound1 = [10, 15, 12, 25, 0, 'heal', 'Mend Wound', 2, false, 'mendwound', 0];
			mendwound2 = [29, 36, 30, 25, 0, 'heal', 'Mend Wound', 6, false, 'mendwound', 0];
			mendwound3 = [46, 51, 48, 25, 0, 'heal', 'Mend Wound', 10, false, 'mendwound', 0];
			mendwound4 = [70, 75, 70, 25, 0, 'heal', 'Mend Wound', 14, false, 'mendwound', 0];
			mendwound5 = [95, 102, 100, 25, 0, 'heal', 'Mend Wound', 20, false, 'mendwound', 0];
			mendwound6 = [120, 131, 125, 25, 0, 'heal', 'Mend Wound', 24, false, 'mendwound', 0];
			frostblade1 = [0, 0, 9, 0, 20, 'snare', 'Frost Blade', 4, false, 'frostblade', 0];
			frostblade2 = [0, 0, 20, 0, 39, 'snare', 'Frost Blade', 8, false, 'frostblade', 0];
			frostblade3 = [0, 0, 30, 0, 60, 'snare', 'Frost Blade', 12, false, 'frostblade', 0];
			frostblade4 = [0, 0, 45, 0, 85, 'snare', 'Frost Blade', 18, false, 'frostblade', 0];
			frostblade5 = [0, 0, 65, 0, 110, 'snare', 'Frost Blade', 22, false, 'frostblade', 0];
			frostblade6 = [0, 0, 90, 0, 135, 'snare', 'Frost Blade', 28, false, 'frostblade', 0];
			shieldbash1 = [250, 375, 10, 0, 0, 'stun', 'Shield Bash', 6, false, 'shieldbash', 0];
			shieldbash2 = [300, 400, 24, 0, 0, 'stun', 'Shield Bash', 10, false, 'shieldbash', 0];
			shieldbash3 = [325, 475, 36, 0, 0, 'stun', 'Shield Bash', 14, false, 'shieldbash', 0];
			shieldbash4 = [400, 600, 50, 0, 0, 'stun', 'Shield Bash', 18, false, 'shieldbash', 0];
			shieldbash5 = [450, 750, 69, 0, 0, 'stun', 'Shield Bash', 22, false, 'shieldbash', 0];
			shieldbash6 = [500, 800, 75, 0, 0, 'stun', 'Shield Bash', 26, false, 'shieldbash', 0];
			cleave1 = [23, 30, 20, 50, 0, 'ae', 'Cleave', 8, false, 'cleave', 250];
			cleave2 = [42, 48, 36, 50, 0, 'ae', 'Cleave', 12, false, 'cleave', 250];
			cleave3 = [65, 75, 73, 50, 0, 'ae', 'Cleave', 16, false, 'cleave', 250];
			cleave4 = [88, 95, 88, 50, 0, 'ae', 'Cleave', 20, false, 'cleave', 250];
			cleave5 = [109, 120, 112, 50, 0, 'ae', 'Cleave', 24, false, 'cleave', 250];
			cleave6 = [130, 165, 150, 50, 0, 'ae', 'Cleave', 28, false, 'cleave', 250];
			deathblow1 = [50, 57, 20, 25, 0, 'dd', 'Death Blow', 10, false, 'deathblow', 500];
			deathblow2 = [72, 78, 40, 25, 0, 'dd', 'Death Blow', 14, false, 'deathblow', 500];
			deathblow3 = [95, 105, 65, 25, 0, 'dd', 'Death Blow', 18, false, 'deathblow', 500];
			deathblow4 = [130, 147, 85, 25, 0, 'dd', 'Death Blow', 22, false, 'deathblow', 500];
			deathblow5 = [170, 185, 100, 25, 0, 'dd', 'Death Blow', 26, false, 'deathblow', 500];
			deathblow6 = [210, 230, 140, 25, 0, 'dd', 'Death Blow', 30, false, 'deathblow', 500];
		}
		function setRangerAbilities() {
			shootarrow1 = [6, 9, 5, 25, 0, 'dd', 'Shoot Arrow', 1, true, 'shootarrow', 0];
			shootarrow2 = [12, 16, 11, 25, 0, 'dd', 'Shoot Arrow', 6, false, 'shootarrow', 0];
			shootarrow3 = [18, 21, 17, 25, 0, 'dd', 'Shoot Arrow', 12, false, 'shootarrow', 0];
			shootarrow4 = [27, 31, 26, 25, 0, 'dd', 'Shoot Arrow', 18, false, 'shootarrow', 0];
			shootarrow5 = [37, 42, 36, 25, 0, 'dd', 'Shoot Arrow', 24, false, 'shootarrow', 0];
			shootarrow6 = [44, 55, 48, 25, 0, 'dd', 'Shoot Arrow', 30, false, 'shootarrow', 0];
			bindwound1 = [10, 15, 12, 37, 0, 'heal', 'Bind Wound', 2, false, 'bindwound', 0];
			bindwound2 = [29, 36, 30, 37, 0, 'heal', 'Bind Wound', 6, false, 'bindwound', 0];
			bindwound3 = [46, 51, 48, 37, 0, 'heal', 'Bind Wound', 10, false, 'bindwound', 0];
			bindwound4 = [70, 75, 70, 37, 0, 'heal', 'Bind Wound', 14, false, 'bindwound', 0];
			bindwound5 = [95, 102, 100, 37, 0, 'heal', 'Bind Wound', 20, false, 'bindwound', 0];
			bindwound6 = [120, 131, 125, 37, 0, 'heal', 'Bind Wound', 24, false, 'bindwound', 0];
			fetter1 = [250, 375, 7, 50, 0, 'root', 'Fetter', 4, false, 'fetter', 0];
			fetter2 = [300, 400, 16, 50, 0, 'root', 'Fetter', 8, false, 'fetter', 0];
			fetter3 = [325, 475, 25, 50, 0, 'root', 'Fetter', 12, false, 'fetter', 0];
			fetter4 = [400, 600, 36, 50, 0, 'root', 'Fetter', 16, false, 'fetter', 0];
			fetter5 = [450, 750, 47, 50, 0, 'root', 'Fetter', 22, false, 'fetter', 0];
			fetter6 = [500, 800, 60, 50, 0, 'root', 'Fetter', 26, false, 'fetter', 0];
			frostshot1 = [0, 0, 9, 50, 20, 'snare', 'Frost Shot', 6, false, 'frostshot', 0];
			frostshot2 = [0, 0, 20, 50, 35, 'snare', 'Frost Shot', 10, false, 'frostshot', 0];
			frostshot3 = [0, 0, 31, 50, 69, 'snare', 'Frost Shot', 14, false, 'frostshot', 0];
			frostshot4 = [0, 0, 48, 50, 84, 'snare', 'Frost Shot', 18, false, 'frostshot', 0];
			frostshot5 = [0, 0, 68, 50, 112, 'snare', 'Frost Shot', 22, false, 'frostshot', 0];
			frostshot6 = [0, 0, 95, 50, 135, 'snare', 'Frost Shot', 26, false, 'frostshot', 0];
			searingarrow1 = [23, 28, 30, 62, 0, 'ae', 'Searing Arrow', 8, false, 'searingarrow', 600];
			searingarrow2 = [42, 48, 49, 62, 0, 'ae', 'Searing Arrow', 12, false, 'searingarrow', 600];
			searingarrow3 = [65, 75, 85, 62, 0, 'ae', 'Searing Arrow', 16, false, 'searingarrow', 600];
			searingarrow4 = [81, 89, 100, 62, 0, 'ae', 'Searing Arrow', 20, false, 'searingarrow', 600];
			searingarrow5 = [99, 115, 120, 62, 0, 'ae', 'Searing Arrow', 24, false, 'searingarrow', 600];
			searingarrow6 = [130, 155, 170, 62, 0, 'ae', 'Searing Arrow', 28, false, 'searingarrow', 600];
			elvenshot1 = [60, 67, 40, 50, 0, 'dd', 'Elven Shot', 10, false, 'elvenshot', 750];
			elvenshot2 = [82, 88, 58, 50, 0, 'dd', 'Elven Shot', 14, false, 'elvenshot', 750];
			elvenshot3 = [97, 107, 65, 50, 0, 'dd', 'Elven Shot', 18, false, 'elvenshot', 750];
			elvenshot4 = [120, 128, 85, 50, 0, 'dd', 'Elven Shot', 22, false, 'elvenshot', 750];
			elvenshot5 = [155, 175, 100, 50, 0, 'dd', 'Elven Shot', 26, false, 'elvenshot', 750];
			elvenshot6 = [175, 195, 150, 50, 0, 'dd', 'Elven Shot', 30, false, 'elvenshot', 750];
		}
		function setEnemies() {
			tile1_1 = [];
			tile1_2 = [];
			tile1_3 = [[1, 'shadowSoldier', 247, 148, true, 1000, -45], [2, 'shadowSoldier', 235, 223, true, 1000, 45], [3, 'shadowSoldier', 392, 223, true, 1000, -135], [4, 'shadowSoldier', 450, 247, true, 1000, 0], [5, 'shadowSoldier', 290, 374, true, 1000, -90]];
			tile1_4 = [[1, 'squire', 309, 222, true, 1000, 135], [2, 'squire', 199, 342, true, 1000, 0], [3, 'squire', 435, 303, true, 1000, 0], [4, 'squire', 321, 55, true, 1000, -90], [5, 'squire', 309, 172, true, 1000, -135]];
			tile1_5 = [];
			tile1_6 = [[1, 'trainee', 409, 222, true, 1000, -45], [2, 'trainee', 355, 284, true, 1000, 135], [3, 'trainee', 472, 140, true, 1000, 0], [4, 'trainee', 231, 339, true, 1000, 0], [5, 'trainee', 228, 137, true, 1000, -135]];
			tile1_7 = [];
			tile1_8 = [[1, 'kingLightwarden', 301, 62, true, 1000, -90], [2, 'masterPaladin', 300, 171, true, 1000, -90], [3, 'devoutGamemaster', 343, 161, true, 1000, -90], [4, 'devoutGamemaster', 258, 161, true, 1000, -90]];
			tile1_9 = [[1, 'masterPaladin', 346, 218, true, 1000, -45], [2, 'masterPaladin', 445, 146, true, 1000, -90], [3, 'devoutGamemaster', 203, 152, true, 1000, -90], [4, 'masterPaladin', 166, 177, true, 1000, 0], [5, 'devoutGamemaster', 192, 353, true, 1000, -45], [6, 'masterPaladin', 210, 385, true, 1000, -45], [7, 'devoutGamemaster', 297, 265, true, 1000, 135], [8, 'masterPaladin', 295, 217, true, 1000, -135], [9, 'masterPaladin', 349, 265, true, 1000, 45]];
			tile1_10 = [[1, 'hellCaster', 324, 234, true, 1000, -135], [2, 'shadowCaptain', 223, 411, true, 1000, 135], [3, 'shadowCaptain', 197, 363, true, 1000, 180], [4, 'shadowCaptain', 167, 164, true, 1000, 0], [5, 'shadowCaptain', 322, 287, true, 1000, 135], [6, 'shadowCaptain', 374, 288, true, 1000, 45], [7, 'hellCaster', 176, 205, true, 1000, -45], [8, 'hellCaster', 168, 401, true, 1000, -45], [9, 'hellCaster', 377, 236, true, 1000, -45]];
			tile1_11 = [];
			tile1_12 = [];
			tile1_13 = [[1, 'devoutGamemaster', 254, 234, true, 1000, -135], [2, 'masterPaladin', 388, 138, true, 1000, -45], [3, 'devoutGamemaster', 255, 373, true, 1000, 0], [4, 'devoutGamemaster', 492, 393, true, 1000, 180], [5, 'masterPaladin', 258, 285, true, 1000, 135], [6, 'masterPaladin', 307, 276, true, 1000, 45], [7, 'devoutGamemaster', 331, 155, true, 1000, 180], [8, 'masterPaladin', 323, 372, true, 1000, 180], [9, 'devoutGamemaster', 307, 228, true, 1000, -45]];
			tile1_14 = [[1, 'sellsword', 313, 211, true, 1000, 0], [2, 'sellsword', 417, 99, true, 1000, -45], [3, 'sellsword', 163, 112, true, 1000, 180], [4, 'sellsword', 215, 108, true, 1000, 0], [5, 'sellsword', 268, 193, true, 1000, -135], [6, 'sellsword', 265, 236, true, 1000, 135], [7, 'sellsword', 374, 137, true, 1000, 135]];
			tile1_15 = [[1, 'redCloakGuard', 357, 178, true, 1000, -45], [2, 'redCloakGuard', 313, 219, true, 1000, 135], [3, 'redCloakGuard', 193, 232, true, 1000, 45], [4, 'redCloakGuard', 443, 295, true, 1000, -90], [5, 'redCloakGuard', 468, 260, true, 1000, 90], [6, 'redCloakGuard', 357, 220, true, 1000, 45], [7, 'redCloakGuard', 215, 198, true, 1000, 0]];
			tile2_1 = [[1, 'shadowWizard', 386, 164, true, 1000, -45], [2, 'shadowWizard', 135, 279, true, 1000, 0], [3, 'shadowWizard', 251, 264, true, 1000, -135], [4, 'shadowWizard', 310, 288, true, 1000, 0], [5, 'shadowWizard', 260, 412, true, 1000, -90]];
			tile2_2 = [[1, 'brightlakeScout', 188, 136, true, 1000, -135], [2, 'brightlakeScout', 475, 157, true, 1000, 0], [3, 'brightlakeScout', 267, 245, true, 1000, -135], [4, 'brightlakeScout', 320, 245, true, 1000, -45], [5, 'brightlakeScout', 402, 333, true, 1000, 180]];
			tile2_3 = [[1, 'brightlakeGuard', 135, 469, true, 1000, 135], [2, 'brightlakeGuard', 184, 402, true, 1000, 0], [3, 'brightlakeGuard', 363, 422, true, 1000, -135], [4, 'brightlakeGuard', 485, 435, true, 1000, 0]];
			tile2_4 = [];
			tile2_5 = [];
			tile2_6 = [];
			tile2_7 = [];
			tile2_8 = [];
			tile2_9 = [[1, 'champion', 344, 189, true, 1000, -135], [2, 'champion', 240, 116, true, 1000, 45], [3, 'champion', 225, 303, true, 1000, 0], [4, 'champion', 511, 221, true, 1000, 0], [5, 'champion', 394, 189, true, 1000, -45], [6, 'champion', 281, 116, true, 1000, 135], [7, 'champion', 366, 248, true, 1000, 90]];
			tile2_10 = [];
			tile2_11 = [];
			tile2_12 = [[1, 'aeromancer', 416, 257, true, 1000, 0], [2, 'aeromancer', 359, 257, true, 1000, 180], [3, 'aeromancer', 217, 332, true, 1000, 0], [4, 'aeromancer', 294, 340, true, 1000, -90], [5, 'aeromancer', 183, 154, true, 1000, 45], [6, 'aeromancer', 332, 370, true, 1000, 180], [7, 'aeromancer', 386, 225, true, 1000, -90], [8, 'aeromancer', 448, 146, true, 1000, 135]];
			tile2_13 = [];
			tile2_14 = [[1, 'gladiator', 350, 240, true, 1000, 45], [2, 'gladiator', 207, 80, true, 1000, 90], [3, 'gladiator', 181, 115, true, 1000, 0], [4, 'gladiator', 500, 182, true, 1000, 0], [5, 'gladiator', 300, 240, true, 1000, 135], [6, 'gladiator', 323, 181, true, 1000, -90], [7, 'gladiator', 471, 140, true, 1000, -90]];
			tile2_15 = [[1, 'hellCaster', 394, 246, true, 1000, 0], [2, 'shadowCaptain', 335, 222, true, 1000, -135], [3, 'hellCaster', 207, 338, true, 1000, 0], [4, 'shadowCaptain', 245, 407, true, 1000, 90], [5, 'hellCaster', 278, 338, true, 1000, -45], [6, 'shadowCaptain', 341, 275, true, 1000, 135], [7, 'hellCaster', 207, 238, true, 1000, 45], [8, 'shadowCaptain', 270, 173, true, 1000, 45], [9, 'shadowCaptain', 415, 372, true, 1000, -90]];
			tile3_1 = [[1, 'apprentice', 410, 283, true, 1000, -45], [2, 'apprentice', 365, 320, true, 1000, 135], [3, 'apprentice', 247, 344, true, 1000, 0], [4, 'apprentice', 498, 177, true, 1000, 0], [5, 'apprentice', 271, 125, true, 1000, 0]];
			tile3_2 = [];
			tile3_3 = [];
			tile3_4 = [];
			tile3_5 = [[1, 'brightlakeWizard', 192, 245, true, 1000, -135], [2, 'brightlakeWizard', 245, 239, true, 1000, -45], [3, 'brightlakeWizard', 390, 258, true, 1000, 0], [4, 'paladin', 117, 368, true, 1000, 0], [5, 'brightlakeWizard', 402, 333, true, 1000, 180]];
			tile3_6 = [];
			tile3_7 = [[1, 'shadowBowman', 122, 295, true, 1000, 90], [2, 'shadowBowman', 235, 425, true, 1000, -135], [3, 'shadowGuard', 290, 240, true, 1000, 0], [4, 'shadowBowman', 235, 240, true, 1000, 180]];
			tile3_8 = [[1, 'elementalist', 410, 269, true, 1000, -45], [2, 'elementalist', 365, 306, true, 1000, 135], [3, 'elementalist', 247, 330, true, 1000, 0], [4, 'elementalist', 498, 163, true, 1000, 0], [5, 'elementalist', 271, 111, true, 1000, 0], [6, 'elementalist', 214, 257, true, 1000, -90], [7, 'elementalist', 461, 123, true, 1000, 90]];
			tile3_9 = [];
			tile3_10 = [[1, 'warder', 312, 278, true, 1000, -45], [2, 'warder', 174, 171, true, 1000, -135], [3, 'warder', 409, 190, true, 1000, 180], [4, 'warder', 463, 194, true, 1000, 0], [5, 'warder', 261, 301, true, 1000, 180], [6, 'warder', 221, 171, true, 1000, -45], [7, 'warder', 192, 378, true, 1000, -45]];
			tile3_11 = [];
			tile3_12 = [];
			tile3_13 = [[1, 'hellCaster', 334, 269, true, 1000, 0], [2, 'hellCaster', 275, 245, true, 1000, -135], [3, 'fallenShadow', 284, 384, true, 1000, -90], [4, 'fallenShadow', 410, 145, true, 1000, -45], [5, 'hellCaster', 113, 260, true, 1000, 0], [6, 'hellCaster', 280, 292, true, 1000, 135], [7, 'fallenShadow', 145, 220, true, 1000, 45], [8, 'hellCaster', 373, 363, true, 1000, -135]];
			tile3_14 = [[1, 'shadowOfLight', 254, 290, true, 1000, -135], [2, 'devoutGamemaster', 175, 181, true, 1000, -135], [3, 'shadowOfLight', 307, 284, true, 1000, -45], [4, 'devoutGamemaster', 389, 378, true, 1000, 180], [5, 'shadowOfLight', 233, 187, true, 1000, 0], [6, 'devoutGamemaster', 281, 340, true, 1000, 90], [7, 'devoutGamemaster', 420, 341, true, 1000, -90], [8, 'devoutGamemaster', 170, 231, true, 1000, 135]];
			tile3_15 = [[1, 'coinchaser', 313, 242, true, 1000, 0], [2, 'coinchaser', 417, 129, true, 1000, -45], [3, 'coinchaser', 138, 300, true, 1000, 180], [4, 'coinchaser', 187, 138, true, 1000, 0], [5, 'coinchaser', 268, 224, true, 1000, -135], [6, 'coinchaser', 146, 169, true, 1000, -90], [7, 'coinchaser', 372, 123, true, 1000, -135]];
			tile4_1 = [];
			tile4_2 = [];
			tile4_3 = [[1, 'brigand', 216, 444, true, 1000, 0], [2, 'brigand', 266, 437, true, 1000, 90], [3, 'brigand', 333, 438, true, 1000, 90], [4, 'brigand', 265, 305, true, 1000, 90], [5, 'brigand', 332, 304, true, 1000, 90], [6, 'merchantGuard', 533, 202, true, 1000, 0], [7, 'merchantGuard', 482, 202, true, 1000, 180], [8, 'merchantGuard', 463, 146, true, 1000, 45]];
			tile4_4 = [];
			tile4_5 = [];
			tile4_6 = [];
			tile4_7 = [];
			tile4_8 = [];
			tile4_9 = [];
			tile4_10 = [[1, 'shadowOfLight', 321, 219, true, 1000, -45], [2, 'icecallerOfHart', 456, 185, true, 1000, 0], [3, 'shadowOfLight', 386, 144, true, 1000, 90], [4, 'shadowOfLight', 199, 180, true, 1000, 180], [5, 'icecallerOfHart', 219, 245, true, 1000, 0], [6, 'shadowOfLight', 350, 314, true, 1000, -90], [7, 'shadowOfLight', 267, 240, true, 1000, 180]];
			tile4_11 = [];
			tile4_12 = [];
			tile4_13 = [];
			tile4_14 = [];
			tile4_15 = [[1, 'forestStalker', 317, 219, true, 1000, -45], [2, 'forestStalker', 262, 216, true, 1000, -135], [3, 'forestStalker', 422, 134, true, 1000, -45], [4, 'forestStalker', 289, 279, true, 1000, 90], [5, 'forestStalker', 373, 134, true, 1000, -135], [6, 'forestStalker', 373, 134, true, 1000, -135], [7, 'forestStalker', 189, 123, true, 1000, 0], [8, 'forestStalker', 253, 413, true, 1000, -45]];
			tile5_1 = [];
			tile5_2 = [];
			tile5_3 = [];
			tile5_4 = [];
			tile5_5 = [];
			tile5_6 = [];
			tile5_7 = [];
			tile5_8 = [];
			tile5_9 = [[1, 'icecallerOfHart', 298, 291, true, 1000, -45], [2, 'icecallerOfHart', 245, 297, true, 1000, -135], [3, 'guardOfHart', 145, 170, true, 1000, -135], [4, 'icecallerOfHart', 452, 192, true, 1000, 90], [5, 'guardOfHart', 270, 348, true, 1000, 90], [6, 'icecallerOfHart', 205, 181, true, 1000, 0], [7, 'icecallerOfHart', 474, 225, true, 1000, 180]];
			tile5_10 = [[1, 'waterdancer', 360, 206, true, 1000, 0], [2, 'waterdancer', 197, 248, true, 1000, 45], [3, 'waterdancer', 309, 179, true, 1000, -135], [4, 'waterdancer', 199, 144, true, 1000, 0], [5, 'waterdancer', 227, 95, true, 1000, 90], [6, 'waterdancer', 142, 221, true, 1000, 0]];
			tile5_11 = [[1, 'shadowWard', 327, 247, true, 1000, 0], [2, 'shadowWard', 528, 199, true, 1000, -45], [3, 'shadowWard', 327, 301, true, 1000, 0], [4, 'shadowWard', 262, 192, true, 1000, -90]];
			tile5_12 = [[1, 'fallenShadow', 450, 247, true, 1000, 0], [2, 'fallenShadow', 392, 223, true, 1000, -135], [3, 'shadowWard', 258, 362, true, 1000, 45], [4, 'fallenShadow', 247, 148, true, 1000, -45], [5, 'shadowWard', 235, 208, true, 1000, 45], [6, 'fallenShadow', 300, 401, true, 1000, -90], [7, 'fallenShadow', 335, 355, true, 1000, 180]];
			tile5_13 = [];
			tile5_14 = [];
			tile5_15 = [[1, 'shadowLordXin', 483, 270, true, 1000, 0], [2, 'shadowCaptain', 374, 269, true, 1000, 0], [3, 'hellCaster', 384, 312, true, 1000, 0], [4, 'hellCaster', 384, 226, true, 1000, 0]];
			tile6_1 = [[1, 'sage', 416, 257, true, 1000, 0], [2, 'sage', 359, 252, true, 1000, 180], [3, 'sage', 217, 332, true, 1000, 0], [4, 'sage', 294, 340, true, 1000, -90], [5, 'sage', 183, 174, true, 1000, 45]];
			tile6_2 = [];
			tile6_3 = [[1, 'wizardProtector', 377, 158, true, 1000, 180], [2, 'wizardProtector', 161, 252, true, 1000, 180], [3, 'wizardProtector', 378, 342, true, 1000, -135], [4, 'wizardProtector', 182, 172, true, 1000, 45], [5, 'wizardProtector', 423, 165, true, 1000, 0]];
			tile6_4 = [[1, 'hireling', 343, 233, true, 1000, 0], [2, 'hireling', 447, 121, true, 1000, -45], [3, 'hireling', 369, 345, true, 1000, -90], [4, 'hireling', 245, 130, true, 1000, 0], [5, 'hireling', 298, 215, true, 1000, -135]];
			tile6_5 = [];
			tile6_6 = [];
			tile6_7 = [];
			tile6_8 = [[1, 'shadowKnight', 334, 269, true, 1000, 0], [2, 'necromancer', 275, 245, true, 1000, -135], [3, 'shadowKnight', 284, 393, true, 1000, -90], [4, 'necromancer', 410, 145, true, 1000, -45], [5, 'necromancer', 159, 260, true, 1000, 0]];
			tile6_9 = [];
			tile6_10 = [];
			tile6_11 = [];
			tile6_12 = [[1, 'bloodMage', 334, 282, true, 1000, 0], [2, 'bloodMage', 259, 204, true, 1000, 90], [3, 'darkRitualist', 428, 319, true, 1000, 180], [4, 'bloodMage', 280, 369, true, 1000, -90], [5, 'darkRitualist', 159, 273, true, 1000, 0], [6, 'bloodMage', 401, 170, true, 1000, 180]];
			tile6_13 = [];
			tile6_14 = [];
			tile6_15 = [[1, 'conqueror', 350, 274, true, 1000, 45], [2, 'conqueror', 198, 170, true, 1000, 0], [3, 'conqueror', 475, 216, true, 1000, 0], [4, 'conqueror', 300, 274, true, 1000, 135], [5, 'conqueror', 321, 219, true, 1000, -90], [6, 'conqueror', 216, 122, true, 1000, 45], [7, 'conqueror', 443, 170, true, 1000, -90]];
			tile7_1 = [[1, 'shadowGuard', 206, 151, true, 1000, -135], [2, 'shadowBowman', 180, 399, true, 1000, -45], [3, 'shadowGuard', 431, 218, true, 1000, 0], [4, 'shadowBowman', 403, 151, true, 1000, 135], [5, 'shadowGuard', 271, 274, true, 1000, 180], [6, 'shadowBowman', 341, 274, true, 1000, 0]];
			tile7_2 = [];
			tile7_3 = [[1, 'paladin', 375, 185, true, 1000, -135], [2, 'greenviewMage', 497, 198, true, 1000, 0], [3, 'paladin', 201, 318, true, 1000, 0], [4, 'greenviewMage', 152, 380, true, 1000, -135], [5, 'paladin', 83, 318, true, 1000, 180]];
			tile7_4 = [];
			tile7_5 = [];
			tile7_6 = [];
			tile7_7 = [[1, 'pathfinder', 262, 216, true, 1000, -135], [2, 'pathfinder', 422, 134, true, 1000, -45], [3, 'pathfinder', 289, 270, true, 1000, 90], [4, 'pathfinder', 189, 123, true, 1000, 0], [5, 'pathfinder', 253, 413, true, 1000, -45]];
			tile7_8 = [];
			tile7_9 = [];
			tile7_10 = [];
			tile7_11 = [];
			tile7_12 = [[1, 'guardOfHart', 304, 294, true, 1000, -135], [2, 'guardOfHart', 306, 346, true, 1000, 135], [3, 'guardOfHart', 142, 223, true, 1000, -135], [4, 'strikerOfHart', 411, 211, true, 1000, 180], [5, 'guardOfHart', 358, 318, true, 1000, 180], [6, 'strikerOfHart', 417, 418, true, 1000, -135]];
			tile7_13 = [];
			tile7_14 = [[1, 'strikerOfHart', 286, 271, true, 1000, -45], [2, 'strikerOfHart', 233, 277, true, 1000, -135], [3, 'strikerOfHart', 176, 168, true, 1000, -135], [4, 'strikerOfHart', 368, 365, true, 1000, 180], [5, 'holyAssassin', 440, 188, true, 1000, 0], [6, 'holyAssassin', 192, 397, true, 1000, -45]];
			tile7_15 = [[1, 'darkRitualist', 322, 310, true, 1000, 0], [2, 'darkRitualist', 263, 286, true, 1000, -135], [3, 'shadowAssassin', 272, 434, true, 1000, -90], [4, 'darkRitualist', 398, 186, true, 1000, 90], [5, 'shadowAssassin', 147, 301, true, 1000, 0], [6, 'darkRitualist', 362, 380, true, 1000, -90]];
			tile8_1 = [];
			tile8_2 = [];
			tile8_3 = [];
			tile8_4 = [];
			tile8_5 = [];
			tile8_6 = [];
			tile8_7 = [];
			tile8_8 = [[1, 'ritualist', 362, 288, true, 1000, -45], [2, 'ritualist', 318, 325, true, 1000, 135], [3, 'ritualist', 215, 341, true, 1000, 0], [4, 'ritualist', 476, 220, true, 1000, 0], [5, 'ritualist', 249, 141, true, 1000, 0], [6, 'ritualist', 444, 367, true, 1000, -135]];
			tile8_9 = [];
			tile8_10 = [];
			tile8_11 = [];
			tile8_12 = [];
			tile8_13 = [];
			tile8_14 = [];
			tile8_15 = [[1, 'channeler', 440, 329, true, 1000, -45], [2, 'channeler', 396, 367, true, 1000, 135], [3, 'channeler', 241, 301, true, 1000, -45], [4, 'channeler', 476, 220, true, 1000, 0], [5, 'channeler', 214, 252, true, 1000, 0], [6, 'channeler', 205, 145, true, 1000, -135], [7, 'channeler', 442, 183, true, 1000, 90]];
			tile9_1 = [[1, 'archer', 271, 231, true, 1000, -45], [2, 'archer', 204, 231, true, 1000, -135], [3, 'archer', 340, 278, true, 1000, 180], [4, 'archer', 367, 153, true, 1000, 180], [5, 'archer', 156, 411, true, 1000, -90]];
			tile9_2 = [];
			tile9_3 = [[1, 'madcap', 352, 269, true, 1000, 0], [2, 'madcap', 452, 208, true, 1000, -45], [3, 'madcap', 360, 379, true, 1000, -90], [4, 'madcap', 184, 211, true, 1000, 180], [5, 'madcap', 309, 251, true, 1000, -135], [6, 'madcap', 229, 337, true, 1000, -45]];
			tile9_4 = [];
			tile9_5 = [[1, 'honorGuard', 432, 174, true, 1000, 90], [2, 'honorGuard', 161, 252, true, 1000, 180], [3, 'honorGuard', 390, 355, true, 1000, -135], [4, 'honorGuard', 140, 206, true, 1000, 45], [5, 'honorGuard', 496, 374, true, 1000, 180], [6, 'honorGuard', 458, 206, true, 1000, 180]];
			tile9_6 = [[1, 'greenviewGuard', 184, 203, true, 1000, -135], [2, 'greenviewGuard', 379, 216, true, 1000, 0], [3, 'greenviewMage', 356, 354, true, 1000, 0], [4, 'greenviewGuard', 289, 400, true, 1000, 135], [5, 'greenviewMage', 163, 358, true, 1000, -45], [6, 'greenviewGuard', 292, 178, true, 1000, 90]];
			tile9_7 = [[1, 'shadowKnight', 330, 205, true, 1000, 0], [2, 'shadowKnight', 253, 165, true, 1000, 45], [3, 'shadowKnight', 216, 323, true, 1000, -45], [4, 'shadowArcher', 414, 226, true, 1000, 90], [5, 'shadowKnight', 374, 336, true, 1000, -135], [6, 'shadowArcher', 295, 367, true, 1000, -90]];
			tile9_8 = [];
			tile9_9 = [];
			tile9_10 = [[1, 'greenviewWard', 320, 387, true, 1000, -45], [2, 'sageOfLight', 268, 393, true, 1000, -135], [3, 'greenviewWard', 153, 155, true, 1000, -135], [4, 'sageOfLight', 108, 485, true, 1000, 0], [5, 'sageOfLight', 219, 169, true, 1000, 0], [6, 'sageOfLight', 180, 406, true, 1000, 0]];
			tile9_11 = [];
			tile9_12 = [];
			tile9_13 = [[1, 'holyAssassin', 402, 372, true, 1000, -135], [2, 'holyAssassin', 441, 289, true, 1000, 180], [3, 'holyAssassin', 544, 203, true, 1000, 0], [4, 'holyAssassin', 238, 187, true, 1000, -45], [5, 'sageOfLight', 185, 193, true, 1000, -135], [6, 'sageOfLight', 232, 429, true, 1000, 0]];
			tile9_14 = [[1, 'shadowAssassin', 182, 153, true, 1000, 0], [2, 'shadowAssassin', 275, 322, true, 1000, 135], [3, 'shadowTracker', 275, 441, true, 1000, -45], [4, 'shadowTracker', 411, 224, true, 1000, 180], [5, 'shadowAssassin', 398, 404, true, 1000, 0], [6, 'shadowAssassin', 229, 199, true, 1000, 135]];
			tile9_15 = [[1, 'highwayman', 354, 269, true, 1000, 0], [2, 'highwayman', 452, 208, true, 1000, -45], [3, 'highwayman', 360, 379, true, 1000, -90], [4, 'highwayman', 184, 211, true, 1000, 180], [5, 'highwayman', 309, 251, true, 1000, -135], [6, 'highwayman', 223, 349, true, 1000, -45], [7, 'highwayman', 267, 145, true, 1000, 45]];
			tile10_1 = [];
			tile10_2 = [[1, 'shadowArcher', 305, 310, true, 1000, 0], [2, 'shadowKnight', 246, 286, true, 1000, -135], [3, 'shadowArcher', 255, 434, true, 1000, -90], [4, 'shadowKnight', 381, 186, true, 1000, -45], [5, 'shadowArcher', 130, 301, true, 1000, 0]];
			tile10_3 = [[1, 'defender', 325, 294, true, 1000, 45], [2, 'defender', 180, 254, true, 1000, 0], [3, 'defender', 450, 236, true, 1000, 0], [4, 'defender', 275, 294, true, 1000, 135], [5, 'defender', 202, 158, true, 1000, 45], [6, 'defender', 309, 420, true, 1000, -90]];
			tile10_4 = [];
			tile10_5 = [[1, 'greenviewMage', 452, 178, true, 1000, -135], [2, 'greenviewGuard', 116, 157, true, 1000, 180], [3, 'greenviewMage', 219, 121, true, 1000, 0], [4, 'greenviewMage', 402, 330, true, 1000, 135], [5, 'greenviewMage', 455, 324, true, 1000, 45]];
			tile10_6 = [];
			tile10_7 = [];
			tile10_8 = [[1, 'greenviewWard', 315, 230, true, 1000, -45], [2, 'greenviewWard', 450, 221, true, 1000, 0], [3, 'greenviewWard', 197, 163, true, 1000, -90], [4, 'greenviewWard', 226, 340, true, 1000, 0]];
			tile10_9 = [];
			tile10_10 = [[1, 'pledgedTracker', 337, 212, true, 1000, 0], [2, 'pledgedTracker', 286, 212, true, 1000, 180], [3, 'pledgedTracker', 190, 241, true, 1000, 45], [4, 'pledgedTracker', 453, 314, true, 1000, -135], [5, 'pledgedTracker', 460, 261, true, 1000, -45], [6, 'pledgedTracker', 138, 228, true, 1000, 180]];
			tile10_11 = [[1, 'knight', 210, 259, true, 1000, 90], [2, 'knight', 169, 120, true, 1000, 0], [3, 'knight', 332, 232, true, 1000, 0], [4, 'knight', 175, 223, true, 1000, 180], [5, 'knight', 202, 93, true, 1000, 90], [6, 'knight', 162, 332, true, 1000, -45]];
			tile10_12 = [[1, 'necromancer', 341, 320, true, 1000, 0], [2, 'shadowTracker', 282, 296, true, 1000, -135], [3, 'necromancer', 228, 444, true, 1000, 0], [4, 'shadowTracker', 417, 196, true, 1000, 135], [5, 'shadowTracker', 166, 311, true, 1000, 0], [6, 'shadowTracker', 371, 440, true, 1000, 135]];
			tile10_13 = [[1, 'bowmaster', 325, 209, true, 1000, -45], [2, 'bowmaster', 258, 209, true, 1000, -135], [3, 'bowmaster', 422, 134, true, 1000, -45], [4, 'bowmaster', 190, 398, true, 1000, 0], [5, 'bowmaster', 392, 359, true, 1000, -135], [6, 'bowmaster', 422, 170, true, 1000, 45]];
			tile10_14 = [];
			tile10_15 = [];
			tile12_1 = [];
			tile11_1 = [];
			tile12_2 = [];
			tile11_2 = [];
			tile12_3 = [];
			tile11_3 = [];
			tile12_4 = [];
			tile11_4 = [];
			tile17_2 = [[1, 'redBat', 133, 149, true, 1000, -135], [2, 'redBat', 428, 149, true, 1000, -45], [3, 'redBat', 275, 100, true, 1000, -90]];
			tile16_2 = [[1, 'redBat', 506, 298, true, 1000, 0], [2, 'redBat', 456, 206, true, 1000, -45], [3, 'redBat', 315, 198, true, 1000, -90]];
			tile16_3 = [[1, 'redBat', 391, 255, true, 1000, 0], [2, 'redBat', 299, 139, true, 1000, -45], [3, 'redBat', 154, 130, true, 1000, -90]];
			tile15_3 = [[1, 'fireBoss', 300, 200, true, 1000, -90]];
			tile17_4 = [[1, 'blueBat', 534, 221, true, 1000, 0], [2, 'blueBat', 442, 105, true, 1000, -45], [3, 'blueBat', 297, 96, true, 1000, -90], [4, 'blueBat', 72, 353, true, 1000, 180], [5, 'blueBat', 72, 237, true, 1000, 180]];
			tile17_3 = [[1, 'blueBat', 292, 87, true, 1000, -90], [2, 'blueBat', 157, 159, true, 1000, -135], [3, 'blueBat', 104, 304, true, 1000, 180], [4, 'blueBat', 351, 510, true, 1000, 90], [5, 'blueBat', 235, 510, true, 1000, 90]];
			tile18_3 = [[1, 'blueBat', 303, 498, true, 1000, 90], [2, 'blueBat', 437, 425, true, 1000, 135], [3, 'blueBat', 490, 280, true, 1000, 0], [4, 'blueBat', 244, 74, true, 1000, -90], [5, 'blueBat', 360, 74, true, 1000, -90]];
			tile18_2 = [[1, 'iceBoss', 100, 270, true, 1000, 180]];
			tile17_5 = [[1, 'greenBat', 127, 180, true, 1000, -135], [2, 'greenBat', 463, 189, true, 1000, -45], [3, 'greenBat', 302, 130, true, 1000, -90], [4, 'greenBat', 246, 83, true, 1000, -90], [5, 'greenBat', 362, 83, true, 1000, -90]];
			tile16_5 = [[1, 'greenBat', 416, 141, true, 1000, -45], [2, 'greenBat', 164, 263, true, 1000, -135], [3, 'greenBat', 466, 316, true, 1000, 0], [4, 'greenBat', 513, 260, true, 1000, 0], [5, 'greenBat', 513, 377, true, 1000, 0]];
			tile16_6 = [[1, 'greenBat', 464, 193, true, 1000, -45], [2, 'greenBat', 302, 134, true, 1000, -90], [3, 'greenBat', 246, 88, true, 1000, -90], [4, 'greenBat', 362, 88, true, 1000, -90], [5, 'greenBat', 462, 340, true, 1000, 0]];
			tile15_6 = [[1, 'poisonBoss', 300, 200, true, 1000, -90]];
			tile17_7 = [[1, 'blackBat', 143, 297, true, 1000, 180], [2, 'blackBat', 97, 353, true, 1000, 180], [3, 'blackBat', 97, 236, true, 1000, 180], [4, 'blackBat', 97, 466, true, 1000, 135], [5, 'blackBat', 106, 130, true, 1000, -135]];
			tile17_6 = [[1, 'blackBat', 311, 476, true, 1000, 90], [2, 'blackBat', 367, 523, true, 1000, 90], [3, 'blackBat', 251, 523, true, 1000, 90], [4, 'blackBat', 481, 523, true, 1000, 45], [5, 'blackBat', 145, 514, true, 1000, 135]];
			tile18_6 = [[1, 'blackBat', 120, 297, true, 1000, 180], [2, 'blackBat', 74, 353, true, 1000, 180], [3, 'blackBat', 74, 236, true, 1000, 180], [4, 'blackBat', 73, 466, true, 1000, 135], [5, 'blackBat', 82, 130, true, 1000, -135]];
			tile18_5 = [[1, 'shadowBoss', 100, 270, true, 1000, 180], [2, 'blackBat', 138, 336, true, 1000, 135]];
			giantBat = ['Giant Bat', 'No Faction', 2, 3, 40, 15];
			brightlakeGuard = ['Brightlake Guard', 'The Alliance', 1, 2, 30, 10];
			brightlakeScout = ['Brightlake Scout', 'The Alliance', 3, 4, 60, 10];
			brightlakeWizard = ['Brightlake Wizard', 'The Alliance', 5, 6, 90, 10];
			paladin = ['Paladin', 'The Alliance', 7, 8, 120, 10];
			greenviewMage = ['Greenview Mage', 'The Alliance', 9, 10, 150, 10];
			greenviewGuard = ['Greenview Guard', 'The Alliance', 11, 12, 180, 10];
			greenviewWard = ['Greenview Ward', 'The Alliance', 13, 14, 210, 10];
			sageOfLight = ['Sage of Light', 'The Alliance', 15, 16, 240, 10];
			holyAssassin = ['Holy Assassin', 'The Alliance', 17, 18, 270, 10];
			strikerOfHart = ['Striker of Hart', 'The Alliance', 19, 20, 300, 10];
			guardOfHart = ['Guard of Hart', 'The Alliance', 21, 22, 330, 10];
			icecallerOfHart = ['Icecaller of Hart', 'The Alliance', 23, 24, 360, 10];
			shadowOfLight = ['Shadow of Light', 'The Alliance', 25, 26, 390, 10];
			devoutGamemaster = ['Devout Gamemaster', 'The Alliance', 27, 28, 420, 10];
			masterPaladin = ['Master Paladin', 'The Alliance', 29, 30, 450, 10];
			shadowSoldier = ['Shadow Soldier', 'Shadow Runners', 1, 2, 30, 10];
			shadowWizard = ['Shadow Wizard', 'Shadow Runners', 3, 4, 60, 10];
			shadowBowman = ['Shadow Bowman', 'Shadow Runners', 5, 6, 90, 10];
			shadowGuard = ['Shadow Guard', 'Shadow Runners', 7, 8, 120, 10];
			shadowArcher = ['Shadow Archer', 'Shadow Runners', 9, 10, 150, 10];
			shadowKnight = ['Shadow Knight', 'Shadow Runners', 11, 12, 180, 10];
			necromancer = ['Necromancer', 'Shadow Runners', 13, 14, 210, 10];
			shadowTracker = ['Shadow Tracker', 'Shadow Runners', 15, 16, 240, 10];
			shadowAssassin = ['Shadow Assassin', 'Shadow Runners', 17, 18, 270, 10];
			darkRitualist = ['Dark Ritualist', 'Shadow Runners', 19, 20, 300, 10];
			bloodMage = ['Blood Mage', 'Shadow Runners', 21, 22, 330, 10];
			shadowWard = ['Shadow Ward', 'Shadow Runners', 23, 24, 360, 10];
			fallenShadow = ['Fallen Shadow', 'Shadow Runners', 25, 26, 390, 10];
			hellCaster = ['Hell Caster', 'Shadow Runners', 27, 28, 420, 10];
			shadowCaptain = ['Shadow Captain', 'Shadow Runners', 29, 30, 450, 10];
			brigand = ['Brigand', 'The Mercenaries', 4, 6, 60, 10];
			hireling = ['Hireling', 'The Mercenaries', 7, 9, 120, 10];
			madcap = ['Madcap', 'The Mercenaries', 12, 14, 210, 10];
			highwayman = ['Highwayman', 'The Mercenaries', 17, 19, 270, 10];
			coinchaser = ['Coinchaser', 'The Mercenaries', 22, 24, 340, 10];
			sellsword = ['Sellsword', 'The Mercenaries', 27, 29, 420, 10];
			merchantGuard = ['Merchant Guard', 'Merchant\'s Guild', 4, 6, 60, 10];
			wizardProtector = ['Wizard Protector', 'Merchant\'s Guild', 7, 9, 120, 10];
			honorGuard = ['Honor Guard', 'Merchant\'s Guild', 12, 14, 210, 10];
			pledgedTracker = ['Pledged Tracker', 'Merchant\'s Guild', 17, 19, 270, 10];
			waterdancer = ['Waterdancer', 'Merchant\'s Guild', 22, 24, 340, 10];
			redCloakGuard = ['Red Cloak Guard', 'Merchant\'s Guild', 27, 29, 420, 10];
			squire = ['Squire', 'The Blademasters', 3, 5, 60, 10];
			defender = ['Defender', 'The Blademasters', 7, 9, 120, 10];
			knight = ['Knight', 'The Blademasters', 12, 14, 210, 10];
			conqueror = ['Conqueror', 'The Blademasters', 17, 19, 270, 10];
			champion = ['Champion', 'The Blademasters', 22, 24, 340, 10];
			gladiator = ['Gladiator', 'The Blademasters', 27, 29, 420, 10];
			apprentice = ['Apprentice', 'The Magicians', 3, 5, 60, 10];
			sage = ['Sage', 'The Magicians', 7, 9, 120, 10];
			ritualist = ['Ritualist', 'The Magicians', 12, 14, 210, 10];
			channeler = ['Channeler', 'The Magicians', 17, 19, 270, 10];
			elementalist = ['Elementalist', 'The Magicians', 22, 24, 340, 10];
			aeromancer = ['Aeromancer', 'The Magicians', 27, 29, 420, 10];
			trainee = ['Trainee', 'The Trackers', 3, 5, 60, 10];
			archer = ['Archer', 'The Trackers', 7, 9, 120, 10];
			pathfinder = ['Pathfinder', 'The Trackers', 12, 14, 210, 10];
			bowmaster = ['Bowmaster', 'The Trackers', 17, 19, 270, 10];
			warder = ['Warder', 'The Trackers', 22, 24, 340, 10];
			forestStalker = ['Forest Stalker', 'The Trackers', 27, 29, 420, 10];
			redBat = ['Fire Bat', 'Unknown', 7, 8, 120, 10];
			blueBat = ['Ice Bat', 'Unknown', 14, 15, 220, 10];
			greenBat = ['Poison Bat', 'Unknown', 22, 23, 330, 10];
			blackBat = ['Black Bat', 'Unknown', 29, 30, 430, 10];
			fireBoss = ['Emberfury', 'Unknown', 8, 8, 700, 0];
			iceBoss = ['Chillsnap', 'Unknown', 15, 15, 1600, 0];
			poisonBoss = ['Venomlash', 'Unknown', 23, 23, 2200, 0];
			shadowBoss = ['Shadowmane', 'Unknown', 31, 31, 3000, 0];
			kingLightwarden = ['King Lightwarden', 'The Alliance', 35, 35, 7500, 0];
			shadowLordXin = ['Shadow Lord Xin', 'Shadow Runners', 35, 35, 7500, 0];
		}
		function getBossLoot(bossNum, xLoot, yLoot) {
			if (bossNum == 1) {
				var v5 = random(5);
				if (v5 == 0) {
					var v4 = epicLoot[random(3)];
				} else {
					var v4 = rareLoot[random(6)];
				}
			} else {
				if (bossNum == 2) {
					var v5 = random(5);
					if (v5 == 0) {
						var v4 = epicLoot[3 + random(3)];
					} else {
						var v4 = rareLoot[6 + random(9)];
					}
				} else {
					if (bossNum == 3) {
						var v5 = random(5);
						if (v5 == 0) {
							var v4 = epicLoot[6 + random(3)];
						} else {
							var v4 = rareLoot[15 + random(6)];
						}
					} else {
						if (bossNum == 4) {
							var v5 = random(5);
							if (v5 == 0) {
								var v4 = epicLoot[9 + random(3)];
							} else {
								var v4 = rareLoot[21 + random(6)];
							}
						}
					}
				}
			}
			var v2 = 'dItem' + itemDepth;
			_root.world.attachMovie(v4, v2, ++itemDepth);
			_root.world[v2]._x = xLoot;
			_root.world[v2]._y = yLoot;
			if (itemDepth > 4099) {
				itemDepth = 4080;
			}
		}
		function setItems() {
			inventoryX = [31, 70, 109, 148, 187, 226, 31, 70, 109, 148, 187, 226, 31, 70, 109, 148, 187, 226];
			inventoryY = [66, 66, 66, 66, 66, 66, 117, 117, 117, 117, 117, 117, 168, 168, 168, 168, 168, 168];
			equipX = [-50, -229, -229, -229, -50, -50, -229, -229, -50];
			equipY = [-81, -81, -133, -31, -133, -31, 19, 69, 19];
			commonLoot = ['woodenSword', 'woodenBow', 'woodenWand', 'woodenShield', 'leatherSleeves', 'tatteredGloves', 'dentedHandguards', 'leatherBoots', 'tatteredSlippers', 'dentedLegplates', 'leatherTunic', 'tatteredSleeves', 'dentedArmguards', 'oakBow', 'jeweledEarring', 'bronzeHelmet', 'reinforcedBow', 'jeweledWand', 'goldenEaring', 'studdedGloves', 'silkSleeves', 'bronzeGloves', 'studdedSkullcap', 'silkTurban', 'bronzeBreastplate', 'emeraldBroach', 'silkTrousers', 'soldiersShield', 'studdedTunic', 'silkRobe', 'ironShortsword', 'woodsmansArmguards', 'sorcerersWand', 'mithrilBreastplate', 'woodsmansTreads', 'magiciansGloves', 'mithrilBoots', 'woodsmansCap', 'magiciansSleeves', 'mithrilVambraces', 'woodsmansLegguards', 'spellweaversWand', 'rubyNecklace', 'bowOfStorms', 'magiciansPants', 'captainsShield', 'sylvanGloves', 'spellweaversTreads', 'championsLegplates', 'sylvanBoots', 'spellweaversCap', 'captainsBlade', 'wardersNecklace', 'charmersNecklace', 'championsBoots', 'sylvanTunic', 'warlocksTouch', 'championsGauntlets', 'sylvanLeggings', 'spellweaversRobe', 'championsChestplate', 'strikersHand'];
			rareLoot = ['gladiatorsBoots', 'sharpshootersGloves', 'aeromancersSleeves', 'gladiatorsBlade', 'typhoon', 'charmersRod', 'gladiatorsGauntlets', 'sharpshootersSleeves', 'aeromancersSlippers', 'gladiatorsVambraces', 'strikersMark', 'aeromancersCharm', 'gladiatorsBreastplate', 'sharpshootersTreads', 'aeromancersGloves', 'gladiatorsJewel', 'stormchaser', 'twistedBoneRod', 'dawnsDefender', 'sharpshootersSkullcap', 'aeromancersLeggings', 'terrorBlade', 'sharpshootersLeggings', 'aeromancersCap', 'nightmareLegplates', 'windcaller', 'dragonFinger', 'nightmareHeadcover', 'sharpshootersTunic', 'aeromancersRobe'];
			epicLoot = ['gyshallsLegplates', 'halfjacksHelmet', 'blazzensRobe', 'gyshallsDefender', 'halfjacksBow', 'blazzensFireRod', 'rockwellsTempest', 'pokensLegcovers', 'nnuksCap', 'rockwellsBreastplate', 'pokensVest', 'blazzensLeggings', 'tuggosLegplates', 'legsOfTheTracker', 'robeOfTheAncients'];
			woodenSword = ['Warrior', 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 4];
			rustySword = ['Warrior', 4, 1, 1, 0, 0, 0, 0, 0, 0, 3, 5, 10];
			soldiersBlade = ['Warrior', 9, 0, 3, 3, 0, 0, 0, 0, 0, 6, 10, 20];
			ironShortsword = ['Warrior', 14, 5, 5, 5, 0, 0, 0, 0, 0, 12, 16, 35];
			blackBronzeSword = ['Warrior', 21, 10, 10, 0, 0, 0, 0, 0, 0, 15, 22, 45];
			captainsBlade = ['Warrior', 25, 10, 10, 5, 5, 0, 10, 0, 0, 20, 28, 60];
			blueSteelBlade = ['Warrior', 30, 10, 0, 10, 10, 0, 10, 10, 0, 26, 35, 75];
			woodenShield = ['Warrior', 1, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 5];
			metalBuckler = ['Warrior', 6, 2, 2, 0, 0, 0, 10, 5, 15, 0, 0, 15];
			soldiersShield = ['Warrior', 12, 0, 5, 5, 5, 0, 0, 0, 45, 0, 0, 30];
			towerShield = ['Warrior', 18, 10, 10, 10, 0, 0, 0, 20, 80, 0, 0, 50];
			captainsShield = ['Warrior', 24, 15, 15, 15, 0, 0, 10, 10, 100, 0, 0, 70];
			championsShield = ['Warrior', 30, 15, 15, 15, 5, 0, 0, 0, 150, 0, 0, 90];
			goldenEarring = ['Warrior', 8, 3, 3, 0, 0, 0, 10, 10, 0, 0, 0, 25];
			soldiersMark = ['Warrior', 14, 10, 10, 5, 0, 0, 0, 0, 15, 0, 0, 40];
			rubyNecklace = ['Warrior', 22, 15, 15, 0, 0, 0, 20, 20, 0, 0, 0, 60];
			generalsBroach = ['Warrior', 29, 20, 20, 10, 5, 5, 0, 0, 50, 0, 0, 80];
			dentedHandguards = ['Warrior', 1, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 5];
			dentedChestguard = ['Warrior', 2, 2, 1, 0, 0, 0, 0, 0, 10, 0, 0, 7];
			dentedBoots = ['Warrior', 2, 0, 0, 1, 0, 0, 0, 0, 8, 0, 0, 7];
			dentedLegplates = ['Warrior', 3, 1, 1, 0, 0, 0, 0, 0, 10, 0, 0, 10];
			dentedHelmet = ['Warrior', 4, 0, 1, 0, 0, 0, 0, 0, 8, 0, 0, 6];
			dentedArmguards = ['Warrior', 5, 3, 1, 0, 0, 0, 5, 0, 12, 0, 0, 12];
			bronzeHelmet = ['Warrior', 8, 0, 3, 0, 1, 0, 0, 0, 16, 0, 0, 16];
			bronzeGloves = ['Warrior', 9, 3, 1, 1, 0, 0, 0, 0, 15, 0, 0, 15];
			bronzeArmplates = ['Warrior', 10, 4, 0, 2, 0, 0, 0, 0, 19, 0, 0, 16];
			bronzeBreastplate = ['Warrior', 10, 2, 4, 0, 0, 0, 5, 0, 25, 0, 0, 25];
			bronzeLegplates = ['Warrior', 11, 3, 3, 3, 0, 0, 10, 0, 20, 0, 0, 20];
			bronzeBoots = ['Warrior', 11, 2, 2, 5, 0, 0, 5, 10, 18, 0, 0, 18];
			mithrilGauntlets = ['Warrior', 13, 5, 3, 3, 0, 0, 5, 5, 25, 0, 0, 25];
			mithrilBreastplate = ['Warrior', 14, 3, 7, 3, 5, 0, 15, 15, 35, 0, 0, 35];
			mithrilLegplates = ['Warrior', 15, 3, 3, 3, 3, 0, 0, 10, 30, 0, 0, 30];
			mithrilBoots = ['Warrior', 16, 0, 5, 2, 0, 0, 10, 0, 25, 0, 0, 25];
			mithrilHeadguard = ['Warrior', 17, 0, 10, 0, 5, 0, 5, 5, 30, 0, 0, 30];
			mithrilVambraces = ['Warrior', 17, 10, 0, 10, 0, 0, 10, 10, 40, 0, 0, 40];
			championsLegplates = ['Warrior', 24, 5, 10, 10, 5, 0, 15, 10, 55, 0, 0, 45];
			championsArmguards = ['Warrior', 24, 10, 5, 10, 0, 0, 15, 15, 55, 0, 0, 50];
			championsBoots = ['Warrior', 25, 8, 12, 12, 5, 0, 20, 20, 60, 0, 0, 60];
			championsGauntlets = ['Warrior', 26, 12, 8, 12, 5, 0, 15, 15, 60, 0, 0, 60];
			championsHelmet = ['Warrior', 27, 5, 15, 5, 15, 0, 0, 20, 50, 0, 0, 50];
			championsChestplate = ['Warrior', 28, 10, 15, 10, 10, 0, 30, 30, 75, 0, 0, 75];
			gladiatorsBoots = ['Warrior', 2, 2, 2, 0, 0, 0, 10, 0, 15, 0, 0, 20];
			gladiatorsBlade = ['Warrior', 5, 2, 2, 0, 0, 0, 0, 0, 0, 10, 15, 25];
			gladiatorsGauntlets = ['Warrior', 8, 5, 4, 4, 0, 0, 5, 5, 20, 0, 0, 30];
			gladiatorsVambraces = ['Warrior', 11, 8, 5, 5, 0, 0, 10, 10, 30, 0, 0, 30];
			gladiatorsBreastplate = ['Warrior', 15, 5, 7, 5, 0, 0, 15, 15, 45, 0, 0, 50];
			gladiatorsJewel = ['Warrior', 18, 15, 15, 5, 5, 0, 20, 20, 10, 0, 0, 60];
			dawnsDefender = ['Warrior', 21, 12, 20, 12, 10, 0, 10, 10, 115, 0, 0, 80];
			terrorBlade = ['Warrior', 24, 12, 12, 5, 5, 0, 15, 15, 0, 25, 32, 80];
			nightmareLegplates = ['Warrior', 27, 15, 15, 15, 5, 0, 20, 20, 65, 0, 0, 85];
			nightmareHeadcover = ['Warrior', 30, 15, 15, 15, 15, 0, 0, 30, 70, 0, 0, 90];
			gyshallsLegplates = ['Warrior', 6, 5, 5, 5, 0, 0, 15, 15, 30, 0, 0, 50];
			gyshallsDefender = ['Warrior', 12, 12, 12, 12, 0, 0, 20, 20, 90, 0, 0, 80];
			rockwellsTempest = ['Warrior', 18, 12, 12, 5, 5, 0, 15, 15, 0, 18, 28, 60];
			rockwellsArmor = ['Warrior', 24, 20, 20, 20, 10, 0, 50, 50, 100, 0, 0, 100];
			tuggosLegplates = ['Warrior', 30, 25, 25, 20, 20, 0, 55, 55, 110, 0, 0, 150];
			deathsHand = ['Warrior', 30, 20, 10, 15, 10, 0, 50, 50, 0, 32, 40, 175];
			theHeartstone = ['Ranger', 30, 50, 50, 50, 50, 50, 500, 500, 0, 0, 0, 0];
			woodenBow = ['Ranger', 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 4];
			oakBow = ['Ranger', 5, 0, 1, 1, 0, 0, 0, 0, 0, 2, 4, 10];
			reinforcedBow = ['Ranger', 10, 3, 5, 0, 0, 0, 0, 0, 0, 7, 10, 20];
			pathfindersBow = ['Ranger', 15, 5, 0, 5, 5, 0, 0, 0, 0, 13, 17, 35];
			bowOfStorms = ['Ranger', 20, 0, 5, 10, 5, 0, 0, 0, 0, 16, 21, 45];
			twilightBow = ['Ranger', 24, 5, 5, 15, 5, 0, 5, 5, 0, 20, 27, 60];
			strikersHand = ['Ranger', 30, 15, 0, 15, 15, 0, 10, 10, 0, 27, 34, 75];
			silverEarring = ['Ranger', 5, 0, 3, 3, 2, 0, 10, 10, 0, 0, 0, 25];
			emeraldBroach = ['Ranger', 12, 0, 10, 13, 0, 0, 0, 0, 15, 0, 0, 40];
			huntersMark = ['Ranger', 20, 0, 15, 10, 5, 0, 15, 15, 0, 0, 0, 60];
			wardersNecklace = ['Ranger', 27, 0, 20, 30, 15, 0, 0, 0, 50, 0, 0, 80];
			leatherTunic = ['Ranger', 5, 3, 0, 1, 0, 0, 0, 5, 8, 0, 0, 12];
			leatherLeggings = ['Ranger', 4, 1, 1, 1, 0, 0, 0, 0, 6, 0, 0, 10];
			leatherGloves = ['Ranger', 1, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 5];
			leatherSleeves = ['Ranger', 2, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 5];
			leatherSkullcap = ['Ranger', 3, 0, 0, 0, 1, 0, 0, 0, 5, 0, 0, 7];
			leatherBoots = ['Ranger', 2, 0, 1, 1, 0, 0, 0, 0, 5, 0, 0, 7];
			studdedTunic = ['Ranger', 13, 5, 0, 4, 0, 0, 10, 0, 12, 0, 0, 16];
			studdedLeggings = ['Ranger', 12, 3, 3, 4, 0, 0, 10, 0, 12, 0, 0, 20];
			studdedSleeves = ['Ranger', 10, 3, 2, 3, 0, 0, 3, 3, 11, 0, 0, 18];
			studdedSkullcap = ['Ranger', 11, 0, 4, 2, 2, 0, 0, 0, 9, 0, 0, 15];
			studdedBoots = ['Ranger', 9, 1, 1, 7, 0, 0, 10, 10, 11, 0, 0, 18];
			studdedGloves = ['Ranger', 10, 2, 2, 4, 0, 0, 0, 5, 15, 0, 0, 15];
			woodsmansVest = ['Ranger', 21, 3, 7, 5, 5, 0, 15, 15, 28, 0, 0, 35];
			woodsmansLegguards = ['Ranger', 20, 5, 5, 7, 5, 0, 0, 10, 26, 0, 0, 30];
			woodsmansGloves = ['Ranger', 16, 5, 3, 5, 5, 0, 5, 5, 21, 0, 0, 25];
			woodsmansArmguards = ['Ranger', 17, 5, 5, 5, 0, 0, 0, 10, 21, 0, 0, 25];
			woodsmansCap = ['Ranger', 19, 0, 10, 5, 5, 0, 5, 0, 24, 0, 0, 30];
			woodsmansTreads = ['Ranger', 18, 2, 5, 10, 0, 0, 10, 10, 25, 0, 0, 25];
			sylvanTunic = ['Ranger', 28, 10, 15, 20, 10, 0, 5, 20, 45, 0, 0, 75];
			sylvanLeggings = ['Ranger', 28, 8, 10, 15, 5, 0, 5, 15, 38, 0, 0, 65];
			sylvanGloves = ['Ranger', 24, 12, 8, 17, 10, 0, 5, 15, 36, 0, 0, 60];
			sylvanArmguards = ['Ranger', 25, 10, 5, 15, 0, 0, 5, 15, 33, 0, 0, 50];
			sylvanCap = ['Ranger', 26, 5, 15, 10, 15, 0, 5, 20, 30, 0, 0, 50];
			sylvanBoots = ['Ranger', 27, 8, 12, 20, 5, 0, 5, 20, 36, 0, 0, 60];
			sharpshootersGloves = ['Ranger', 2, 0, 2, 2, 0, 0, 10, 0, 9, 0, 0, 20];
			typhoon = ['Ranger', 5, 0, 0, 2, 0, 0, 0, 5, 0, 10, 15, 25];
			sharpshootersSleeves = ['Ranger', 8, 5, 0, 10, 0, 0, 5, 5, 12, 0, 0, 30];
			strikersMark = ['Ranger', 11, 5, 10, 18, 0, 0, 5, 5, 15, 0, 0, 40];
			sharpshootersTreads = ['Ranger', 14, 3, 7, 10, 0, 0, 15, 15, 20, 0, 0, 50];
			stormchaser = ['Ranger', 17, 0, 5, 15, 5, 0, 5, 5, 0, 17, 23, 45];
			sharpshootersSkullcap = ['Ranger', 20, 15, 5, 15, 15, 0, 25, 5, 35, 0, 0, 50];
			sharpshootersLeggings = ['Ranger', 23, 8, 15, 20, 10, 0, 5, 10, 45, 0, 0, 65];
			windcaller = ['Ranger', 27, 5, 12, 15, 10, 0, 15, 15, 0, 28, 35, 80];
			sharpshootersTunic = ['Ranger', 30, 10, 15, 25, 10, 0, 15, 25, 55, 0, 0, 95];
			halfjacksHelmet = ['Ranger', 5, 4, 4, 2, 5, 0, 5, 5, 12, 0, 0, 15];
			halfjacksBow = ['Ranger', 11, 5, 5, 5, 5, 0, 5, 5, 0, 15, 21, 45];
			pokensLegcovers = ['Ranger', 17, 5, 10, 20, 5, 0, 10, 0, 38, 0, 0, 65];
			pokensVest = ['Ranger', 26, 15, 20, 25, 10, 0, 50, 50, 60, 0, 0, 100];
			legsOfTheTracker = ['Ranger', 30, 20, 20, 35, 15, 0, 55, 55, 70, 0, 0, 150];
			furyOfTheGlade = ['Ranger', 30, 10, 10, 25, 10, 0, 50, 50, 0, 32, 40, 175];
			woodenWand = ['Wizard', 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 4];
			silverWand = ['Wizard', 4, 0, 0, 0, 1, 1, 0, 0, 0, 2, 4, 10];
			jeweledWand = ['Wizard', 9, 0, 3, 0, 2, 5, 0, 0, 0, 7, 10, 20];
			sorcerersWand = ['Wizard', 14, 0, 0, 0, 5, 5, 0, 0, 0, 13, 17, 35];
			spellweaversWand = ['Wizard', 19, 0, 5, 0, 5, 10, 0, 0, 0, 16, 21, 45];
			wandOfElements = ['Wizard', 23, 0, 8, 0, 5, 15, 5, 5, 0, 20, 27, 60];
			warlocksTouch = ['Wizard', 28, 0, 15, 0, 10, 15, 10, 10, 0, 27, 34, 75];
			jeweledEarring = ['Wizard', 5, 0, 1, 0, 4, 3, 10, 10, 0, 0, 0, 25];
			sapphireBroach = ['Wizard', 12, 0, 7, 0, 9, 9, 0, 0, 8, 0, 0, 40];
			magiciansMark = ['Wizard', 20, 0, 5, 0, 15, 10, 15, 15, 0, 0, 0, 60];
			charmersNecklace = ['Wizard', 27, 0, 20, 0, 20, 20, 0, 0, 20, 0, 0, 80];
			tatteredGloves = ['Wizard', 1, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 5];
			tatteredSlippers = ['Wizard', 2, 0, 0, 0, 1, 0, 0, 0, 3, 0, 0, 7];
			tatteredSleeves = ['Wizard', 3, 0, 0, 0, 0, 1, 0, 0, 3, 0, 0, 5];
			tatteredCap = ['Wizard', 4, 0, 0, 0, 1, 1, 0, 0, 4, 0, 0, 7];
			tatteredLeggings = ['Wizard', 5, 0, 1, 0, 1, 1, 0, 0, 5, 0, 0, 10];
			tatteredRobe = ['Wizard', 6, 0, 0, 0, 3, 1, 5, 5, 6, 0, 0, 12];
			silkGloves = ['Wizard', 8, 0, 2, 0, 2, 4, 0, 5, 8, 0, 0, 15];
			silkSlippers = ['Wizard', 9, 0, 3, 2, 4, 2, 0, 0, 8, 0, 0, 18];
			silkSleeves = ['Wizard', 10, 0, 0, 0, 3, 2, 5, 5, 8, 0, 0, 18];
			silkTurban = ['Wizard', 11, 0, 4, 0, 2, 4, 0, 0, 9, 0, 0, 15];
			silkTrousers = ['Wizard', 12, 0, 3, 2, 3, 0, 10, 10, 12, 0, 0, 20];
			silkRobe = ['Wizard', 13, 0, 0, 0, 5, 4, 0, 10, 12, 0, 0, 16];
			magiciansGloves = ['Wizard', 16, 0, 3, 5, 5, 5, 5, 5, 18, 0, 0, 25];
			magiciansTreads = ['Wizard', 17, 0, 5, 0, 10, 4, 10, 10, 18, 0, 0, 25];
			magiciansSleeves = ['Wizard', 18, 0, 0, 0, 7, 7, 0, 10, 19, 0, 0, 25];
			magiciansCap = ['Wizard', 19, 0, 10, 0, 5, 10, 0, 0, 19, 0, 0, 30];
			magiciansPants = ['Wizard', 20, 0, 5, 0, 7, 10, 8, 8, 21, 0, 0, 30];
			magiciansRobs = ['Wizard', 21, 0, 5, 0, 10, 10, 12, 12, 23, 0, 0, 35];
			spellweaversGloves = ['Wizard', 24, 0, 5, 0, 9, 16, 5, 15, 26, 0, 0, 60];
			spellweaversTreads = ['Wizard', 25, 0, 5, 5, 10, 15, 15, 5, 26, 0, 0, 60];
			spellweaversSleeves = ['Wizard', 26, 0, 3, 3, 12, 12, 10, 10, 27, 0, 0, 50];
			spellweaversCap = ['Wizard', 27, 0, 10, 5, 15, 15, 10, 15, 27, 0, 0, 50];
			spellweaversPants = ['Wizard', 28, 0, 10, 8, 18, 18, 10, 10, 30, 0, 0, 65];
			spellweaversRobe = ['Wizard', 29, 0, 15, 5, 15, 20, 15, 15, 34, 0, 0, 75];
			aeromancersSleeves = ['Wizard', 2, 0, 2, 0, 2, 0, 5, 5, 7, 0, 0, 20];
			charmersRod = ['Wizard', 5, 0, 0, 0, 1, 2, 0, 5, 0, 9, 15, 25];
			aeromancersSlippers = ['Wizard', 8, 0, 5, 0, 8, 3, 5, 5, 10, 0, 0, 30];
			aeromancersCharm = ['Wizard', 11, 0, 10, 0, 10, 10, 5, 5, 0, 0, 0, 40];
			aeromancersGloves = ['Wizard', 14, 0, 3, 0, 8, 12, 15, 15, 18, 0, 0, 50];
			twistedBoneRod = ['Wizard', 17, 0, 5, 0, 5, 10, 5, 5, 0, 17, 24, 45];
			aeromancersLeggings = ['Wizard', 20, 0, 5, 0, 15, 20, 5, 15, 29, 0, 0, 50];
			aeromancersCap = ['Wizard', 23, 0, 15, 0, 18, 18, 15, 10, 32, 0, 0, 65];
			dragonFinger = ['Wizard', 27, 0, 8, 0, 10, 20, 15, 25, 0, 28, 35, 80];
			aeromancersRobe = ['Wizard', 30, 0, 15, 10, 20, 20, 15, 25, 38, 0, 0, 75];
			blazzensRobe = ['Wizard', 6, 0, 4, 0, 5, 5, 5, 5, 12, 0, 0, 15];
			blazzensFireRod = ['Wizard', 11, 0, 5, 0, 5, 10, 5, 5, 0, 16, 21, 45];
			nnuksCap = ['Wizard', 17, 0, 8, 0, 20, 15, 10, 0, 38, 0, 0, 65];
			blazzensLeggings = ['Wizard', 23, 0, 20, 10, 20, 15, 50, 50, 38, 0, 0, 100];
			robeOfTheAncients = ['Wizard', 30, 0, 25, 10, 30, 25, 60, 60, 50, 0, 0, 150];
			terrorOfNnuk = ['Wizard', 30, 0, 15, 10, 20, 20, 50, 50, 0, 32, 41, 175];
		}
		stopAllSounds();
		_root.playerName = _root.pName;
		_root.world.hero.swapDepths(89996);
		factionLevels = ['The Alliance', 'Neutral', 3, 900, 1000, 'Shadow Runners', 'Unfriendly', 4, 900, 1000, 'Merchant\'s Guild', 'Neutral', 3, 10, 1000, 'The Mercenaries', 'Neutral', 3, 10, 1000, 'The Trackers', 'Neutral', 3, 100, 1000, 'The Magicians', 'Neutral', 3, 100, 1000, 'The Blademasters', 'Neutral', 3, 100, 1000];
		expSplits = [10, 10, 20, 35, 48, 63, 80, 100, 123, 148, 175, 205, 238, 273, 310, 350, 393, 438, 485, 535, 588, 643, 700, 760, 823, 888, 955, 1025, 1098, 1373, 1650, 2030, 2413, 2498, 1585, 1675, 1768, 1863, 1960, 2060, 2163, 2268, 2375, 2485, 2598, 2713, 2830, 2950, 3073, 3198, 3325, 3455, 3588, 3723, 3860, 4000, 4143, 4288, 4435, 4585, 4738, 4893, 5050, 5210, 5373, 5538, 5705, 5875, 6048, 6223, 6400, 6580, 6763, 6948, 7135, 7325, 7518, 7713, 7910, 8110, 8313, 8518, 8725, 8935, 9148, 9363, 9580, 9800, 10023, 10248, 10475, 10705, 10938, 11173, 11410, 11650, 11893, 12138, 12385, 12635];
		activeQuests = ['', '', '', '', '', '', ''];
		inventory = ['', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''];
		tutorialDone = [false, false, false, false, false, false, false, false, false, false, false];
		tutorialName = ['game', 'quest', 'combat', 'character', 'abilities', 'interface', 'factions', 'class', 'sell', 'welcome', 'factions2'];
		pendingNum = '';
		curEnergyPots = 3;
		curHealthPots = 3;
		gold = 30;
		armor = 50;
		level = 1;
		str = 5;
		vit = 5;
		agi = 5;
		inte = 15;
		foc = 15;
		expToLevel = expSplits[level];
		baseEnergy = 50 + level * 25;
		itemEnergy = 0;
		inteEnergy = inte * 2;
		maxEnergy = baseEnergy + itemEnergy + inteEnergy;
		curEnergy = maxEnergy;
		baseHP = 50 + level * 20;
		itemHP = 0;
		vitHP = vit * 4;
		maxHP = baseHP + itemHP + vitHP;
		curHP = maxHP;
		pointsLeft = 0;
		curExp = 0;
		charRow = 11;
		charCol = 1;
		minWeapon = 1;
		maxWeapon = 2;
		heroSpeed = 2.8 + agi * 0.005;
		allowMove = true;
		heroStunned = false;
		heroRooted = false;
		heroSnared = false;
		stunDuration = 0;
		stunTimer = 0;
		inCave = false;
		inCity = true;
		inStore = true;
		_root.world.charInfo.expBar._xscale = (curExp / expToLevel) * 100;
		trainingCosts = [20, 45, 95, 200, 350, 650];
		heroDead = false;
		playingCombatSong = false;
		gameOver = false;
		safetyTimer = 0;
		aSoundPlayed = false;
		allowSpam = true;
		spamTimer = 0;
		var my_cm;
		my_cm = new ContextMenu();
		my_cm.hideBuiltInItems();
		var myFirstItem_cmi;
		myFirstItem_cmi = new ContextMenuItem('(c)2008 - axis-games.com', myFirstItemHandler);
		my_cm.customItems.push(myFirstItem_cmi);
		itemsOnGround = [];
		_root.menu = my_cm;
		_root.world.mainMenu.characterMenu.itemStats.swapDepths(50009);
		_root.world.charInfo.swapDepths(100001);
		_root.world.targetInfo.swapDepths(100002);
		_root.world.castMeter.swapDepths(100003);
		_root.world.potionsBar.swapDepths(100004);
		_root.world.factionUp.swapDepths(100005);
		_root.world.factionDown.swapDepths(100006);
		_root.world.spellBar.swapDepths(100007);
		_root.world.gameBar.swapDepths(100008);
		_root.world.chatWindow.swapDepths(100009);
		_root.world.trainingWindow.swapDepths(100010);
		_root.world.merchantWindow.swapDepths(100011);
		_root.world.saveWindow.swapDepths(100012);
		_root.world.mainMenu.swapDepths(100013);
		_root.world.transition.swapDepths(1400000);
		_root.world.mainMenu.characterMenu.offHandEquip.swapDepths(50008);
		_root.world.mainMenu.characterMenu.mainHandEquip.swapDepths(50007);
		_root.world.mainMenu.characterMenu.headEquip.swapDepths(50006);
		_root.world.mainMenu.characterMenu.handEquip.swapDepths(50005);
		_root.world.mainMenu.characterMenu.chestEquip.swapDepths(50004);
		_root.world.mainMenu.characterMenu.armEquip.swapDepths(50003);
		_root.world.mainMenu.characterMenu.feetEquip.swapDepths(50002);
		_root.world.mainMenu.characterMenu.legEquip.swapDepths(50001);
		_root.world.targetMarker.swapDepths(1000);
		_root.world.charInfo.hpNumbers._visible = false;
		_root.world.charInfo.energyNumbers._visible = false;
		_root.world.charInfo.expNumbers._visible = false;
		_root.world.mainMenu._x = 300;
		_root.world.mainMenu._y = 300;
		_root.questHighlighted = 'null';
		_root.world.charInfo._x = 5;
		_root.world.charInfo._y = 5;
		_root.world.charInfo._alpha = 90;
		_root.characterA = 90;
		_root.characterX = 5;
		_root.characterY = 5;
		_root.world.targetInfo._x = 425;
		_root.world.targetInfo._y = 5;
		_root.world.targetInfo._alpha = 90;
		_root.targetX = 425;
		_root.targetY = 5;
		_root.targetA = 90;
		_root.world.spellBar._x = 5;
		_root.world.spellBar._y = 540;
		_root.world.spellBar._alpha = 90;
		_root.spellX = 5;
		_root.spellY = 540;
		_root.spellA = 90;
		_root.world.castMeter._x = 225;
		_root.world.castMeter._y = 495;
		_root.world.castMeter._alpha = 90;
		_root.castX = 225;
		_root.castY = 495;
		_root.castA = 90;
		_root.world.gameBar._x = 325;
		_root.world.gameBar._y = 540;
		_root.world.gameBar._alpha = 90;
		_root.gameX = 325;
		_root.gameY = 540;
		_root.gameA = 90;
		_root.world.potionsBar._x = 15;
		_root.world.potionsBar._y = 75;
		_root.world.potionsBar._alpha = 90;
		_root.potionsX = 15;
		_root.potionsY = 75;
		_root.potionsA = 90;
		_root.world.spellBar.aetile._visible = false;
		_root.world.spellBar.ddtile._visible = false;
		soundOn = true;
		musicOn = true;
		showFactions = true;
		enemiesDead = 0;
		depth = 1001;
		deathDepth = 2000;
		arrowDepth = 2050;
		goldDepth = 4030;
		questDepth = 4060;
		itemDepth = 4080;
		questDepth = 6000;
		invDepth = 6010;
		enemyDepth = 7000;
		sctDepth = 130000;
		iconDepth = 5999;
		_root.world.mainMenu._visible = false;
		menuVisible = false;
		tutorials = true;
		gameQuality = 3;
		targetLevel = '';
		targetName = 'No Target';
		factionName = 'Faction Name';
		_root.world.targetInfo.factionIndicator.gotoAndStop(3);
		_root.world.targetInfo.hpBar._xscale = 0;
		savedLevel = '';
		savedName = 'No Target';
		savedFaction = 'Faction Name';
		savedStanding = 3;
		savedHp = 0;
		savedX = -1000;
		savedY = -1000;
		dragging = false;
		draggingItem = '';
		dragTimer = 0;
		allowDrag = true;
		questVisible = false;
		spawnTimer = 0;
		pendingSpawn = new Array();
		currentTarget = '';
		savedTarget = '';
		_root.world.gotoAndStop(charRow + ',' + charCol);
		cityPoints = [2, 3, 9, 4, 8, 13, 3, 12];
		cavePoints = [1, 5, 10, 1, 10, 15, 1, 12];
		caveCol = [2, 4, 5, 7];
		questSelectedItem = '';
		startWheelTimer = false;
		var myMouseListener = new Object();
		Mouse.addListener(myMouseListener);
		globalCD = false;
		allowCast = false;
		_root.world.castMeter._visible = false;
		setItems();
		if (playerClass == 'Wizard') {
			_root.world.mainMenu.characterMenu.handEquip.swapDepths(_root.world.mainMenu.characterMenu.chestEquip);
			wizardSpellArray = ['', 'fireball', 'heal', 'bondsofair', 'frostbite', 'firenova', 'energybolt'];
			classFaction = 'theMagicians';
			classFactionNum = 28;
			keyStat = 'foc';
			chestEquip = 'Wizard';
			weaponEquip = 'woodenWand';
			headEquip = 'head';
			shieldEquip = '';
			equipment = ['', '', '', '', '', '', 'woodenWand', '', ''];
			_root.world.mainMenu.characterMenu.attachMovie('woodenWandInv', 'item6010', ++_root.invDepth);
			_root.world.mainMenu.characterMenu.item6010._x = equipX[6];
			_root.world.mainMenu.characterMenu.item6010._y = equipY[6];
			fireballRank = 1;
			bondsofairRank = 0;
			healRank = 0;
			frostbiteRank = 0;
			firenovaRank = 0;
			energyboltRank = 0;
			activeSpell = 'fireball1';
			spellList = ['fireball1', '', '', '', '', ''];
			rootEffect = 'bondsofair_effect';
			snareEffect = 'frostbite_effect';
			firenovaCDTimer = 0;
			energyboltCDTimer = 0;
			aeSpell = 'firenova';
			ddSpell = 'energybolt';
			factionLevels[26] = 'Friendly';
			factionLevels[27] = 2;
			factionLevels[28] = 500;
			factionLevels[29] = 3000;
			setWizardAbilities();
		} else {
			if (playerClass == 'Ranger') {
				rangerSpellArray = ['', 'shootarrow', 'bindwound', 'fetter', 'frostshot', 'searingarrow', 'elvenshot'];
				classFaction = 'theTrackers';
				classFactionNum = 23;
				keyStat = 'agi';
				chestEquip = 'Ranger';
				weaponEquip = 'woodenBow';
				headEquip = 'head';
				shieldEquip = '';
				equipment = ['', '', '', '', '', '', 'woodenBow', '', ''];
				_root.world.mainMenu.characterMenu.attachMovie('woodenBowInv', 'item6010', ++_root.invDepth);
				_root.world.mainMenu.characterMenu.item6010._x = equipX[6];
				_root.world.mainMenu.characterMenu.item6010._y = equipY[6];
				shootarrowRank = 1;
				bindwoundRank = 0;
				fetterRank = 0;
				frostshotRank = 0;
				searingarrowRank = 0;
				elvenshotRank = 0;
				activeSpell = 'shootarrow1';
				spellList = ['shootarrow1', '', '', '', '', ''];
				rootEffect = 'fetter_effect';
				snareEffect = 'frostshot_effect';
				_root.world.gameBar.charImages.gotoAndStop(2);
				searingarrowCDTimer = 0;
				elvenshotCDTimer = 0;
				aeSpell = 'searingarrow';
				ddSpell = 'elvenshot';
				factionLevels[21] = 'Friendly';
				factionLevels[22] = 2;
				factionLevels[23] = 500;
				factionLevels[24] = 3000;
				str = 5;
				vit = 5;
				agi = 15;
				inte = 15;
				foc = 5;
				setRangerAbilities();
			} else {
				if (playerClass == 'Warrior') {
					_root.world.mainMenu.characterMenu.feetEquip.swapDepths(_root.world.mainMenu.characterMenu.legEquip);
					warriorSpellArray = ['', 'stab', 'mendwound', 'frostblade', 'shieldbash', 'cleave', 'deathblow'];
					classFaction = 'theBlademasters';
					classFactionNum = 33;
					keyStat = 'str';
					chestEquip = 'Warrior';
					weaponEquip = 'woodenSword';
					headEquip = 'head';
					shieldEquip = 'woodenShield';
					equipment = ['', '', '', '', '', '', 'woodenSword', 'woodenShield', ''];
					_root.world.mainMenu.characterMenu.attachMovie('woodenSwordInv', 'item6010', ++_root.invDepth);
					_root.world.mainMenu.characterMenu.item6010._x = equipX[6];
					_root.world.mainMenu.characterMenu.item6010._y = equipY[6];
					_root.world.mainMenu.characterMenu.attachMovie('woodenShieldInv', 'item6011', ++_root.invDepth);
					_root.world.mainMenu.characterMenu.item6011._x = equipX[7];
					_root.world.mainMenu.characterMenu.item6011._y = equipY[7];
					stabRank = 1;
					frostbladeRank = 0;
					mendwoundRank = 0;
					shieldbashRank = 0;
					cleaveRank = 0;
					deathblowRank = 0;
					activeSpell = 'stab1';
					spellList = ['stab1', '', '', '', '', ''];
					snareEffect = 'frostblade_effect';
					rootEffect = 'shieldbash_effect';
					_root.world.gameBar.charImages.gotoAndStop(3);
					cleaveCDTimer = 0;
					deathblowCDTimer = 0;
					aeSpell = 'cleave';
					ddSpell = 'deathblow';
					factionLevels[31] = 'Friendly';
					factionLevels[32] = 2;
					factionLevels[33] = 500;
					factionLevels[34] = 3000;
					str = 10;
					vit = 15;
					agi = 5;
					inte = 15;
					foc = 5;
					setWarriorAbilities();
				}
			}
		}
		spellPosition = 1;
		castInProgress = false;
		globalTimer = 0;
		spellAttached = false;
		setQuests();
		if (_root.gameLoaded) {
			loadGame();
		}
		setSpellBar();
		setEnemies();
		aggroTimer = 0;
		tileCheck = 'tile' + charRow + '_' + charCol;
		enemiesInTile = _root[tileCheck].length;
		aggroRange = 100;
		inCombat = false;
		dimReturnsValue = 50;
		dimReturnsRoot = 40 + level * 5;
		dimRetLvlAdj = 35;
		snareValue = 0.2;
		snareLength = 600;
		mapTransition();
		_root.playSound('city');
		showTutorial(9);
		_root.onEnterFrame = function () {
			moveHero();
			collisionDetection();
			changeSpell();
			executeCast();
			aggroCheck();
			spawnEnemies();
			regen();
			dragItems();
		};
		_root.onMouseDown = function () {
			xMouse = _root.world._xmouse;
			yMouse = _root.world._ymouse;
			if (!running && !menuVisible && !globalCD && allowCast && !heroStunned && !questVisible && !heroDead && _root.tutorialWindow._currentframe == 1) {
				if (!_root.world.spellBar.hitTest(xMouse, yMouse) && !_root.world.gameBar.hitTest(xMouse, yMouse) && !_root.world.potionsBar.hitTest(xMouse, yMouse) && !_root.world.charInfo.hitTest(xMouse, yMouse) && !_root.world.targetInfo.hitTest(xMouse, yMouse) && _root.world.merchantWindow._currentframe == 1) {
					if (playerClass == 'Warrior') {
						if (_root[activeSpell][9] != 'shieldbash') {
							if (_root.equipment[6] != '') {
								castSpell();
							} else {
								_root.showMessage('You must equip a weapon first');
							}
						} else {
							if (_root.equipment[7] != '') {
								castSpell();
							} else {
								_root.showMessage('You must equip a shield first');
							}
						}
					} else {
						if (_root.equipment[6] != '') {
							castSpell();
						} else {
							_root.showMessage('You must equip a weapon first');
						}
					}
				}
			}
			if (abilityDrag) {
				var v2 = 0;
				while (v2 < 6) {
					var v3 = 'slot' + (v2 + 1);
					if (_root.world.mainMenu.abilitiesMenu.attachedIcon.hitTest(_root.world.mainMenu.abilitiesMenu[v3])) {
						if (activeSpell == spellList[v2]) {
							if (draggingItem != '') {
								activeSpell = draggingItem;
							} else {
								if (spellList[0] != '') {
									activeSpell = spellList[0];
									spellPosition = 1;
								} else {
									if (spellList[1] != '') {
										activeSpell = spellList[1];
										spellPosition = 2;
									} else {
										if (spellList[2] != '') {
											activeSpell = spellList[2];
											spellPosition = 3;
										} else {
											if (spellList[3] != '') {
												activeSpell = spellList[3];
												spellPosition = 4;
											} else {
												if (spellList[4] != '') {
													activeSpell = spellList[4];
													spellPosition = 5;
												} else {
													if (spellList[5] != '') {
														activeSpell = spellList[5];
														spellPosition = 6;
													}
												}
											}
										}
									}
								}
								_root.world.spellBar.spellIndicator.gotoAndStop(spellPosition);
							}
						}
						spellList[v2] = draggingItem;
						var v4 = _root.spellList[v2];
						_root.world.mainMenu.abilitiesMenu[v3].gotoAndStop(_root[v4][9]);
						_root.world.spellBar[v3].gotoAndStop(_root[v4][9]);
						if (spellList[v2] == '') {
							_root.world.mainMenu.abilitiesMenu[v3].gotoAndStop(1);
							_root.world.spellBar[v3].gotoAndStop(1);
						}
						playSound('intClick');
						break;
					}
					++v2;
				}
				_root.world.mainMenu.abilitiesMenu.attachedIcon.removeMovieClip();
				aSoundPlayed = false;
				abilityDrag = false;
			}
		};
		stop();
	}
	movieClip 8114	{
		frame 1 {
			stop();
		}
		frame 2 {
			this.gotoAndStop(1);
		}
		frame 3 {
			this.gotoAndStop(1);
		}
		frame 4 {
			this.gotoAndStop(1);
		}
		frame 10 {
			this.gotoAndStop(1);
		}
		frame 11 {
			this.gotoAndStop(1);
		}
		frame 20 {
			this.gotoAndStop(1);
		}
		frame 27 {
			this.gotoAndStop(1);
		}
		frame 28 {
			this.gotoAndStop(1);
		}
		frame 35 {
			this.gotoAndStop(1);
		}
		frame 36 {
			this.gotoAndStop(1);
		}
		frame 37 {
			this.gotoAndStop(1);
		}
		frame 44 {
			this.gotoAndStop(1);
		}
		frame 45 {
			this.gotoAndStop(1);
		}
		frame 46 {
			this.gotoAndStop(1);
		}
		frame 55 {
			this.gotoAndStop(1);
		}
		frame 56 {
			this.gotoAndStop(1);
		}
		frame 63 {
			this.gotoAndStop(1);
		}
		frame 64 {
			this.gotoAndStop(1);
		}
		frame 71 {
			this.gotoAndStop(1);
		}
		frame 79 {
			this.gotoAndStop(1);
		}
		frame 80 {
			this.gotoAndStop(1);
		}
		frame 88 {
			this.gotoAndStop(1);
		}
		frame 89 {
			this.gotoAndStop(1);
		}
		frame 100 {
			this.gotoAndStop(1);
		}
		frame 101 {
			this.gotoAndStop(1);
		}
		frame 110 {
			this.gotoAndStop(1);
		}
		frame 111 {
			this.gotoAndStop(1);
		}
		frame 117 {
			this.gotoAndStop(1);
		}
		frame 118 {
			this.gotoAndStop(1);
		}
		frame 126 {
			this.gotoAndStop(1);
		}
		frame 134 {
			this.gotoAndStop(1);
		}
		frame 142 {
			this.gotoAndStop(1);
		}
		frame 143 {
			this.gotoAndStop(1);
		}
		frame 152 {
			this.gotoAndStop(1);
		}
		frame 153 {
			this.gotoAndStop(1);
		}
		frame 162 {
			this.gotoAndStop(1);
		}
		frame 168 {
			this.gotoAndStop(1);
		}
		frame 174 {
			this.gotoAndStop(1);
		}
		frame 179 {
			this.gotoAndStop(1);
		}
		frame 184 {
			this.gotoAndStop(1);
		}
		frame 192 {
			this.gotoAndStop(1);
		}
		frame 197 {
			this.gotoAndStop(1);
		}
		frame 205 {
			this.gotoAndStop(1);
		}
		frame 213 {
			this.gotoAndStop(1);
		}
		frame 219 {
			this.gotoAndStop(1);
		}
		frame 225 {
			this.gotoAndStop(1);
		}
		frame 230 {
			this.gotoAndStop(1);
		}
		frame 235 {
			this.gotoAndStop(1);
		}
		frame 240 {
			this.gotoAndStop(1);
		}
		frame 245 {
			this.gotoAndStop(1);
		}
		frame 250 {
			this.gotoAndStop(1);
		}
		frame 255 {
			this.gotoAndStop(1);
		}
		frame 260 {
			this.gotoAndStop(1);
		}
		frame 265 {
			this.gotoAndStop(1);
		}
		frame 270 {
			this.gotoAndStop(1);
		}
		frame 275 {
			this.gotoAndStop(1);
		}
		frame 280 {
			this.gotoAndStop(1);
		}
		frame 285 {
			this.gotoAndStop(1);
		}
		frame 290 {
			this.gotoAndStop(1);
		}
		frame 296 {
			this.gotoAndStop(1);
		}
		frame 303 {
			this.gotoAndStop(1);
		}
		frame 309 {
			this.gotoAndStop(1);
		}
		frame 316 {
			this.gotoAndStop(1);
		}
	}
	movieClip 8117	{
	}
	movieClip 8120	{
	}
	movieClip 8122	{
	}
	movieClip 8124	{
	}
	movieClip 8127	{
	}
	movieClip 8128	{
	}
	movieClip 8131	{
	}
	movieClip 8133	{
	}
	movieClip 8137	{
		frame 1 {
			stop();
		}
	}
	movieClip 8140	{
	}
	movieClip 8142	{
	}
	movieClip 8144	{
	}
	movieClip 8145	{
		instance of movieClip 8128	{
			onClipEvent (rollOver) {
				_root.world.charInfo.hpNumbers._visible = true;
				_root.world.charInfo.hpText._visible = false;
				_root.playSound('rollOver');
			}
			onClipEvent (rollOut) {
				_root.world.charInfo.hpNumbers._visible = false;
				_root.world.charInfo.hpText._visible = true;
			}
		}
		instance of movieClip 8128	{
			onClipEvent (rollOver) {
				_root.world.charInfo.energyNumbers._visible = true;
				_root.world.charInfo.energyText._visible = false;
				_root.playSound('rollOver');
			}
			onClipEvent (rollOut) {
				_root.world.charInfo.energyNumbers._visible = false;
				_root.world.charInfo.energyText._visible = true;
			}
		}
		instance of movieClip 8128	{
			onClipEvent (rollOver) {
				_root.world.charInfo.expNumbers.txt.text = _root.curExp + ' / ' + _root.expToLevel;
				_root.world.charInfo.expNumbers._visible = true;
				_root.world.charInfo.expText._visible = false;
				_root.playSound('rollOver');
			}
			onClipEvent (rollOut) {
				_root.world.charInfo.expNumbers._visible = false;
				_root.world.charInfo.expText._visible = true;
			}
		}
	}
	movieClip 8148	{
	}
	movieClip 8150	{
	}
	movieClip 8152	{
	}
	movieClip 8154	{
	}
	movieClip 8156	{
	}
	movieClip 8157	{
		frame 1 {
			stop();
		}
	}
	movieClip 8158	{
	}
	movieClip 8161	{
	}
	movieClip 8167	{
	}
	movieClip 8168	{
		frame 1 {
			stop();
		}
	}
	movieClip 8169	{
	}
	movieClip 8173	{
		frame 1 {
			stop();
		}
	}
	button 8177 {
		on (release) {
			_root.world.spellBar.spellIndicator.gotoAndStop(this.slot);
			_root.activeSpell = _root.spellList[this.slot - 1];
			_root.spellPosition = this.slot;
		}
	}
	movieClip 8179	{
	}
	button 8181 {
		on (release) {
			_root.world.spellBar.spellIndicator.gotoAndStop(this.slot);
			_root.activeSpell = _root.spellList[this.slot - 1];
			_root.spellPosition = this.slot;
		}
	}
	movieClip 8183	{
	}
	button 8185 {
		on (release) {
			_root.world.spellBar.spellIndicator.gotoAndStop(this.slot);
			_root.activeSpell = _root.spellList[this.slot - 1];
			_root.spellPosition = this.slot;
		}
	}
	movieClip 8187	{
	}
	button 8189 {
		on (release) {
			_root.world.spellBar.spellIndicator.gotoAndStop(this.slot);
			_root.activeSpell = _root.spellList[this.slot - 1];
			_root.spellPosition = this.slot;
		}
	}
	movieClip 8191	{
	}
	button 8193 {
		on (release) {
			_root.world.spellBar.spellIndicator.gotoAndStop(this.slot);
			_root.activeSpell = _root.spellList[this.slot - 1];
			_root.spellPosition = this.slot;
		}
	}
	button 8197 {
		on (release) {
			_root.world.spellBar.spellIndicator.gotoAndStop(this.slot);
			_root.activeSpell = _root.spellList[this.slot - 1];
			_root.spellPosition = this.slot;
		}
	}
	button 8199 {
		on (release) {
			_root.world.spellBar.spellIndicator.gotoAndStop(this.slot);
			_root.activeSpell = _root.spellList[this.slot - 1];
			_root.spellPosition = this.slot;
		}
	}
	button 8201 {
		on (release) {
			_root.world.spellBar.spellIndicator.gotoAndStop(this.slot);
			_root.activeSpell = _root.spellList[this.slot - 1];
			_root.spellPosition = this.slot;
		}
	}
	button 8203 {
		on (release) {
			_root.world.spellBar.spellIndicator.gotoAndStop(this.slot);
			_root.activeSpell = _root.spellList[this.slot - 1];
			_root.spellPosition = this.slot;
		}
	}
	button 8205 {
		on (release) {
			_root.world.spellBar.spellIndicator.gotoAndStop(this.slot);
			_root.activeSpell = _root.spellList[this.slot - 1];
			_root.spellPosition = this.slot;
		}
	}
	button 8207 {
		on (release) {
			_root.world.spellBar.spellIndicator.gotoAndStop(this.slot);
			_root.activeSpell = _root.spellList[this.slot - 1];
			_root.spellPosition = this.slot;
		}
	}
	button 8209 {
		on (release) {
			_root.world.spellBar.spellIndicator.gotoAndStop(this.slot);
			_root.activeSpell = _root.spellList[this.slot - 1];
			_root.spellPosition = this.slot;
		}
	}
	button 8211 {
		on (release) {
			_root.world.spellBar.spellIndicator.gotoAndStop(this.slot);
			_root.activeSpell = _root.spellList[this.slot - 1];
			_root.spellPosition = this.slot;
		}
	}
	button 8213 {
		on (release) {
			_root.world.spellBar.spellIndicator.gotoAndStop(this.slot);
			_root.activeSpell = _root.spellList[this.slot - 1];
			_root.spellPosition = this.slot;
		}
	}
	button 8215 {
		on (release) {
			_root.world.spellBar.spellIndicator.gotoAndStop(this.slot);
			_root.activeSpell = _root.spellList[this.slot - 1];
			_root.spellPosition = this.slot;
		}
	}
	button 8217 {
		on (release) {
			_root.world.spellBar.spellIndicator.gotoAndStop(this.slot);
			_root.activeSpell = _root.spellList[this.slot - 1];
			_root.spellPosition = this.slot;
		}
	}
	button 8219 {
		on (release) {
			_root.world.spellBar.spellIndicator.gotoAndStop(this.slot);
			_root.activeSpell = _root.spellList[this.slot - 1];
			_root.spellPosition = this.slot;
		}
	}
	movieClip 8221	{
	}
	button 8223 {
		on (release) {
			_root.world.spellBar.spellIndicator.gotoAndStop(this.slot);
			_root.activeSpell = _root.spellList[this.slot - 1];
			_root.spellPosition = this.slot;
		}
	}
	movieClip 8224	{
		frame 1 {
			stop();
		}
	}
	movieClip 8239	{
		frame 1 {
			stop();
		}
	}
	movieClip 8240	{
		instance slot1 of movieClip 8224	{
			onClipEvent (load) {
				this.slot = 1;
			}
		}
		instance slot2 of movieClip 8224	{
			onClipEvent (load) {
				this.slot = 2;
			}
		}
		instance slot3 of movieClip 8224	{
			onClipEvent (load) {
				this.slot = 3;
			}
		}
		instance slot6 of movieClip 8224	{
			onClipEvent (load) {
				this.slot = 6;
			}
		}
		instance slot5 of movieClip 8224	{
			onClipEvent (load) {
				this.slot = 5;
			}
		}
		instance slot4 of movieClip 8224	{
			onClipEvent (load) {
				this.slot = 4;
			}
		}
	}
	movieClip 8244	{
	}
	movieClip 8247	{
	}
	movieClip 8248	{
	}
	movieClip 8251	{
	}
	button 8253 {
		on (release) {
			if (_root.dragging == false && _root.menuVisible) {
				_root.playSound('intClick');
				_root.world.mainMenu._visible = false;
				_root.menuVisible = false;
			} else {
				_root.playSound('intClick');
				_root.world.mainMenu.characterMenu._visible = true;
				_root.menuVisible = true;
				_root.world.mainMenu.gotoAndStop('character');
				_root.world.mainMenu._visible = true;
				_root.characterMenu();
			}
		}
		on (rollOver) {
			_root.allowCast = false;
			_root.playSound('rollOver');
		}
		on (rollOut) {
			if (!_root.menuVisible) {
				_root.allowCast = true;
			}
		}
	}
	movieClip 8258	{
	}
	button 8263 {
		on (release) {
			if (_root.dragging == false && _root.menuVisible) {
				_root.playSound('intClick');
				_root.world.mainMenu._visible = false;
				_root.menuVisible = false;
			} else {
				_root.playSound('intClick');
				_root.menuVisible = true;
				_root.world.mainMenu.gotoAndStop('map');
				_root.world.mainMenu._visible = true;
				_root.mapMenu();
			}
		}
		on (rollOver) {
			_root.allowCast = false;
			_root.playSound('rollOver');
		}
		on (rollOut) {
			if (!_root.menuVisible) {
				_root.allowCast = true;
			}
		}
	}
	movieClip 8268	{
	}
	button 8273 {
		on (release) {
			if (_root.dragging == false && _root.menuVisible) {
				_root.playSound('intClick');
				_root.world.mainMenu._visible = false;
				_root.menuVisible = false;
			} else {
				_root.playSound('intClick');
				_root.menuVisible = true;
				_root.world.mainMenu.gotoAndStop('questlog');
				_root.world.mainMenu._visible = true;
				_root.questMenu();
			}
		}
		on (rollOver) {
			_root.allowCast = false;
			_root.playSound('rollOver');
		}
		on (rollOut) {
			if (!_root.menuVisible) {
				_root.allowCast = true;
			}
		}
	}
	movieClip 8278	{
	}
	button 8283 {
		on (release) {
			if (_root.dragging == false && _root.menuVisible) {
				_root.playSound('intClick');
				_root.world.mainMenu._visible = false;
				_root.menuVisible = false;
			} else {
				_root.playSound('intClick');
				_root.menuVisible = true;
				_root.world.mainMenu.gotoAndStop('abilities');
				_root.world.mainMenu._visible = true;
				_root.abilitiesMenu();
			}
		}
		on (rollOver) {
			_root.allowCast = false;
			_root.playSound('rollOver');
		}
		on (rollOut) {
			if (!_root.menuVisible) {
				_root.allowCast = true;
			}
		}
	}
	movieClip 8284	{
	}
	movieClip 8289	{
	}
	movieClip 8292	{
	}
	button 8296 {
		on (release) {
			if (_root.dragging == false && _root.menuVisible) {
				_root.playSound('intClick');
				_root.world.mainMenu._visible = false;
				_root.showTutorial(6);
				_root.menuVisible = false;
			} else {
				_root.playSound('intClick');
				_root.menuVisible = true;
				_root.world.mainMenu.gotoAndStop('factions');
				_root.world.mainMenu._visible = true;
				_root.factionsMenu();
			}
		}
		on (rollOver) {
			_root.allowCast = false;
			_root.playSound('rollOver');
		}
		on (rollOut) {
			if (!_root.menuVisible) {
				_root.allowCast = true;
			}
		}
	}
	movieClip 8301	{
	}
	button 8306 {
		on (release) {
			if (_root.dragging == false && _root.menuVisible) {
				_root.playSound('intClick');
				_root.world.mainMenu._visible = false;
				_root.menuVisible = false;
			} else {
				_root.playSound('intClick');
				_root.menuVisible = true;
				_root.world.mainMenu.gotoAndStop('game');
				_root.world.mainMenu._visible = true;
				_root.world.mainMenu.gameMenu.gotoAndStop('game');
				_root.gameMenu();
			}
		}
		on (rollOver) {
			_root.allowCast = false;
			_root.playSound('rollOver');
		}
		on (rollOut) {
			if (!_root.menuVisible) {
				_root.allowCast = true;
			}
		}
	}
	movieClip 8315	{
		frame 1 {
			stop();
		}
	}
	movieClip 8316	{
	}
	movieClip 8317	{
	}
	button 8323 {
		on (release) {
			_root.useHealthPot();
		}
		on (rollOver) {
			_root.playSound('rollOver');
		}
	}
	movieClip 8325	{
	}
	button 8328 {
		on (release) {
			_root.useEnePot();
		}
		on (rollOver) {
			_root.playSound('rollOver');
		}
	}
	movieClip 8332	{
	}
	movieClip 8333	{
	}
	movieClip 8336	{
	}
	movieClip 8344	{
	}
	button 8345 {
		on (release) {
			stopAllSounds();
			_root.playSound('city');
			_root.allowMove = true;
			_root.heroDead = false;
			_root.allowCast = true;
			_root.world.transition.play();
			_root.showMessage('You died and lost ' + _root.level * 5 + ' experience');
		}
	}
	movieClip 8349	{
		frame 1 {
			stop();
		}
	}
	movieClip 8350	{
		frame 1 {
			stop();
		}
		frame 2 {
			_root.despawn = true;
			_root.allowMove = false;
		}
		frame 12 {
			_root.mapTransition();
			if (_root.heroDead) {
				stopAllSounds();
				_root.playSound('deadHero');
				_root.allowMove = false;
				_root.allowCast = false;
				stop();
			}
			if (_root.gameOver) {
				_root.world.hero._visible = false;
				_root.canMove = false;
				_root.allowCast = false;
				_root.world.charInfo._visible = false;
				_root.world.potionsBar._visible = false;
				_root.world.targetInfo._visible = false;
				_root.world.castMeter._visible = false;
				_root.world.spellBar._visible = false;
				_root.world.gameBar._visible = false;
				var i = 0;
				while (i <= 10) {
					var tempE = 'enemy' + i;
					_root.world[tempE].removeMovieClip();
					++i;
				}
				_root.gotoAndStop('victoryVideo');
			}
		}
		instance respawnWindow of movieClip 8349	{
			onClipEvent (enterFrame) {
				if (!_root.heroDead) {
					this.gotoAndStop(1);
				} else {
					this.gotoAndStop(2);
				}
			}
		}
		frame 25 {
			this.gotoAndStop(1);
		}
	}
	movieClip 8352	{
		frame 1 {
			stop();
		}
	}
	movieClip 8353	{
		frame 1 {
			stop();
		}
	}
	movieClip 8369	{
		frame 1 {
			stop();
		}
	}
	button 8370 {
		on (rollOver) {
			if (_root['fireball' + (_root.fireballRank + 1)][7] <= _root.level) {
				_root.world.trainingWindow.costText.text = 'Cost: ' + _root.trainingCosts[_root.fireballRank];
				_root.world.trainingWindow.gold._visible = true;
			}
		}
		on (rollOut) {
			_root.world.trainingWindow.costText.text = '';
			_root.world.trainingWindow.gold._visible = false;
		}
		on (release) {
			if (_root['fireball' + (_root.fireballRank + 1)][7] <= _root.level) {
				if (_root.gold >= _root.trainingCosts[_root.fireballRank]) {
					_root.gold -= _root.trainingCosts[_root.fireballRank];
					if (_root.activeSpell == 'fireball' + _root.fireballRank) {
						_root.activeSpell = 'fireball' + (_root.fireballRank + 1);
					}
					++_root.fireballRank;
					_root['fireball' + _root.fireballRank][8] = true;
					_root.updateSpellList('fireball');
					_root.setTrainingWindow(_root.wizardSpellArray);
				} else {
					if (_root.gold < _root.trainingCosts[_root.fireballRank]) {
						_root.showMessage('You need more gold');
					}
				}
			} else {
				_root.showMessage('You can\'t train that yet');
			}
		}
	}
	button 8371 {
		on (rollOver) {
			if (_root['bondsofair' + (_root.bondsofairRank + 1)][7] <= _root.level) {
				_root.world.trainingWindow.costText.text = 'Cost: ' + _root.trainingCosts[_root.bondsofairRank];
				_root.world.trainingWindow.gold._visible = true;
			}
		}
		on (rollOut) {
			_root.world.trainingWindow.costText.text = '';
			_root.world.trainingWindow.gold._visible = false;
		}
		on (release) {
			if (_root['bondsofair' + (_root.bondsofairRank + 1)][7] <= _root.level) {
				if (_root.gold >= _root.trainingCosts[_root.bondsofairRank]) {
					_root.gold -= _root.trainingCosts[_root.bondsofairRank];
					if (_root.activeSpell == 'bondsofair' + _root.bondsofairRank) {
						_root.activeSpell = 'bondsofair' + (_root.bondsofairRank + 1);
					}
					++_root.bondsofairRank;
					_root['bondsofair' + _root.bondsofairRank][8] = true;
					_root.updateSpellList('bondsofair');
					_root.setTrainingWindow(_root.wizardSpellArray);
				} else {
					if (_root.gold < _root.trainingCosts[_root.bondsofairRank]) {
						_root.showMessage('You need more gold');
					}
				}
			} else {
				_root.showMessage('You can\'t train that yet');
			}
		}
	}
	button 8372 {
		on (rollOver) {
			if (_root['heal' + (_root.healRank + 1)][7] <= _root.level) {
				_root.world.trainingWindow.costText.text = 'Cost: ' + _root.trainingCosts[_root.healRank];
				_root.world.trainingWindow.gold._visible = true;
			}
		}
		on (rollOut) {
			_root.world.trainingWindow.costText.text = '';
			_root.world.trainingWindow.gold._visible = false;
		}
		on (release) {
			if (_root['heal' + (_root.healRank + 1)][7] <= _root.level) {
				if (_root.gold >= _root.trainingCosts[_root.healRank]) {
					_root.gold -= _root.trainingCosts[_root.healRank];
					if (_root.activeSpell == 'heal' + _root.healRank) {
						_root.activeSpell = 'heal' + (_root.healRank + 1);
					}
					++_root.healRank;
					_root['heal' + _root.healRank][8] = true;
					_root.updateSpellList('heal');
					_root.setTrainingWindow(_root.wizardSpellArray);
				} else {
					if (_root.gold < _root.trainingCosts[_root.healRank]) {
						_root.showMessage('You need more gold');
					}
				}
			} else {
				_root.showMessage('You can\'t train that yet');
			}
		}
	}
	button 8373 {
		on (rollOver) {
			if (_root['firenova' + (_root.firenovaRank + 1)][7] <= _root.level) {
				_root.world.trainingWindow.costText.text = 'Cost: ' + _root.trainingCosts[_root.firenovaRank];
				_root.world.trainingWindow.gold._visible = true;
			}
		}
		on (rollOut) {
			_root.world.trainingWindow.costText.text = '';
			_root.world.trainingWindow.gold._visible = false;
		}
		on (release) {
			if (_root['firenova' + (_root.firenovaRank + 1)][7] <= _root.level) {
				if (_root.gold >= _root.trainingCosts[_root.firenovaRank]) {
					_root.gold -= _root.trainingCosts[_root.firenovaRank];
					if (_root.activeSpell == 'firenova' + _root.firenovaRank) {
						_root.activeSpell = 'firenova' + (_root.firenovaRank + 1);
					}
					++_root.firenovaRank;
					_root['firenova' + _root.firenovaRank][8] = true;
					_root.updateSpellList('firenova');
					_root.setTrainingWindow(_root.wizardSpellArray);
				} else {
					if (_root.gold < _root.trainingCosts[_root.firenovaRank]) {
						_root.showMessage('You need more gold');
					}
				}
			} else {
				_root.showMessage('You can\'t train that yet');
			}
		}
	}
	button 8374 {
		on (rollOver) {
			if (_root['energybolt' + (_root.energyboltRank + 1)][7] <= _root.level) {
				_root.world.trainingWindow.costText.text = 'Cost: ' + _root.trainingCosts[_root.energyboltRank];
				_root.world.trainingWindow.gold._visible = true;
			}
		}
		on (rollOut) {
			_root.world.trainingWindow.costText.text = '';
			_root.world.trainingWindow.gold._visible = false;
		}
		on (release) {
			if (_root['energybolt' + (_root.energyboltRank + 1)][7] <= _root.level) {
				if (_root.gold >= _root.trainingCosts[_root.energyboltRank]) {
					_root.gold -= _root.trainingCosts[_root.energyboltRank];
					if (_root.activeSpell == 'energybolt' + _root.energyboltRank) {
						_root.activeSpell = 'energybolt' + (_root.energyboltRank + 1);
					}
					++_root.energyboltRank;
					_root['energybolt' + _root.energyboltRank][8] = true;
					_root.updateSpellList('energybolt');
					_root.setTrainingWindow(_root.wizardSpellArray);
				} else {
					if (_root.gold < _root.trainingCosts[_root.energyboltRank]) {
						_root.showMessage('You need more gold');
					}
				}
			} else {
				_root.showMessage('You can\'t train that yet');
			}
		}
	}
	button 8375 {
		on (rollOver) {
			if (_root['frostbite' + (_root.frostbiteRank + 1)][7] <= _root.level) {
				_root.world.trainingWindow.costText.text = 'Cost: ' + _root.trainingCosts[_root.frostbiteRank];
				_root.world.trainingWindow.gold._visible = true;
			}
		}
		on (rollOut) {
			_root.world.trainingWindow.costText.text = '';
			_root.world.trainingWindow.gold._visible = false;
		}
		on (release) {
			if (_root['frostbite' + (_root.frostbiteRank + 1)][7] <= _root.level) {
				if (_root.gold >= _root.trainingCosts[_root.frostbiteRank]) {
					_root.gold -= _root.trainingCosts[_root.frostbiteRank];
					if (_root.activeSpell == 'frostbite' + _root.frostbiteRank) {
						_root.activeSpell = 'frostbite' + (_root.frostbiteRank + 1);
					}
					++_root.frostbiteRank;
					_root['frostbite' + _root.frostbiteRank][8] = true;
					_root.updateSpellList('frostbite');
					_root.setTrainingWindow(_root.wizardSpellArray);
				} else {
					if (_root.gold < _root.trainingCosts[_root.frostbiteRank]) {
						_root.showMessage('You need more gold');
					}
				}
			} else {
				_root.showMessage('You can\'t train that yet');
			}
		}
	}
	button 8376 {
		on (rollOver) {
			if (_root['shieldbash' + (_root.shieldbashRank + 1)][7] <= _root.level) {
				_root.world.trainingWindow.costText.text = 'Cost: ' + _root.trainingCosts[_root.shieldbashRank];
				_root.world.trainingWindow.gold._visible = true;
			}
		}
		on (rollOut) {
			_root.world.trainingWindow.costText.text = '';
			_root.world.trainingWindow.gold._visible = false;
		}
		on (release) {
			if (_root['shieldbash' + (_root.shieldbashRank + 1)][7] <= _root.level) {
				if (_root.gold >= _root.trainingCosts[_root.shieldbashRank]) {
					_root.gold -= _root.trainingCosts[_root.shieldbashRank];
					if (_root.activeSpell == 'shieldbash' + _root.shieldbashRank) {
						_root.activeSpell = 'shieldbash' + (_root.shieldbashRank + 1);
					}
					++_root.shieldbashRank;
					_root['shieldbash' + _root.shieldbashRank][8] = true;
					_root.updateSpellList('shieldbash');
					_root.setTrainingWindow(_root.warriorSpellArray);
				} else {
					if (_root.gold < _root.trainingCosts[_root.shieldbashRank]) {
						_root.showMessage('You need more gold');
					}
				}
			} else {
				_root.showMessage('You can\'t train that yet');
			}
		}
	}
	button 8377 {
		on (rollOver) {
			if (_root['mendwound' + (_root.mendwoundRank + 1)][7] <= _root.level) {
				_root.world.trainingWindow.costText.text = 'Cost: ' + _root.trainingCosts[_root.mendwoundRank];
				_root.world.trainingWindow.gold._visible = true;
			}
		}
		on (rollOut) {
			_root.world.trainingWindow.costText.text = '';
			_root.world.trainingWindow.gold._visible = false;
		}
		on (release) {
			if (_root['mendwound' + (_root.mendwoundRank + 1)][7] <= _root.level) {
				if (_root.gold >= _root.trainingCosts[_root.mendwoundRank]) {
					_root.gold -= _root.trainingCosts[_root.mendwoundRank];
					if (_root.activeSpell == 'mendwound' + _root.mendwoundRank) {
						_root.activeSpell = 'mendwound' + (_root.mendwoundRank + 1);
					}
					++_root.mendwoundRank;
					_root['mendwound' + _root.mendwoundRank][8] = true;
					_root.updateSpellList('mendwound');
					_root.setTrainingWindow(_root.warriorSpellArray);
				} else {
					if (_root.gold < _root.trainingCosts[_root.mendwoundRank]) {
						_root.showMessage('You need more gold');
					}
				}
			} else {
				_root.showMessage('You can\'t train that yet');
			}
		}
	}
	button 8378 {
		on (rollOver) {
			if (_root['frostblade' + (_root.frostbladeRank + 1)][7] <= _root.level) {
				_root.world.trainingWindow.costText.text = 'Cost: ' + _root.trainingCosts[_root.frostbladeRank];
				_root.world.trainingWindow.gold._visible = true;
			}
		}
		on (rollOut) {
			_root.world.trainingWindow.costText.text = '';
			_root.world.trainingWindow.gold._visible = false;
		}
		on (release) {
			if (_root['frostblade' + (_root.frostbladeRank + 1)][7] <= _root.level) {
				if (_root.gold >= _root.trainingCosts[_root.frostbladeRank]) {
					_root.gold -= _root.trainingCosts[_root.frostbladeRank];
					if (_root.activeSpell == 'frostblade' + _root.frostbladeRank) {
						_root.activeSpell = 'frostblade' + (_root.frostbladeRank + 1);
					}
					++_root.frostbladeRank;
					_root['frostblade' + _root.frostbladeRank][8] = true;
					_root.updateSpellList('frostblade');
					_root.setTrainingWindow(_root.warriorSpellArray);
				} else {
					if (_root.gold < _root.trainingCosts[_root.frostbladeRank]) {
						_root.showMessage('You need more gold');
					}
				}
			} else {
				_root.showMessage('You can\'t train that yet');
			}
		}
	}
	button 8381 {
		on (rollOver) {
			if (_root['cleave' + (_root.cleaveRank + 1)][7] <= _root.level) {
				_root.world.trainingWindow.costText.text = 'Cost: ' + _root.trainingCosts[_root.cleaveRank];
				_root.world.trainingWindow.gold._visible = true;
			}
		}
		on (rollOut) {
			_root.world.trainingWindow.costText.text = '';
			_root.world.trainingWindow.gold._visible = false;
		}
		on (release) {
			if (_root['cleave' + (_root.cleaveRank + 1)][7] <= _root.level) {
				if (_root.gold >= _root.trainingCosts[_root.cleaveRank]) {
					_root.gold -= _root.trainingCosts[_root.cleaveRank];
					if (_root.activeSpell == 'cleave' + _root.cleaveRank) {
						_root.activeSpell = 'cleave' + (_root.cleaveRank + 1);
					}
					++_root.cleaveRank;
					_root['cleave' + _root.cleaveRank][8] = true;
					_root.updateSpellList('cleave');
					_root.setTrainingWindow(_root.warriorSpellArray);
				} else {
					if (_root.gold < _root.trainingCosts[_root.cleaveRank]) {
						_root.showMessage('You need more gold');
					}
				}
			} else {
				_root.showMessage('You can\'t train that yet');
			}
		}
	}
	button 8382 {
		on (rollOver) {
			if (_root['deathblow' + (_root.deathblowRank + 1)][7] <= _root.level) {
				_root.world.trainingWindow.costText.text = 'Cost: ' + _root.trainingCosts[_root.deathblowRank];
				_root.world.trainingWindow.gold._visible = true;
			}
		}
		on (rollOut) {
			_root.world.trainingWindow.costText.text = '';
			_root.world.trainingWindow.gold._visible = false;
		}
		on (release) {
			if (_root['deathblow' + (_root.deathblowRank + 1)][7] <= _root.level) {
				if (_root.gold >= _root.trainingCosts[_root.deathblowRank]) {
					_root.gold -= _root.trainingCosts[_root.deathblowRank];
					if (_root.activeSpell == 'deathblow' + _root.deathblowRank) {
						_root.activeSpell = 'deathblow' + (_root.deathblowRank + 1);
					}
					++_root.deathblowRank;
					_root['deathblow' + _root.deathblowRank][8] = true;
					_root.updateSpellList('deathblow');
					_root.setTrainingWindow(_root.warriorSpellArray);
				} else {
					if (_root.gold < _root.trainingCosts[_root.deathblowRank]) {
						_root.showMessage('You need more gold');
					}
				}
			} else {
				_root.showMessage('You can\'t train that yet');
			}
		}
	}
	button 8383 {
		on (rollOver) {
			if (_root['stab' + (_root.stabRank + 1)][7] <= _root.level) {
				_root.world.trainingWindow.costText.text = 'Cost: ' + _root.trainingCosts[_root.stabRank];
				_root.world.trainingWindow.gold._visible = true;
			}
		}
		on (rollOut) {
			_root.world.trainingWindow.costText.text = '';
			_root.world.trainingWindow.gold._visible = false;
		}
		on (release) {
			if (_root['stab' + (_root.stabRank + 1)][7] <= _root.level) {
				if (_root.gold >= _root.trainingCosts[_root.stabRank]) {
					_root.gold -= _root.trainingCosts[_root.stabRank];
					if (_root.activeSpell == 'stab' + _root.stabRank) {
						_root.activeSpell = 'stab' + (_root.stabRank + 1);
					}
					++_root.stabRank;
					_root['stab' + _root.stabRank][8] = true;
					_root.updateSpellList('stab');
					_root.setTrainingWindow(_root.warriorSpellArray);
				} else {
					if (_root.gold < _root.trainingCosts[_root.stabRank]) {
						_root.showMessage('You need more gold');
					}
				}
			} else {
				_root.showMessage('You can\'t train that yet');
			}
		}
	}
	button 8391 {
		on (rollOver) {
			if (_root['fetter' + (_root.fetterRank + 1)][7] <= _root.level) {
				_root.world.trainingWindow.costText.text = 'Cost: ' + _root.trainingCosts[_root.fetterRank];
				_root.world.trainingWindow.gold._visible = true;
			}
		}
		on (rollOut) {
			_root.world.trainingWindow.costText.text = '';
			_root.world.trainingWindow.gold._visible = false;
		}
		on (release) {
			if (_root['fetter' + (_root.fetterRank + 1)][7] <= _root.level) {
				if (_root.gold >= _root.trainingCosts[_root.fetterRank]) {
					_root.gold -= _root.trainingCosts[_root.fetterRank];
					if (_root.activeSpell == 'fetter' + _root.fetterRank) {
						_root.activeSpell = 'fetter' + (_root.fetterRank + 1);
					}
					++_root.fetterRank;
					_root['fetter' + _root.fetterRank][8] = true;
					_root.updateSpellList('fetter');
					_root.setTrainingWindow(_root.rangerSpellArray);
				} else {
					if (_root.gold < _root.trainingCosts[_root.fetterRank]) {
						_root.showMessage('You need more gold');
					}
				}
			} else {
				_root.showMessage('You can\'t train that yet');
			}
		}
	}
	button 8392 {
		on (rollOver) {
			if (_root['bindwound' + (_root.bindwoundRank + 1)][7] <= _root.level) {
				_root.world.trainingWindow.costText.text = 'Cost: ' + _root.trainingCosts[_root.bindwoundRank];
				_root.world.trainingWindow.gold._visible = true;
			}
		}
		on (rollOut) {
			_root.world.trainingWindow.costText.text = '';
			_root.world.trainingWindow.gold._visible = false;
		}
		on (release) {
			if (_root['bindwound' + (_root.bindwoundRank + 1)][7] <= _root.level) {
				if (_root.gold >= _root.trainingCosts[_root.bindwoundRank]) {
					_root.gold -= _root.trainingCosts[_root.bindwoundRank];
					if (_root.activeSpell == 'bindwound' + _root.bindwoundRank) {
						_root.activeSpell = 'bindwound' + (_root.bindwoundRank + 1);
					}
					++_root.bindwoundRank;
					_root['bindwound' + _root.bindwoundRank][8] = true;
					_root.updateSpellList('bindwound');
					_root.setTrainingWindow(_root.rangerSpellArray);
				} else {
					if (_root.gold < _root.trainingCosts[_root.bindwoundRank]) {
						_root.showMessage('You need more gold');
					}
				}
			} else {
				_root.showMessage('You can\'t train that yet');
			}
		}
	}
	button 8393 {
		on (rollOver) {
			if (_root['frostshot' + (_root.frostshotRank + 1)][7] <= _root.level) {
				_root.world.trainingWindow.costText.text = 'Cost: ' + _root.trainingCosts[_root.frostshotRank];
				_root.world.trainingWindow.gold._visible = true;
			}
		}
		on (rollOut) {
			_root.world.trainingWindow.costText.text = '';
			_root.world.trainingWindow.gold._visible = false;
		}
		on (release) {
			if (_root['frostshot' + (_root.frostshotRank + 1)][7] <= _root.level) {
				if (_root.gold >= _root.trainingCosts[_root.frostshotRank]) {
					_root.gold -= _root.trainingCosts[_root.frostshotRank];
					if (_root.activeSpell == 'frostshot' + _root.frostshotRank) {
						_root.activeSpell = 'frostshot' + (_root.frostshotRank + 1);
					}
					++_root.frostshotRank;
					_root['frostshot' + _root.frostshotRank][8] = true;
					_root.updateSpellList('frostshot');
					_root.setTrainingWindow(_root.rangerSpellArray);
				} else {
					if (_root.gold < _root.trainingCosts[_root.frostshotRank]) {
						_root.showMessage('You need more gold');
					}
				}
			} else {
				_root.showMessage('You can\'t train that yet');
			}
		}
	}
	button 8394 {
		on (rollOver) {
			if (_root['searingarrow' + (_root.searingarrowRank + 1)][7] <= _root.level) {
				_root.world.trainingWindow.costText.text = 'Cost: ' + _root.trainingCosts[_root.searingarrowRank];
				_root.world.trainingWindow.gold._visible = true;
			}
		}
		on (rollOut) {
			_root.world.trainingWindow.costText.text = '';
			_root.world.trainingWindow.gold._visible = false;
		}
		on (release) {
			if (_root['searingarrow' + (_root.searingarrowRank + 1)][7] <= _root.level) {
				if (_root.gold >= _root.trainingCosts[_root.searingarrowRank]) {
					_root.gold -= _root.trainingCosts[_root.searingarrowRank];
					if (_root.activeSpell == 'searingarrow' + _root.searingarrowRank) {
						_root.activeSpell = 'searingarrow' + (_root.searingarrowRank + 1);
					}
					++_root.searingarrowRank;
					_root['searingarrow' + _root.searingarrowRank][8] = true;
					_root.updateSpellList('searingarrow');
					_root.setTrainingWindow(_root.rangerSpellArray);
				} else {
					if (_root.gold < _root.trainingCosts[_root.searingarrowRank]) {
						_root.showMessage('You need more gold');
					}
				}
			} else {
				_root.showMessage('You can\'t train that yet');
			}
		}
	}
	button 8395 {
		on (rollOver) {
			if (_root['shootarrow' + (_root.shootarrowRank + 1)][7] <= _root.level) {
				_root.world.trainingWindow.costText.text = 'Cost: ' + _root.trainingCosts[_root.shootarrowRank];
				_root.world.trainingWindow.gold._visible = true;
			}
		}
		on (rollOut) {
			_root.world.trainingWindow.costText.text = '';
			_root.world.trainingWindow.gold._visible = false;
		}
		on (release) {
			if (_root['shootarrow' + (_root.shootarrowRank + 1)][7] <= _root.level) {
				if (_root.gold >= _root.trainingCosts[_root.shootarrowRank]) {
					_root.gold -= _root.trainingCosts[_root.shootarrowRank];
					if (_root.activeSpell == 'shootarrow' + _root.shootarrowRank) {
						_root.activeSpell = 'shootarrow' + (_root.shootarrowRank + 1);
					}
					++_root.shootarrowRank;
					_root['shootarrow' + _root.shootarrowRank][8] = true;
					_root.updateSpellList('shootarrow');
					_root.setTrainingWindow(_root.rangerSpellArray);
				} else {
					if (_root.gold < _root.trainingCosts[_root.shootarrowRank]) {
						_root.showMessage('You need more gold');
					}
				}
			} else {
				_root.showMessage('You can\'t train that yet');
			}
		}
	}
	button 8396 {
		on (rollOver) {
			if (_root['elvenshot' + (_root.elvenshotRank + 1)][7] <= _root.level) {
				_root.world.trainingWindow.costText.text = 'Cost: ' + _root.trainingCosts[_root.elvenshotRank];
				_root.world.trainingWindow.gold._visible = true;
			}
		}
		on (rollOut) {
			_root.world.trainingWindow.costText.text = '';
			_root.world.trainingWindow.gold._visible = false;
		}
		on (release) {
			if (_root['elvenshot' + (_root.elvenshotRank + 1)][7] <= _root.level) {
				if (_root.gold >= _root.trainingCosts[_root.elvenshotRank]) {
					_root.gold -= _root.trainingCosts[_root.elvenshotRank];
					if (_root.activeSpell == 'elvenshot' + _root.elvenshotRank) {
						_root.activeSpell = 'elvenshot' + (_root.elvenshotRank + 1);
					}
					++_root.elvenshotRank;
					_root['elvenshot' + _root.elvenshotRank][8] = true;
					_root.updateSpellList('elvenshot');
					_root.setTrainingWindow(_root.rangerSpellArray);
				} else {
					if (_root.gold < _root.trainingCosts[_root.elvenshotRank]) {
						_root.showMessage('You need more gold');
					}
				}
			} else {
				_root.showMessage('You can\'t train that yet');
			}
		}
	}
	movieClip 8410	{
		frame 1 {
			stop();
		}
		frame 2 {
			_root.setTrainingWindow(_root.wizardSpellArray);
		}
		frame 11 {
			_root.setTrainingWindow(_root.warriorSpellArray);
		}
		frame 20 {
			_root.setTrainingWindow(_root.rangerSpellArray);
		}
	}
	movieClip 8417	{
		frame 1 {
			stop();
		}
	}
	button 8419 {
		on (rollOver) {
			_root.purchaseName = 'dentedHelmet';
			_root.purchaseSlot = 5;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8420 {
		on (rollOver) {
			_root.purchaseName = 'woodenShield';
			_root.purchaseSlot = 3;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8421 {
		on (rollOver) {
			_root.purchaseName = 'dentedLegplates';
			_root.purchaseSlot = 6;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8422 {
		on (rollOver) {
			_root.purchaseName = 'dentedHandguards';
			_root.purchaseSlot = 4;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8423 {
		on (rollOver) {
			_root.purchaseName = 'leatherGloves';
			_root.purchaseSlot = 7;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8424 {
		on (rollOver) {
			_root.purchaseName = 'leatherBoots';
			_root.purchaseSlot = 8;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8425 {
		on (rollOver) {
			_root.purchaseName = 'silverEarring';
			_root.purchaseSlot = 9;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8426 {
		on (rollOver) {
			_root.purchaseName = 'jeweledEarring';
			_root.purchaseSlot = 12;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8427 {
		on (rollOver) {
			_root.purchaseName = 'tatteredSlippers';
			_root.purchaseSlot = 10;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8428 {
		on (rollOver) {
			_root.purchaseName = 'tatteredRobe';
			_root.purchaseSlot = 11;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8430 {
		on (rollOver) {
			_root.itemCost = Math.round(_root.level * 1.5);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				_root.gold -= _root.itemCost;
				++_root.curEnergyPots;
				_root.purchaseItem();
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8431 {
		on (rollOver) {
			_root.itemCost = Math.round(_root.level * 1.5);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				_root.gold -= _root.itemCost;
				++_root.curHealthPots;
				_root.purchaseItem();
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	movieClip 8788	{
		frame 1 {
			stop();
		}
	}
	button 8790 {
		on (rollOver) {
			_root.purchaseName = 'bronzeArmplates';
			_root.purchaseSlot = 3;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8791 {
		on (rollOver) {
			_root.purchaseName = 'bronzeBoots';
			_root.purchaseSlot = 4;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8792 {
		on (rollOver) {
			_root.purchaseName = 'metalBuckler';
			_root.purchaseSlot = 5;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8793 {
		on (rollOver) {
			_root.purchaseName = 'goldenEarring';
			_root.purchaseSlot = 6;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8794 {
		on (rollOver) {
			_root.purchaseName = 'reinforcedBow';
			_root.purchaseSlot = 9;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8795 {
		on (rollOver) {
			_root.purchaseName = 'jeweledWand';
			_root.purchaseSlot = 12;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8796 {
		on (rollOver) {
			_root.purchaseName = 'silkSlippers';
			_root.purchaseSlot = 11;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8797 {
		on (rollOver) {
			_root.purchaseName = 'silkSleeves';
			_root.purchaseSlot = 10;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8798 {
		on (rollOver) {
			_root.purchaseName = 'studdedTunic';
			_root.purchaseSlot = 8;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8799 {
		on (rollOver) {
			_root.purchaseName = 'studdedSleeves';
			_root.purchaseSlot = 7;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8802 {
		on (rollOver) {
			_root.purchaseName = 'mithrilLegplates';
			_root.purchaseSlot = 3;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8803 {
		on (rollOver) {
			_root.purchaseName = 'mithrilHeadguard';
			_root.purchaseSlot = 4;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8804 {
		on (rollOver) {
			_root.purchaseName = 'towerShield';
			_root.purchaseSlot = 5;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8805 {
		on (rollOver) {
			_root.purchaseName = 'ironShortsword';
			_root.purchaseSlot = 6;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8806 {
		on (rollOver) {
			_root.purchaseName = 'woodsmansGloves';
			_root.purchaseSlot = 7;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8807 {
		on (rollOver) {
			_root.purchaseName = 'woodsmansCap';
			_root.purchaseSlot = 8;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8808 {
		on (rollOver) {
			_root.purchaseName = 'pathfindersBow';
			_root.purchaseSlot = 9;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8809 {
		on (rollOver) {
			_root.purchaseName = 'magiciansTreads';
			_root.purchaseSlot = 10;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8810 {
		on (rollOver) {
			_root.purchaseName = 'magiciansPants';
			_root.purchaseSlot = 11;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8811 {
		on (rollOver) {
			_root.purchaseName = 'magiciansMark';
			_root.purchaseSlot = 12;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8814 {
		on (rollOver) {
			_root.purchaseName = 'championsArmguards';
			_root.purchaseSlot = 3;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8815 {
		on (rollOver) {
			_root.purchaseName = 'championsHelmet';
			_root.purchaseSlot = 4;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8816 {
		on (rollOver) {
			_root.purchaseName = 'generalsBroach';
			_root.purchaseSlot = 5;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8817 {
		on (rollOver) {
			_root.purchaseName = 'captainsShield';
			_root.purchaseSlot = 6;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8818 {
		on (rollOver) {
			_root.purchaseName = 'wardersNecklace';
			_root.purchaseSlot = 9;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8819 {
		on (rollOver) {
			_root.purchaseName = 'sylvanArmguards';
			_root.purchaseSlot = 8;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8820 {
		on (rollOver) {
			_root.purchaseName = 'sylvanCap';
			_root.purchaseSlot = 7;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8821 {
		on (rollOver) {
			_root.purchaseName = 'spellweaversSleeves';
			_root.purchaseSlot = 10;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8822 {
		on (rollOver) {
			_root.purchaseName = 'spellweaversGloves';
			_root.purchaseSlot = 11;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8823 {
		on (rollOver) {
			_root.purchaseName = 'spellweaversCap';
			_root.purchaseSlot = 12;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8826 {
		on (rollOver) {
			_root.purchaseName = 'woodenShield';
			_root.purchaseSlot = 3;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8827 {
		on (rollOver) {
			_root.purchaseName = 'dentedArmguards';
			_root.purchaseSlot = 6;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8828 {
		on (rollOver) {
			_root.purchaseName = 'leatherTunic';
			_root.purchaseSlot = 7;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8829 {
		on (rollOver) {
			_root.purchaseName = 'tatteredCap';
			_root.purchaseSlot = 10;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8832 {
		on (rollOver) {
			_root.purchaseName = 'bronzeLegplates';
			_root.purchaseSlot = 5;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8833 {
		on (rollOver) {
			_root.purchaseName = 'soldiersBlade';
			_root.purchaseSlot = 6;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8834 {
		on (rollOver) {
			_root.purchaseName = 'studdedBoots';
			_root.purchaseSlot = 8;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8835 {
		on (rollOver) {
			_root.purchaseName = 'emeraldBroach';
			_root.purchaseSlot = 9;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8836 {
		on (rollOver) {
			_root.purchaseName = 'silkGloves';
			_root.purchaseSlot = 10;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8837 {
		on (rollOver) {
			_root.purchaseName = 'silkRobe';
			_root.purchaseSlot = 12;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8840 {
		on (rollOver) {
			_root.purchaseName = 'soldiersMark';
			_root.purchaseSlot = 6;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8841 {
		on (rollOver) {
			_root.purchaseName = 'woodsmansTreads';
			_root.purchaseSlot = 8;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8842 {
		on (rollOver) {
			_root.purchaseName = 'spellweaversWand';
			_root.purchaseSlot = 11;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8845 {
		on (rollOver) {
			_root.purchaseName = 'blueSteelBlade';
			_root.purchaseSlot = 6;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8846 {
		on (rollOver) {
			_root.purchaseName = 'twilightBow';
			_root.purchaseSlot = 9;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	button 8847 {
		on (rollOver) {
			_root.purchaseName = 'spellweaversPants';
			_root.purchaseSlot = 12;
			_root.world.merchantWindow.itemStats.gotoAndStop(_root.purchaseName);
			_root.displayMerchantStats();
			_root.itemCost = _root.getSellPrice(_root[_root.purchaseName][12]);
			_root.world.merchantWindow.gold._visible = true;
		}
		on (rollOut) {
			_root.itemCost = '';
			_root.world.merchantWindow.gold._visible = false;
			_root.world.merchantWindow.itemStats.gotoAndStop(1);
			_root.purchaseSlot = 0;
			_root.purchaseName = '';
		}
		on (release) {
			if (_root.gold >= _root.itemCost) {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					_root.gold -= _root.itemCost;
					_root.purchaseItem();
					_root.inventory[openSlot] = _root.purchaseName;
					var newName = 'item' + _root.invDepth;
					var attachName = _root.purchaseName + 'Inv';
					_root.world.mainMenu.characterMenu.attachMovie(attachName, newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
				}
			} else {
				_root.showMessage('You need more gold');
			}
		}
	}
	movieClip 8853	{
		frame 1 {
			stop();
		}
	}
	button 8860 {
		on (release) {
			if (_root.checkQuest('shadowSoldierQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 8867 {
		on (release) {
			if (_root.checkQuest('shadowWizardQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 8868 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('dentedChestguard');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot1._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot1._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
	}
	button 8869 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('tatteredCap');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot3._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot3._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
	}
	button 8870 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('leatherLeggings');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot2._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot2._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
	}
	movieClip 8873	{
	}
	button 8878 {
		on (release) {
			if (_root.checkQuest('shadowBowmanQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 8882 {
		on (release) {
			if (_root.checkQuest('allianceBoss1Q')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
				if (_root.checkForComplete('boss1')) {
					_root.completeQuest('allianceBoss1Q');
				}
			}
		}
	}
	button 8883 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('dentedBoots');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot1._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot1._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
	}
	button 8884 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('tatteredLeggings');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot3._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot3._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
	}
	button 8885 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('leatherSkullcap');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot2._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot2._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
	}
	button 8889 {
		on (release) {
			if (_root.checkQuest('shadowGuardQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 8894 {
		on (release) {
			if (_root.checkQuest('shadowArcherQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 8895 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('soldiersBlade');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot1._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot1._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
	}
	button 8896 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('studdedBoots');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot2._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot2._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
	}
	button 8897 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('silkGloves');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot3._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot3._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
	}
	button 8901 {
		on (release) {
			if (_root.checkQuest('shadowKnightQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 8902 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('bronzeLegplates');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot1._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot1._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
	}
	button 8903 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('studdedLeggings');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot2._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot2._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
	}
	button 8904 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('sapphireBroach');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot3._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot3._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
	}
	button 8908 {
		on (release) {
			if (_root.checkQuest('allianceBoss2Q')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
				if (_root.checkForComplete('boss2')) {
					_root.completeQuest('allianceBoss2Q');
				}
			}
		}
	}
	button 8909 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('mithrilGauntlets');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot1._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot1._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
	}
	button 8910 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('woodsmansGloves');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot2._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot2._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
	}
	button 8911 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('magiciansTreads');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot3._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot3._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
	}
	button 8915 {
		on (release) {
			if (_root.checkQuest('necromancerQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 8920 {
		on (release) {
			if (_root.checkQuest('shadowTrackerQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 8925 {
		on (release) {
			if (_root.checkQuest('shadowAssassinQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 8930 {
		on (release) {
			if (_root.checkQuest('darkRitualistQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 8934 {
		on (release) {
			if (_root.checkQuest('bloodMageQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 8939 {
		on (release) {
			if (_root.checkQuest('allianceBoss3Q')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
				if (_root.checkForComplete('boss3')) {
					_root.completeQuest('allianceBoss3Q');
				}
			}
		}
	}
	button 8944 {
		on (release) {
			if (_root.checkQuest('shadowWardQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 8949 {
		on (release) {
			if (_root.checkQuest('fallenShadowQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 8953 {
		on (release) {
			if (_root.checkQuest('hellCasterQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 8958 {
		on (release) {
			if (_root.checkQuest('shadowCaptainQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 8959 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('championsShield');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot1._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot1._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
	}
	button 8960 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('sylvanTunic');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot2._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot2._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
	}
	button 8961 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('spellweaversPants');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot3._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot3._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
	}
	button 8964 {
		on (release) {
			if (_root.checkQuest('allianceBoss4Q')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
				if (_root.checkForComplete('boss4')) {
					_root.completeQuest('allianceBoss4Q');
				}
			}
		}
	}
	button 8969 {
		on (release) {
			if (_root.checkQuest('finalBossAQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 8972 {
		on (release) {
			if (_root.checkQuest('brightlakeGuardQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 8977 {
		on (release) {
			if (_root.checkQuest('brightlakeScoutQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 8979 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('leatherSkullcap');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot2._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot2._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
	}
	button 8983 {
		on (release) {
			if (_root.checkQuest('brightlakeWizardQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 8986 {
		on (release) {
			if (_root.checkQuest('shadowRunnersBoss1Q')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
				if (_root.checkForComplete('boss1')) {
					_root.completeQuest('shadowRunnersBoss1Q');
				}
			}
		}
	}
	button 8990 {
		on (release) {
			if (_root.checkQuest('paladinQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 8994 {
		on (release) {
			if (_root.checkQuest('greenviewMageQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 8998 {
		on (release) {
			if (_root.checkQuest('greenviewGuardQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 8999 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('bronzeArmplates');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot1._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot1._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
	}
	button 9002 {
		on (release) {
			if (_root.checkQuest('shadowRunnersBoss2Q')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
				if (_root.checkForComplete('boss2')) {
					_root.completeQuest('shadowRunnersBoss2Q');
				}
			}
		}
	}
	button 9005 {
		on (release) {
			if (_root.checkQuest('greenviewWardQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 9009 {
		on (release) {
			if (_root.checkQuest('sageOfLightQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 9013 {
		on (release) {
			if (_root.checkQuest('holyAssassinQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 9017 {
		on (release) {
			if (_root.checkQuest('strikerOfHartQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 9021 {
		on (release) {
			if (_root.checkQuest('guardOfHartQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 9025 {
		on (release) {
			if (_root.checkQuest('shadowRunnersBoss3Q')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
				if (_root.checkForComplete('boss3')) {
					_root.completeQuest('shadowRunnersBoss3Q');
				}
			}
		}
	}
	button 9028 {
		on (release) {
			if (_root.checkQuest('icecallerOfHartQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 9032 {
		on (release) {
			if (_root.checkQuest('shadowOfLightQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 9036 {
		on (release) {
			if (_root.checkQuest('devoutGamemasterQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 9040 {
		on (release) {
			if (_root.checkQuest('masterPaladinQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 9044 {
		on (release) {
			if (_root.checkQuest('shadowRunnersBoss4Q')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
				if (_root.checkForComplete('boss4')) {
					_root.completeQuest('shadowRunnersBoss4Q');
				}
			}
		}
	}
	button 9047 {
		on (release) {
			if (_root.checkQuest('finalBossSQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 9053 {
		on (release) {
			if (_root.checkQuest('apprenticeQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 9056 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('rustySword');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot1._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot1._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
	}
	button 9060 {
		on (release) {
			if (_root.checkQuest('archerQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 9064 {
		on (release) {
			if (_root.checkQuest('pathfinderQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 9065 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('ironShortsword');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot1._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot1._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
	}
	button 9069 {
		on (release) {
			if (_root.checkQuest('channelerQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 9070 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('soldiersMark');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot1._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot1._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
	}
	button 9074 {
		on (release) {
			if (_root.checkQuest('warderQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 9075 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('blackBronzeSword');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot1._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot1._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
	}
	button 9079 {
		on (release) {
			if (_root.checkQuest('aeromancerQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 9080 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('deathsHand');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot1._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot1._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
	}
	button 9084 {
		on (release) {
			if (_root.checkQuest('squireQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 9085 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('oakBow');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot1._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot1._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
	}
	button 9089 {
		on (release) {
			if (_root.checkQuest('sageQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 9093 {
		on (release) {
			if (_root.checkQuest('ritualistQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 9094 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('pathfindersBow');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot1._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot1._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
	}
	button 9098 {
		on (release) {
			if (_root.checkQuest('conquerorQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 9102 {
		on (release) {
			if (_root.checkQuest('elementalistQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 9103 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('woodsmansVest');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot1._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot1._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
	}
	button 9107 {
		on (release) {
			if (_root.checkQuest('gladiatorQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 9108 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('furyOfTheGlade');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot1._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot1._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
	}
	button 9112 {
		on (release) {
			if (_root.checkQuest('traineeQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 9113 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('silverWand');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot1._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot1._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
	}
	button 9117 {
		on (release) {
			if (_root.checkQuest('defenderQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 9121 {
		on (release) {
			if (_root.checkQuest('knightQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 9122 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('sorcerersWand');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot1._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot1._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
	}
	button 9126 {
		on (release) {
			if (_root.checkQuest('bowmasterQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 9130 {
		on (release) {
			if (_root.checkQuest('championQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 9131 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('wandOfElements');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot1._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot1._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
	}
	button 9135 {
		on (release) {
			if (_root.checkQuest('forestStalkerQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 9136 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('terrorOfNnuk');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot1._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot1._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
	}
	button 9140 {
		on (release) {
			if (_root.checkQuest('brigandQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 9144 {
		on (release) {
			if (_root.checkQuest('hirelingQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 9149 {
		on (release) {
			if (_root.checkQuest('madcapQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 9153 {
		on (release) {
			if (_root.checkQuest('highwaymanQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 9157 {
		on (release) {
			if (_root.checkQuest('coinchaserQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 9161 {
		on (release) {
			if (_root.checkQuest('sellswordQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 9162 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('legsOfTheTracker');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot2._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot2._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
	}
	button 9163 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('tuggosLegplates');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot1._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot1._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
	}
	button 9164 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('robeOfTheAncients');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot3._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot3._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
	}
	button 9168 {
		on (release) {
			if (_root.checkQuest('merchantGuardQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 9172 {
		on (release) {
			if (_root.checkQuest('wizardProtectorQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 9176 {
		on (release) {
			if (_root.checkQuest('honorGuardQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 9180 {
		on (release) {
			if (_root.checkQuest('pledgedTrackerQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 9184 {
		on (release) {
			if (_root.checkQuest('waterdancerQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	button 9188 {
		on (release) {
			if (_root.checkQuest('redCloakGuardQ')) {
				_root.world.questGiver.reset = true;
				_root.world.questGiver.onQuest = true;
				_root.questVisible = true;
				_root.world.chatWindow.gotoAndStop(1);
				_root.playSound('questAccepted');
			}
		}
	}
	movieClip 9190	{
	}
	button 9193 {
		on (release) {
			var questName = 'shadowSoldierQ';
			_root.factionUp('theAlliance', _root[questName][8]);
			_root.factionDown('shadowRunners', _root[questName][8]);
			var upLevel = _root[questName][11] + 1;
			var downLevel = _root[questName][12] + 1;
			_root.factionLevels[upLevel] += _root[questName][8];
			_root.factionLevels[downLevel] -= _root[questName][8];
			_root.clearInventory(questName);
			i = 0;
			while (i < 7) {
				if (_root.activeQuests[i] == questName) {
					_root.activeQuests[i] = '';
					var targetQuest = 'quest' + (i + 1);
					var targetComp = 'complete' + (i + 1);
					_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
					_root.world.mainMenu.characterMenu[questName].removeMovieClip();
					_root.world.mainMenu[targetQuest].gotoAndStop(1);
					_root.world.mainMenu[targetComp].gotoAndStop(1);
				}
				++i;
			}
			_root.world.questGiver.onQuest = false;
			_root.world.questGiver.questAvailable = false;
			_root.world.questGiver.questStatus.gotoAndStop(1);
			_root.world.mainMenu.descriptions.gotoAndStop(1);
			_root.world.mainMenu.questBorder.gotoAndStop(1);
			_root.questHighlighted = 'null';
			_root[questName][9] = true;
			_root.playSound('questComplete');
			_root.curExp += _root[questName][13];
			_root.gold += _root[questName][7];
			_root.updateLevels();
			_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
			_root.questVisible = true;
			_root.world.chatWindow.gotoAndStop(1);
		}
	}
	button 9201 {
		on (release) {
			if (_root.questSelectedItem != '') {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					var questName = 'shadowWizardQ';
					_root.factionUp('theAlliance', _root[questName][8]);
					_root.factionDown('shadowRunners', _root[questName][8]);
					_root.inventory[openSlot] = _root.questSelectedItem;
					var newName = 'item' + _root.invDepth;
					_root.world.mainMenu.characterMenu.attachMovie(_root.questSelectedItem + 'Inv', newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
					var upLevel = _root[questName][11] + 1;
					var downLevel = _root[questName][12] + 1;
					_root.factionLevels[upLevel] += _root[questName][8];
					_root.factionLevels[downLevel] -= _root[questName][8];
					_root.clearInventory(questName);
					i = 0;
					while (i < 7) {
						if (_root.activeQuests[i] == questName) {
							_root.activeQuests[i] = '';
							var targetQuest = 'quest' + (i + 1);
							var targetComp = 'complete' + (i + 1);
							_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
							_root.world.mainMenu.characterMenu[questName].removeMovieClip();
							_root.world.mainMenu[targetQuest].gotoAndStop(1);
							_root.world.mainMenu[targetComp].gotoAndStop(1);
						}
						++i;
					}
					_root.world.questGiver.onQuest = false;
					_root.world.questGiver.questAvailable = false;
					_root.world.questGiver.questStatus.gotoAndStop(1);
					_root.world.mainMenu.descriptions.gotoAndStop(1);
					_root.world.mainMenu.questBorder.gotoAndStop(1);
					_root.questHighlighted = 'null';
					_root[questName][9] = true;
					_root.playSound('questComplete');
					_root.curExp += _root[questName][13];
					_root.gold += _root[questName][7];
					_root.updateLevels();
					_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
					_root.questVisible = true;
					_root.world.chatWindow.gotoAndStop(1);
				} else {
					_root.showMessage('Your inventory is full');
				}
			} else {
				_root.showMessage('Choose a reward first');
			}
		}
	}
	button 9203 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('dentedChestguard');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot1._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot1._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
		on (release) {
			_root.world.chatWindow.slot1.gotoAndStop(2);
			_root.world.chatWindow.slot2.gotoAndStop(1);
			_root.world.chatWindow.slot3.gotoAndStop(1);
			_root.questSelectedItem = 'dentedChestguard';
		}
	}
	button 9204 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('tatteredCap');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot3._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot3._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
		on (release) {
			_root.world.chatWindow.slot1.gotoAndStop(1);
			_root.world.chatWindow.slot2.gotoAndStop(1);
			_root.world.chatWindow.slot3.gotoAndStop(2);
			_root.questSelectedItem = 'tatteredCap';
		}
	}
	button 9205 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('leatherLeggings');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot2._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot2._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
		on (release) {
			_root.world.chatWindow.slot1.gotoAndStop(1);
			_root.world.chatWindow.slot2.gotoAndStop(2);
			_root.world.chatWindow.slot3.gotoAndStop(1);
			_root.questSelectedItem = 'leatherLeggings';
		}
	}
	button 9208 {
		on (release) {
			var questName = 'shadowBowmanQ';
			_root.factionUp('theAlliance', _root[questName][8]);
			_root.factionDown('shadowRunners', _root[questName][8]);
			var upLevel = _root[questName][11] + 1;
			var downLevel = _root[questName][12] + 1;
			_root.factionLevels[upLevel] += _root[questName][8];
			_root.factionLevels[downLevel] -= _root[questName][8];
			_root.clearInventory(questName);
			i = 0;
			while (i < 7) {
				if (_root.activeQuests[i] == questName) {
					_root.activeQuests[i] = '';
					var targetQuest = 'quest' + (i + 1);
					var targetComp = 'complete' + (i + 1);
					_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
					_root.world.mainMenu.characterMenu[questName].removeMovieClip();
					_root.world.mainMenu[targetQuest].gotoAndStop(1);
					_root.world.mainMenu[targetComp].gotoAndStop(1);
				}
				++i;
			}
			_root.world.questGiver.onQuest = false;
			_root.world.questGiver.questAvailable = false;
			_root.world.questGiver.questStatus.gotoAndStop(1);
			_root.world.mainMenu.descriptions.gotoAndStop(1);
			_root.world.mainMenu.questBorder.gotoAndStop(1);
			_root.questHighlighted = 'null';
			_root[questName][9] = true;
			_root.playSound('questComplete');
			_root.curExp += _root[questName][13];
			_root.gold += _root[questName][7];
			_root.updateLevels();
			_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
			_root.questVisible = true;
			_root.world.chatWindow.gotoAndStop(1);
		}
	}
	button 9211 {
		on (release) {
			if (_root.questSelectedItem != '') {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					var questName = 'allianceBoss1Q';
					_root.factionUp('theAlliance', _root[questName][8]);
					_root.factionDown('shadowRunners', _root[questName][8]);
					_root.inventory[openSlot] = _root.questSelectedItem;
					var newName = 'item' + _root.invDepth;
					_root.world.mainMenu.characterMenu.attachMovie(_root.questSelectedItem + 'Inv', newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
					var upLevel = _root[questName][11] + 1;
					var downLevel = _root[questName][12] + 1;
					_root.factionLevels[upLevel] += _root[questName][8];
					_root.factionLevels[downLevel] -= _root[questName][8];
					_root.clearInventory('boss1');
					i = 0;
					while (i < 7) {
						if (_root.activeQuests[i] == questName) {
							_root.activeQuests[i] = '';
							var targetQuest = 'quest' + (i + 1);
							var targetComp = 'complete' + (i + 1);
							_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
							_root.world.mainMenu.characterMenu.boss1.removeMovieClip();
							_root.world.mainMenu[targetQuest].gotoAndStop(1);
							_root.world.mainMenu[targetComp].gotoAndStop(1);
						}
						++i;
					}
					_root.world.questGiver.onQuest = false;
					_root.world.questGiver.questAvailable = false;
					_root.world.questGiver.questStatus.gotoAndStop(1);
					_root.world.mainMenu.descriptions.gotoAndStop(1);
					_root.world.mainMenu.questBorder.gotoAndStop(1);
					_root.questHighlighted = 'null';
					_root.shadowRunnersBoss1Q[9] = true;
					_root.allianceBoss1Q[9] = true;
					_root.playSound('questComplete');
					_root.curExp += _root[questName][13];
					_root.gold += _root[questName][7];
					_root.updateLevels();
					_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
					_root.questVisible = true;
					_root.world.chatWindow.gotoAndStop(1);
				} else {
					_root.showMessage('Your inventory is full');
				}
			} else {
				_root.showMessage('Choose a reward first');
			}
		}
	}
	button 9212 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('dentedBoots');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot1._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot1._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
		on (release) {
			_root.world.chatWindow.slot1.gotoAndStop(2);
			_root.world.chatWindow.slot2.gotoAndStop(1);
			_root.world.chatWindow.slot3.gotoAndStop(1);
			_root.questSelectedItem = 'dentedBoots';
		}
	}
	button 9213 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('tatteredLeggings');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot3._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot3._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
		on (release) {
			_root.world.chatWindow.slot1.gotoAndStop(1);
			_root.world.chatWindow.slot2.gotoAndStop(1);
			_root.world.chatWindow.slot3.gotoAndStop(2);
			_root.questSelectedItem = 'tatteredLeggings';
		}
	}
	button 9214 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('leatherSkullcap');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot2._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot2._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
		on (release) {
			_root.world.chatWindow.slot1.gotoAndStop(1);
			_root.world.chatWindow.slot2.gotoAndStop(2);
			_root.world.chatWindow.slot3.gotoAndStop(1);
			_root.questSelectedItem = 'leatherSkullcap';
		}
	}
	button 9217 {
		on (release) {
			var questName = 'shadowGuardQ';
			_root.factionUp('theAlliance', _root[questName][8]);
			_root.factionDown('shadowRunners', _root[questName][8]);
			var upLevel = _root[questName][11] + 1;
			var downLevel = _root[questName][12] + 1;
			_root.factionLevels[upLevel] += _root[questName][8];
			_root.factionLevels[downLevel] -= _root[questName][8];
			_root.clearInventory(questName);
			i = 0;
			while (i < 7) {
				if (_root.activeQuests[i] == questName) {
					_root.activeQuests[i] = '';
					var targetQuest = 'quest' + (i + 1);
					var targetComp = 'complete' + (i + 1);
					_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
					_root.world.mainMenu.characterMenu[questName].removeMovieClip();
					_root.world.mainMenu[targetQuest].gotoAndStop(1);
					_root.world.mainMenu[targetComp].gotoAndStop(1);
				}
				++i;
			}
			_root.world.questGiver.onQuest = false;
			_root.world.questGiver.questAvailable = false;
			_root.world.questGiver.questStatus.gotoAndStop(1);
			_root.world.mainMenu.descriptions.gotoAndStop(1);
			_root.world.mainMenu.questBorder.gotoAndStop(1);
			_root.questHighlighted = 'null';
			_root[questName][9] = true;
			_root.playSound('questComplete');
			_root.curExp += _root[questName][13];
			_root.gold += _root[questName][7];
			_root.updateLevels();
			_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
			_root.questVisible = true;
			_root.world.chatWindow.gotoAndStop(1);
		}
	}
	button 9220 {
		on (release) {
			if (_root.questSelectedItem != '') {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					var questName = 'shadowArcherQ';
					_root.factionUp('theAlliance', _root[questName][8]);
					_root.factionDown('shadowRunners', _root[questName][8]);
					_root.inventory[openSlot] = _root.questSelectedItem;
					var newName = 'item' + _root.invDepth;
					_root.world.mainMenu.characterMenu.attachMovie(_root.questSelectedItem + 'Inv', newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
					var upLevel = _root[questName][11] + 1;
					var downLevel = _root[questName][12] + 1;
					_root.factionLevels[upLevel] += _root[questName][8];
					_root.factionLevels[downLevel] -= _root[questName][8];
					_root.clearInventory(questName);
					i = 0;
					while (i < 7) {
						if (_root.activeQuests[i] == questName) {
							_root.activeQuests[i] = '';
							var targetQuest = 'quest' + (i + 1);
							var targetComp = 'complete' + (i + 1);
							_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
							_root.world.mainMenu.characterMenu[questName].removeMovieClip();
							_root.world.mainMenu[targetQuest].gotoAndStop(1);
							_root.world.mainMenu[targetComp].gotoAndStop(1);
						}
						++i;
					}
					_root.world.questGiver.onQuest = false;
					_root.world.questGiver.questAvailable = false;
					_root.world.questGiver.questStatus.gotoAndStop(1);
					_root.world.mainMenu.descriptions.gotoAndStop(1);
					_root.world.mainMenu.questBorder.gotoAndStop(1);
					_root.questHighlighted = 'null';
					_root[questName][9] = true;
					_root.playSound('questComplete');
					_root.curExp += _root[questName][13];
					_root.gold += _root[questName][7];
					_root.updateLevels();
					_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
					_root.questVisible = true;
					_root.world.chatWindow.gotoAndStop(1);
				} else {
					_root.showMessage('Your inventory is full');
				}
			} else {
				_root.showMessage('Choose a reward first');
			}
		}
	}
	button 9221 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('soldiersBlade');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot1._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot1._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
		on (release) {
			_root.world.chatWindow.slot1.gotoAndStop(2);
			_root.world.chatWindow.slot2.gotoAndStop(1);
			_root.world.chatWindow.slot3.gotoAndStop(1);
			_root.questSelectedItem = 'soldiersBlade';
		}
	}
	button 9222 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('studdedBoots');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot2._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot2._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
		on (release) {
			_root.world.chatWindow.slot1.gotoAndStop(1);
			_root.world.chatWindow.slot2.gotoAndStop(2);
			_root.world.chatWindow.slot3.gotoAndStop(1);
			_root.questSelectedItem = 'studdedBoots';
		}
	}
	button 9223 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('silkGloves');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot3._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot3._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
		on (release) {
			_root.world.chatWindow.slot1.gotoAndStop(1);
			_root.world.chatWindow.slot2.gotoAndStop(1);
			_root.world.chatWindow.slot3.gotoAndStop(2);
			_root.questSelectedItem = 'silkGloves';
		}
	}
	button 9226 {
		on (release) {
			if (_root.questSelectedItem != '') {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					var questName = 'shadowKnightQ';
					_root.factionUp('theAlliance', _root[questName][8]);
					_root.factionDown('shadowRunners', _root[questName][8]);
					_root.inventory[openSlot] = _root.questSelectedItem;
					var newName = 'item' + _root.invDepth;
					_root.world.mainMenu.characterMenu.attachMovie(_root.questSelectedItem + 'Inv', newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
					var upLevel = _root[questName][11] + 1;
					var downLevel = _root[questName][12] + 1;
					_root.factionLevels[upLevel] += _root[questName][8];
					_root.factionLevels[downLevel] -= _root[questName][8];
					_root.clearInventory(questName);
					i = 0;
					while (i < 7) {
						if (_root.activeQuests[i] == questName) {
							_root.activeQuests[i] = '';
							var targetQuest = 'quest' + (i + 1);
							var targetComp = 'complete' + (i + 1);
							_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
							_root.world.mainMenu.characterMenu[questName].removeMovieClip();
							_root.world.mainMenu[targetQuest].gotoAndStop(1);
							_root.world.mainMenu[targetComp].gotoAndStop(1);
						}
						++i;
					}
					_root.world.questGiver.onQuest = false;
					_root.world.questGiver.questAvailable = false;
					_root.world.questGiver.questStatus.gotoAndStop(1);
					_root.world.mainMenu.descriptions.gotoAndStop(1);
					_root.world.mainMenu.questBorder.gotoAndStop(1);
					_root.questHighlighted = 'null';
					_root[questName][9] = true;
					_root.playSound('questComplete');
					_root.curExp += _root[questName][13];
					_root.gold += _root[questName][7];
					_root.updateLevels();
					_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
					_root.questVisible = true;
					_root.world.chatWindow.gotoAndStop(1);
				} else {
					_root.showMessage('Your inventory is full');
				}
			} else {
				_root.showMessage('Choose a reward first');
			}
		}
	}
	button 9227 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('bronzeLegplates');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot1._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot1._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
		on (release) {
			_root.world.chatWindow.slot1.gotoAndStop(2);
			_root.world.chatWindow.slot2.gotoAndStop(1);
			_root.world.chatWindow.slot3.gotoAndStop(1);
			_root.questSelectedItem = 'bronzeLegplates';
		}
	}
	button 9228 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('studdedLeggings');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot2._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot2._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
		on (release) {
			_root.world.chatWindow.slot1.gotoAndStop(1);
			_root.world.chatWindow.slot2.gotoAndStop(2);
			_root.world.chatWindow.slot3.gotoAndStop(1);
			_root.questSelectedItem = 'studdedLeggings';
		}
	}
	button 9229 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('sapphireBroach');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot3._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot3._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
		on (release) {
			_root.world.chatWindow.slot1.gotoAndStop(1);
			_root.world.chatWindow.slot2.gotoAndStop(1);
			_root.world.chatWindow.slot3.gotoAndStop(2);
			_root.questSelectedItem = 'sapphireBroach';
		}
	}
	button 9231 {
		on (release) {
			if (_root.questSelectedItem != '') {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					var questName = 'allianceBoss2Q';
					_root.factionUp('theAlliance', _root[questName][8]);
					_root.factionDown('shadowRunners', _root[questName][8]);
					_root.inventory[openSlot] = _root.questSelectedItem;
					var newName = 'item' + _root.invDepth;
					_root.world.mainMenu.characterMenu.attachMovie(_root.questSelectedItem + 'Inv', newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
					var upLevel = _root[questName][11] + 1;
					var downLevel = _root[questName][12] + 1;
					_root.factionLevels[upLevel] += _root[questName][8];
					_root.factionLevels[downLevel] -= _root[questName][8];
					_root.clearInventory('boss2');
					i = 0;
					while (i < 7) {
						if (_root.activeQuests[i] == questName) {
							_root.activeQuests[i] = '';
							var targetQuest = 'quest' + (i + 1);
							var targetComp = 'complete' + (i + 1);
							_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
							_root.world.mainMenu.characterMenu.boss2.removeMovieClip();
							_root.world.mainMenu[targetQuest].gotoAndStop(1);
							_root.world.mainMenu[targetComp].gotoAndStop(1);
						}
						++i;
					}
					_root.world.questGiver.onQuest = false;
					_root.world.questGiver.questAvailable = false;
					_root.world.questGiver.questStatus.gotoAndStop(1);
					_root.world.mainMenu.descriptions.gotoAndStop(1);
					_root.world.mainMenu.questBorder.gotoAndStop(1);
					_root.questHighlighted = 'null';
					_root.shadowRunnersBoss2Q[9] = true;
					_root.allianceBoss2Q[9] = true;
					_root.playSound('questComplete');
					_root.curExp += _root[questName][13];
					_root.gold += _root[questName][7];
					_root.updateLevels();
					_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
					_root.questVisible = true;
					_root.world.chatWindow.gotoAndStop(1);
				} else {
					_root.showMessage('Your inventory is full');
				}
			} else {
				_root.showMessage('Choose a reward first');
			}
		}
	}
	button 9232 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('mithrilGauntlets');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot1._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot1._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
		on (release) {
			_root.world.chatWindow.slot1.gotoAndStop(2);
			_root.world.chatWindow.slot2.gotoAndStop(1);
			_root.world.chatWindow.slot3.gotoAndStop(1);
			_root.questSelectedItem = 'mithrilGauntlets';
		}
	}
	button 9233 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('woodsmansGloves');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot2._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot2._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
		on (release) {
			_root.world.chatWindow.slot1.gotoAndStop(1);
			_root.world.chatWindow.slot2.gotoAndStop(2);
			_root.world.chatWindow.slot3.gotoAndStop(1);
			_root.questSelectedItem = 'woodsmansGloves';
		}
	}
	button 9234 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('magiciansTreads');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot3._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot3._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
		on (release) {
			_root.world.chatWindow.slot1.gotoAndStop(1);
			_root.world.chatWindow.slot2.gotoAndStop(1);
			_root.world.chatWindow.slot3.gotoAndStop(2);
			_root.questSelectedItem = 'magiciansTreads';
		}
	}
	button 9236 {
		on (release) {
			var questName = 'necromancerQ';
			_root.factionUp('theAlliance', _root[questName][8]);
			_root.factionDown('shadowRunners', _root[questName][8]);
			var upLevel = _root[questName][11] + 1;
			var downLevel = _root[questName][12] + 1;
			_root.factionLevels[upLevel] += _root[questName][8];
			_root.factionLevels[downLevel] -= _root[questName][8];
			_root.clearInventory(questName);
			i = 0;
			while (i < 7) {
				if (_root.activeQuests[i] == questName) {
					_root.activeQuests[i] = '';
					var targetQuest = 'quest' + (i + 1);
					var targetComp = 'complete' + (i + 1);
					_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
					_root.world.mainMenu.characterMenu[questName].removeMovieClip();
					_root.world.mainMenu[targetQuest].gotoAndStop(1);
					_root.world.mainMenu[targetComp].gotoAndStop(1);
				}
				++i;
			}
			_root.world.questGiver.onQuest = false;
			_root.world.questGiver.questAvailable = false;
			_root.world.questGiver.questStatus.gotoAndStop(1);
			_root.world.mainMenu.descriptions.gotoAndStop(1);
			_root.world.mainMenu.questBorder.gotoAndStop(1);
			_root.questHighlighted = 'null';
			_root[questName][9] = true;
			_root.playSound('questComplete');
			_root.curExp += _root[questName][13];
			_root.gold += _root[questName][7];
			_root.updateLevels();
			_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
			_root.questVisible = true;
			_root.world.chatWindow.gotoAndStop(1);
		}
	}
	button 9239 {
		on (release) {
			var questName = 'shadowTrackerQ';
			_root.factionUp('theAlliance', _root[questName][8]);
			_root.factionDown('shadowRunners', _root[questName][8]);
			var upLevel = _root[questName][11] + 1;
			var downLevel = _root[questName][12] + 1;
			_root.factionLevels[upLevel] += _root[questName][8];
			_root.factionLevels[downLevel] -= _root[questName][8];
			_root.clearInventory(questName);
			i = 0;
			while (i < 7) {
				if (_root.activeQuests[i] == questName) {
					_root.activeQuests[i] = '';
					var targetQuest = 'quest' + (i + 1);
					var targetComp = 'complete' + (i + 1);
					_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
					_root.world.mainMenu.characterMenu[questName].removeMovieClip();
					_root.world.mainMenu[targetQuest].gotoAndStop(1);
					_root.world.mainMenu[targetComp].gotoAndStop(1);
				}
				++i;
			}
			_root.world.questGiver.onQuest = false;
			_root.world.questGiver.questAvailable = false;
			_root.world.questGiver.questStatus.gotoAndStop(1);
			_root.world.mainMenu.descriptions.gotoAndStop(1);
			_root.world.mainMenu.questBorder.gotoAndStop(1);
			_root.questHighlighted = 'null';
			_root[questName][9] = true;
			_root.playSound('questComplete');
			_root.curExp += _root[questName][13];
			_root.gold += _root[questName][7];
			_root.updateLevels();
			_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
			_root.questVisible = true;
			_root.world.chatWindow.gotoAndStop(1);
		}
	}
	button 9242 {
		on (release) {
			var questName = 'shadowAssassinQ';
			_root.factionUp('theAlliance', _root[questName][8]);
			_root.factionDown('shadowRunners', _root[questName][8]);
			var upLevel = _root[questName][11] + 1;
			var downLevel = _root[questName][12] + 1;
			_root.factionLevels[upLevel] += _root[questName][8];
			_root.factionLevels[downLevel] -= _root[questName][8];
			_root.clearInventory(questName);
			i = 0;
			while (i < 7) {
				if (_root.activeQuests[i] == questName) {
					_root.activeQuests[i] = '';
					var targetQuest = 'quest' + (i + 1);
					var targetComp = 'complete' + (i + 1);
					_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
					_root.world.mainMenu.characterMenu[questName].removeMovieClip();
					_root.world.mainMenu[targetQuest].gotoAndStop(1);
					_root.world.mainMenu[targetComp].gotoAndStop(1);
				}
				++i;
			}
			_root.world.questGiver.onQuest = false;
			_root.world.questGiver.questAvailable = false;
			_root.world.questGiver.questStatus.gotoAndStop(1);
			_root.world.mainMenu.descriptions.gotoAndStop(1);
			_root.world.mainMenu.questBorder.gotoAndStop(1);
			_root.questHighlighted = 'null';
			_root[questName][9] = true;
			_root.playSound('questComplete');
			_root.curExp += _root[questName][13];
			_root.gold += _root[questName][7];
			_root.updateLevels();
			_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
			_root.questVisible = true;
			_root.world.chatWindow.gotoAndStop(1);
		}
	}
	button 9245 {
		on (release) {
			var questName = 'darkRitualistQ';
			_root.factionUp('theAlliance', _root[questName][8]);
			_root.factionDown('shadowRunners', _root[questName][8]);
			var upLevel = _root[questName][11] + 1;
			var downLevel = _root[questName][12] + 1;
			_root.factionLevels[upLevel] += _root[questName][8];
			_root.factionLevels[downLevel] -= _root[questName][8];
			_root.clearInventory(questName);
			i = 0;
			while (i < 7) {
				if (_root.activeQuests[i] == questName) {
					_root.activeQuests[i] = '';
					var targetQuest = 'quest' + (i + 1);
					var targetComp = 'complete' + (i + 1);
					_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
					_root.world.mainMenu.characterMenu[questName].removeMovieClip();
					_root.world.mainMenu[targetQuest].gotoAndStop(1);
					_root.world.mainMenu[targetComp].gotoAndStop(1);
				}
				++i;
			}
			_root.world.questGiver.onQuest = false;
			_root.world.questGiver.questAvailable = false;
			_root.world.questGiver.questStatus.gotoAndStop(1);
			_root.world.mainMenu.descriptions.gotoAndStop(1);
			_root.world.mainMenu.questBorder.gotoAndStop(1);
			_root.questHighlighted = 'null';
			_root[questName][9] = true;
			_root.playSound('questComplete');
			_root.curExp += _root[questName][13];
			_root.gold += _root[questName][7];
			_root.updateLevels();
			_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
			_root.questVisible = true;
			_root.world.chatWindow.gotoAndStop(1);
		}
	}
	button 9248 {
		on (release) {
			var questName = 'bloodMageQ';
			_root.factionUp('theAlliance', _root[questName][8]);
			_root.factionDown('shadowRunners', _root[questName][8]);
			var upLevel = _root[questName][11] + 1;
			var downLevel = _root[questName][12] + 1;
			_root.factionLevels[upLevel] += _root[questName][8];
			_root.factionLevels[downLevel] -= _root[questName][8];
			_root.clearInventory(questName);
			i = 0;
			while (i < 7) {
				if (_root.activeQuests[i] == questName) {
					_root.activeQuests[i] = '';
					var targetQuest = 'quest' + (i + 1);
					var targetComp = 'complete' + (i + 1);
					_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
					_root.world.mainMenu.characterMenu[questName].removeMovieClip();
					_root.world.mainMenu[targetQuest].gotoAndStop(1);
					_root.world.mainMenu[targetComp].gotoAndStop(1);
				}
				++i;
			}
			_root.world.questGiver.onQuest = false;
			_root.world.questGiver.questAvailable = false;
			_root.world.questGiver.questStatus.gotoAndStop(1);
			_root.world.mainMenu.descriptions.gotoAndStop(1);
			_root.world.mainMenu.questBorder.gotoAndStop(1);
			_root.questHighlighted = 'null';
			_root[questName][9] = true;
			_root.playSound('questComplete');
			_root.curExp += _root[questName][13];
			_root.gold += _root[questName][7];
			_root.updateLevels();
			_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
			_root.questVisible = true;
			_root.world.chatWindow.gotoAndStop(1);
		}
	}
	button 9251 {
		on (release) {
			var questName = 'allianceBoss3Q';
			_root.factionUp('theAlliance', _root[questName][8]);
			_root.factionDown('shadowRunners', _root[questName][8]);
			_root.inventory[openSlot] = _root.questSelectedItem;
			var newName = 'item' + _root.invDepth;
			_root.world.mainMenu.characterMenu.attachMovie(_root.questSelectedItem + 'Inv', newName, ++_root.invDepth);
			_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
			_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
			var upLevel = _root[questName][11] + 1;
			var downLevel = _root[questName][12] + 1;
			_root.factionLevels[upLevel] += _root[questName][8];
			_root.factionLevels[downLevel] -= _root[questName][8];
			_root.clearInventory('boss3');
			i = 0;
			while (i < 7) {
				if (_root.activeQuests[i] == questName) {
					_root.activeQuests[i] = '';
					var targetQuest = 'quest' + (i + 1);
					var targetComp = 'complete' + (i + 1);
					_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
					_root.world.mainMenu.characterMenu.boss3.removeMovieClip();
					_root.world.mainMenu[targetQuest].gotoAndStop(1);
					_root.world.mainMenu[targetComp].gotoAndStop(1);
				}
				++i;
			}
			_root.world.questGiver.onQuest = false;
			_root.world.questGiver.questAvailable = false;
			_root.world.questGiver.questStatus.gotoAndStop(1);
			_root.world.mainMenu.descriptions.gotoAndStop(1);
			_root.world.mainMenu.questBorder.gotoAndStop(1);
			_root.questHighlighted = 'null';
			_root.shadowRunnersBoss3Q[9] = true;
			_root.allianceBoss3Q[9] = true;
			_root.playSound('questComplete');
			_root.curExp += _root[questName][13];
			_root.gold += _root[questName][7];
			_root.updateLevels();
			_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
			_root.questVisible = true;
			_root.world.chatWindow.gotoAndStop(1);
		}
	}
	button 9254 {
		on (release) {
			var questName = 'shadowWardQ';
			_root.factionUp('theAlliance', _root[questName][8]);
			_root.factionDown('shadowRunners', _root[questName][8]);
			var upLevel = _root[questName][11] + 1;
			var downLevel = _root[questName][12] + 1;
			_root.factionLevels[upLevel] += _root[questName][8];
			_root.factionLevels[downLevel] -= _root[questName][8];
			_root.clearInventory(questName);
			i = 0;
			while (i < 7) {
				if (_root.activeQuests[i] == questName) {
					_root.activeQuests[i] = '';
					var targetQuest = 'quest' + (i + 1);
					var targetComp = 'complete' + (i + 1);
					_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
					_root.world.mainMenu.characterMenu[questName].removeMovieClip();
					_root.world.mainMenu[targetQuest].gotoAndStop(1);
					_root.world.mainMenu[targetComp].gotoAndStop(1);
				}
				++i;
			}
			_root.world.questGiver.onQuest = false;
			_root.world.questGiver.questAvailable = false;
			_root.world.questGiver.questStatus.gotoAndStop(1);
			_root.world.mainMenu.descriptions.gotoAndStop(1);
			_root.world.mainMenu.questBorder.gotoAndStop(1);
			_root.questHighlighted = 'null';
			_root[questName][9] = true;
			_root.playSound('questComplete');
			_root.curExp += _root[questName][13];
			_root.gold += _root[questName][7];
			_root.updateLevels();
			_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
			_root.questVisible = true;
			_root.world.chatWindow.gotoAndStop(1);
		}
	}
	button 9257 {
		on (release) {
			var questName = 'fallenShadowQ';
			_root.factionUp('theAlliance', _root[questName][8]);
			_root.factionDown('shadowRunners', _root[questName][8]);
			var upLevel = _root[questName][11] + 1;
			var downLevel = _root[questName][12] + 1;
			_root.factionLevels[upLevel] += _root[questName][8];
			_root.factionLevels[downLevel] -= _root[questName][8];
			_root.clearInventory(questName);
			i = 0;
			while (i < 7) {
				if (_root.activeQuests[i] == questName) {
					_root.activeQuests[i] = '';
					var targetQuest = 'quest' + (i + 1);
					var targetComp = 'complete' + (i + 1);
					_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
					_root.world.mainMenu.characterMenu[questName].removeMovieClip();
					_root.world.mainMenu[targetQuest].gotoAndStop(1);
					_root.world.mainMenu[targetComp].gotoAndStop(1);
				}
				++i;
			}
			_root.world.questGiver.onQuest = false;
			_root.world.questGiver.questAvailable = false;
			_root.world.questGiver.questStatus.gotoAndStop(1);
			_root.world.mainMenu.descriptions.gotoAndStop(1);
			_root.world.mainMenu.questBorder.gotoAndStop(1);
			_root.questHighlighted = 'null';
			_root[questName][9] = true;
			_root.playSound('questComplete');
			_root.curExp += _root[questName][13];
			_root.gold += _root[questName][7];
			_root.updateLevels();
			_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
			_root.questVisible = true;
			_root.world.chatWindow.gotoAndStop(1);
		}
	}
	button 9260 {
		on (release) {
			var questName = 'hellCasterQ';
			_root.factionUp('theAlliance', _root[questName][8]);
			_root.factionDown('shadowRunners', _root[questName][8]);
			var upLevel = _root[questName][11] + 1;
			var downLevel = _root[questName][12] + 1;
			_root.factionLevels[upLevel] += _root[questName][8];
			_root.factionLevels[downLevel] -= _root[questName][8];
			_root.clearInventory(questName);
			i = 0;
			while (i < 7) {
				if (_root.activeQuests[i] == questName) {
					_root.activeQuests[i] = '';
					var targetQuest = 'quest' + (i + 1);
					var targetComp = 'complete' + (i + 1);
					_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
					_root.world.mainMenu.characterMenu[questName].removeMovieClip();
					_root.world.mainMenu[targetQuest].gotoAndStop(1);
					_root.world.mainMenu[targetComp].gotoAndStop(1);
				}
				++i;
			}
			_root.world.questGiver.onQuest = false;
			_root.world.questGiver.questAvailable = false;
			_root.world.questGiver.questStatus.gotoAndStop(1);
			_root.world.mainMenu.descriptions.gotoAndStop(1);
			_root.world.mainMenu.questBorder.gotoAndStop(1);
			_root.questHighlighted = 'null';
			_root[questName][9] = true;
			_root.playSound('questComplete');
			_root.curExp += _root[questName][13];
			_root.gold += _root[questName][7];
			_root.updateLevels();
			_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
			_root.questVisible = true;
			_root.world.chatWindow.gotoAndStop(1);
		}
	}
	button 9263 {
		on (release) {
			if (_root.questSelectedItem != '') {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					var questName = 'shadowCaptainQ';
					_root.factionUp('theAlliance', _root[questName][8]);
					_root.factionDown('shadowRunners', _root[questName][8]);
					_root.inventory[openSlot] = _root.questSelectedItem;
					var newName = 'item' + _root.invDepth;
					_root.world.mainMenu.characterMenu.attachMovie(_root.questSelectedItem + 'Inv', newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
					var upLevel = _root[questName][11] + 1;
					var downLevel = _root[questName][12] + 1;
					_root.factionLevels[upLevel] += _root[questName][8];
					_root.factionLevels[downLevel] -= _root[questName][8];
					_root.clearInventory(questName);
					i = 0;
					while (i < 7) {
						if (_root.activeQuests[i] == questName) {
							_root.activeQuests[i] = '';
							var targetQuest = 'quest' + (i + 1);
							var targetComp = 'complete' + (i + 1);
							_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
							_root.world.mainMenu.characterMenu[questName].removeMovieClip();
							_root.world.mainMenu[targetQuest].gotoAndStop(1);
							_root.world.mainMenu[targetComp].gotoAndStop(1);
						}
						++i;
					}
					_root.world.questGiver.onQuest = false;
					_root.world.questGiver.questAvailable = false;
					_root.world.questGiver.questStatus.gotoAndStop(1);
					_root.world.mainMenu.descriptions.gotoAndStop(1);
					_root.world.mainMenu.questBorder.gotoAndStop(1);
					_root.questHighlighted = 'null';
					_root[questName][9] = true;
					_root.playSound('questComplete');
					_root.curExp += _root[questName][13];
					_root.gold += _root[questName][7];
					_root.updateLevels();
					_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
					_root.questVisible = true;
					_root.world.chatWindow.gotoAndStop(1);
				} else {
					_root.showMessage('Your inventory is full');
				}
			} else {
				_root.showMessage('Choose a reward first');
			}
		}
	}
	button 9265 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('championsShield');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot1._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot1._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
		on (release) {
			_root.world.chatWindow.slot1.gotoAndStop(2);
			_root.world.chatWindow.slot2.gotoAndStop(1);
			_root.world.chatWindow.slot3.gotoAndStop(1);
			_root.questSelectedItem = 'championsShield';
		}
	}
	button 9266 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('sylvanTunic');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot2._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot2._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
		on (release) {
			_root.world.chatWindow.slot1.gotoAndStop(1);
			_root.world.chatWindow.slot2.gotoAndStop(2);
			_root.world.chatWindow.slot3.gotoAndStop(1);
			_root.questSelectedItem = 'sylvanTunic';
		}
	}
	button 9267 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('spellweaversPants');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot3._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot3._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
		on (release) {
			_root.world.chatWindow.slot1.gotoAndStop(1);
			_root.world.chatWindow.slot2.gotoAndStop(1);
			_root.world.chatWindow.slot3.gotoAndStop(2);
			_root.questSelectedItem = 'spellweaversPants';
		}
	}
	button 9269 {
		on (release) {
			_root.questSelectedItem = 'theHeartstone';
			if (_root.questSelectedItem != '') {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					var questName = 'allianceBoss4Q';
					_root.factionUp('theAlliance', _root[questName][8]);
					_root.factionDown('shadowRunners', _root[questName][8]);
					_root.inventory[openSlot] = _root.questSelectedItem;
					var newName = 'item' + _root.invDepth;
					_root.world.mainMenu.characterMenu.attachMovie(_root.questSelectedItem + 'Inv', newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
					var upLevel = _root[questName][11] + 1;
					var downLevel = _root[questName][12] + 1;
					_root.factionLevels[upLevel] += _root[questName][8];
					_root.factionLevels[downLevel] -= _root[questName][8];
					_root.clearInventory('boss4');
					i = 0;
					while (i < 7) {
						if (_root.activeQuests[i] == questName) {
							_root.activeQuests[i] = '';
							var targetQuest = 'quest' + (i + 1);
							var targetComp = 'complete' + (i + 1);
							_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
							_root.world.mainMenu.characterMenu.boss4.removeMovieClip();
							_root.world.mainMenu[targetQuest].gotoAndStop(1);
							_root.world.mainMenu[targetComp].gotoAndStop(1);
						}
						++i;
					}
					_root.world.questGiver.onQuest = false;
					_root.world.questGiver.questAvailable = false;
					_root.world.questGiver.questStatus.gotoAndStop(1);
					_root.world.mainMenu.descriptions.gotoAndStop(1);
					_root.world.mainMenu.questBorder.gotoAndStop(1);
					_root.questHighlighted = 'null';
					_root.shadowRunnersBoss4Q[9] = true;
					_root.allianceBoss4Q[9] = true;
					_root.playSound('questComplete');
					_root.curExp += _root[questName][13];
					_root.gold += _root[questName][7];
					_root.updateLevels();
					_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
					_root.questVisible = true;
					_root.world.chatWindow.gotoAndStop(1);
				} else {
					_root.showMessage('Your inventory is full');
				}
			} else {
				_root.showMessage('Choose a reward first');
			}
		}
	}
	button 9271 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('theHeartstone');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot1._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot1._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
	}
	button 9273 {
		on (release) {
			_root.gameOver = true;
			_root.world.transition.gotoAndPlay(2);
		}
	}
	button 9275 {
		on (release) {
			var questName = 'brightlakeGuardQ';
			_root.factionUp('shadowRunners', _root[questName][8]);
			_root.factionDown('theAlliance', _root[questName][8]);
			var upLevel = _root[questName][11] + 1;
			var downLevel = _root[questName][12] + 1;
			_root.factionLevels[upLevel] += _root[questName][8];
			_root.factionLevels[downLevel] -= _root[questName][8];
			_root.clearInventory(questName);
			i = 0;
			while (i < 7) {
				if (_root.activeQuests[i] == questName) {
					_root.activeQuests[i] = '';
					var targetQuest = 'quest' + (i + 1);
					var targetComp = 'complete' + (i + 1);
					_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
					_root.world.mainMenu.characterMenu[questName].removeMovieClip();
					_root.world.mainMenu[targetQuest].gotoAndStop(1);
					_root.world.mainMenu[targetComp].gotoAndStop(1);
				}
				++i;
			}
			_root.world.questGiver.onQuest = false;
			_root.world.questGiver.questAvailable = false;
			_root.world.questGiver.questStatus.gotoAndStop(1);
			_root.world.mainMenu.descriptions.gotoAndStop(1);
			_root.world.mainMenu.questBorder.gotoAndStop(1);
			_root.questHighlighted = 'null';
			_root[questName][9] = true;
			_root.playSound('questComplete');
			_root.curExp += _root[questName][13];
			_root.gold += _root[questName][7];
			_root.updateLevels();
			_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
			_root.questVisible = true;
			_root.world.chatWindow.gotoAndStop(1);
		}
	}
	button 9280 {
		on (release) {
			if (_root.questSelectedItem != '') {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					var questName = 'brightlakeScoutQ';
					_root.factionUp('shadowRunners', _root[questName][8]);
					_root.factionDown('theAlliance', _root[questName][8]);
					_root.inventory[openSlot] = _root.questSelectedItem;
					var newName = 'item' + _root.invDepth;
					_root.world.mainMenu.characterMenu.attachMovie(_root.questSelectedItem + 'Inv', newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
					var upLevel = _root[questName][11] + 1;
					var downLevel = _root[questName][12] + 1;
					_root.factionLevels[upLevel] += _root[questName][8];
					_root.factionLevels[downLevel] -= _root[questName][8];
					_root.clearInventory(questName);
					i = 0;
					while (i < 7) {
						if (_root.activeQuests[i] == questName) {
							_root.activeQuests[i] = '';
							var targetQuest = 'quest' + (i + 1);
							var targetComp = 'complete' + (i + 1);
							_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
							_root.world.mainMenu.characterMenu[questName].removeMovieClip();
							_root.world.mainMenu[targetQuest].gotoAndStop(1);
							_root.world.mainMenu[targetComp].gotoAndStop(1);
						}
						++i;
					}
					_root.world.questGiver.onQuest = false;
					_root.world.questGiver.questAvailable = false;
					_root.world.questGiver.questStatus.gotoAndStop(1);
					_root.world.mainMenu.descriptions.gotoAndStop(1);
					_root.world.mainMenu.questBorder.gotoAndStop(1);
					_root.questHighlighted = 'null';
					_root[questName][9] = true;
					_root.playSound('questComplete');
					_root.curExp += _root[questName][13];
					_root.gold += _root[questName][7];
					_root.updateLevels();
					_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
					_root.questVisible = true;
					_root.world.chatWindow.gotoAndStop(1);
				} else {
					_root.showMessage('Your inventory is full');
				}
			} else {
				_root.showMessage('Choose a reward first');
			}
		}
	}
	button 9283 {
		on (release) {
			var questName = 'brightlakeWizardQ';
			_root.factionUp('shadowRunners', _root[questName][8]);
			_root.factionDown('theAlliance', _root[questName][8]);
			var upLevel = _root[questName][11] + 1;
			var downLevel = _root[questName][12] + 1;
			_root.factionLevels[upLevel] += _root[questName][8];
			_root.factionLevels[downLevel] -= _root[questName][8];
			_root.clearInventory(questName);
			i = 0;
			while (i < 7) {
				if (_root.activeQuests[i] == questName) {
					_root.activeQuests[i] = '';
					var targetQuest = 'quest' + (i + 1);
					var targetComp = 'complete' + (i + 1);
					_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
					_root.world.mainMenu.characterMenu[questName].removeMovieClip();
					_root.world.mainMenu[targetQuest].gotoAndStop(1);
					_root.world.mainMenu[targetComp].gotoAndStop(1);
				}
				++i;
			}
			_root.world.questGiver.onQuest = false;
			_root.world.questGiver.questAvailable = false;
			_root.world.questGiver.questStatus.gotoAndStop(1);
			_root.world.mainMenu.descriptions.gotoAndStop(1);
			_root.world.mainMenu.questBorder.gotoAndStop(1);
			_root.questHighlighted = 'null';
			_root[questName][9] = true;
			_root.playSound('questComplete');
			_root.curExp += _root[questName][13];
			_root.gold += _root[questName][7];
			_root.updateLevels();
			_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
			_root.questVisible = true;
			_root.world.chatWindow.gotoAndStop(1);
		}
	}
	button 9285 {
		on (release) {
			if (_root.questSelectedItem != '') {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					var questName = 'shadowRunnersBoss1Q';
					_root.factionUp('shadowRunners', _root[questName][8]);
					_root.factionDown('theAlliance', _root[questName][8]);
					_root.inventory[openSlot] = _root.questSelectedItem;
					var newName = 'item' + _root.invDepth;
					_root.world.mainMenu.characterMenu.attachMovie(_root.questSelectedItem + 'Inv', newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
					var upLevel = _root[questName][11] + 1;
					var downLevel = _root[questName][12] + 1;
					_root.factionLevels[upLevel] += _root[questName][8];
					_root.factionLevels[downLevel] -= _root[questName][8];
					_root.clearInventory('boss1');
					i = 0;
					while (i < 7) {
						if (_root.activeQuests[i] == questName) {
							_root.activeQuests[i] = '';
							var targetQuest = 'quest' + (i + 1);
							var targetComp = 'complete' + (i + 1);
							_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
							_root.world.mainMenu.characterMenu.boss1.removeMovieClip();
							_root.world.mainMenu[targetQuest].gotoAndStop(1);
							_root.world.mainMenu[targetComp].gotoAndStop(1);
						}
						++i;
					}
					_root.world.questGiver.onQuest = false;
					_root.world.questGiver.questAvailable = false;
					_root.world.questGiver.questStatus.gotoAndStop(1);
					_root.world.mainMenu.descriptions.gotoAndStop(1);
					_root.world.mainMenu.questBorder.gotoAndStop(1);
					_root.questHighlighted = 'null';
					_root.shadowRunnersBoss1Q[9] = true;
					_root.allianceBoss1Q[9] = true;
					_root.playSound('questComplete');
					_root.curExp += _root[questName][13];
					_root.gold += _root[questName][7];
					_root.updateLevels();
					_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
					_root.questVisible = true;
					_root.world.chatWindow.gotoAndStop(1);
				} else {
					_root.showMessage('Your inventory is full');
				}
			} else {
				_root.showMessage('Choose a reward first');
			}
		}
	}
	button 9288 {
		on (release) {
			var questName = 'paladinQ';
			_root.factionUp('shadowRunners', _root[questName][8]);
			_root.factionDown('theAlliance', _root[questName][8]);
			var upLevel = _root[questName][11] + 1;
			var downLevel = _root[questName][12] + 1;
			_root.factionLevels[upLevel] += _root[questName][8];
			_root.factionLevels[downLevel] -= _root[questName][8];
			_root.clearInventory(questName);
			i = 0;
			while (i < 7) {
				if (_root.activeQuests[i] == questName) {
					_root.activeQuests[i] = '';
					var targetQuest = 'quest' + (i + 1);
					var targetComp = 'complete' + (i + 1);
					_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
					_root.world.mainMenu.characterMenu[questName].removeMovieClip();
					_root.world.mainMenu[targetQuest].gotoAndStop(1);
					_root.world.mainMenu[targetComp].gotoAndStop(1);
				}
				++i;
			}
			_root.world.questGiver.onQuest = false;
			_root.world.questGiver.questAvailable = false;
			_root.world.questGiver.questStatus.gotoAndStop(1);
			_root.world.mainMenu.descriptions.gotoAndStop(1);
			_root.world.mainMenu.questBorder.gotoAndStop(1);
			_root.questHighlighted = 'null';
			_root[questName][9] = true;
			_root.playSound('questComplete');
			_root.curExp += _root[questName][13];
			_root.gold += _root[questName][7];
			_root.updateLevels();
			_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
			_root.questVisible = true;
			_root.world.chatWindow.gotoAndStop(1);
		}
	}
	button 9291 {
		on (release) {
			if (_root.questSelectedItem != '') {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					var questName = 'greenviewMageQ';
					_root.factionUp('shadowRunners', _root[questName][8]);
					_root.factionDown('theAlliance', _root[questName][8]);
					_root.inventory[openSlot] = _root.questSelectedItem;
					var newName = 'item' + _root.invDepth;
					_root.world.mainMenu.characterMenu.attachMovie(_root.questSelectedItem + 'Inv', newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
					var upLevel = _root[questName][11] + 1;
					var downLevel = _root[questName][12] + 1;
					_root.factionLevels[upLevel] += _root[questName][8];
					_root.factionLevels[downLevel] -= _root[questName][8];
					_root.clearInventory(questName);
					i = 0;
					while (i < 7) {
						if (_root.activeQuests[i] == questName) {
							_root.activeQuests[i] = '';
							var targetQuest = 'quest' + (i + 1);
							var targetComp = 'complete' + (i + 1);
							_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
							_root.world.mainMenu.characterMenu[questName].removeMovieClip();
							_root.world.mainMenu[targetQuest].gotoAndStop(1);
							_root.world.mainMenu[targetComp].gotoAndStop(1);
						}
						++i;
					}
					_root.world.questGiver.onQuest = false;
					_root.world.questGiver.questAvailable = false;
					_root.world.questGiver.questStatus.gotoAndStop(1);
					_root.world.mainMenu.descriptions.gotoAndStop(1);
					_root.world.mainMenu.questBorder.gotoAndStop(1);
					_root.questHighlighted = 'null';
					_root[questName][9] = true;
					_root.playSound('questComplete');
					_root.curExp += _root[questName][13];
					_root.gold += _root[questName][7];
					_root.updateLevels();
					_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
					_root.questVisible = true;
					_root.world.chatWindow.gotoAndStop(1);
				} else {
					_root.showMessage('Your inventory is full');
				}
			} else {
				_root.showMessage('Choose a reward first');
			}
		}
	}
	button 9295 {
		on (release) {
			if (_root.questSelectedItem != '') {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					var questName = 'greenviewGuardQ';
					_root.factionUp('shadowRunners', _root[questName][8]);
					_root.factionDown('theAlliance', _root[questName][8]);
					_root.inventory[openSlot] = _root.questSelectedItem;
					var newName = 'item' + _root.invDepth;
					_root.world.mainMenu.characterMenu.attachMovie(_root.questSelectedItem + 'Inv', newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
					var upLevel = _root[questName][11] + 1;
					var downLevel = _root[questName][12] + 1;
					_root.factionLevels[upLevel] += _root[questName][8];
					_root.factionLevels[downLevel] -= _root[questName][8];
					_root.clearInventory(questName);
					i = 0;
					while (i < 7) {
						if (_root.activeQuests[i] == questName) {
							_root.activeQuests[i] = '';
							var targetQuest = 'quest' + (i + 1);
							var targetComp = 'complete' + (i + 1);
							_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
							_root.world.mainMenu.characterMenu[questName].removeMovieClip();
							_root.world.mainMenu[targetQuest].gotoAndStop(1);
							_root.world.mainMenu[targetComp].gotoAndStop(1);
						}
						++i;
					}
					_root.world.questGiver.onQuest = false;
					_root.world.questGiver.questAvailable = false;
					_root.world.questGiver.questStatus.gotoAndStop(1);
					_root.world.mainMenu.descriptions.gotoAndStop(1);
					_root.world.mainMenu.questBorder.gotoAndStop(1);
					_root.questHighlighted = 'null';
					_root[questName][9] = true;
					_root.playSound('questComplete');
					_root.curExp += _root[questName][13];
					_root.gold += _root[questName][7];
					_root.updateLevels();
					_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
					_root.questVisible = true;
					_root.world.chatWindow.gotoAndStop(1);
				} else {
					_root.showMessage('Your inventory is full');
				}
			} else {
				_root.showMessage('Choose a reward first');
			}
		}
	}
	button 9296 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('bronzeArmplates');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot1._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot1._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
		on (release) {
			_root.world.chatWindow.slot1.gotoAndStop(2);
			_root.world.chatWindow.slot2.gotoAndStop(1);
			_root.world.chatWindow.slot3.gotoAndStop(1);
			_root.questSelectedItem = 'bronzeArmplates';
		}
	}
	button 9297 {
		on (release) {
			if (_root.questSelectedItem != '') {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					var questName = 'shadowRunnersBoss2Q';
					_root.factionUp('shadowRunners', _root[questName][8]);
					_root.factionDown('theAlliance', _root[questName][8]);
					_root.inventory[openSlot] = _root.questSelectedItem;
					var newName = 'item' + _root.invDepth;
					_root.world.mainMenu.characterMenu.attachMovie(_root.questSelectedItem + 'Inv', newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
					var upLevel = _root[questName][11] + 1;
					var downLevel = _root[questName][12] + 1;
					_root.factionLevels[upLevel] += _root[questName][8];
					_root.factionLevels[downLevel] -= _root[questName][8];
					_root.clearInventory('boss2');
					i = 0;
					while (i < 7) {
						if (_root.activeQuests[i] == questName) {
							_root.activeQuests[i] = '';
							var targetQuest = 'quest' + (i + 1);
							var targetComp = 'complete' + (i + 1);
							_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
							_root.world.mainMenu.characterMenu.boss2.removeMovieClip();
							_root.world.mainMenu[targetQuest].gotoAndStop(1);
							_root.world.mainMenu[targetComp].gotoAndStop(1);
						}
						++i;
					}
					_root.world.questGiver.onQuest = false;
					_root.world.questGiver.questAvailable = false;
					_root.world.questGiver.questStatus.gotoAndStop(1);
					_root.world.mainMenu.descriptions.gotoAndStop(1);
					_root.world.mainMenu.questBorder.gotoAndStop(1);
					_root.questHighlighted = 'null';
					_root.shadowRunnersBoss2Q[9] = true;
					_root.allianceBoss2Q[9] = true;
					_root.playSound('questComplete');
					_root.curExp += _root[questName][13];
					_root.gold += _root[questName][7];
					_root.updateLevels();
					_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
					_root.questVisible = true;
					_root.world.chatWindow.gotoAndStop(1);
				} else {
					_root.showMessage('Your inventory is full');
				}
			} else {
				_root.showMessage('Choose a reward first');
			}
		}
	}
	button 9299 {
		on (release) {
			var questName = 'greenviewWardQ';
			_root.factionUp('shadowRunners', _root[questName][8]);
			_root.factionDown('theAlliance', _root[questName][8]);
			var upLevel = _root[questName][11] + 1;
			var downLevel = _root[questName][12] + 1;
			_root.factionLevels[upLevel] += _root[questName][8];
			_root.factionLevels[downLevel] -= _root[questName][8];
			_root.clearInventory(questName);
			i = 0;
			while (i < 7) {
				if (_root.activeQuests[i] == questName) {
					_root.activeQuests[i] = '';
					var targetQuest = 'quest' + (i + 1);
					var targetComp = 'complete' + (i + 1);
					_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
					_root.world.mainMenu.characterMenu[questName].removeMovieClip();
					_root.world.mainMenu[targetQuest].gotoAndStop(1);
					_root.world.mainMenu[targetComp].gotoAndStop(1);
				}
				++i;
			}
			_root.world.questGiver.onQuest = false;
			_root.world.questGiver.questAvailable = false;
			_root.world.questGiver.questStatus.gotoAndStop(1);
			_root.world.mainMenu.descriptions.gotoAndStop(1);
			_root.world.mainMenu.questBorder.gotoAndStop(1);
			_root.questHighlighted = 'null';
			_root[questName][9] = true;
			_root.playSound('questComplete');
			_root.curExp += _root[questName][13];
			_root.gold += _root[questName][7];
			_root.updateLevels();
			_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
			_root.questVisible = true;
			_root.world.chatWindow.gotoAndStop(1);
		}
	}
	button 9302 {
		on (release) {
			var questName = 'sageOfLightQ';
			_root.factionUp('shadowRunners', _root[questName][8]);
			_root.factionDown('theAlliance', _root[questName][8]);
			var upLevel = _root[questName][11] + 1;
			var downLevel = _root[questName][12] + 1;
			_root.factionLevels[upLevel] += _root[questName][8];
			_root.factionLevels[downLevel] -= _root[questName][8];
			_root.clearInventory(questName);
			i = 0;
			while (i < 7) {
				if (_root.activeQuests[i] == questName) {
					_root.activeQuests[i] = '';
					var targetQuest = 'quest' + (i + 1);
					var targetComp = 'complete' + (i + 1);
					_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
					_root.world.mainMenu.characterMenu[questName].removeMovieClip();
					_root.world.mainMenu[targetQuest].gotoAndStop(1);
					_root.world.mainMenu[targetComp].gotoAndStop(1);
				}
				++i;
			}
			_root.world.questGiver.onQuest = false;
			_root.world.questGiver.questAvailable = false;
			_root.world.questGiver.questStatus.gotoAndStop(1);
			_root.world.mainMenu.descriptions.gotoAndStop(1);
			_root.world.mainMenu.questBorder.gotoAndStop(1);
			_root.questHighlighted = 'null';
			_root[questName][9] = true;
			_root.playSound('questComplete');
			_root.curExp += _root[questName][13];
			_root.gold += _root[questName][7];
			_root.updateLevels();
			_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
			_root.questVisible = true;
			_root.world.chatWindow.gotoAndStop(1);
		}
	}
	button 9305 {
		on (release) {
			var questName = 'holyAssassinQ';
			_root.factionUp('shadowRunners', _root[questName][8]);
			_root.factionDown('theAlliance', _root[questName][8]);
			var upLevel = _root[questName][11] + 1;
			var downLevel = _root[questName][12] + 1;
			_root.factionLevels[upLevel] += _root[questName][8];
			_root.factionLevels[downLevel] -= _root[questName][8];
			_root.clearInventory(questName);
			i = 0;
			while (i < 7) {
				if (_root.activeQuests[i] == questName) {
					_root.activeQuests[i] = '';
					var targetQuest = 'quest' + (i + 1);
					var targetComp = 'complete' + (i + 1);
					_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
					_root.world.mainMenu.characterMenu[questName].removeMovieClip();
					_root.world.mainMenu[targetQuest].gotoAndStop(1);
					_root.world.mainMenu[targetComp].gotoAndStop(1);
				}
				++i;
			}
			_root.world.questGiver.onQuest = false;
			_root.world.questGiver.questAvailable = false;
			_root.world.questGiver.questStatus.gotoAndStop(1);
			_root.world.mainMenu.descriptions.gotoAndStop(1);
			_root.world.mainMenu.questBorder.gotoAndStop(1);
			_root.questHighlighted = 'null';
			_root[questName][9] = true;
			_root.playSound('questComplete');
			_root.curExp += _root[questName][13];
			_root.gold += _root[questName][7];
			_root.updateLevels();
			_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
			_root.questVisible = true;
			_root.world.chatWindow.gotoAndStop(1);
		}
	}
	button 9308 {
		on (release) {
			var questName = 'strikerOfHartQ';
			_root.factionUp('shadowRunners', _root[questName][8]);
			_root.factionDown('theAlliance', _root[questName][8]);
			var upLevel = _root[questName][11] + 1;
			var downLevel = _root[questName][12] + 1;
			_root.factionLevels[upLevel] += _root[questName][8];
			_root.factionLevels[downLevel] -= _root[questName][8];
			_root.clearInventory(questName);
			i = 0;
			while (i < 7) {
				if (_root.activeQuests[i] == questName) {
					_root.activeQuests[i] = '';
					var targetQuest = 'quest' + (i + 1);
					var targetComp = 'complete' + (i + 1);
					_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
					_root.world.mainMenu.characterMenu[questName].removeMovieClip();
					_root.world.mainMenu[targetQuest].gotoAndStop(1);
					_root.world.mainMenu[targetComp].gotoAndStop(1);
				}
				++i;
			}
			_root.world.questGiver.onQuest = false;
			_root.world.questGiver.questAvailable = false;
			_root.world.questGiver.questStatus.gotoAndStop(1);
			_root.world.mainMenu.descriptions.gotoAndStop(1);
			_root.world.mainMenu.questBorder.gotoAndStop(1);
			_root.questHighlighted = 'null';
			_root[questName][9] = true;
			_root.playSound('questComplete');
			_root.curExp += _root[questName][13];
			_root.gold += _root[questName][7];
			_root.updateLevels();
			_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
			_root.questVisible = true;
			_root.world.chatWindow.gotoAndStop(1);
		}
	}
	button 9311 {
		on (release) {
			var questName = 'guardOfHartQ';
			_root.factionUp('shadowRunners', _root[questName][8]);
			_root.factionDown('theAlliance', _root[questName][8]);
			var upLevel = _root[questName][11] + 1;
			var downLevel = _root[questName][12] + 1;
			_root.factionLevels[upLevel] += _root[questName][8];
			_root.factionLevels[downLevel] -= _root[questName][8];
			_root.clearInventory(questName);
			i = 0;
			while (i < 7) {
				if (_root.activeQuests[i] == questName) {
					_root.activeQuests[i] = '';
					var targetQuest = 'quest' + (i + 1);
					var targetComp = 'complete' + (i + 1);
					_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
					_root.world.mainMenu.characterMenu[questName].removeMovieClip();
					_root.world.mainMenu[targetQuest].gotoAndStop(1);
					_root.world.mainMenu[targetComp].gotoAndStop(1);
				}
				++i;
			}
			_root.world.questGiver.onQuest = false;
			_root.world.questGiver.questAvailable = false;
			_root.world.questGiver.questStatus.gotoAndStop(1);
			_root.world.mainMenu.descriptions.gotoAndStop(1);
			_root.world.mainMenu.questBorder.gotoAndStop(1);
			_root.questHighlighted = 'null';
			_root[questName][9] = true;
			_root.playSound('questComplete');
			_root.curExp += _root[questName][13];
			_root.gold += _root[questName][7];
			_root.updateLevels();
			_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
			_root.questVisible = true;
			_root.world.chatWindow.gotoAndStop(1);
		}
	}
	button 9314 {
		on (release) {
			var questName = 'shadowRunnersBoss3Q';
			_root.factionUp('shadowRunners', _root[questName][8]);
			_root.factionDown('theAlliance', _root[questName][8]);
			_root.inventory[openSlot] = _root.questSelectedItem;
			var newName = 'item' + _root.invDepth;
			_root.world.mainMenu.characterMenu.attachMovie(_root.questSelectedItem + 'Inv', newName, ++_root.invDepth);
			_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
			_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
			var upLevel = _root[questName][11] + 1;
			var downLevel = _root[questName][12] + 1;
			_root.factionLevels[upLevel] += _root[questName][8];
			_root.factionLevels[downLevel] -= _root[questName][8];
			_root.clearInventory('boss3');
			i = 0;
			while (i < 7) {
				if (_root.activeQuests[i] == questName) {
					_root.activeQuests[i] = '';
					var targetQuest = 'quest' + (i + 1);
					var targetComp = 'complete' + (i + 1);
					_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
					_root.world.mainMenu.characterMenu.boss3.removeMovieClip();
					_root.world.mainMenu[targetQuest].gotoAndStop(1);
					_root.world.mainMenu[targetComp].gotoAndStop(1);
				}
				++i;
			}
			_root.world.questGiver.onQuest = false;
			_root.world.questGiver.questAvailable = false;
			_root.world.questGiver.questStatus.gotoAndStop(1);
			_root.world.mainMenu.descriptions.gotoAndStop(1);
			_root.world.mainMenu.questBorder.gotoAndStop(1);
			_root.questHighlighted = 'null';
			_root.shadowRunnersBoss3Q[9] = true;
			_root.allianceBoss3Q[9] = true;
			_root.playSound('questComplete');
			_root.curExp += _root[questName][13];
			_root.gold += _root[questName][7];
			_root.updateLevels();
			_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
			_root.questVisible = true;
			_root.world.chatWindow.gotoAndStop(1);
		}
	}
	button 9316 {
		on (release) {
			var questName = 'icecallerOfHartQ';
			_root.factionUp('shadowRunners', _root[questName][8]);
			_root.factionDown('theAlliance', _root[questName][8]);
			var upLevel = _root[questName][11] + 1;
			var downLevel = _root[questName][12] + 1;
			_root.factionLevels[upLevel] += _root[questName][8];
			_root.factionLevels[downLevel] -= _root[questName][8];
			_root.clearInventory(questName);
			i = 0;
			while (i < 7) {
				if (_root.activeQuests[i] == questName) {
					_root.activeQuests[i] = '';
					var targetQuest = 'quest' + (i + 1);
					var targetComp = 'complete' + (i + 1);
					_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
					_root.world.mainMenu.characterMenu[questName].removeMovieClip();
					_root.world.mainMenu[targetQuest].gotoAndStop(1);
					_root.world.mainMenu[targetComp].gotoAndStop(1);
				}
				++i;
			}
			_root.world.questGiver.onQuest = false;
			_root.world.questGiver.questAvailable = false;
			_root.world.questGiver.questStatus.gotoAndStop(1);
			_root.world.mainMenu.descriptions.gotoAndStop(1);
			_root.world.mainMenu.questBorder.gotoAndStop(1);
			_root.questHighlighted = 'null';
			_root[questName][9] = true;
			_root.playSound('questComplete');
			_root.curExp += _root[questName][13];
			_root.gold += _root[questName][7];
			_root.updateLevels();
			_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
			_root.questVisible = true;
			_root.world.chatWindow.gotoAndStop(1);
		}
	}
	button 9319 {
		on (release) {
			var questName = 'shadowOfLightQ';
			_root.factionUp('shadowRunners', _root[questName][8]);
			_root.factionDown('theAlliance', _root[questName][8]);
			var upLevel = _root[questName][11] + 1;
			var downLevel = _root[questName][12] + 1;
			_root.factionLevels[upLevel] += _root[questName][8];
			_root.factionLevels[downLevel] -= _root[questName][8];
			_root.clearInventory(questName);
			i = 0;
			while (i < 7) {
				if (_root.activeQuests[i] == questName) {
					_root.activeQuests[i] = '';
					var targetQuest = 'quest' + (i + 1);
					var targetComp = 'complete' + (i + 1);
					_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
					_root.world.mainMenu.characterMenu[questName].removeMovieClip();
					_root.world.mainMenu[targetQuest].gotoAndStop(1);
					_root.world.mainMenu[targetComp].gotoAndStop(1);
				}
				++i;
			}
			_root.world.questGiver.onQuest = false;
			_root.world.questGiver.questAvailable = false;
			_root.world.questGiver.questStatus.gotoAndStop(1);
			_root.world.mainMenu.descriptions.gotoAndStop(1);
			_root.world.mainMenu.questBorder.gotoAndStop(1);
			_root.questHighlighted = 'null';
			_root[questName][9] = true;
			_root.playSound('questComplete');
			_root.curExp += _root[questName][13];
			_root.gold += _root[questName][7];
			_root.updateLevels();
			_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
			_root.questVisible = true;
			_root.world.chatWindow.gotoAndStop(1);
		}
	}
	button 9323 {
		on (release) {
			var questName = 'devoutGamemasterQ';
			_root.factionUp('shadowRunners', _root[questName][8]);
			_root.factionDown('theAlliance', _root[questName][8]);
			var upLevel = _root[questName][11] + 1;
			var downLevel = _root[questName][12] + 1;
			_root.factionLevels[upLevel] += _root[questName][8];
			_root.factionLevels[downLevel] -= _root[questName][8];
			_root.clearInventory(questName);
			i = 0;
			while (i < 7) {
				if (_root.activeQuests[i] == questName) {
					_root.activeQuests[i] = '';
					var targetQuest = 'quest' + (i + 1);
					var targetComp = 'complete' + (i + 1);
					_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
					_root.world.mainMenu.characterMenu[questName].removeMovieClip();
					_root.world.mainMenu[targetQuest].gotoAndStop(1);
					_root.world.mainMenu[targetComp].gotoAndStop(1);
				}
				++i;
			}
			_root.world.questGiver.onQuest = false;
			_root.world.questGiver.questAvailable = false;
			_root.world.questGiver.questStatus.gotoAndStop(1);
			_root.world.mainMenu.descriptions.gotoAndStop(1);
			_root.world.mainMenu.questBorder.gotoAndStop(1);
			_root.questHighlighted = 'null';
			_root[questName][9] = true;
			_root.playSound('questComplete');
			_root.curExp += _root[questName][13];
			_root.gold += _root[questName][7];
			_root.updateLevels();
			_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
			_root.questVisible = true;
			_root.world.chatWindow.gotoAndStop(1);
		}
	}
	button 9326 {
		on (release) {
			if (_root.questSelectedItem != '') {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					var questName = 'masterPaladinQ';
					_root.factionUp('shadowRunners', _root[questName][8]);
					_root.factionDown('theAlliance', _root[questName][8]);
					_root.inventory[openSlot] = _root.questSelectedItem;
					var newName = 'item' + _root.invDepth;
					_root.world.mainMenu.characterMenu.attachMovie(_root.questSelectedItem + 'Inv', newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
					var upLevel = _root[questName][11] + 1;
					var downLevel = _root[questName][12] + 1;
					_root.factionLevels[upLevel] += _root[questName][8];
					_root.factionLevels[downLevel] -= _root[questName][8];
					_root.clearInventory(questName);
					i = 0;
					while (i < 7) {
						if (_root.activeQuests[i] == questName) {
							_root.activeQuests[i] = '';
							var targetQuest = 'quest' + (i + 1);
							var targetComp = 'complete' + (i + 1);
							_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
							_root.world.mainMenu.characterMenu[questName].removeMovieClip();
							_root.world.mainMenu[targetQuest].gotoAndStop(1);
							_root.world.mainMenu[targetComp].gotoAndStop(1);
						}
						++i;
					}
					_root.world.questGiver.onQuest = false;
					_root.world.questGiver.questAvailable = false;
					_root.world.questGiver.questStatus.gotoAndStop(1);
					_root.world.mainMenu.descriptions.gotoAndStop(1);
					_root.world.mainMenu.questBorder.gotoAndStop(1);
					_root.questHighlighted = 'null';
					_root[questName][9] = true;
					_root.playSound('questComplete');
					_root.curExp += _root[questName][13];
					_root.gold += _root[questName][7];
					_root.updateLevels();
					_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
					_root.questVisible = true;
					_root.world.chatWindow.gotoAndStop(1);
				} else {
					_root.showMessage('Your inventory is full');
				}
			} else {
				_root.showMessage('Choose a reward first');
			}
		}
	}
	button 9329 {
		on (release) {
			_root.questSelectedItem = 'theHeartstone';
			if (_root.questSelectedItem != '') {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					var questName = 'shadowRunnersBoss4Q';
					_root.factionUp('shadowRunners', _root[questName][8]);
					_root.factionDown('theAlliance', _root[questName][8]);
					_root.inventory[openSlot] = _root.questSelectedItem;
					var newName = 'item' + _root.invDepth;
					_root.world.mainMenu.characterMenu.attachMovie(_root.questSelectedItem + 'Inv', newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
					var upLevel = _root[questName][11] + 1;
					var downLevel = _root[questName][12] + 1;
					_root.factionLevels[upLevel] += _root[questName][8];
					_root.factionLevels[downLevel] -= _root[questName][8];
					_root.clearInventory('boss4');
					i = 0;
					while (i < 7) {
						if (_root.activeQuests[i] == questName) {
							_root.activeQuests[i] = '';
							var targetQuest = 'quest' + (i + 1);
							var targetComp = 'complete' + (i + 1);
							_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
							_root.world.mainMenu.characterMenu.boss4.removeMovieClip();
							_root.world.mainMenu[targetQuest].gotoAndStop(1);
							_root.world.mainMenu[targetComp].gotoAndStop(1);
						}
						++i;
					}
					_root.world.questGiver.onQuest = false;
					_root.world.questGiver.questAvailable = false;
					_root.world.questGiver.questStatus.gotoAndStop(1);
					_root.world.mainMenu.descriptions.gotoAndStop(1);
					_root.world.mainMenu.questBorder.gotoAndStop(1);
					_root.questHighlighted = 'null';
					_root.shadowRunnersBoss4Q[9] = true;
					_root.allianceBoss4Q[9] = true;
					_root.playSound('questComplete');
					_root.curExp += _root[questName][13];
					_root.gold += _root[questName][7];
					_root.updateLevels();
					_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
					_root.questVisible = true;
					_root.world.chatWindow.gotoAndStop(1);
				} else {
					_root.showMessage('Your inventory is full');
				}
			} else {
				_root.showMessage('Choose a reward first');
			}
		}
	}
	button 9335 {
		on (release) {
			_root.questSelectedItem = 'rustySword';
			if (_root.questSelectedItem != '') {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					var questName = 'apprenticeQ';
					_root.factionUp('theBlademasters', _root[questName][8]);
					_root.factionDown('theMagicians', _root[questName][8]);
					_root.inventory[openSlot] = _root.questSelectedItem;
					var newName = 'item' + _root.invDepth;
					_root.world.mainMenu.characterMenu.attachMovie(_root.questSelectedItem + 'Inv', newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
					var upLevel = _root[questName][11] + 1;
					var downLevel = _root[questName][12] + 1;
					_root.factionLevels[upLevel] += _root[questName][8];
					_root.factionLevels[downLevel] -= _root[questName][8];
					_root.clearInventory(questName);
					i = 0;
					while (i < 7) {
						if (_root.activeQuests[i] == questName) {
							_root.activeQuests[i] = '';
							var targetQuest = 'quest' + (i + 1);
							var targetComp = 'complete' + (i + 1);
							_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
							_root.world.mainMenu.characterMenu[questName].removeMovieClip();
							_root.world.mainMenu[targetQuest].gotoAndStop(1);
							_root.world.mainMenu[targetComp].gotoAndStop(1);
						}
						++i;
					}
					_root.world.questGiver.onQuest = false;
					_root.world.questGiver.questAvailable = false;
					_root.world.questGiver.questStatus.gotoAndStop(1);
					_root.world.mainMenu.descriptions.gotoAndStop(1);
					_root.world.mainMenu.questBorder.gotoAndStop(1);
					_root.questHighlighted = 'null';
					_root[questName][9] = true;
					_root.playSound('questComplete');
					_root.curExp += _root[questName][13];
					_root.gold += _root[questName][7];
					_root.updateLevels();
					_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
					_root.questVisible = true;
					_root.world.chatWindow.gotoAndStop(1);
				} else {
					_root.showMessage('Your inventory is full');
				}
			} else {
				_root.showMessage('Choose a reward first');
			}
		}
	}
	button 9336 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('rustySword');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot1._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot1._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
	}
	button 9339 {
		on (release) {
			var questName = 'archerQ';
			_root.factionUp('theBlademasters', _root[questName][8]);
			_root.factionDown('theTrackers', _root[questName][8]);
			var upLevel = _root[questName][11] + 1;
			var downLevel = _root[questName][12] + 1;
			_root.factionLevels[upLevel] += _root[questName][8];
			_root.factionLevels[downLevel] -= _root[questName][8];
			_root.clearInventory(questName);
			i = 0;
			while (i < 7) {
				if (_root.activeQuests[i] == questName) {
					_root.activeQuests[i] = '';
					var targetQuest = 'quest' + (i + 1);
					var targetComp = 'complete' + (i + 1);
					_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
					_root.world.mainMenu.characterMenu[questName].removeMovieClip();
					_root.world.mainMenu[targetQuest].gotoAndStop(1);
					_root.world.mainMenu[targetComp].gotoAndStop(1);
				}
				++i;
			}
			_root.world.questGiver.onQuest = false;
			_root.world.questGiver.questAvailable = false;
			_root.world.questGiver.questStatus.gotoAndStop(1);
			_root.world.mainMenu.descriptions.gotoAndStop(1);
			_root.world.mainMenu.questBorder.gotoAndStop(1);
			_root.questHighlighted = 'null';
			_root[questName][9] = true;
			_root.playSound('questComplete');
			_root.curExp += _root[questName][13];
			_root.gold += _root[questName][7];
			_root.updateLevels();
			_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
			_root.questVisible = true;
			_root.world.chatWindow.gotoAndStop(1);
		}
	}
	button 9342 {
		on (release) {
			_root.questSelectedItem = 'ironShortsword';
			if (_root.questSelectedItem != '') {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					var questName = 'pathfinderQ';
					_root.factionUp('theBlademasters', _root[questName][8]);
					_root.factionDown('theTrackers', _root[questName][8]);
					_root.inventory[openSlot] = _root.questSelectedItem;
					var newName = 'item' + _root.invDepth;
					_root.world.mainMenu.characterMenu.attachMovie(_root.questSelectedItem + 'Inv', newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
					var upLevel = _root[questName][11] + 1;
					var downLevel = _root[questName][12] + 1;
					_root.factionLevels[upLevel] += _root[questName][8];
					_root.factionLevels[downLevel] -= _root[questName][8];
					_root.clearInventory(questName);
					i = 0;
					while (i < 7) {
						if (_root.activeQuests[i] == questName) {
							_root.activeQuests[i] = '';
							var targetQuest = 'quest' + (i + 1);
							var targetComp = 'complete' + (i + 1);
							_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
							_root.world.mainMenu.characterMenu[questName].removeMovieClip();
							_root.world.mainMenu[targetQuest].gotoAndStop(1);
							_root.world.mainMenu[targetComp].gotoAndStop(1);
						}
						++i;
					}
					_root.world.questGiver.onQuest = false;
					_root.world.questGiver.questAvailable = false;
					_root.world.questGiver.questStatus.gotoAndStop(1);
					_root.world.mainMenu.descriptions.gotoAndStop(1);
					_root.world.mainMenu.questBorder.gotoAndStop(1);
					_root.questHighlighted = 'null';
					_root[questName][9] = true;
					_root.playSound('questComplete');
					_root.curExp += _root[questName][13];
					_root.gold += _root[questName][7];
					_root.updateLevels();
					_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
					_root.questVisible = true;
					_root.world.chatWindow.gotoAndStop(1);
				} else {
					_root.showMessage('Your inventory is full');
				}
			} else {
				_root.showMessage('Choose a reward first');
			}
		}
	}
	button 9345 {
		on (release) {
			_root.questSelectedItem = 'soldiersMark';
			if (_root.questSelectedItem != '') {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					var questName = 'channelerQ';
					_root.factionUp('theBlademasters', _root[questName][8]);
					_root.factionDown('theTrackers', _root[questName][8]);
					_root.inventory[openSlot] = _root.questSelectedItem;
					var newName = 'item' + _root.invDepth;
					_root.world.mainMenu.characterMenu.attachMovie(_root.questSelectedItem + 'Inv', newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
					var upLevel = _root[questName][11] + 1;
					var downLevel = _root[questName][12] + 1;
					_root.factionLevels[upLevel] += _root[questName][8];
					_root.factionLevels[downLevel] -= _root[questName][8];
					_root.clearInventory(questName);
					i = 0;
					while (i < 7) {
						if (_root.activeQuests[i] == questName) {
							_root.activeQuests[i] = '';
							var targetQuest = 'quest' + (i + 1);
							var targetComp = 'complete' + (i + 1);
							_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
							_root.world.mainMenu.characterMenu[questName].removeMovieClip();
							_root.world.mainMenu[targetQuest].gotoAndStop(1);
							_root.world.mainMenu[targetComp].gotoAndStop(1);
						}
						++i;
					}
					_root.world.questGiver.onQuest = false;
					_root.world.questGiver.questAvailable = false;
					_root.world.questGiver.questStatus.gotoAndStop(1);
					_root.world.mainMenu.descriptions.gotoAndStop(1);
					_root.world.mainMenu.questBorder.gotoAndStop(1);
					_root.questHighlighted = 'null';
					_root[questName][9] = true;
					_root.playSound('questComplete');
					_root.curExp += _root[questName][13];
					_root.gold += _root[questName][7];
					_root.updateLevels();
					_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
					_root.questVisible = true;
					_root.world.chatWindow.gotoAndStop(1);
				} else {
					_root.showMessage('Your inventory is full');
				}
			} else {
				_root.showMessage('Choose a reward first');
			}
		}
	}
	button 9348 {
		on (release) {
			_root.questSelectedItem = 'blackBronzeSword';
			if (_root.questSelectedItem != '') {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					var questName = 'warderQ';
					_root.factionUp('theBlademasters', _root[questName][8]);
					_root.factionDown('theTrackers', _root[questName][8]);
					_root.inventory[openSlot] = _root.questSelectedItem;
					var newName = 'item' + _root.invDepth;
					_root.world.mainMenu.characterMenu.attachMovie(_root.questSelectedItem + 'Inv', newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
					var upLevel = _root[questName][11] + 1;
					var downLevel = _root[questName][12] + 1;
					_root.factionLevels[upLevel] += _root[questName][8];
					_root.factionLevels[downLevel] -= _root[questName][8];
					_root.clearInventory(questName);
					i = 0;
					while (i < 7) {
						if (_root.activeQuests[i] == questName) {
							_root.activeQuests[i] = '';
							var targetQuest = 'quest' + (i + 1);
							var targetComp = 'complete' + (i + 1);
							_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
							_root.world.mainMenu.characterMenu[questName].removeMovieClip();
							_root.world.mainMenu[targetQuest].gotoAndStop(1);
							_root.world.mainMenu[targetComp].gotoAndStop(1);
						}
						++i;
					}
					_root.world.questGiver.onQuest = false;
					_root.world.questGiver.questAvailable = false;
					_root.world.questGiver.questStatus.gotoAndStop(1);
					_root.world.mainMenu.descriptions.gotoAndStop(1);
					_root.world.mainMenu.questBorder.gotoAndStop(1);
					_root.questHighlighted = 'null';
					_root[questName][9] = true;
					_root.playSound('questComplete');
					_root.curExp += _root[questName][13];
					_root.gold += _root[questName][7];
					_root.updateLevels();
					_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
					_root.questVisible = true;
					_root.world.chatWindow.gotoAndStop(1);
				} else {
					_root.showMessage('Your inventory is full');
				}
			} else {
				_root.showMessage('Choose a reward first');
			}
		}
	}
	button 9351 {
		on (release) {
			_root.questSelectedItem = 'deathsHand';
			if (_root.questSelectedItem != '') {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					var questName = 'aeromancerQ';
					_root.factionUp('theBlademasters', _root[questName][8]);
					_root.factionDown('theMagicians', _root[questName][8]);
					_root.inventory[openSlot] = _root.questSelectedItem;
					var newName = 'item' + _root.invDepth;
					_root.world.mainMenu.characterMenu.attachMovie(_root.questSelectedItem + 'Inv', newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
					var upLevel = _root[questName][11] + 1;
					var downLevel = _root[questName][12] + 1;
					_root.factionLevels[upLevel] += _root[questName][8];
					_root.factionLevels[downLevel] -= _root[questName][8];
					_root.clearInventory(questName);
					i = 0;
					while (i < 7) {
						if (_root.activeQuests[i] == questName) {
							_root.activeQuests[i] = '';
							var targetQuest = 'quest' + (i + 1);
							var targetComp = 'complete' + (i + 1);
							_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
							_root.world.mainMenu.characterMenu[questName].removeMovieClip();
							_root.world.mainMenu[targetQuest].gotoAndStop(1);
							_root.world.mainMenu[targetComp].gotoAndStop(1);
						}
						++i;
					}
					_root.world.questGiver.onQuest = false;
					_root.world.questGiver.questAvailable = false;
					_root.world.questGiver.questStatus.gotoAndStop(1);
					_root.world.mainMenu.descriptions.gotoAndStop(1);
					_root.world.mainMenu.questBorder.gotoAndStop(1);
					_root.questHighlighted = 'null';
					_root[questName][9] = true;
					_root.playSound('questComplete');
					_root.curExp += _root[questName][13];
					_root.gold += _root[questName][7];
					_root.updateLevels();
					_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
					_root.questVisible = true;
					_root.world.chatWindow.gotoAndStop(1);
				} else {
					_root.showMessage('Your inventory is full');
				}
			} else {
				_root.showMessage('Choose a reward first');
			}
		}
	}
	button 9354 {
		on (release) {
			_root.questSelectedItem = 'oakBow';
			if (_root.questSelectedItem != '') {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					var questName = 'squireQ';
					_root.factionUp('theTrackers', _root[questName][8]);
					_root.factionDown('theBlademasters', _root[questName][8]);
					_root.inventory[openSlot] = _root.questSelectedItem;
					var newName = 'item' + _root.invDepth;
					_root.world.mainMenu.characterMenu.attachMovie(_root.questSelectedItem + 'Inv', newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
					var upLevel = _root[questName][11] + 1;
					var downLevel = _root[questName][12] + 1;
					_root.factionLevels[upLevel] += _root[questName][8];
					_root.factionLevels[downLevel] -= _root[questName][8];
					_root.clearInventory(questName);
					i = 0;
					while (i < 7) {
						if (_root.activeQuests[i] == questName) {
							_root.activeQuests[i] = '';
							var targetQuest = 'quest' + (i + 1);
							var targetComp = 'complete' + (i + 1);
							_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
							_root.world.mainMenu.characterMenu[questName].removeMovieClip();
							_root.world.mainMenu[targetQuest].gotoAndStop(1);
							_root.world.mainMenu[targetComp].gotoAndStop(1);
						}
						++i;
					}
					_root.world.questGiver.onQuest = false;
					_root.world.questGiver.questAvailable = false;
					_root.world.questGiver.questStatus.gotoAndStop(1);
					_root.world.mainMenu.descriptions.gotoAndStop(1);
					_root.world.mainMenu.questBorder.gotoAndStop(1);
					_root.questHighlighted = 'null';
					_root[questName][9] = true;
					_root.playSound('questComplete');
					_root.curExp += _root[questName][13];
					_root.gold += _root[questName][7];
					_root.updateLevels();
					_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
					_root.questVisible = true;
					_root.world.chatWindow.gotoAndStop(1);
				} else {
					_root.showMessage('Your inventory is full');
				}
			} else {
				_root.showMessage('Choose a reward first');
			}
		}
	}
	button 9355 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('oakBow');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot1._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot1._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
	}
	button 9358 {
		on (release) {
			var questName = 'sageQ';
			_root.factionUp('theTrackers', _root[questName][8]);
			_root.factionDown('theMagicians', _root[questName][8]);
			var upLevel = _root[questName][11] + 1;
			var downLevel = _root[questName][12] + 1;
			_root.factionLevels[upLevel] += _root[questName][8];
			_root.factionLevels[downLevel] -= _root[questName][8];
			_root.clearInventory(questName);
			i = 0;
			while (i < 7) {
				if (_root.activeQuests[i] == questName) {
					_root.activeQuests[i] = '';
					var targetQuest = 'quest' + (i + 1);
					var targetComp = 'complete' + (i + 1);
					_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
					_root.world.mainMenu.characterMenu[questName].removeMovieClip();
					_root.world.mainMenu[targetQuest].gotoAndStop(1);
					_root.world.mainMenu[targetComp].gotoAndStop(1);
				}
				++i;
			}
			_root.world.questGiver.onQuest = false;
			_root.world.questGiver.questAvailable = false;
			_root.world.questGiver.questStatus.gotoAndStop(1);
			_root.world.mainMenu.descriptions.gotoAndStop(1);
			_root.world.mainMenu.questBorder.gotoAndStop(1);
			_root.questHighlighted = 'null';
			_root[questName][9] = true;
			_root.playSound('questComplete');
			_root.curExp += _root[questName][13];
			_root.gold += _root[questName][7];
			_root.updateLevels();
			_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
			_root.questVisible = true;
			_root.world.chatWindow.gotoAndStop(1);
		}
	}
	button 9361 {
		on (release) {
			_root.questSelectedItem = 'pathfindersBow';
			if (_root.questSelectedItem != '') {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					var questName = 'ritualistQ';
					_root.factionUp('theTrackers', _root[questName][8]);
					_root.factionDown('theMagicians', _root[questName][8]);
					_root.inventory[openSlot] = _root.questSelectedItem;
					var newName = 'item' + _root.invDepth;
					_root.world.mainMenu.characterMenu.attachMovie(_root.questSelectedItem + 'Inv', newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
					var upLevel = _root[questName][11] + 1;
					var downLevel = _root[questName][12] + 1;
					_root.factionLevels[upLevel] += _root[questName][8];
					_root.factionLevels[downLevel] -= _root[questName][8];
					_root.clearInventory(questName);
					i = 0;
					while (i < 7) {
						if (_root.activeQuests[i] == questName) {
							_root.activeQuests[i] = '';
							var targetQuest = 'quest' + (i + 1);
							var targetComp = 'complete' + (i + 1);
							_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
							_root.world.mainMenu.characterMenu[questName].removeMovieClip();
							_root.world.mainMenu[targetQuest].gotoAndStop(1);
							_root.world.mainMenu[targetComp].gotoAndStop(1);
						}
						++i;
					}
					_root.world.questGiver.onQuest = false;
					_root.world.questGiver.questAvailable = false;
					_root.world.questGiver.questStatus.gotoAndStop(1);
					_root.world.mainMenu.descriptions.gotoAndStop(1);
					_root.world.mainMenu.questBorder.gotoAndStop(1);
					_root.questHighlighted = 'null';
					_root[questName][9] = true;
					_root.playSound('questComplete');
					_root.curExp += _root[questName][13];
					_root.gold += _root[questName][7];
					_root.updateLevels();
					_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
					_root.questVisible = true;
					_root.world.chatWindow.gotoAndStop(1);
				} else {
					_root.showMessage('Your inventory is full');
				}
			} else {
				_root.showMessage('Choose a reward first');
			}
		}
	}
	button 9364 {
		on (release) {
			var questName = 'conquerorQ';
			_root.factionUp('theTrackers', _root[questName][8]);
			_root.factionDown('theBlademasters', _root[questName][8]);
			var upLevel = _root[questName][11] + 1;
			var downLevel = _root[questName][12] + 1;
			_root.factionLevels[upLevel] += _root[questName][8];
			_root.factionLevels[downLevel] -= _root[questName][8];
			_root.clearInventory(questName);
			i = 0;
			while (i < 7) {
				if (_root.activeQuests[i] == questName) {
					_root.activeQuests[i] = '';
					var targetQuest = 'quest' + (i + 1);
					var targetComp = 'complete' + (i + 1);
					_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
					_root.world.mainMenu.characterMenu[questName].removeMovieClip();
					_root.world.mainMenu[targetQuest].gotoAndStop(1);
					_root.world.mainMenu[targetComp].gotoAndStop(1);
				}
				++i;
			}
			_root.world.questGiver.onQuest = false;
			_root.world.questGiver.questAvailable = false;
			_root.world.questGiver.questStatus.gotoAndStop(1);
			_root.world.mainMenu.descriptions.gotoAndStop(1);
			_root.world.mainMenu.questBorder.gotoAndStop(1);
			_root.questHighlighted = 'null';
			_root[questName][9] = true;
			_root.playSound('questComplete');
			_root.curExp += _root[questName][13];
			_root.gold += _root[questName][7];
			_root.updateLevels();
			_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
			_root.questVisible = true;
			_root.world.chatWindow.gotoAndStop(1);
		}
	}
	button 9367 {
		on (release) {
			_root.questSelectedItem = 'woodsmansVest';
			if (_root.questSelectedItem != '') {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					var questName = 'elementalistQ';
					_root.factionUp('theTrackers', _root[questName][8]);
					_root.factionDown('theMagicians', _root[questName][8]);
					_root.inventory[openSlot] = _root.questSelectedItem;
					var newName = 'item' + _root.invDepth;
					_root.world.mainMenu.characterMenu.attachMovie(_root.questSelectedItem + 'Inv', newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
					var upLevel = _root[questName][11] + 1;
					var downLevel = _root[questName][12] + 1;
					_root.factionLevels[upLevel] += _root[questName][8];
					_root.factionLevels[downLevel] -= _root[questName][8];
					_root.clearInventory(questName);
					i = 0;
					while (i < 7) {
						if (_root.activeQuests[i] == questName) {
							_root.activeQuests[i] = '';
							var targetQuest = 'quest' + (i + 1);
							var targetComp = 'complete' + (i + 1);
							_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
							_root.world.mainMenu.characterMenu[questName].removeMovieClip();
							_root.world.mainMenu[targetQuest].gotoAndStop(1);
							_root.world.mainMenu[targetComp].gotoAndStop(1);
						}
						++i;
					}
					_root.world.questGiver.onQuest = false;
					_root.world.questGiver.questAvailable = false;
					_root.world.questGiver.questStatus.gotoAndStop(1);
					_root.world.mainMenu.descriptions.gotoAndStop(1);
					_root.world.mainMenu.questBorder.gotoAndStop(1);
					_root.questHighlighted = 'null';
					_root[questName][9] = true;
					_root.playSound('questComplete');
					_root.curExp += _root[questName][13];
					_root.gold += _root[questName][7];
					_root.updateLevels();
					_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
					_root.questVisible = true;
					_root.world.chatWindow.gotoAndStop(1);
				} else {
					_root.showMessage('Your inventory is full');
				}
			} else {
				_root.showMessage('Choose a reward first');
			}
		}
	}
	button 9370 {
		on (release) {
			_root.questSelectedItem = 'furyOfTheGlade';
			if (_root.questSelectedItem != '') {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					var questName = 'gladiatorQ';
					_root.factionUp('theTrackers', _root[questName][8]);
					_root.factionDown('theBlademasters', _root[questName][8]);
					_root.inventory[openSlot] = _root.questSelectedItem;
					var newName = 'item' + _root.invDepth;
					_root.world.mainMenu.characterMenu.attachMovie(_root.questSelectedItem + 'Inv', newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
					var upLevel = _root[questName][11] + 1;
					var downLevel = _root[questName][12] + 1;
					_root.factionLevels[upLevel] += _root[questName][8];
					_root.factionLevels[downLevel] -= _root[questName][8];
					_root.clearInventory(questName);
					i = 0;
					while (i < 7) {
						if (_root.activeQuests[i] == questName) {
							_root.activeQuests[i] = '';
							var targetQuest = 'quest' + (i + 1);
							var targetComp = 'complete' + (i + 1);
							_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
							_root.world.mainMenu.characterMenu[questName].removeMovieClip();
							_root.world.mainMenu[targetQuest].gotoAndStop(1);
							_root.world.mainMenu[targetComp].gotoAndStop(1);
						}
						++i;
					}
					_root.world.questGiver.onQuest = false;
					_root.world.questGiver.questAvailable = false;
					_root.world.questGiver.questStatus.gotoAndStop(1);
					_root.world.mainMenu.descriptions.gotoAndStop(1);
					_root.world.mainMenu.questBorder.gotoAndStop(1);
					_root.questHighlighted = 'null';
					_root[questName][9] = true;
					_root.playSound('questComplete');
					_root.curExp += _root[questName][13];
					_root.gold += _root[questName][7];
					_root.updateLevels();
					_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
					_root.questVisible = true;
					_root.world.chatWindow.gotoAndStop(1);
				} else {
					_root.showMessage('Your inventory is full');
				}
			} else {
				_root.showMessage('Choose a reward first');
			}
		}
	}
	button 9373 {
		on (release) {
			_root.questSelectedItem = 'silverWand';
			if (_root.questSelectedItem != '') {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					var questName = 'traineeQ';
					_root.factionUp('theMagicians', _root[questName][8]);
					_root.factionDown('theTrackers', _root[questName][8]);
					_root.inventory[openSlot] = _root.questSelectedItem;
					var newName = 'item' + _root.invDepth;
					_root.world.mainMenu.characterMenu.attachMovie(_root.questSelectedItem + 'Inv', newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
					var upLevel = _root[questName][11] + 1;
					var downLevel = _root[questName][12] + 1;
					_root.factionLevels[upLevel] += _root[questName][8];
					_root.factionLevels[downLevel] -= _root[questName][8];
					_root.clearInventory(questName);
					i = 0;
					while (i < 7) {
						if (_root.activeQuests[i] == questName) {
							_root.activeQuests[i] = '';
							var targetQuest = 'quest' + (i + 1);
							var targetComp = 'complete' + (i + 1);
							_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
							_root.world.mainMenu.characterMenu[questName].removeMovieClip();
							_root.world.mainMenu[targetQuest].gotoAndStop(1);
							_root.world.mainMenu[targetComp].gotoAndStop(1);
						}
						++i;
					}
					_root.world.questGiver.onQuest = false;
					_root.world.questGiver.questAvailable = false;
					_root.world.questGiver.questStatus.gotoAndStop(1);
					_root.world.mainMenu.descriptions.gotoAndStop(1);
					_root.world.mainMenu.questBorder.gotoAndStop(1);
					_root.questHighlighted = 'null';
					_root[questName][9] = true;
					_root.playSound('questComplete');
					_root.curExp += _root[questName][13];
					_root.gold += _root[questName][7];
					_root.updateLevels();
					_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
					_root.questVisible = true;
					_root.world.chatWindow.gotoAndStop(1);
				} else {
					_root.showMessage('Your inventory is full');
				}
			} else {
				_root.showMessage('Choose a reward first');
			}
		}
	}
	button 9374 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('silverWand');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot1._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot1._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
	}
	button 9378 {
		on (release) {
			var questName = 'defenderQ';
			_root.factionUp('theMagicians', _root[questName][8]);
			_root.factionDown('theBlademasters', _root[questName][8]);
			var upLevel = _root[questName][11] + 1;
			var downLevel = _root[questName][12] + 1;
			_root.factionLevels[upLevel] += _root[questName][8];
			_root.factionLevels[downLevel] -= _root[questName][8];
			_root.clearInventory(questName);
			i = 0;
			while (i < 7) {
				if (_root.activeQuests[i] == questName) {
					_root.activeQuests[i] = '';
					var targetQuest = 'quest' + (i + 1);
					var targetComp = 'complete' + (i + 1);
					_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
					_root.world.mainMenu.characterMenu[questName].removeMovieClip();
					_root.world.mainMenu[targetQuest].gotoAndStop(1);
					_root.world.mainMenu[targetComp].gotoAndStop(1);
				}
				++i;
			}
			_root.world.questGiver.onQuest = false;
			_root.world.questGiver.questAvailable = false;
			_root.world.questGiver.questStatus.gotoAndStop(1);
			_root.world.mainMenu.descriptions.gotoAndStop(1);
			_root.world.mainMenu.questBorder.gotoAndStop(1);
			_root.questHighlighted = 'null';
			_root[questName][9] = true;
			_root.playSound('questComplete');
			_root.curExp += _root[questName][13];
			_root.gold += _root[questName][7];
			_root.updateLevels();
			_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
			_root.questVisible = true;
			_root.world.chatWindow.gotoAndStop(1);
		}
	}
	button 9381 {
		on (release) {
			_root.questSelectedItem = 'sorcerersWand';
			if (_root.questSelectedItem != '') {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					var questName = 'knightQ';
					_root.factionUp('theMagicians', _root[questName][8]);
					_root.factionDown('theBlademasters', _root[questName][8]);
					_root.inventory[openSlot] = _root.questSelectedItem;
					var newName = 'item' + _root.invDepth;
					_root.world.mainMenu.characterMenu.attachMovie(_root.questSelectedItem + 'Inv', newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
					var upLevel = _root[questName][11] + 1;
					var downLevel = _root[questName][12] + 1;
					_root.factionLevels[upLevel] += _root[questName][8];
					_root.factionLevels[downLevel] -= _root[questName][8];
					_root.clearInventory(questName);
					i = 0;
					while (i < 7) {
						if (_root.activeQuests[i] == questName) {
							_root.activeQuests[i] = '';
							var targetQuest = 'quest' + (i + 1);
							var targetComp = 'complete' + (i + 1);
							_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
							_root.world.mainMenu.characterMenu[questName].removeMovieClip();
							_root.world.mainMenu[targetQuest].gotoAndStop(1);
							_root.world.mainMenu[targetComp].gotoAndStop(1);
						}
						++i;
					}
					_root.world.questGiver.onQuest = false;
					_root.world.questGiver.questAvailable = false;
					_root.world.questGiver.questStatus.gotoAndStop(1);
					_root.world.mainMenu.descriptions.gotoAndStop(1);
					_root.world.mainMenu.questBorder.gotoAndStop(1);
					_root.questHighlighted = 'null';
					_root[questName][9] = true;
					_root.playSound('questComplete');
					_root.curExp += _root[questName][13];
					_root.gold += _root[questName][7];
					_root.updateLevels();
					_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
					_root.questVisible = true;
					_root.world.chatWindow.gotoAndStop(1);
				} else {
					_root.showMessage('Your inventory is full');
				}
			} else {
				_root.showMessage('Choose a reward first');
			}
		}
	}
	button 9384 {
		on (release) {
			var questName = 'bowmasterQ';
			_root.factionUp('theMagicians', _root[questName][8]);
			_root.factionDown('theTrackers', _root[questName][8]);
			var upLevel = _root[questName][11] + 1;
			var downLevel = _root[questName][12] + 1;
			_root.factionLevels[upLevel] += _root[questName][8];
			_root.factionLevels[downLevel] -= _root[questName][8];
			_root.clearInventory(questName);
			i = 0;
			while (i < 7) {
				if (_root.activeQuests[i] == questName) {
					_root.activeQuests[i] = '';
					var targetQuest = 'quest' + (i + 1);
					var targetComp = 'complete' + (i + 1);
					_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
					_root.world.mainMenu.characterMenu[questName].removeMovieClip();
					_root.world.mainMenu[targetQuest].gotoAndStop(1);
					_root.world.mainMenu[targetComp].gotoAndStop(1);
				}
				++i;
			}
			_root.world.questGiver.onQuest = false;
			_root.world.questGiver.questAvailable = false;
			_root.world.questGiver.questStatus.gotoAndStop(1);
			_root.world.mainMenu.descriptions.gotoAndStop(1);
			_root.world.mainMenu.questBorder.gotoAndStop(1);
			_root.questHighlighted = 'null';
			_root[questName][9] = true;
			_root.playSound('questComplete');
			_root.curExp += _root[questName][13];
			_root.gold += _root[questName][7];
			_root.updateLevels();
			_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
			_root.questVisible = true;
			_root.world.chatWindow.gotoAndStop(1);
		}
	}
	button 9387 {
		on (release) {
			_root.questSelectedItem = 'wandOfElements';
			if (_root.questSelectedItem != '') {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					var questName = 'championQ';
					_root.factionUp('theMagicians', _root[questName][8]);
					_root.factionDown('theBlademasters', _root[questName][8]);
					_root.inventory[openSlot] = _root.questSelectedItem;
					var newName = 'item' + _root.invDepth;
					_root.world.mainMenu.characterMenu.attachMovie(_root.questSelectedItem + 'Inv', newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
					var upLevel = _root[questName][11] + 1;
					var downLevel = _root[questName][12] + 1;
					_root.factionLevels[upLevel] += _root[questName][8];
					_root.factionLevels[downLevel] -= _root[questName][8];
					_root.clearInventory(questName);
					i = 0;
					while (i < 7) {
						if (_root.activeQuests[i] == questName) {
							_root.activeQuests[i] = '';
							var targetQuest = 'quest' + (i + 1);
							var targetComp = 'complete' + (i + 1);
							_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
							_root.world.mainMenu.characterMenu[questName].removeMovieClip();
							_root.world.mainMenu[targetQuest].gotoAndStop(1);
							_root.world.mainMenu[targetComp].gotoAndStop(1);
						}
						++i;
					}
					_root.world.questGiver.onQuest = false;
					_root.world.questGiver.questAvailable = false;
					_root.world.questGiver.questStatus.gotoAndStop(1);
					_root.world.mainMenu.descriptions.gotoAndStop(1);
					_root.world.mainMenu.questBorder.gotoAndStop(1);
					_root.questHighlighted = 'null';
					_root[questName][9] = true;
					_root.playSound('questComplete');
					_root.curExp += _root[questName][13];
					_root.gold += _root[questName][7];
					_root.updateLevels();
					_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
					_root.questVisible = true;
					_root.world.chatWindow.gotoAndStop(1);
				} else {
					_root.showMessage('Your inventory is full');
				}
			} else {
				_root.showMessage('Choose a reward first');
			}
		}
	}
	button 9390 {
		on (release) {
			_root.questSelectedItem = 'terrorOfNnuk';
			if (_root.questSelectedItem != '') {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					var questName = 'forestStalkerQ';
					_root.factionUp('theMagicians', _root[questName][8]);
					_root.factionDown('theTrackers', _root[questName][8]);
					_root.inventory[openSlot] = _root.questSelectedItem;
					var newName = 'item' + _root.invDepth;
					_root.world.mainMenu.characterMenu.attachMovie(_root.questSelectedItem + 'Inv', newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
					var upLevel = _root[questName][11] + 1;
					var downLevel = _root[questName][12] + 1;
					_root.factionLevels[upLevel] += _root[questName][8];
					_root.factionLevels[downLevel] -= _root[questName][8];
					_root.clearInventory(questName);
					i = 0;
					while (i < 7) {
						if (_root.activeQuests[i] == questName) {
							_root.activeQuests[i] = '';
							var targetQuest = 'quest' + (i + 1);
							var targetComp = 'complete' + (i + 1);
							_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
							_root.world.mainMenu.characterMenu[questName].removeMovieClip();
							_root.world.mainMenu[targetQuest].gotoAndStop(1);
							_root.world.mainMenu[targetComp].gotoAndStop(1);
						}
						++i;
					}
					_root.world.questGiver.onQuest = false;
					_root.world.questGiver.questAvailable = false;
					_root.world.questGiver.questStatus.gotoAndStop(1);
					_root.world.mainMenu.descriptions.gotoAndStop(1);
					_root.world.mainMenu.questBorder.gotoAndStop(1);
					_root.questHighlighted = 'null';
					_root[questName][9] = true;
					_root.playSound('questComplete');
					_root.curExp += _root[questName][13];
					_root.gold += _root[questName][7];
					_root.updateLevels();
					_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
					_root.questVisible = true;
					_root.world.chatWindow.gotoAndStop(1);
				} else {
					_root.showMessage('Your inventory is full');
				}
			} else {
				_root.showMessage('Choose a reward first');
			}
		}
	}
	button 9393 {
		on (release) {
			var questName = 'brigandQ';
			_root.factionUp('merchantsGuild', _root[questName][8]);
			_root.factionDown('theMercenaries', _root[questName][8]);
			var upLevel = _root[questName][11] + 1;
			var downLevel = _root[questName][12] + 1;
			_root.factionLevels[upLevel] += _root[questName][8];
			_root.factionLevels[downLevel] -= _root[questName][8];
			_root.clearInventory(questName);
			i = 0;
			while (i < 7) {
				if (_root.activeQuests[i] == questName) {
					_root.activeQuests[i] = '';
					var targetQuest = 'quest' + (i + 1);
					var targetComp = 'complete' + (i + 1);
					_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
					_root.world.mainMenu.characterMenu[questName].removeMovieClip();
					_root.world.mainMenu[targetQuest].gotoAndStop(1);
					_root.world.mainMenu[targetComp].gotoAndStop(1);
				}
				++i;
			}
			_root.world.questGiver.onQuest = false;
			_root.world.questGiver.questAvailable = false;
			_root.world.questGiver.questStatus.gotoAndStop(1);
			_root.world.mainMenu.descriptions.gotoAndStop(1);
			_root.world.mainMenu.questBorder.gotoAndStop(1);
			_root.questHighlighted = 'null';
			_root[questName][9] = true;
			_root.playSound('questComplete');
			_root.curExp += _root[questName][13];
			_root.gold += _root[questName][7];
			_root.updateLevels();
			_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
			_root.questVisible = true;
			_root.world.chatWindow.gotoAndStop(1);
		}
	}
	button 9396 {
		on (release) {
			var questName = 'hirelingQ';
			_root.factionUp('merchantsGuild', _root[questName][8]);
			_root.factionDown('theMercenaries', _root[questName][8]);
			var upLevel = _root[questName][11] + 1;
			var downLevel = _root[questName][12] + 1;
			_root.factionLevels[upLevel] += _root[questName][8];
			_root.factionLevels[downLevel] -= _root[questName][8];
			_root.clearInventory(questName);
			i = 0;
			while (i < 7) {
				if (_root.activeQuests[i] == questName) {
					_root.activeQuests[i] = '';
					var targetQuest = 'quest' + (i + 1);
					var targetComp = 'complete' + (i + 1);
					_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
					_root.world.mainMenu.characterMenu[questName].removeMovieClip();
					_root.world.mainMenu[targetQuest].gotoAndStop(1);
					_root.world.mainMenu[targetComp].gotoAndStop(1);
				}
				++i;
			}
			_root.world.questGiver.onQuest = false;
			_root.world.questGiver.questAvailable = false;
			_root.world.questGiver.questStatus.gotoAndStop(1);
			_root.world.mainMenu.descriptions.gotoAndStop(1);
			_root.world.mainMenu.questBorder.gotoAndStop(1);
			_root.questHighlighted = 'null';
			_root[questName][9] = true;
			_root.playSound('questComplete');
			_root.curExp += _root[questName][13];
			_root.gold += _root[questName][7];
			_root.updateLevels();
			_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
			_root.questVisible = true;
			_root.world.chatWindow.gotoAndStop(1);
		}
	}
	button 9399 {
		on (release) {
			var questName = 'madcapQ';
			_root.factionUp('merchantsGuild', _root[questName][8]);
			_root.factionDown('theMercenaries', _root[questName][8]);
			var upLevel = _root[questName][11] + 1;
			var downLevel = _root[questName][12] + 1;
			_root.factionLevels[upLevel] += _root[questName][8];
			_root.factionLevels[downLevel] -= _root[questName][8];
			_root.clearInventory(questName);
			i = 0;
			while (i < 7) {
				if (_root.activeQuests[i] == questName) {
					_root.activeQuests[i] = '';
					var targetQuest = 'quest' + (i + 1);
					var targetComp = 'complete' + (i + 1);
					_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
					_root.world.mainMenu.characterMenu[questName].removeMovieClip();
					_root.world.mainMenu[targetQuest].gotoAndStop(1);
					_root.world.mainMenu[targetComp].gotoAndStop(1);
				}
				++i;
			}
			_root.world.questGiver.onQuest = false;
			_root.world.questGiver.questAvailable = false;
			_root.world.questGiver.questStatus.gotoAndStop(1);
			_root.world.mainMenu.descriptions.gotoAndStop(1);
			_root.world.mainMenu.questBorder.gotoAndStop(1);
			_root.questHighlighted = 'null';
			_root[questName][9] = true;
			_root.playSound('questComplete');
			_root.curExp += _root[questName][13];
			_root.gold += _root[questName][7];
			_root.updateLevels();
			_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
			_root.questVisible = true;
			_root.world.chatWindow.gotoAndStop(1);
		}
	}
	button 9402 {
		on (release) {
			var questName = 'highwaymanQ';
			_root.factionUp('merchantsGuild', _root[questName][8]);
			_root.factionDown('theMercenaries', _root[questName][8]);
			var upLevel = _root[questName][11] + 1;
			var downLevel = _root[questName][12] + 1;
			_root.factionLevels[upLevel] += _root[questName][8];
			_root.factionLevels[downLevel] -= _root[questName][8];
			_root.clearInventory(questName);
			i = 0;
			while (i < 7) {
				if (_root.activeQuests[i] == questName) {
					_root.activeQuests[i] = '';
					var targetQuest = 'quest' + (i + 1);
					var targetComp = 'complete' + (i + 1);
					_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
					_root.world.mainMenu.characterMenu[questName].removeMovieClip();
					_root.world.mainMenu[targetQuest].gotoAndStop(1);
					_root.world.mainMenu[targetComp].gotoAndStop(1);
				}
				++i;
			}
			_root.world.questGiver.onQuest = false;
			_root.world.questGiver.questAvailable = false;
			_root.world.questGiver.questStatus.gotoAndStop(1);
			_root.world.mainMenu.descriptions.gotoAndStop(1);
			_root.world.mainMenu.questBorder.gotoAndStop(1);
			_root.questHighlighted = 'null';
			_root[questName][9] = true;
			_root.playSound('questComplete');
			_root.curExp += _root[questName][13];
			_root.gold += _root[questName][7];
			_root.updateLevels();
			_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
			_root.questVisible = true;
			_root.world.chatWindow.gotoAndStop(1);
		}
	}
	button 9405 {
		on (release) {
			var questName = 'coinchaserQ';
			_root.factionUp('merchantsGuild', _root[questName][8]);
			_root.factionDown('theMercenaries', _root[questName][8]);
			var upLevel = _root[questName][11] + 1;
			var downLevel = _root[questName][12] + 1;
			_root.factionLevels[upLevel] += _root[questName][8];
			_root.factionLevels[downLevel] -= _root[questName][8];
			_root.clearInventory(questName);
			i = 0;
			while (i < 7) {
				if (_root.activeQuests[i] == questName) {
					_root.activeQuests[i] = '';
					var targetQuest = 'quest' + (i + 1);
					var targetComp = 'complete' + (i + 1);
					_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
					_root.world.mainMenu.characterMenu[questName].removeMovieClip();
					_root.world.mainMenu[targetQuest].gotoAndStop(1);
					_root.world.mainMenu[targetComp].gotoAndStop(1);
				}
				++i;
			}
			_root.world.questGiver.onQuest = false;
			_root.world.questGiver.questAvailable = false;
			_root.world.questGiver.questStatus.gotoAndStop(1);
			_root.world.mainMenu.descriptions.gotoAndStop(1);
			_root.world.mainMenu.questBorder.gotoAndStop(1);
			_root.questHighlighted = 'null';
			_root[questName][9] = true;
			_root.playSound('questComplete');
			_root.curExp += _root[questName][13];
			_root.gold += _root[questName][7];
			_root.updateLevels();
			_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
			_root.questVisible = true;
			_root.world.chatWindow.gotoAndStop(1);
		}
	}
	button 9408 {
		on (release) {
			if (_root.questSelectedItem != '') {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					var questName = 'sellswordQ';
					_root.factionUp('merchantsGuild', _root[questName][8]);
					_root.factionDown('theMercenaries', _root[questName][8]);
					_root.inventory[openSlot] = _root.questSelectedItem;
					var newName = 'item' + _root.invDepth;
					_root.world.mainMenu.characterMenu.attachMovie(_root.questSelectedItem + 'Inv', newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
					var upLevel = _root[questName][11] + 1;
					var downLevel = _root[questName][12] + 1;
					_root.factionLevels[upLevel] += _root[questName][8];
					_root.factionLevels[downLevel] -= _root[questName][8];
					_root.clearInventory(questName);
					i = 0;
					while (i < 7) {
						if (_root.activeQuests[i] == questName) {
							_root.activeQuests[i] = '';
							var targetQuest = 'quest' + (i + 1);
							var targetComp = 'complete' + (i + 1);
							_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
							_root.world.mainMenu.characterMenu[questName].removeMovieClip();
							_root.world.mainMenu[targetQuest].gotoAndStop(1);
							_root.world.mainMenu[targetComp].gotoAndStop(1);
						}
						++i;
					}
					_root.world.questGiver.onQuest = false;
					_root.world.questGiver.questAvailable = false;
					_root.world.questGiver.questStatus.gotoAndStop(1);
					_root.world.mainMenu.descriptions.gotoAndStop(1);
					_root.world.mainMenu.questBorder.gotoAndStop(1);
					_root.questHighlighted = 'null';
					_root[questName][9] = true;
					_root.playSound('questComplete');
					_root.curExp += _root[questName][13];
					_root.gold += _root[questName][7];
					_root.updateLevels();
					_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
					_root.questVisible = true;
					_root.world.chatWindow.gotoAndStop(1);
				} else {
					_root.showMessage('Your inventory is full');
				}
			} else {
				_root.showMessage('Choose a reward first');
			}
		}
	}
	button 9409 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('legsOfTheTracker');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot2._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot2._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
		on (release) {
			_root.world.chatWindow.slot1.gotoAndStop(1);
			_root.world.chatWindow.slot2.gotoAndStop(2);
			_root.world.chatWindow.slot3.gotoAndStop(1);
			_root.questSelectedItem = 'legsOfTheTracker';
		}
	}
	button 9410 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('tuggosLegplates');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot1._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot1._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
		on (release) {
			_root.world.chatWindow.slot1.gotoAndStop(2);
			_root.world.chatWindow.slot2.gotoAndStop(1);
			_root.world.chatWindow.slot3.gotoAndStop(1);
			_root.questSelectedItem = 'tuggosLegplates';
		}
	}
	button 9411 {
		on (rollOver) {
			_root.world.chatWindow.itemStats.gotoAndStop('robeOfTheAncients');
			_root.world.chatWindow.itemStats._x = _root.world.chatWindow.slot3._x - 90;
			_root.world.chatWindow.itemStats._y = _root.world.chatWindow.slot3._y + 20;
		}
		on (rollOut) {
			_root.world.chatWindow.itemStats.gotoAndStop(1);
		}
		on (release) {
			_root.world.chatWindow.slot1.gotoAndStop(1);
			_root.world.chatWindow.slot2.gotoAndStop(1);
			_root.world.chatWindow.slot3.gotoAndStop(2);
			_root.questSelectedItem = 'robeOfTheAncients';
		}
	}
	button 9414 {
		on (release) {
			var questName = 'merchantGuardQ';
			_root.factionUp('theMercenaries', _root[questName][8]);
			_root.factionDown('merchantsGuild', _root[questName][8]);
			var upLevel = _root[questName][11] + 1;
			var downLevel = _root[questName][12] + 1;
			_root.factionLevels[upLevel] += _root[questName][8];
			_root.factionLevels[downLevel] -= _root[questName][8];
			_root.clearInventory(questName);
			i = 0;
			while (i < 7) {
				if (_root.activeQuests[i] == questName) {
					_root.activeQuests[i] = '';
					var targetQuest = 'quest' + (i + 1);
					var targetComp = 'complete' + (i + 1);
					_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
					_root.world.mainMenu.characterMenu[questName].removeMovieClip();
					_root.world.mainMenu[targetQuest].gotoAndStop(1);
					_root.world.mainMenu[targetComp].gotoAndStop(1);
				}
				++i;
			}
			_root.world.questGiver.onQuest = false;
			_root.world.questGiver.questAvailable = false;
			_root.world.questGiver.questStatus.gotoAndStop(1);
			_root.world.mainMenu.descriptions.gotoAndStop(1);
			_root.world.mainMenu.questBorder.gotoAndStop(1);
			_root.questHighlighted = 'null';
			_root[questName][9] = true;
			_root.playSound('questComplete');
			_root.curExp += _root[questName][13];
			_root.gold += _root[questName][7];
			_root.updateLevels();
			_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
			_root.questVisible = true;
			_root.world.chatWindow.gotoAndStop(1);
		}
	}
	button 9417 {
		on (release) {
			var questName = 'wizardProtectorQ';
			_root.factionUp('theMercenaries', _root[questName][8]);
			_root.factionDown('merchantsGuild', _root[questName][8]);
			var upLevel = _root[questName][11] + 1;
			var downLevel = _root[questName][12] + 1;
			_root.factionLevels[upLevel] += _root[questName][8];
			_root.factionLevels[downLevel] -= _root[questName][8];
			_root.clearInventory(questName);
			i = 0;
			while (i < 7) {
				if (_root.activeQuests[i] == questName) {
					_root.activeQuests[i] = '';
					var targetQuest = 'quest' + (i + 1);
					var targetComp = 'complete' + (i + 1);
					_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
					_root.world.mainMenu.characterMenu[questName].removeMovieClip();
					_root.world.mainMenu[targetQuest].gotoAndStop(1);
					_root.world.mainMenu[targetComp].gotoAndStop(1);
				}
				++i;
			}
			_root.world.questGiver.onQuest = false;
			_root.world.questGiver.questAvailable = false;
			_root.world.questGiver.questStatus.gotoAndStop(1);
			_root.world.mainMenu.descriptions.gotoAndStop(1);
			_root.world.mainMenu.questBorder.gotoAndStop(1);
			_root.questHighlighted = 'null';
			_root[questName][9] = true;
			_root.playSound('questComplete');
			_root.curExp += _root[questName][13];
			_root.gold += _root[questName][7];
			_root.updateLevels();
			_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
			_root.questVisible = true;
			_root.world.chatWindow.gotoAndStop(1);
		}
	}
	button 9420 {
		on (release) {
			if (_root.questSelectedItem != '') {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					var questName = 'honorGuardQ';
					_root.factionUp('theMercenaries', _root[questName][8]);
					_root.factionDown('merchantsGuild', _root[questName][8]);
					_root.inventory[openSlot] = _root.questSelectedItem;
					var newName = 'item' + _root.invDepth;
					_root.world.mainMenu.characterMenu.attachMovie(_root.questSelectedItem + 'Inv', newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
					var upLevel = _root[questName][11] + 1;
					var downLevel = _root[questName][12] + 1;
					_root.factionLevels[upLevel] += _root[questName][8];
					_root.factionLevels[downLevel] -= _root[questName][8];
					_root.clearInventory(questName);
					i = 0;
					while (i < 7) {
						if (_root.activeQuests[i] == questName) {
							_root.activeQuests[i] = '';
							var targetQuest = 'quest' + (i + 1);
							var targetComp = 'complete' + (i + 1);
							_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
							_root.world.mainMenu.characterMenu[questName].removeMovieClip();
							_root.world.mainMenu[targetQuest].gotoAndStop(1);
							_root.world.mainMenu[targetComp].gotoAndStop(1);
						}
						++i;
					}
					_root.world.questGiver.onQuest = false;
					_root.world.questGiver.questAvailable = false;
					_root.world.questGiver.questStatus.gotoAndStop(1);
					_root.world.mainMenu.descriptions.gotoAndStop(1);
					_root.world.mainMenu.questBorder.gotoAndStop(1);
					_root.questHighlighted = 'null';
					_root[questName][9] = true;
					_root.playSound('questComplete');
					_root.curExp += _root[questName][13];
					_root.gold += _root[questName][7];
					_root.updateLevels();
					_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
					_root.questVisible = true;
					_root.world.chatWindow.gotoAndStop(1);
				} else {
					_root.showMessage('Your inventory is full');
				}
			} else {
				_root.showMessage('Choose a reward first');
			}
		}
	}
	button 9423 {
		on (release) {
			var questName = 'pledgedTrackerQ';
			_root.factionUp('theMercenaries', _root[questName][8]);
			_root.factionDown('merchantsGuild', _root[questName][8]);
			var upLevel = _root[questName][11] + 1;
			var downLevel = _root[questName][12] + 1;
			_root.factionLevels[upLevel] += _root[questName][8];
			_root.factionLevels[downLevel] -= _root[questName][8];
			_root.clearInventory(questName);
			i = 0;
			while (i < 7) {
				if (_root.activeQuests[i] == questName) {
					_root.activeQuests[i] = '';
					var targetQuest = 'quest' + (i + 1);
					var targetComp = 'complete' + (i + 1);
					_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
					_root.world.mainMenu.characterMenu[questName].removeMovieClip();
					_root.world.mainMenu[targetQuest].gotoAndStop(1);
					_root.world.mainMenu[targetComp].gotoAndStop(1);
				}
				++i;
			}
			_root.world.questGiver.onQuest = false;
			_root.world.questGiver.questAvailable = false;
			_root.world.questGiver.questStatus.gotoAndStop(1);
			_root.world.mainMenu.descriptions.gotoAndStop(1);
			_root.world.mainMenu.questBorder.gotoAndStop(1);
			_root.questHighlighted = 'null';
			_root[questName][9] = true;
			_root.playSound('questComplete');
			_root.curExp += _root[questName][13];
			_root.gold += _root[questName][7];
			_root.updateLevels();
			_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
			_root.questVisible = true;
			_root.world.chatWindow.gotoAndStop(1);
		}
	}
	button 9426 {
		on (release) {
			var questName = 'waterdancerQ';
			_root.factionUp('theMercenaries', _root[questName][8]);
			_root.factionDown('merchantsGuild', _root[questName][8]);
			var upLevel = _root[questName][11] + 1;
			var downLevel = _root[questName][12] + 1;
			_root.factionLevels[upLevel] += _root[questName][8];
			_root.factionLevels[downLevel] -= _root[questName][8];
			_root.clearInventory(questName);
			i = 0;
			while (i < 7) {
				if (_root.activeQuests[i] == questName) {
					_root.activeQuests[i] = '';
					var targetQuest = 'quest' + (i + 1);
					var targetComp = 'complete' + (i + 1);
					_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
					_root.world.mainMenu.characterMenu[questName].removeMovieClip();
					_root.world.mainMenu[targetQuest].gotoAndStop(1);
					_root.world.mainMenu[targetComp].gotoAndStop(1);
				}
				++i;
			}
			_root.world.questGiver.onQuest = false;
			_root.world.questGiver.questAvailable = false;
			_root.world.questGiver.questStatus.gotoAndStop(1);
			_root.world.mainMenu.descriptions.gotoAndStop(1);
			_root.world.mainMenu.questBorder.gotoAndStop(1);
			_root.questHighlighted = 'null';
			_root[questName][9] = true;
			_root.playSound('questComplete');
			_root.curExp += _root[questName][13];
			_root.gold += _root[questName][7];
			_root.updateLevels();
			_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
			_root.questVisible = true;
			_root.world.chatWindow.gotoAndStop(1);
		}
	}
	button 9429 {
		on (release) {
			if (_root.questSelectedItem != '') {
				var openSlot = _root.checkInvSlots();
				if (openSlot != 'null') {
					var questName = 'redCloakGuardQ';
					_root.factionUp('theMercenaries', _root[questName][8]);
					_root.factionDown('merchantsGuild', _root[questName][8]);
					_root.inventory[openSlot] = _root.questSelectedItem;
					var newName = 'item' + _root.invDepth;
					_root.world.mainMenu.characterMenu.attachMovie(_root.questSelectedItem + 'Inv', newName, ++_root.invDepth);
					_root.world.mainMenu.characterMenu[newName]._x = _root.inventoryX[openSlot];
					_root.world.mainMenu.characterMenu[newName]._y = _root.inventoryY[openSlot];
					var upLevel = _root[questName][11] + 1;
					var downLevel = _root[questName][12] + 1;
					_root.factionLevels[upLevel] += _root[questName][8];
					_root.factionLevels[downLevel] -= _root[questName][8];
					_root.clearInventory(questName);
					i = 0;
					while (i < 7) {
						if (_root.activeQuests[i] == questName) {
							_root.activeQuests[i] = '';
							var targetQuest = 'quest' + (i + 1);
							var targetComp = 'complete' + (i + 1);
							_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
							_root.world.mainMenu.characterMenu[questName].removeMovieClip();
							_root.world.mainMenu[targetQuest].gotoAndStop(1);
							_root.world.mainMenu[targetComp].gotoAndStop(1);
						}
						++i;
					}
					_root.world.questGiver.onQuest = false;
					_root.world.questGiver.questAvailable = false;
					_root.world.questGiver.questStatus.gotoAndStop(1);
					_root.world.mainMenu.descriptions.gotoAndStop(1);
					_root.world.mainMenu.questBorder.gotoAndStop(1);
					_root.questHighlighted = 'null';
					_root[questName][9] = true;
					_root.playSound('questComplete');
					_root.curExp += _root[questName][13];
					_root.gold += _root[questName][7];
					_root.updateLevels();
					_root.world.charInfo.expBar._xscale = (_root.curExp / _root.expToLevel) * 100;
					_root.questVisible = true;
					_root.world.chatWindow.gotoAndStop(1);
				} else {
					_root.showMessage('Your inventory is full');
				}
			} else {
				_root.showMessage('Choose a reward first');
			}
		}
	}
	movieClip 9437	{
		frame 1 {
			stop();
		}
		instance of movieClip 9190	{
			onClipEvent (load) {
				_root.questSelectedItem = '';
			}
		}
	}
	movieClip 9441	{
	}
	movieClip 9443	{
	}
	movieClip 9445	{
	}
	movieClip 9446	{
		frame 1 {
			stop();
		}
		frame 10 {
			stop();
		}
	}
	movieClip 9449	{
		frame 1 {
			stop();
		}
	}
	movieClip 9450	{
		frame 1 {
			this.onRollOver = function () {
				this.logo_ro.gotoAndStop(2);
			};
			this.onRollOut = function () {
				this.logo_ro.gotoAndStop(1);
			};
			this.onReleaseOutside = function () {
				this.logo_ro.gotoAndStop(1);
			};
			this.onRelease = function () {
				getURL('http://www.bubblebox.com/clickreg.php?type=gamestats&id=1106&subid=savegame', '_blank');
			};
		}
	}
	movieClip 9452	{
		frame 1 {
			stop();
		}
		frame 21 {
			stop();
		}
	}
	button 9454 {
		on (release) {
			_root.world.saveWindow.saveBar.gotoAndPlay(2);
			var mySO = SharedObject.getLocal('how');
			mySO.data.playerNameSO = _root.playerName;
			mySO.data.playerClassSO = _root.playerClass;
			mySO.data.factionLevelsSO = _root.copyArray(_root.factionLevels);
			mySO.data.activeQuestsSO = _root.copyArray(_root.activeQuests);
			mySO.data.inventorySO = _root.copyArray(_root.inventory);
			mySO.data.tutorialDoneSO = _root.copyArray(_root.tutorialDone);
			mySO.data.tutorialNameSO = _root.copyArray(_root.tutorialName);
			mySO.data.curEnergyPotsSO = _root.curEnergyPots;
			mySO.data.curHealthPotsSO = _root.curHealthPots;
			mySO.data.goldSO = _root.gold;
			mySO.data.armorSO = _root.armor;
			mySO.data.levelSO = _root.level;
			mySO.data.strSO = _root.str;
			mySO.data.vitSO = _root.vit;
			mySO.data.agiSO = _root.agi;
			mySO.data.inteSO = _root.inte;
			mySO.data.focSO = _root.foc;
			mySO.data.expToLevelSO = _root.expToLevel;
			mySO.data.maxEnergySO = _root.maxEnergy;
			mySO.data.curEnergySO = _root.curEnergy;
			mySO.data.maxHPSO = _root.maxHP;
			mySO.data.curHPSO = _root.curHP;
			mySO.data.pointsLeftSO = _root.pointsLeft;
			mySO.data.curExpSO = _root.curExp;
			mySO.data.charRowSO = _root.charRow;
			mySO.data.charColSO = _root.charCol;
			mySO.data.minWeaponSO = _root.minWeapon;
			mySO.data.maxWeaponSO = _root.maxWeapon;
			mySO.data.heroSpeedSO = _root.heroSpeed;
			mySO.data.itemEnergySO = _root.itemEnergy;
			mySO.data.itemHPSO = _root.itemHP;
			mySO.data.activeSpellSO = _root.activeSpell;
			mySO.data.spellListSO = _root.copyArray(_root.spellList);
			mySO.data.shieldEquipSO = _root.shieldEquip;
			mySO.data.equipmentSO = _root.copyArray(_root.equipment);
			mySO.data.chestEquipSO = _root.chestEquip;
			mySO.data.weaponEquipSO = _root.weaponEquip;
			mySO.data.headEquipSO = _root.headEquip;
			mySO.data.shadowSoldierQSO = _root.copyArray(_root.shadowSoldierQ);
			mySO.data.shadowWizardQSO = _root.copyArray(_root.shadowWizardQ);
			mySO.data.shadowBowmanQSO = _root.copyArray(_root.shadowBowmanQ);
			mySO.data.allianceBoss1QSO = _root.copyArray(_root.allianceBoss1Q);
			mySO.data.shadowGuardQSO = _root.copyArray(_root.shadowGuardQ);
			mySO.data.shadowArcherQSO = _root.copyArray(_root.shadowArcherQ);
			mySO.data.shadowKnightQSO = _root.copyArray(_root.shadowKnightQ);
			mySO.data.allianceBoss2QSO = _root.copyArray(_root.allianceBoss2Q);
			mySO.data.necromancerQSO = _root.copyArray(_root.necromancerQ);
			mySO.data.shadowTrackerQSO = _root.copyArray(_root.shadowTrackerQ);
			mySO.data.shadowAssassinQSO = _root.copyArray(_root.shadowAssassinQ);
			mySO.data.darkRitualistQSO = _root.copyArray(_root.darkRitualistQ);
			mySO.data.bloodMageQSO = _root.copyArray(_root.bloodMageQ);
			mySO.data.allianceBoss3QSO = _root.copyArray(_root.allianceBoss3Q);
			mySO.data.shadowWardQSO = _root.copyArray(_root.shadowWardQ);
			mySO.data.fallenShadowQSO = _root.copyArray(_root.fallenShadowQ);
			mySO.data.hellCasterQSO = _root.copyArray(_root.hellCasterQ);
			mySO.data.shadowCaptainQSO = _root.copyArray(_root.shadowCaptainQ);
			mySO.data.allianceBoss4QSO = _root.copyArray(_root.allianceBoss4Q);
			mySO.data.finalBossAQSO = _root.copyArray(_root.finalBossAQ);
			mySO.data.brightlakeGuardQSO = _root.copyArray(_root.brightlakeGuardQ);
			mySO.data.brightlakeScoutQSO = _root.copyArray(_root.brightlakeScoutQ);
			mySO.data.brightlakeWizardQSO = _root.copyArray(_root.brightlakeWizardQ);
			mySO.data.shadowRunnersBoss1QSO = _root.copyArray(_root.shadowRunnersBoss1Q);
			mySO.data.paladinQSO = _root.copyArray(_root.paladinQ);
			mySO.data.greenviewMageQSO = _root.copyArray(_root.greenviewMageQ);
			mySO.data.greenviewGuardQSO = _root.copyArray(_root.greenviewGuardQ);
			mySO.data.shadowRunnersBoss2QSO = _root.copyArray(_root.shadowRunnersBoss2Q);
			mySO.data.greenviewWardQSO = _root.copyArray(_root.greenviewWardQ);
			mySO.data.sageOfLightQSO = _root.copyArray(_root.sageOfLightQ);
			mySO.data.holyAssassinQSO = _root.copyArray(_root.holyAssassinQ);
			mySO.data.strikerOfHartQSO = _root.copyArray(_root.strikerOfHartQ);
			mySO.data.guardOfHartQSO = _root.copyArray(_root.guardOfHartQ);
			mySO.data.shadowRunnersBoss3QSO = _root.copyArray(_root.shadowRunnersBoss3Q);
			mySO.data.icecallerOfHartQSO = _root.copyArray(_root.icecallerOfHartQ);
			mySO.data.shadowOfLightQSO = _root.copyArray(_root.shadowOfLightQ);
			mySO.data.devoutGamemasterQSO = _root.copyArray(_root.devoutGamemasterQ);
			mySO.data.masterPaladinQSO = _root.copyArray(_root.masterPaladinQ);
			mySO.data.shadowRunnersBoss4QSO = _root.copyArray(_root.shadowRunnersBoss4Q);
			mySO.data.finalBossSQSO = _root.copyArray(_root.finalBossSQ);
			mySO.data.brigandQSO = _root.copyArray(_root.brigandQ);
			mySO.data.hirelingQSO = _root.copyArray(_root.hirelingQ);
			mySO.data.madcapQSO = _root.copyArray(_root.madcapQ);
			mySO.data.highwaymanQSO = _root.copyArray(_root.highwaymanQ);
			mySO.data.coinchaserQSO = _root.copyArray(_root.coinchaserQ);
			mySO.data.sellswordQSO = _root.copyArray(_root.sellswordQ);
			mySO.data.merchantGuardQSO = _root.copyArray(_root.merchantGuardQ);
			mySO.data.wizardProtectorQSO = _root.copyArray(_root.wizardProtectorQ);
			mySO.data.honorGuardQSO = _root.copyArray(_root.honorGuardQ);
			mySO.data.pledgedTrackerQSO = _root.copyArray(_root.pledgedTrackerQ);
			mySO.data.waterdancerQSO = _root.copyArray(_root.waterdancerQ);
			mySO.data.redCloakGuardQSO = _root.copyArray(_root.redCloakGuardQ);
			mySO.data.squireQSO = _root.copyArray(_root.squireQ);
			mySO.data.sageQSO = _root.copyArray(_root.sageQ);
			mySO.data.ritualistQSO = _root.copyArray(_root.ritualistQ);
			mySO.data.conquerorQSO = _root.copyArray(_root.conquerorQ);
			mySO.data.elementalistQSO = _root.copyArray(_root.elementalistQ);
			mySO.data.gladiatorQSO = _root.copyArray(_root.gladiatorQ);
			mySO.data.apprenticeQSO = _root.copyArray(_root.apprenticeQ);
			mySO.data.archerQSO = _root.copyArray(_root.archerQ);
			mySO.data.pathfinderQSO = _root.copyArray(_root.pathfinderQ);
			mySO.data.channelerQSO = _root.copyArray(_root.channelerQ);
			mySO.data.warderQSO = _root.copyArray(_root.warderQ);
			mySO.data.aeromancerQSO = _root.copyArray(_root.aeromancerQ);
			mySO.data.traineeQSO = _root.copyArray(_root.traineeQ);
			mySO.data.defenderQSO = _root.copyArray(_root.defenderQ);
			mySO.data.knightQSO = _root.copyArray(_root.knightQ);
			mySO.data.bowmasterQSO = _root.copyArray(_root.bowmasterQ);
			mySO.data.championQSO = _root.copyArray(_root.championQ);
			mySO.data.forestStalkerQSO = _root.copyArray(_root.forestStalkerQ);
			mySO.data.quest1SO = _root.copyArray(_root.quest1);
			mySO.data.quest2SO = _root.copyArray(_root.quest2);
			mySO.data.quest3SO = _root.copyArray(_root.quest3);
			mySO.data.quest4SO = _root.copyArray(_root.quest4);
			mySO.data.quest5SO = _root.copyArray(_root.quest5);
			mySO.data.quest6SO = _root.copyArray(_root.quest6);
			mySO.data.quest7SO = _root.copyArray(_root.quest7);
			mySO.data.tile15_3SO = _root.copyArray(_root.tile15_3);
			mySO.data.tile18_2SO = _root.copyArray(_root.tile18_2);
			mySO.data.tile15_6SO = _root.copyArray(_root.tile15_6);
			mySO.data.tile18_5SO = _root.copyArray(_root.tile18_5);
			mySO.data.characterASO = _root.characterA;
			mySO.data.characterXSO = _root.characterX;
			mySO.data.characterYSO = _root.characterY;
			mySO.data.targetXSO = _root.targetX;
			mySO.data.targetYSO = _root.targetY;
			mySO.data.targetASO = _root.targetA;
			mySO.data.spellXSO = _root.spellX;
			mySO.data.spellYSO = _root.spellY;
			mySO.data.spellASO = _root.spellA;
			mySO.data.castXSO = _root.castX;
			mySO.data.castYSO = _root.castY;
			mySO.data.castASO = _root.castA;
			mySO.data.gameXSO = _root.gameX;
			mySO.data.gameYSO = _root.gameY;
			mySO.data.gameASO = _root.gameA;
			mySO.data.potionsXSO = _root.potionsX;
			mySO.data.potionsYSO = _root.potionsY;
			mySO.data.potionsASO = _root.potionsA;
			mySO.data.soundOnSO = _root.soundOn;
			mySO.data.showFactionsSO = _root.showFactions;
			mySO.data.tutorialsSO = _root.tutorials;
			if (_root.playerClass == 'Wizard') {
				mySO.data.fireballRankSO = _root.fireballRank;
				mySO.data.bondsofairRankSO = _root.bondsofairRank;
				mySO.data.healRankSO = _root.healRank;
				mySO.data.frostbiteRankSO = _root.frostbiteRank;
				mySO.data.firenovaRankSO = _root.firenovaRank;
				mySO.data.energyboltRankSO = _root.energyboltRank;
				mySO.data.fireball1SO = _root.copyArray(_root.fireball1);
				mySO.data.fireball2SO = _root.copyArray(_root.fireball2);
				mySO.data.fireball3SO = _root.copyArray(_root.fireball3);
				mySO.data.fireball4SO = _root.copyArray(_root.fireball4);
				mySO.data.fireball5SO = _root.copyArray(_root.fireball5);
				mySO.data.fireball6SO = _root.copyArray(_root.fireball6);
				mySO.data.heal1SO = _root.copyArray(_root.heal1);
				mySO.data.heal2SO = _root.copyArray(_root.heal2);
				mySO.data.heal3SO = _root.copyArray(_root.heal3);
				mySO.data.heal4SO = _root.copyArray(_root.heal4);
				mySO.data.heal5SO = _root.copyArray(_root.heal5);
				mySO.data.heal6SO = _root.copyArray(_root.heal6);
				mySO.data.bondsofair1SO = _root.copyArray(_root.bondsofair1);
				mySO.data.bondsofair2SO = _root.copyArray(_root.bondsofair2);
				mySO.data.bondsofair3SO = _root.copyArray(_root.bondsofair3);
				mySO.data.bondsofair4SO = _root.copyArray(_root.bondsofair4);
				mySO.data.bondsofair5SO = _root.copyArray(_root.bondsofair5);
				mySO.data.bondsofair6SO = _root.copyArray(_root.bondsofair6);
				mySO.data.frostbite1SO = _root.copyArray(_root.frostbite1);
				mySO.data.frostbite2SO = _root.copyArray(_root.frostbite2);
				mySO.data.frostbite3SO = _root.copyArray(_root.frostbite3);
				mySO.data.frostbite4SO = _root.copyArray(_root.frostbite4);
				mySO.data.frostbite5SO = _root.copyArray(_root.frostbite5);
				mySO.data.frostbite6SO = _root.copyArray(_root.frostbite6);
				mySO.data.firenova1SO = _root.copyArray(_root.firenova1);
				mySO.data.firenova2SO = _root.copyArray(_root.firenova2);
				mySO.data.firenova3SO = _root.copyArray(_root.firenova3);
				mySO.data.firenova4SO = _root.copyArray(_root.firenova4);
				mySO.data.firenova5SO = _root.copyArray(_root.firenova5);
				mySO.data.firenova6SO = _root.copyArray(_root.firenova6);
				mySO.data.energybolt1SO = _root.copyArray(_root.energybolt1);
				mySO.data.energybolt2SO = _root.copyArray(_root.energybolt2);
				mySO.data.energybolt3SO = _root.copyArray(_root.energybolt3);
				mySO.data.energybolt4SO = _root.copyArray(_root.energybolt4);
				mySO.data.energybolt5SO = _root.copyArray(_root.energybolt5);
				mySO.data.energybolt6SO = _root.copyArray(_root.energybolt6);
			} else {
				if (_root.playerClass == 'Ranger') {
					mySO.data.shootarrowRankSO = _root.shootarrowRank;
					mySO.data.bindwoundRankSO = _root.bindwoundRank;
					mySO.data.fetterRankSO = _root.fetterRank;
					mySO.data.frostshotRankSO = _root.frostshotRank;
					mySO.data.searingarrowRankSO = _root.searingarrowRank;
					mySO.data.elvenshotRankSO = _root.elvenshotRank;
					mySO.data.shootarrow1SO = _root.copyArray(_root.shootarrow1);
					mySO.data.shootarrow2SO = _root.copyArray(_root.shootarrow2);
					mySO.data.shootarrow3SO = _root.copyArray(_root.shootarrow3);
					mySO.data.shootarrow4SO = _root.copyArray(_root.shootarrow4);
					mySO.data.shootarrow5SO = _root.copyArray(_root.shootarrow5);
					mySO.data.shootarrow6SO = _root.copyArray(_root.shootarrow6);
					mySO.data.bindwound1SO = _root.copyArray(_root.bindwound1);
					mySO.data.bindwound2SO = _root.copyArray(_root.bindwound2);
					mySO.data.bindwound3SO = _root.copyArray(_root.bindwound3);
					mySO.data.bindwound4SO = _root.copyArray(_root.bindwound4);
					mySO.data.bindwound5SO = _root.copyArray(_root.bindwound5);
					mySO.data.bindwound6SO = _root.copyArray(_root.bindwound6);
					mySO.data.fetter1SO = _root.copyArray(_root.fetter1);
					mySO.data.fetter2SO = _root.copyArray(_root.fetter2);
					mySO.data.fetter3SO = _root.copyArray(_root.fetter3);
					mySO.data.fetter4SO = _root.copyArray(_root.fetter4);
					mySO.data.fetter5SO = _root.copyArray(_root.fetter5);
					mySO.data.fetter6SO = _root.copyArray(_root.fetter6);
					mySO.data.frostshot1SO = _root.copyArray(_root.frostshot1);
					mySO.data.frostshot2SO = _root.copyArray(_root.frostshot2);
					mySO.data.frostshot3SO = _root.copyArray(_root.frostshot3);
					mySO.data.frostshot4SO = _root.copyArray(_root.frostshot4);
					mySO.data.frostshot5SO = _root.copyArray(_root.frostshot5);
					mySO.data.frostshot6SO = _root.copyArray(_root.frostshot6);
					mySO.data.searingarrow1SO = _root.copyArray(_root.searingarrow1);
					mySO.data.searingarrow2SO = _root.copyArray(_root.searingarrow2);
					mySO.data.searingarrow3SO = _root.copyArray(_root.searingarrow3);
					mySO.data.searingarrow4SO = _root.copyArray(_root.searingarrow4);
					mySO.data.searingarrow5SO = _root.copyArray(_root.searingarrow5);
					mySO.data.searingarrow6SO = _root.copyArray(_root.searingarrow6);
					mySO.data.elvenshot1SO = _root.copyArray(_root.elvenshot1);
					mySO.data.elvenshot2SO = _root.copyArray(_root.elvenshot2);
					mySO.data.elvenshot3SO = _root.copyArray(_root.elvenshot3);
					mySO.data.elvenshot4SO = _root.copyArray(_root.elvenshot4);
					mySO.data.elvenshot5SO = _root.copyArray(_root.elvenshot5);
					mySO.data.elvenshot6SO = _root.copyArray(_root.elvenshot6);
				} else {
					if (_root.playerClass == 'Warrior') {
						mySO.data.stabRankSO = _root.stabRank;
						mySO.data.frostbladeRankSO = _root.frostbladeRank;
						mySO.data.mendwoundRankSO = _root.mendwoundRank;
						mySO.data.shieldbashRankSO = _root.shieldbashRank;
						mySO.data.cleaveRankSO = _root.cleaveRank;
						mySO.data.deathblowRankSO = _root.deathblowRank;
						mySO.data.stab1SO = _root.copyArray(_root.stab1);
						mySO.data.stab2SO = _root.copyArray(_root.stab2);
						mySO.data.stab3SO = _root.copyArray(_root.stab3);
						mySO.data.stab4SO = _root.copyArray(_root.stab4);
						mySO.data.stab5SO = _root.copyArray(_root.stab5);
						mySO.data.stab6SO = _root.copyArray(_root.stab6);
						mySO.data.mendwound1SO = _root.copyArray(_root.mendwound1);
						mySO.data.mendwound2SO = _root.copyArray(_root.mendwound2);
						mySO.data.mendwound3SO = _root.copyArray(_root.mendwound3);
						mySO.data.mendwound4SO = _root.copyArray(_root.mendwound4);
						mySO.data.mendwound5SO = _root.copyArray(_root.mendwound5);
						mySO.data.mendwound6SO = _root.copyArray(_root.mendwound6);
						mySO.data.frostblade1SO = _root.copyArray(_root.frostblade1);
						mySO.data.frostblade2SO = _root.copyArray(_root.frostblade2);
						mySO.data.frostblade3SO = _root.copyArray(_root.frostblade3);
						mySO.data.frostblade4SO = _root.copyArray(_root.frostblade4);
						mySO.data.frostblade5SO = _root.copyArray(_root.frostblade5);
						mySO.data.frostblade6SO = _root.copyArray(_root.frostblade6);
						mySO.data.shieldbash1SO = _root.copyArray(_root.shieldbash1);
						mySO.data.shieldbash2SO = _root.copyArray(_root.shieldbash2);
						mySO.data.shieldbash3SO = _root.copyArray(_root.shieldbash3);
						mySO.data.shieldbash4SO = _root.copyArray(_root.shieldbash4);
						mySO.data.shieldbash5SO = _root.copyArray(_root.shieldbash5);
						mySO.data.shieldbash6SO = _root.copyArray(_root.shieldbash6);
						mySO.data.cleave1SO = _root.copyArray(_root.cleave1);
						mySO.data.cleave2SO = _root.copyArray(_root.cleave2);
						mySO.data.cleave3SO = _root.copyArray(_root.cleave3);
						mySO.data.cleave4SO = _root.copyArray(_root.cleave4);
						mySO.data.cleave5SO = _root.copyArray(_root.cleave5);
						mySO.data.cleave6SO = _root.copyArray(_root.cleave6);
						mySO.data.deathblow1SO = _root.copyArray(_root.deathblow1);
						mySO.data.deathblow2SO = _root.copyArray(_root.deathblow2);
						mySO.data.deathblow3SO = _root.copyArray(_root.deathblow3);
						mySO.data.deathblow4SO = _root.copyArray(_root.deathblow4);
						mySO.data.deathblow5SO = _root.copyArray(_root.deathblow5);
						mySO.data.deathblow6SO = _root.copyArray(_root.deathblow6);
					}
				}
			}
			mySO.flush(100000);
		}
	}
	movieClip 9456	{
		frame 1 {
			stop();
		}
	}
	button 9465 {
		on (release) {
			if (_root.dragging == false) {
				_root.playSound('intClick');
				_root.world.mainMenu.gotoAndStop('map');
				_root.mapMenu();
			}
		}
		on (rollOver) {
			_root.playSound('rollOver');
		}
	}
	button 9470 {
		on (release) {
			if (_root.dragging == false) {
				_root.playSound('intClick');
				_root.world.mainMenu.gotoAndStop('abilities');
				_root.abilitiesMenu();
			}
		}
		on (rollOver) {
			_root.playSound('rollOver');
		}
	}
	button 9475 {
		on (release) {
			if (_root.dragging == false) {
				_root.playSound('intClick');
				_root.world.mainMenu.gotoAndStop('questlog');
				_root.questMenu();
			}
		}
		on (rollOver) {
			_root.playSound('rollOver');
		}
	}
	button 9480 {
		on (release) {
			if (_root.dragging == false) {
				_root.playSound('intClick');
				_root.world.mainMenu.gotoAndStop('factions');
				_root.showTutorial(6);
				_root.factionsMenu();
			}
		}
		on (rollOver) {
			_root.playSound('rollOver');
		}
	}
	button 9487 {
		on (release) {
			if (_root.dragging == false) {
				_root.playSound('intClick');
				_root.world.mainMenu.gotoAndStop('game');
				_root.world.mainMenu.gameMenu.gotoAndStop('game');
				_root.gameMenu();
			}
		}
		on (rollOver) {
			_root.playSound('rollOver');
		}
	}
	movieClip 9497	{
	}
	movieClip 9499	{
	}
	movieClip 9500	{
	}
	movieClip 9502	{
	}
	movieClip 9515	{
		frame 1 {
			stop();
		}
	}
	movieClip 9520	{
		frame 2 {
			stop();
		}
	}
	movieClip 9536	{
		frame 1 {
			stop();
		}
	}
	movieClip 9552	{
		frame 1 {
			stop();
		}
	}
	movieClip 9570	{
		frame 1 {
			stop();
		}
	}
	movieClip 9606	{
		frame 1 {
			stop();
		}
	}
	movieClip 9615	{
		frame 1 {
			stop();
		}
	}
	movieClip 9631	{
		frame 1 {
			stop();
		}
	}
	movieClip 9651	{
		frame 1 {
			stop();
		}
	}
	movieClip 9672	{
		frame 1 {
			stop();
		}
	}
	movieClip 9691	{
	}
	button 9712 {
		on (release) {
			if (_root.pointsLeft > 0) {
				++_root.vit;
				--_root.pointsLeft;
				_root.vitHP = _root.vit * 4;
				_root.maxHP = _root.baseHP + _root.itemHP + _root.vitHP;
				_root.playSound('point');
			}
		}
		on (rollOver) {
			_root.playSound('rollOver');
		}
	}
	button 9717 {
		on (release) {
			if (_root.pointsLeft > 0) {
				++_root.str;
				--_root.pointsLeft;
				_root.playSound('point');
			}
		}
		on (rollOver) {
			_root.playSound('rollOver');
		}
	}
	button 9721 {
		on (release) {
			if (_root.pointsLeft > 0) {
				++_root.foc;
				--_root.pointsLeft;
				_root.playSound('point');
			}
		}
		on (rollOver) {
			_root.playSound('rollOver');
		}
	}
	button 9726 {
		on (release) {
			if (_root.pointsLeft > 0) {
				++_root.inte;
				--_root.pointsLeft;
				_root.inteEnergy = _root.inte * 2;
				_root.maxEnergy = _root.baseEnergy + _root.itemEnergy + _root.inteEnergy;
				_root.playSound('point');
			}
		}
		on (rollOver) {
			_root.playSound('rollOver');
		}
	}
	button 9730 {
		on (release) {
			if (_root.pointsLeft > 0) {
				++_root.agi;
				--_root.pointsLeft;
				_root.playSound('point');
				_root.heroSpeed = 2.8 + _root.agi * 0.005;
			}
		}
		on (rollOver) {
			_root.playSound('rollOver');
		}
	}
	movieClip 9736	{
	}
	button 9740 {
		on (release) {
			if (_root.dragging == false) {
				_root.playSound('intClick');
				_root.world.mainMenu._visible = false;
				_root.menuVisible = false;
				_root.allowCast = true;
			}
		}
		on (rollOver) {
			_root.playSound('rollOver');
		}
	}
	button 9742 {
		on (release) {
			if (_root.dragging == false) {
				_root.playSound('intClick');
				_root.world.mainMenu._visible = false;
				_root.menuVisible = false;
			}
		}
		on (rollOver) {
			_root.playSound('rollOver');
		}
	}
	button 9748 {
		on (release) {
			_root.playSound('intClick');
			this.characterMenu._visible = true;
			_root.world.mainMenu.gotoAndStop('character');
			_root.characterMenu();
		}
	}
	button 9749 {
		on (release) {
			_root.playSound('intClick');
			_root.world.mainMenu.gotoAndStop('abilities');
			_root.abilitiesMenu();
		}
		on (rollOver) {
			_root.playSound('rollOver');
		}
	}
	movieClip 9754	{
	}
	movieClip 9779	{
		frame 1 {
			stop();
		}
	}
	movieClip 9783	{
	}
	button 9784 {
		on (release) {
			if (_root.dragging == false) {
				_root.playSound('intClick');
				_root.world.mainMenu._visible = false;
				_root.menuVisible = false;
			}
			if (_root.abilityDrag) {
				_root.world.mainMenu.abilitiesMenu.attachedIcon.removeMovieClip();
				abilityDrag = false;
			}
		}
		on (rollOver) {
			_root.playSound('rollOver');
		}
	}
	button 9801 {
		on (rollOver) {
			_root.world.mainMenu.abilitiesMenu.descriptions.gotoAndStop(1);
		}
		on (release) {
			_root.world.mainMenu.abilitiesMenu.attachMovie('blankIcon', 'attachedIcon', _root.iconDepth);
			_root.abilityDrag = true;
			_root.draggingItem = '';
		}
	}
	button 9805 {
		on (rollOver) {
			_root.world.mainMenu.abilitiesMenu.descriptions.gotoAndStop('fireball' + _root.fireballRank);
		}
		on (release) {
			_root.world.mainMenu.abilitiesMenu.attachMovie('fireballIcon', 'attachedIcon', _root.iconDepth);
			_root.abilityDrag = true;
			_root.draggingItem = 'fireball' + _root.fireballRank;
		}
	}
	button 9814 {
		on (rollOver) {
			_root.world.mainMenu.abilitiesMenu.descriptions.gotoAndStop('bondsofair' + _root.bondsofairRank);
		}
		on (release) {
			_root.world.mainMenu.abilitiesMenu.attachMovie('bondsofairIcon', 'attachedIcon', _root.iconDepth);
			_root.abilityDrag = true;
			_root.draggingItem = 'bondsofair' + _root.bondsofairRank;
		}
	}
	button 9823 {
		on (rollOver) {
			_root.world.mainMenu.abilitiesMenu.descriptions.gotoAndStop('frostbite' + _root.frostbiteRank);
		}
		on (release) {
			_root.world.mainMenu.abilitiesMenu.attachMovie('frostbiteIcon', 'attachedIcon', _root.iconDepth);
			_root.abilityDrag = true;
			_root.draggingItem = 'frostbite' + _root.frostbiteRank;
		}
	}
	button 9832 {
		on (rollOver) {
			_root.world.mainMenu.abilitiesMenu.descriptions.gotoAndStop('firenova' + _root.firenovaRank);
		}
		on (release) {
			_root.world.mainMenu.abilitiesMenu.attachMovie('firenovaIcon', 'attachedIcon', _root.iconDepth);
			_root.abilityDrag = true;
			_root.draggingItem = 'firenova' + _root.firenovaRank;
		}
	}
	button 9841 {
		on (rollOver) {
			_root.world.mainMenu.abilitiesMenu.descriptions.gotoAndStop('heal' + _root.healRank);
		}
		on (release) {
			_root.world.mainMenu.abilitiesMenu.attachMovie('healIcon', 'attachedIcon', _root.iconDepth);
			_root.abilityDrag = true;
			_root.draggingItem = 'heal' + _root.healRank;
		}
	}
	button 9849 {
		on (rollOver) {
			_root.world.mainMenu.abilitiesMenu.descriptions.gotoAndStop('energybolt' + _root.energyboltRank);
		}
		on (release) {
			_root.world.mainMenu.abilitiesMenu.attachMovie('energyboltIcon', 'attachedIcon', _root.iconDepth);
			_root.abilityDrag = true;
			_root.draggingItem = 'energybolt' + _root.energyboltRank;
		}
	}
	button 9857 {
		on (rollOver) {
			_root.world.mainMenu.abilitiesMenu.descriptions.gotoAndStop('stab' + _root.stabRank);
		}
		on (release) {
			_root.world.mainMenu.abilitiesMenu.attachMovie('stabIcon', 'attachedIcon', _root.iconDepth);
			_root.abilityDrag = true;
			_root.draggingItem = 'stab' + _root.stabRank;
		}
	}
	button 9865 {
		on (rollOver) {
			_root.world.mainMenu.abilitiesMenu.descriptions.gotoAndStop('frostblade' + _root.frostbladeRank);
		}
		on (release) {
			_root.world.mainMenu.abilitiesMenu.attachMovie('frostbladeIcon', 'attachedIcon', _root.iconDepth);
			_root.abilityDrag = true;
			_root.draggingItem = 'frostblade' + _root.frostbladeRank;
		}
	}
	button 9873 {
		on (rollOver) {
			_root.world.mainMenu.abilitiesMenu.descriptions.gotoAndStop('mendwound' + _root.mendwoundRank);
		}
		on (release) {
			_root.world.mainMenu.abilitiesMenu.attachMovie('mendwoundIcon', 'attachedIcon', _root.iconDepth);
			_root.abilityDrag = true;
			_root.draggingItem = 'mendwound' + _root.mendwoundRank;
		}
	}
	button 9881 {
		on (rollOver) {
			_root.world.mainMenu.abilitiesMenu.descriptions.gotoAndStop('cleave' + _root.cleaveRank);
		}
		on (release) {
			_root.world.mainMenu.abilitiesMenu.attachMovie('cleaveIcon', 'attachedIcon', _root.iconDepth);
			_root.abilityDrag = true;
			_root.draggingItem = 'cleave' + _root.cleaveRank;
		}
	}
	button 9889 {
		on (rollOver) {
			_root.world.mainMenu.abilitiesMenu.descriptions.gotoAndStop('shieldbash' + _root.shieldbashRank);
		}
		on (release) {
			_root.world.mainMenu.abilitiesMenu.attachMovie('shieldbashIcon', 'attachedIcon', _root.iconDepth);
			_root.abilityDrag = true;
			_root.draggingItem = 'shieldbash' + _root.shieldbashRank;
		}
	}
	button 9897 {
		on (rollOver) {
			_root.world.mainMenu.abilitiesMenu.descriptions.gotoAndStop('deathblow' + _root.deathblowRank);
		}
		on (release) {
			_root.world.mainMenu.abilitiesMenu.attachMovie('deathblowIcon', 'attachedIcon', _root.iconDepth);
			_root.abilityDrag = true;
			_root.draggingItem = 'deathblow' + _root.deathblowRank;
		}
	}
	button 9905 {
		on (rollOver) {
			_root.world.mainMenu.abilitiesMenu.descriptions.gotoAndStop('shootarrow' + _root.shootarrowRank);
		}
		on (release) {
			_root.world.mainMenu.abilitiesMenu.attachMovie('shootarrowIcon', 'attachedIcon', _root.iconDepth);
			_root.abilityDrag = true;
			_root.draggingItem = 'shootarrow' + _root.shootarrowRank;
		}
	}
	button 9913 {
		on (rollOver) {
			_root.world.mainMenu.abilitiesMenu.descriptions.gotoAndStop('fetter' + _root.fetterRank);
		}
		on (release) {
			_root.world.mainMenu.abilitiesMenu.attachMovie('fetterIcon', 'attachedIcon', _root.iconDepth);
			_root.abilityDrag = true;
			_root.draggingItem = 'fetter' + _root.fetterRank;
		}
	}
	button 9921 {
		on (rollOver) {
			_root.world.mainMenu.abilitiesMenu.descriptions.gotoAndStop('frostshot' + _root.frostshotRank);
		}
		on (release) {
			_root.world.mainMenu.abilitiesMenu.attachMovie('frostshotIcon', 'attachedIcon', _root.iconDepth);
			_root.abilityDrag = true;
			_root.draggingItem = 'frostshot' + _root.frostshotRank;
		}
	}
	button 9930 {
		on (rollOver) {
			_root.world.mainMenu.abilitiesMenu.descriptions.gotoAndStop('bindwound' + _root.bindwoundRank);
		}
		on (release) {
			_root.world.mainMenu.abilitiesMenu.attachMovie('bindwoundIcon', 'attachedIcon', _root.iconDepth);
			_root.abilityDrag = true;
			_root.draggingItem = 'bindwound' + _root.bindwoundRank;
		}
	}
	button 9938 {
		on (rollOver) {
			_root.world.mainMenu.abilitiesMenu.descriptions.gotoAndStop('searingarrow' + _root.searingarrowRank);
		}
		on (release) {
			_root.world.mainMenu.abilitiesMenu.attachMovie('searingarrowIcon', 'attachedIcon', _root.iconDepth);
			_root.abilityDrag = true;
			_root.draggingItem = 'searingarrow' + _root.searingarrowRank;
		}
	}
	button 9946 {
		on (rollOver) {
			_root.world.mainMenu.abilitiesMenu.descriptions.gotoAndStop('elvenshot' + _root.elvenshotRank);
		}
		on (release) {
			_root.world.mainMenu.abilitiesMenu.attachMovie('elvenshotIcon', 'attachedIcon', _root.iconDepth);
			_root.abilityDrag = true;
			_root.draggingItem = 'elvenshot' + _root.elvenshotRank;
		}
	}
	movieClip 9952	{
		frame 1 {
			stop();
		}
	}
	movieClip 10387	{
		frame 1 {
			stop();
		}
	}
	movieClip 10389	{
		frame 1 {
			stop();
		}
	}
	movieClip 10395	{
	}
	button 10403 {
		on (release) {
			if (_root.questHighlighted != 'null') {
				_root.playSound('abandonQuest');
				var targetQuest = 'quest' + _root.questHighlighted;
				var targetComp = 'complete' + _root.questHighlighted;
				_root.world.mainMenu[targetQuest].gotoAndStop(1);
				_root.world.mainMenu[targetComp].gotoAndStop(1);
				_root.world.mainMenu.descriptions.gotoAndStop(1);
				_root.world.mainMenu.questBorder.gotoAndStop(1);
				if (_root.world.questGiver.questName == _root[targetQuest][1] + 'Q') {
					_root.world.questGiver.onQuest = false;
				}
				var i = 1;
				while (i <= 4) {
					var tempQuest = 'boss' + i;
					var tempAlliance = 'allianceBoss' + i + 'Q';
					var tempShadow = 'shadowRunnersBoss' + i + 'Q';
					if (_root[targetQuest][1] == tempQuest && (_root.world.questGiver.questName == tempAlliance || _root.world.questGiver.questName == tempShadow)) {
						_root.world.questGiver.onQuest = false;
						break;
					}
					++i;
				}
				_root.activeQuests[_root.questHighlighted - 1] = '';
				_root[targetQuest] = ['', '', '', '', '', '', '', '', '', '', '', '', '', ''];
				_root.questHighlighted = 'null';
			} else {
				_root.showMessage('Select a quest to abandon first.');
			}
		}
		on (rollOver) {
			_root.playSound('rollOver');
		}
	}
	movieClip 10410	{
	}
	movieClip 10413	{
		frame 1 {
			stop();
		}
	}
	movieClip 10415	{
		frame 1 {
			stop();
		}
	}
	button 10420 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('shadowSoldierQ');
		}
	}
	button 10423 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('shadowWizardQ');
		}
	}
	button 10426 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('shadowBowmanQ');
		}
	}
	button 10429 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('allianceBoss1Q');
		}
	}
	button 10432 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('shadowGuardQ');
		}
	}
	button 10435 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('shadowArcherQ');
		}
	}
	button 10438 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('shadowKnightQ');
		}
	}
	button 10441 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('allianceBoss2Q');
		}
	}
	button 10444 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('necromancerQ');
		}
	}
	button 10447 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('shadowTrackerQ');
		}
	}
	button 10450 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('shadowAssassinQ');
		}
	}
	button 10452 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('darkRitualistQ');
		}
	}
	button 10455 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('bloodMageQ');
		}
	}
	button 10458 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('allianceBoss3Q');
		}
	}
	button 10461 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('shadowWardQ');
		}
	}
	button 10464 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('fallenShadowQ');
		}
	}
	button 10467 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('hellCasterQ');
		}
	}
	button 10470 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('shadowCaptainQ');
		}
	}
	button 10473 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('allianceBoss4Q');
		}
	}
	button 10476 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('finalBossAQ');
		}
	}
	button 10480 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('brightlakeGuardQ');
		}
	}
	button 10483 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('brightlakeScoutQ');
		}
	}
	button 10486 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('brightlakeWizardQ');
		}
	}
	button 10489 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('shadowRunnersBoss1Q');
		}
	}
	button 10492 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('paladinQ');
		}
	}
	button 10495 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('greenviewMageQ');
		}
	}
	button 10498 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('greenviewGuardQ');
		}
	}
	button 10501 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('shadowRunnersBoss2Q');
		}
	}
	button 10504 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('greenviewWardQ');
		}
	}
	button 10507 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('sageOfLightQ');
		}
	}
	button 10510 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('holyAssassinQ');
		}
	}
	button 10513 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('strikerOfHartQ');
		}
	}
	button 10516 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('guardOfHartQ');
		}
	}
	button 10519 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('shadowRunnersBoss3Q');
		}
	}
	button 10522 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('icecallerOfHartQ');
		}
	}
	button 10525 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('shadowOfLightQ');
		}
	}
	button 10528 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('devoutGamemasterQ');
		}
	}
	button 10531 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('masterPaladinQ');
		}
	}
	button 10534 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('shadowRunnersBoss4Q');
		}
	}
	button 10537 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('finalBossSQ');
		}
	}
	button 10540 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('apprenticeQ');
		}
	}
	button 10543 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('archerQ');
		}
	}
	button 10546 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('pathfinderQ');
		}
	}
	button 10549 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('channelerQ');
		}
	}
	button 10552 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('warderQ');
		}
	}
	button 10555 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('aeromancerQ');
		}
	}
	button 10558 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('squireQ');
		}
	}
	button 10561 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('sageQ');
		}
	}
	button 10563 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('ritualistQ');
		}
	}
	button 10566 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('conquerorQ');
		}
	}
	button 10569 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('elementalistQ');
		}
	}
	button 10572 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('gladiatorQ');
		}
	}
	button 10575 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('traineeQ');
		}
	}
	button 10578 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('defenderQ');
		}
	}
	button 10581 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('knightQ');
		}
	}
	button 10584 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('bowmasterQ');
		}
	}
	button 10587 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('championQ');
		}
	}
	button 10590 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('forestStalkerQ');
		}
	}
	button 10593 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('brigandQ');
		}
	}
	button 10596 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('hirelingQ');
		}
	}
	button 10599 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('madcapQ');
		}
	}
	button 10602 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('highwaymanQ');
		}
	}
	button 10605 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('coinchaserQ');
		}
	}
	button 10608 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('sellswordQ');
		}
	}
	button 10611 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('merchantGuardQ');
		}
	}
	button 10613 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('wizardProtectorQ');
		}
	}
	button 10616 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('honorGuardQ');
		}
	}
	button 10619 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('pledgedTrackerQ');
		}
	}
	button 10622 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('waterdancerQ');
		}
	}
	button 10625 {
		on (rollOver) {
			_root.questHighlighted = this.slot;
			_root.world.mainMenu.questBorder.gotoAndStop(this.slot + 1);
			_root.world.mainMenu.descriptions.gotoAndStop('redCloakGuardQ');
		}
	}
	movieClip 10626	{
		frame 1 {
			stop();
		}
	}
	button 10634 {
		on (rollOver) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop('dentedChestguard');
			_root.world.mainMenu.descriptions.itemStats._x = _root.world.mainMenu.descriptions.slot1._x - 100;
			_root.world.mainMenu.descriptions.itemStats._y = _root.world.mainMenu.descriptions.slot1._y + 15;
		}
		on (rollOut) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop(1);
		}
	}
	button 10635 {
		on (rollOver) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop('tatteredCap');
			_root.world.mainMenu.descriptions.itemStats._x = _root.world.mainMenu.descriptions.slot3._x - 100;
			_root.world.mainMenu.descriptions.itemStats._y = _root.world.mainMenu.descriptions.slot3._y + 15;
		}
		on (rollOut) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop(1);
		}
	}
	button 10636 {
		on (rollOver) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop('leatherLeggings');
			_root.world.mainMenu.descriptions.itemStats._x = _root.world.mainMenu.descriptions.slot2._x - 100;
			_root.world.mainMenu.descriptions.itemStats._y = _root.world.mainMenu.descriptions.slot2._y + 15;
		}
		on (rollOut) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop(1);
		}
	}
	button 10644 {
		on (rollOver) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop('dentedBoots');
			_root.world.mainMenu.descriptions.itemStats._x = _root.world.mainMenu.descriptions.slot1._x - 100;
			_root.world.mainMenu.descriptions.itemStats._y = _root.world.mainMenu.descriptions.slot1._y + 15;
		}
		on (rollOut) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop(1);
		}
	}
	button 10645 {
		on (rollOver) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop('tatteredLeggings');
			_root.world.mainMenu.descriptions.itemStats._x = _root.world.mainMenu.descriptions.slot3._x - 100;
			_root.world.mainMenu.descriptions.itemStats._y = _root.world.mainMenu.descriptions.slot3._y + 15;
		}
		on (rollOut) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop(1);
		}
	}
	button 10646 {
		on (rollOver) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop('leatherSkullcap');
			_root.world.mainMenu.descriptions.itemStats._x = _root.world.mainMenu.descriptions.slot2._x - 100;
			_root.world.mainMenu.descriptions.itemStats._y = _root.world.mainMenu.descriptions.slot2._y + 15;
		}
		on (rollOut) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop(1);
		}
	}
	button 10654 {
		on (rollOver) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop('soldiersBlade');
			_root.world.mainMenu.descriptions.itemStats._x = _root.world.mainMenu.descriptions.slot1._x - 100;
			_root.world.mainMenu.descriptions.itemStats._y = _root.world.mainMenu.descriptions.slot1._y + 15;
		}
		on (rollOut) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop(1);
		}
	}
	button 10655 {
		on (rollOver) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop('studdedBoots');
			_root.world.mainMenu.descriptions.itemStats._x = _root.world.mainMenu.descriptions.slot2._x - 100;
			_root.world.mainMenu.descriptions.itemStats._y = _root.world.mainMenu.descriptions.slot2._y + 15;
		}
		on (rollOut) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop(1);
		}
	}
	button 10656 {
		on (rollOver) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop('silkGloves');
			_root.world.mainMenu.descriptions.itemStats._x = _root.world.mainMenu.descriptions.slot3._x - 100;
			_root.world.mainMenu.descriptions.itemStats._y = _root.world.mainMenu.descriptions.slot3._y + 15;
		}
		on (rollOut) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop(1);
		}
	}
	button 10660 {
		on (rollOver) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop('bronzeLegplates');
			_root.world.mainMenu.descriptions.itemStats._x = _root.world.mainMenu.descriptions.slot1._x - 100;
			_root.world.mainMenu.descriptions.itemStats._y = _root.world.mainMenu.descriptions.slot1._y + 15;
		}
		on (rollOut) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop(1);
		}
	}
	button 10661 {
		on (rollOver) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop('studdedLeggings');
			_root.world.mainMenu.descriptions.itemStats._x = _root.world.mainMenu.descriptions.slot2._x - 100;
			_root.world.mainMenu.descriptions.itemStats._y = _root.world.mainMenu.descriptions.slot2._y + 15;
		}
		on (rollOut) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop(1);
		}
	}
	button 10662 {
		on (rollOver) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop('sapphireBroach');
			_root.world.mainMenu.descriptions.itemStats._x = _root.world.mainMenu.descriptions.slot3._x - 100;
			_root.world.mainMenu.descriptions.itemStats._y = _root.world.mainMenu.descriptions.slot3._y + 15;
		}
		on (rollOut) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop(1);
		}
	}
	button 10666 {
		on (rollOver) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop('mithrilGauntlets');
			_root.world.mainMenu.descriptions.itemStats._x = _root.world.mainMenu.descriptions.slot1._x - 100;
			_root.world.mainMenu.descriptions.itemStats._y = _root.world.mainMenu.descriptions.slot1._y + 15;
		}
		on (rollOut) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop(1);
		}
	}
	button 10667 {
		on (rollOver) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop('woodsmansGloves');
			_root.world.mainMenu.descriptions.itemStats._x = _root.world.mainMenu.descriptions.slot2._x - 100;
			_root.world.mainMenu.descriptions.itemStats._y = _root.world.mainMenu.descriptions.slot2._y + 15;
		}
		on (rollOut) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop(1);
		}
	}
	button 10668 {
		on (rollOver) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop('magiciansTreads');
			_root.world.mainMenu.descriptions.itemStats._x = _root.world.mainMenu.descriptions.slot3._x - 100;
			_root.world.mainMenu.descriptions.itemStats._y = _root.world.mainMenu.descriptions.slot3._y + 15;
		}
		on (rollOut) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop(1);
		}
	}
	button 10707 {
		on (rollOver) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop('championsShield');
			_root.world.mainMenu.descriptions.itemStats._x = _root.world.mainMenu.descriptions.slot1._x - 100;
			_root.world.mainMenu.descriptions.itemStats._y = _root.world.mainMenu.descriptions.slot1._y + 15;
		}
		on (rollOut) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop(1);
		}
	}
	button 10708 {
		on (rollOver) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop('sylvanTunic');
			_root.world.mainMenu.descriptions.itemStats._x = _root.world.mainMenu.descriptions.slot2._x - 100;
			_root.world.mainMenu.descriptions.itemStats._y = _root.world.mainMenu.descriptions.slot2._y + 15;
		}
		on (rollOut) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop(1);
		}
	}
	button 10709 {
		on (rollOver) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop('spellweaversPants');
			_root.world.mainMenu.descriptions.itemStats._x = _root.world.mainMenu.descriptions.slot3._x - 100;
			_root.world.mainMenu.descriptions.itemStats._y = _root.world.mainMenu.descriptions.slot3._y + 15;
		}
		on (rollOut) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop(1);
		}
	}
	button 10726 {
		on (rollOver) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop('leatherSkullcap');
			_root.world.mainMenu.descriptions.itemStats._x = _root.world.mainMenu.descriptions.slot2._x - 100;
			_root.world.mainMenu.descriptions.itemStats._y = _root.world.mainMenu.descriptions.slot2._y + 15;
		}
		on (rollOut) {
			_root.world.mainmenu.descriptions.itemStats.gotoAndStop(1);
		}
	}
	button 10743 {
		on (rollOver) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop('bronzeArmplates');
			_root.world.mainMenu.descriptions.itemStats._x = _root.world.mainMenu.descriptions.slot1._x - 100;
			_root.world.mainMenu.descriptions.itemStats._y = _root.world.mainMenu.descriptions.slot1._y + 15;
		}
		on (rollOut) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop(1);
		}
	}
	button 10786 {
		on (rollOver) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop('rustySword');
			_root.world.mainMenu.descriptions.itemStats._x = _root.world.mainMenu.descriptions.slot1._x - 100;
			_root.world.mainMenu.descriptions.itemStats._y = _root.world.mainMenu.descriptions.slot1._y + 15;
		}
		on (rollOut) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop(1);
		}
	}
	button 10793 {
		on (rollOver) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop('ironShortsword');
			_root.world.mainMenu.descriptions.itemStats._x = _root.world.mainMenu.descriptions.slot1._x - 100;
			_root.world.mainMenu.descriptions.itemStats._y = _root.world.mainMenu.descriptions.slot1._y + 15;
		}
		on (rollOut) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop(1);
		}
	}
	button 10797 {
		on (rollOver) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop('soldiersMark');
			_root.world.mainMenu.descriptions.itemStats._x = _root.world.mainMenu.descriptions.slot1._x - 100;
			_root.world.mainMenu.descriptions.itemStats._y = _root.world.mainMenu.descriptions.slot1._y + 15;
		}
		on (rollOut) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop(1);
		}
	}
	button 10801 {
		on (rollOver) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop('blackBronzeSword');
			_root.world.mainMenu.descriptions.itemStats._x = _root.world.mainMenu.descriptions.slot1._x - 100;
			_root.world.mainMenu.descriptions.itemStats._y = _root.world.mainMenu.descriptions.slot1._y + 15;
		}
		on (rollOut) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop(1);
		}
	}
	button 10805 {
		on (rollOver) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop('deathsHand');
			_root.world.mainMenu.descriptions.itemStats._x = _root.world.mainMenu.descriptions.slot1._x - 100;
			_root.world.mainMenu.descriptions.itemStats._y = _root.world.mainMenu.descriptions.slot1._y + 15;
		}
		on (rollOut) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop(1);
		}
	}
	button 10809 {
		on (rollOver) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop('oakBow');
			_root.world.mainMenu.descriptions.itemStats._x = _root.world.mainMenu.descriptions.slot1._x - 100;
			_root.world.mainMenu.descriptions.itemStats._y = _root.world.mainMenu.descriptions.slot1._y + 15;
		}
		on (rollOut) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop(1);
		}
	}
	button 10817 {
		on (rollOver) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop('pathfindersBow');
			_root.world.mainMenu.descriptions.itemStats._x = _root.world.mainMenu.descriptions.slot1._x - 100;
			_root.world.mainMenu.descriptions.itemStats._y = _root.world.mainMenu.descriptions.slot1._y + 15;
		}
		on (rollOut) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop(1);
		}
	}
	button 10825 {
		on (rollOver) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop('woodsmansVest');
			_root.world.mainMenu.descriptions.itemStats._x = _root.world.mainMenu.descriptions.slot1._x - 100;
			_root.world.mainMenu.descriptions.itemStats._y = _root.world.mainMenu.descriptions.slot1._y + 15;
		}
		on (rollOut) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop(1);
		}
	}
	button 10830 {
		on (rollOver) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop('furyOfTheGlade');
			_root.world.mainMenu.descriptions.itemStats._x = _root.world.mainMenu.descriptions.slot1._x - 100;
			_root.world.mainMenu.descriptions.itemStats._y = _root.world.mainMenu.descriptions.slot1._y + 15;
		}
		on (rollOut) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop(1);
		}
	}
	button 10835 {
		on (rollOver) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop('silverWand');
			_root.world.mainMenu.descriptions.itemStats._x = _root.world.mainMenu.descriptions.slot1._x - 100;
			_root.world.mainMenu.descriptions.itemStats._y = _root.world.mainMenu.descriptions.slot1._y + 15;
		}
		on (rollOut) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop(1);
		}
	}
	button 10842 {
		on (rollOver) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop('sorcerersWand');
			_root.world.mainMenu.descriptions.itemStats._x = _root.world.mainMenu.descriptions.slot1._x - 100;
			_root.world.mainMenu.descriptions.itemStats._y = _root.world.mainMenu.descriptions.slot1._y + 15;
		}
		on (rollOut) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop(1);
		}
	}
	button 10849 {
		on (rollOver) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop('wandOfElements');
			_root.world.mainMenu.descriptions.itemStats._x = _root.world.mainMenu.descriptions.slot1._x - 100;
			_root.world.mainMenu.descriptions.itemStats._y = _root.world.mainMenu.descriptions.slot1._y + 15;
		}
		on (rollOut) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop(1);
		}
	}
	button 10853 {
		on (rollOver) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop('terrorOfNnuk');
			_root.world.mainMenu.descriptions.itemStats._x = _root.world.mainMenu.descriptions.slot1._x - 100;
			_root.world.mainMenu.descriptions.itemStats._y = _root.world.mainMenu.descriptions.slot1._y + 15;
		}
		on (rollOut) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop(1);
		}
	}
	button 10873 {
		on (rollOver) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop('legsOfTheTracker');
			_root.world.mainMenu.descriptions.itemStats._x = _root.world.mainMenu.descriptions.slot2._x - 100;
			_root.world.mainMenu.descriptions.itemStats._y = _root.world.mainMenu.descriptions.slot2._y + 15;
		}
		on (rollOut) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop(1);
		}
	}
	button 10874 {
		on (rollOver) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop('tuggosLegplates');
			_root.world.mainMenu.descriptions.itemStats._x = _root.world.mainMenu.descriptions.slot1._x - 100;
			_root.world.mainMenu.descriptions.itemStats._y = _root.world.mainMenu.descriptions.slot1._y + 15;
		}
		on (rollOut) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop(1);
		}
	}
	button 10875 {
		on (rollOver) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop('robeOfTheAncients');
			_root.world.mainMenu.descriptions.itemStats._x = _root.world.mainMenu.descriptions.slot3._x - 100;
			_root.world.mainMenu.descriptions.itemStats._y = _root.world.mainMenu.descriptions.slot3._y + 15;
		}
		on (rollOut) {
			_root.world.mainMenu.descriptions.itemStats.gotoAndStop(1);
		}
	}
	movieClip 10894	{
		frame 1 {
			stop();
		}
		frame 2 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = 'Shadow Soldiers Killed ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 3 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = 'Shadow Wizards Killed ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 4 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = 'Ricken\'s Bow ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 5 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 6 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 7 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 8 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 9 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 10 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 11 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 12 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 13 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 14 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 15 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 16 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 17 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 18 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 19 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 20 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 21 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 25 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = 'Brightlake Guards Killed ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 26 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = 'Brightlake Scouts Killed: ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 27 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = 'Magic Orb: ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 28 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = 'Broken Piece of the Heartstone ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 29 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 30 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 31 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 32 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 33 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 34 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 35 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 36 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 37 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 38 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 39 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 40 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 41 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 42 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 43 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 44 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 49 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = 'Apprentices Killed ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 50 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 51 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 52 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 53 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 54 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 63 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = 'Squires Killed ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 64 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 65 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 66 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 67 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 68 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 75 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = 'Trainees Killed ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 76 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 77 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 78 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 79 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 80 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 91 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = 'Brigands Killed ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 92 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = 'Blue Gold ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 93 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 94 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 95 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 96 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 106 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = 'Francis\' Key ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 107 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 108 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 109 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 110 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
		frame 111 {
			var targetQuest = 'quest' + _root.questHighlighted;
			_root.world.mainMenu.descriptions.status_txt.text = _root[targetQuest][14] + ' ' + _root[targetQuest][3] + '/' + _root[targetQuest][4];
		}
	}
	movieClip 10910	{
		frame 1 {
			stop();
		}
	}
	movieClip 10912	{
	}
	movieClip 10913	{
	}
	movieClip 10935	{
		frame 1 {
			stop();
		}
	}
	button 10938 {
		on (rollOver) {
			_root.playSound('intClick');
			_root.world.mainMenu.factionsMenu.symbols.gotoAndStop(1);
		}
	}
	button 10941 {
		on (rollOver) {
			_root.playSound('intClick');
			_root.world.mainMenu.factionsMenu.symbols.gotoAndStop(2);
		}
	}
	button 10945 {
		on (rollOver) {
			_root.playSound('intClick');
			_root.world.mainMenu.factionsMenu.symbols.gotoAndStop(3);
		}
	}
	button 10948 {
		on (rollOver) {
			_root.playSound('intClick');
			_root.world.mainMenu.factionsMenu.symbols.gotoAndStop(4);
		}
	}
	button 10951 {
		on (rollOver) {
			_root.playSound('intClick');
			_root.world.mainMenu.factionsMenu.symbols.gotoAndStop(5);
		}
	}
	button 10954 {
		on (rollOver) {
			_root.playSound('intClick');
			_root.world.mainMenu.factionsMenu.symbols.gotoAndStop(6);
		}
	}
	button 10957 {
		on (rollOver) {
			_root.playSound('intClick');
			_root.world.mainMenu.factionsMenu.symbols.gotoAndStop(7);
		}
	}
	movieClip 10959	{
	}
	movieClip 10971	{
		frame 1 {
			stop();
		}
	}
	movieClip 10975	{
		frame 1 {
			stop();
		}
	}
	button 10979 {
		on (release) {
			_root.playSound('intClick');
			_root.world.mainMenu.gameMenu.gotoAndStop('interface');
		}
		on (rollOver) {
			_root.playSound('rollOver');
		}
	}
	button 10983 {
		on (release) {
			_root.playSound('intClick');
			if (_root.tutorials) {
				_root.tutorials = false;
				_root.world.mainMenu.gameMenu.tutorials.gotoAndStop(2);
			} else {
				_root.tutorials = true;
				_root.world.mainMenu.gameMenu.tutorials.gotoAndStop(1);
			}
		}
		on (rollOver) {
			_root.playSound('rollOver');
		}
	}
	button 10986 {
		on (release) {
			_root.playSound('intClick');
			if (_root.gameQuality == 1) {
				_root.world._quality = 'MEDIUM';
				_root.gameQuality = 2;
				_root.world.mainMenu.gameMenu.quality.gotoAndStop(2);
			} else {
				if (_root.gameQuality == 2) {
					_root.world._quality = 'HIGH';
					_root.gameQuality = 3;
					_root.world.mainMenu.gameMenu.quality.gotoAndStop(3);
				} else {
					_root.world._quality = 'LOW';
					_root.gameQuality = 1;
					_root.world.mainMenu.gameMenu.quality.gotoAndStop(1);
				}
			}
		}
		on (rollOver) {
			_root.playSound('rollOver');
		}
	}
	button 10991 {
		on (release) {
			_root.playSound('intClick');
			if (_root.musicOn) {
				_root.musicOn = false;
				_root.world.mainMenu.gameMenu.music.gotoAndStop(2);
				stopAllSounds();
			} else {
				_root.musicOn = true;
				_root.world.mainMenu.gameMenu.music.gotoAndStop(1);
				if (_root.inCave) {
					_root.playSound('cave1');
				} else {
					if (_root.inCity) {
						_root.playSound('city');
					} else {
						_root.playSound('overworld');
					}
				}
			}
		}
		on (rollOver) {
			_root.playSound('rollOver');
		}
	}
	button 10996 {
		on (release) {
			_root.playSound('intClick');
			if (_root.soundOn) {
				_root.soundOn = false;
				_root.world.mainMenu.gameMenu.sound.gotoAndStop(2);
			} else {
				_root.soundOn = true;
				_root.world.mainMenu.gameMenu.sound.gotoAndStop(1);
			}
		}
		on (rollOver) {
			_root.playSound('rollOver');
		}
	}
	button 11000 {
		on (release) {
			_root.playSound('intClick');
			_root.world.mainMenu.gameMenu.gotoAndStop('tutorials');
		}
		on (rollOver) {
			_root.playSound('rollOver');
		}
	}
	button 11004 {
		on (release) {
			getURL('http://www.bubblebox.com/clickreg.php?type=gamestats&id=1106&subid=adventure-links&action=gotoadventure', '_blank');
		}
	}
	button 11033 {
		on (release) {
			_root.characterX += 5;
			_root.world.charInfo._x += 5;
		}
	}
	button 11034 {
		on (release) {
			_root.characterY += 5;
			_root.world.charInfo._y += 5;
		}
	}
	button 11035 {
		on (release) {
			if (_root.characterA < 100) {
				_root.characterA += 5;
				_root.world.charInfo._alpha += 5;
			}
		}
	}
	button 11039 {
		on (release) {
			_root.targetX += 5;
			_root.world.targetInfo._x += 5;
		}
	}
	button 11040 {
		on (release) {
			_root.targetY += 5;
			_root.world.targetInfo._y += 5;
		}
	}
	button 11041 {
		on (release) {
			if (_root.targetA < 100) {
				_root.targetA += 5;
				_root.world.targetInfo._alpha += 5;
			}
		}
	}
	button 11042 {
		on (release) {
			_root.spellX += 5;
			_root.world.spellBar._x += 5;
		}
	}
	button 11043 {
		on (release) {
			_root.spellY += 5;
			_root.world.spellBar._y += 5;
		}
	}
	button 11044 {
		on (release) {
			if (_root.spellA < 100) {
				_root.spellA += 5;
				_root.world.spellBar._alpha += 5;
			}
		}
	}
	button 11045 {
		on (release) {
			_root.castX += 5;
			_root.world.castMeter._x += 5;
		}
	}
	button 11046 {
		on (release) {
			_root.castY += 5;
			_root.world.castMeter._y += 5;
		}
	}
	button 11047 {
		on (release) {
			if (_root.castA < 100) {
				_root.castA += 5;
				_root.world.castMeter._alpha += 5;
			}
		}
	}
	button 11048 {
		on (release) {
			_root.gameX += 5;
			_root.world.gameBar._x += 5;
		}
	}
	button 11049 {
		on (release) {
			_root.gameY += 5;
			_root.world.gameBar._y += 5;
		}
	}
	button 11050 {
		on (release) {
			if (_root.gameA < 100) {
				_root.gameA += 5;
				_root.world.gameBar._alpha += 5;
			}
		}
	}
	button 11051 {
		on (release) {
			_root.potionsX += 5;
			_root.world.potionsBar._x += 5;
		}
	}
	button 11052 {
		on (release) {
			_root.potionsY += 5;
			_root.world.potionsBar._y += 5;
		}
	}
	button 11053 {
		on (release) {
			if (_root.potionsA < 100) {
				_root.potionsA += 5;
				_root.world.potionsBar._alpha += 5;
			}
		}
	}
	button 11054 {
		on (release) {
			if (_root.potionsA > 0) {
				_root.potionsA -= 5;
				_root.world.potionsBar._alpha -= 5;
			}
		}
	}
	button 11055 {
		on (release) {
			_root.potionsY -= 5;
			_root.world.potionsBar._y -= 5;
		}
	}
	button 11056 {
		on (release) {
			_root.potionsX -= 5;
			_root.world.potionsBar._x -= 5;
		}
	}
	button 11057 {
		on (release) {
			if (_root.gameA > 0) {
				_root.gameA -= 5;
				_root.world.gameBar._alpha -= 5;
			}
		}
	}
	button 11058 {
		on (release) {
			_root.gameY -= 5;
			_root.world.gameBar._y -= 5;
		}
	}
	button 11059 {
		on (release) {
			_root.gameX -= 5;
			_root.world.gameBar._x -= 5;
		}
	}
	button 11060 {
		on (release) {
			if (_root.castA > 0) {
				_root.castA -= 5;
				_root.world.castMeter._alpha -= 5;
			}
		}
	}
	button 11061 {
		on (release) {
			_root.castY -= 5;
			_root.world.castMeter._y -= 5;
		}
	}
	button 11062 {
		on (release) {
			_root.castX -= 5;
			_root.world.castMeter._x -= 5;
		}
	}
	button 11063 {
		on (release) {
			if (_root.spellA > 0) {
				_root.spellA -= 5;
				_root.world.spellBar._alpha -= 5;
			}
		}
	}
	button 11064 {
		on (release) {
			_root.spellY -= 5;
			_root.world.spellBar._y -= 5;
		}
	}
	button 11065 {
		on (release) {
			_root.spellX -= 5;
			_root.world.spellBar._x -= 5;
		}
	}
	button 11066 {
		on (release) {
			if (_root.targetA > 0) {
				_root.targetA -= 5;
				_root.world.targetInfo._alpha -= 5;
			}
		}
	}
	button 11067 {
		on (release) {
			_root.targetY -= 5;
			_root.world.targetInfo._y -= 5;
		}
	}
	button 11068 {
		on (release) {
			_root.targetX -= 5;
			_root.world.targetInfo._x -= 5;
		}
	}
	button 11069 {
		on (release) {
			if (_root.characterA > 0) {
				_root.characterA -= 5;
				_root.world.charInfo._alpha -= 5;
			}
		}
	}
	button 11070 {
		on (release) {
			_root.characterY -= 5;
			_root.world.charInfo._y -= 5;
		}
	}
	button 11071 {
		on (release) {
			_root.characterX -= 5;
			_root.world.charInfo._x -= 5;
		}
	}
	button 11075 {
		on (release) {
			_root.world.charInfo._x = 5;
			_root.world.charInfo._y = 5;
			_root.world.charInfo._alpha = 90;
			_root.characterA = 90;
			_root.characterX = 5;
			_root.characterY = 5;
			_root.world.targetInfo._x = 425;
			_root.world.targetInfo._y = 5;
			_root.world.targetInfo._alpha = 90;
			_root.targetX = 425;
			_root.targetY = 5;
			_root.targetA = 90;
			_root.world.spellBar._x = 5;
			_root.world.spellBar._y = 540;
			_root.world.spellBar._alpha = 90;
			_root.spellX = 5;
			_root.spellY = 540;
			_root.spellA = 90;
			_root.world.castMeter._x = 225;
			_root.world.castMeter._y = 495;
			_root.world.castMeter._alpha = 90;
			_root.castX = 225;
			_root.castY = 495;
			_root.castA = 90;
			_root.world.gameBar._x = 325;
			_root.world.gameBar._y = 540;
			_root.world.gameBar._alpha = 90;
			_root.gameX = 325;
			_root.gameY = 540;
			_root.gameA = 90;
			_root.world.potionsBar._x = 15;
			_root.world.potionsBar._y = 75;
			_root.world.potionsBar._alpha = 90;
			_root.potionsX = 15;
			_root.potionsY = 75;
			_root.potionsA = 90;
		}
	}
	movieClip 11154	{
		frame 1 {
			stop();
		}
	}
	button 11158 {
		on (release) {
			_root.playSound('intClick');
			_root.world.mainMenu.gameMenu.tut.nextFrame();
		}
		on (rollOver) {
			_root.playSound('rollOver');
		}
	}
	button 11159 {
		on (release) {
			_root.playSound('intClick');
			_root.world.mainMenu.gameMenu.tut.prevFrame();
		}
		on (rollOver) {
			_root.playSound('rollOver');
		}
	}
	movieClip 11160	{
		frame 1 {
			stop();
		}
	}
	movieClip 11161	{
		frame 1 {
			stop();
		}
		instance quest7 of movieClip 10626	{
			onClipEvent (load) {
				this.slot = 7;
			}
		}
		instance quest2 of movieClip 10626	{
			onClipEvent (load) {
				this.slot = 2;
			}
		}
		instance quest3 of movieClip 10626	{
			onClipEvent (load) {
				this.slot = 3;
			}
		}
		instance quest4 of movieClip 10626	{
			onClipEvent (load) {
				this.slot = 4;
			}
		}
		instance quest5 of movieClip 10626	{
			onClipEvent (load) {
				this.slot = 5;
			}
		}
		instance quest6 of movieClip 10626	{
			onClipEvent (load) {
				this.slot = 6;
			}
		}
		instance quest1 of movieClip 10626	{
			onClipEvent (load) {
				this.slot = 1;
			}
		}
	}
	movieClip 11163	{
	}
	movieClip 11165	{
	}
	movieClip 11168	{
	}
	movieClip 11171	{
	}
	movieClip 11177	{
	}
	movieClip 11179	{
	}
	movieClip 11184	{
	}
	movieClip 11187	{
	}
	movieClip 11189	{
	}
	movieClip 11191	{
	}
	movieClip 11194	{
	}
	movieClip 11197	{
	}
	movieClip 11199	{
	}
	movieClip 11200	{
	}
	movieClip 11202	{
	}
	movieClip 11206	{
		frame 1 {
			stop();
		}
	}
	movieClip 11208	{
		frame 1 {
			this.chest.gotoAndStop('c32');
			this.head.gotoAndStop('h32');
		}
	}
	movieClip 11211	{
	}
	movieClip 11213	{
		frame 1 {
			this.chest.gotoAndStop('c37');
			this.head.gotoAndStop('h37');
		}
	}
	movieClip 11218	{
	}
	movieClip 11220	{
	}
	movieClip 11224	{
		frame 1 {
			this.chest.gotoAndStop('Ranger');
			this.head.gotoAndStop('h56');
		}
	}
	movieClip 11229	{
	}
	movieClip 11232	{
	}
	movieClip 11233	{
	}
	movieClip 11235	{
	}
	movieClip 11239	{
		frame 1 {
			this.chest.gotoAndStop('c34');
			this.head.gotoAndStop('h57');
		}
	}
	movieClip 11243	{
		frame 1 {
			this.chest.gotoAndStop('c34');
			this.head.gotoAndStop('h58');
		}
	}
	movieClip 11246	{
		frame 1 {
			this.chest.gotoAndStop('c34');
			this.head.gotoAndStop('h57');
		}
	}
	movieClip 11248	{
		frame 1 {
			this.head.gotoAndStop('h20');
			this.chest.gotoAndStop('c20');
		}
	}
	movieClip 11250	{
		frame 1 {
			this.head.gotoAndStop('h30');
			this.chest.gotoAndStop('c31');
		}
	}
	movieClip 11253	{
		frame 1 {
			this.chest.gotoAndStop('c33');
			this.head.gotoAndStop('h33');
		}
	}
	movieClip 11257	{
		frame 1 {
			this.chest.gotoAndStop('c25');
			this.head.gotoAndStop('h25');
		}
	}
	movieClip 11259	{
		frame 1 {
			this.chest.gotoAndStop('Wizard');
			this.head.gotoAndStop('h56');
		}
	}
	movieClip 11262	{
	}
	movieClip 11265	{
	}
	movieClip 11267	{
	}
	movieClip 11268	{
	}
	movieClip 11275	{
	}
	movieClip 11277	{
	}
	movieClip 11279	{
	}
	movieClip 11282	{
		frame 1 {
			this.head.gotoAndStop('h9');
			this.chest.gotoAndStop('c8');
		}
	}
	movieClip 11288	{
	}
	movieClip 11294	{
		frame 1 {
			this.chest.gotoAndStop('c34');
			this.head.gotoAndStop('h58');
		}
	}
	movieClip 11297	{
		frame 1 {
			this.chest.gotoAndStop('silkRobe');
			this.head.gotoAndStop('silkTurban');
		}
	}
	movieClip 11303	{
		frame 1 {
			this.chest.gotoAndStop('c22');
			this.head.gotoAndStop('h22');
		}
	}
	movieClip 11307	{
		frame 1 {
			this.chest.gotoAndStop('c21');
			this.head.gotoAndStop('h21');
		}
	}
	movieClip 11310	{
		frame 1 {
			this.head.gotoAndStop('h27');
			this.chest.gotoAndStop('c27');
		}
	}
	movieClip 11317	{
	}
	movieClip 11318	{
	}
	movieClip 11320	{
		frame 1 {
			this.head.gotoAndStop('h10');
			this.chest.gotoAndStop('c10');
		}
	}
	movieClip 11324	{
		frame 1 {
			this.chest.gotoAndStop('tatteredRobe');
			this.head.gotoAndStop('tatteredCap');
		}
	}
	movieClip 11326	{
		frame 1 {
			this.head.gotoAndStop('h40');
			this.chest.gotoAndStop('c40');
		}
	}
	movieClip 11332	{
	}
	movieClip 11334	{
	}
	movieClip 11338	{
	}
	movieClip 11341	{
	}
	movieClip 11344	{
	}
	movieClip 11347	{
	}
	movieClip 11359	{
		frame 1 {
			this.head.gotoAndStop('halfjacksHelmet');
			this.chest.gotoAndStop('Ranger');
		}
	}
	movieClip 11375	{
		frame 1 {
			this.head.gotoAndStop('h12');
			this.chest.gotoAndStop('c12');
		}
	}
	movieClip 11380	{
	}
	movieClip 11385	{
	}
	movieClip 11396	{
		frame 1 {
			this.head.gotoAndStop('h56');
			this.chest.gotoAndStop('Warrior');
		}
	}
	movieClip 11414	{
		frame 1 {
			this.head.gotoAndStop('h19');
			this.chest.gotoAndStop('c19');
		}
	}
	movieClip 11420	{
		frame 1 {
			this.head.gotoAndStop('sylvanCap');
			this.chest.gotoAndStop('pokensVest');
		}
	}
	movieClip 11428	{
	}
	movieClip 11431	{
	}
	movieClip 11459	{
	}
	movieClip 11460	{
	}
	movieClip 11463	{
		frame 1 {
			this.chest.gotoAndStop('c10');
			this.head.gotoAndStop('h10');
		}
	}
	movieClip 11473	{
	}
	movieClip 11474	{
	}
	movieClip 11476	{
		frame 1 {
			this.head.gotoAndStop('h18');
			this.chest.gotoAndStop('c17');
		}
	}
	movieClip 11481	{
		frame 1 {
			this.head.gotoAndStop('h17');
			this.chest.gotoAndStop('c16');
		}
	}
	movieClip 11518	{
	}
	movieClip 11520	{
	}
	movieClip 11522	{
	}
	movieClip 11524	{
		frame 1 {
			stop();
		}
	}
	movieClip 11526	{
	}
	movieClip 11528	{
	}
	movieClip 11531	{
	}
	movieClip 11535	{
	}
	movieClip 11537	{
	}
	movieClip 11539	{
	}
	movieClip 11545	{
	}
	movieClip 11562	{
	}
	movieClip 11564	{
	}
	movieClip 11566	{
	}
	movieClip 11568	{
	}
	movieClip 11570	{
	}
	movieClip 11571	{
		frame 1 {
			stop();
		}
		instance hero of movieClip 774 hero {
			onClipEvent (enterFrame) {
				this.chest.gotoAndStop(_root.chestEquip);
				this.weapon.gotoAndStop(_root.weaponEquip);
				this.shield.gotoAndStop(_root.shieldEquip);
				if (_root.headEquip != 'head') {
					this.head.gotoAndStop(_root.headEquip);
				} else {
					this.head.gotoAndStop(_root.playerClass);
				}
			}
		}
		instance questGiver of movieClip 11208	{
			onClipEvent (load) {
				this.displayName = 'Marshall Wright';
				this.factionNum = 7;
				this.faction = 'Shadow Runners';
				this.questName = 'brightlakeGuardQ';
				this.level = 1;
				this.symbol = 'shado';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11213	{
			onClipEvent (load) {
				this.displayName = 'Squire Ronald';
				this.factionNum = 32;
				this.faction = 'The Blademasters';
				this.questName = 'apprenticeQ';
				this.level = 3;
				this.symbol = 'blade';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11224	{
			onClipEvent (load) {
				this.displayName = 'Tracker Paise';
				this.factionNum = 22;
				this.faction = 'The Trackers';
				this.questName = 'squireQ';
				this.level = 3;
				this.symbol = 'track';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11239	{
			onClipEvent (load) {
				this.displayName = 'Nurkinn Manchild';
				this.factionNum = 2;
				this.faction = 'The Alliance';
				this.questName = 'shadowCaptainQ';
				this.level = 30;
				this.onQuest = false;
				this.reset = false;
				this.symbol = 'allia';
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11243	{
			onClipEvent (load) {
				this.displayName = 'Uther Coldmar';
				this.factionNum = 7;
				this.faction = 'Shadow Runners';
				this.questName = 'masterPaladinQ';
				this.level = 30;
				this.symbol = 'shado';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11246	{
			onClipEvent (load) {
				this.displayName = 'Kessing Mill';
				this.factionNum = 2;
				this.faction = 'The Alliance';
				this.questName = 'finalBossAQ';
				this.level = 32;
				this.onQuest = false;
				this.reset = false;
				this.symbol = 'allia';
				var tempHolder = _root[this.questName][11];
				if (_root.allianceBoss4Q[9]) {
					this.questAvailable = true;
				} else {
					this.questAvailable = false;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11248	{
			onClipEvent (load) {
				this.displayName = 'Mercenary Drod';
				this.factionNum = 17;
				this.faction = 'The Mercenaries';
				this.questName = 'redCloakGuardQ';
				this.level = 29;
				this.symbol = 'merce';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11250	{
			onClipEvent (load) {
				this.displayName = 'Goldmaster Wu';
				this.factionNum = 12;
				this.faction = 'Merchant\'s Guild';
				this.questName = 'sellswordQ';
				this.level = 29;
				this.symbol = 'merch';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11253	{
			onClipEvent (load) {
				this.displayName = 'Alex Digg';
				this.factionNum = 7;
				this.faction = 'Shadow Runners';
				this.questName = 'brightlakeScoutQ';
				this.level = 4;
				this.symbol = 'shado';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11257	{
			onClipEvent (load) {
				this.displayName = 'Bran Bell';
				this.factionNum = 2;
				this.faction = 'The Alliance';
				this.questName = 'shadowWizardQ';
				this.level = 3;
				this.onQuest = false;
				this.reset = false;
				this.symbol = 'allia';
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11259	{
			onClipEvent (load) {
				this.displayName = 'Katy Bell';
				this.factionNum = 2;
				this.faction = 'The Alliance';
				this.questName = 'shadowSoldierQ';
				this.level = 1;
				this.onQuest = false;
				this.reset = false;
				this.symbol = 'allia';
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11282	{
			onClipEvent (load) {
				this.displayName = 'Tokator Blades';
				this.factionNum = 32;
				this.faction = 'The Blademasters';
				this.questName = 'warderQ';
				this.level = 23;
				this.symbol = 'blade';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11288	{
			onClipEvent (load) {
				this.displayName = 'Master Blazzen';
				this.factionNum = 27;
				this.faction = 'The Magicians';
				this.questName = 'forestStalkerQ';
				this.level = 35;
				this.symbol = 'magic';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11239	{
			onClipEvent (load) {
				this.displayName = 'Greymoor';
				this.factionNum = 32;
				this.faction = 'The Blademasters';
				this.questName = 'aeromancerQ';
				this.level = 35;
				this.symbol = 'blade';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11294	{
			onClipEvent (load) {
				this.displayName = 'Gileman Rogers';
				this.factionNum = 7;
				this.faction = 'Shadow Runners';
				this.questName = 'finalBossSQ';
				this.level = 32;
				this.symbol = 'shado';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root.shadowRunnersBoss4Q[9]) {
					this.questAvailable = true;
				} else {
					this.questAvailable = false;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11297	{
			onClipEvent (load) {
				this.displayName = 'Thorin Grayeyes';
				this.factionNum = 27;
				this.faction = 'The Magicians';
				this.questName = 'traineeQ';
				this.level = 3;
				this.symbol = 'magic';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11303	{
			onClipEvent (load) {
				this.displayName = 'Ricken Stinn';
				this.factionNum = 2;
				this.faction = 'The Alliance';
				this.questName = 'shadowBowmanQ';
				this.level = 5;
				this.onQuest = false;
				this.reset = false;
				this.symbol = 'allia';
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11307	{
			onClipEvent (load) {
				this.displayName = 'Jordan Cain';
				this.factionNum = 7;
				this.faction = 'Shadow Runners';
				this.questName = 'brightlakeWizardQ';
				this.level = 5;
				this.symbol = 'shado';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11297	{
			onClipEvent (load) {
				this.displayName = 'Magician Alfaspar';
				this.factionNum = 27;
				this.faction = 'The Magicians';
				this.questName = 'championQ';
				this.level = 23;
				this.symbol = 'magic';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11310	{
			onClipEvent (load) {
				this.displayName = 'Tracker Civ';
				this.factionNum = 22;
				this.faction = 'The Trackers';
				this.questName = 'elementalistQ';
				this.level = 23;
				this.symbol = 'track';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11320	{
			onClipEvent (load) {
				this.displayName = 'Gunthur Black';
				this.factionNum = 7;
				this.faction = 'Shadow Runners';
				this.questName = 'devoutGamemasterQ';
				this.level = 28;
				this.symbol = 'shado';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11324	{
			onClipEvent (load) {
				this.displayName = 'Aalynor Plaz';
				this.factionNum = 2;
				this.faction = 'The Alliance';
				this.questName = 'hellCasterQ';
				this.level = 28;
				this.onQuest = false;
				this.reset = false;
				this.symbol = 'allia';
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11326	{
			onClipEvent (load) {
				this.displayName = 'Tenacious Storm';
				this.factionNum = 17;
				this.faction = 'The Mercenaries';
				this.questName = 'waterdancerQ';
				this.level = 24;
				this.symbol = 'merce';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11250	{
			onClipEvent (load) {
				this.displayName = 'Francis Holden';
				this.factionNum = 12;
				this.faction = 'Merchant\'s Guild';
				this.questName = 'brigandQ';
				this.level = 4;
				this.symbol = 'merch';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11303	{
			onClipEvent (load) {
				this.displayName = 'Gregory Bin';
				this.factionNum = 2;
				this.faction = 'The Alliance';
				this.questName = 'fallenShadowQ';
				this.level = 26;
				this.onQuest = false;
				this.reset = false;
				this.symbol = 'allia';
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11359	{
			onClipEvent (load) {
				this.displayName = 'Tracker Lord Poken';
				this.factionNum = 22;
				this.faction = 'The Trackers';
				this.questName = 'gladiatorQ';
				this.level = 35;
				this.symbol = 'track';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11326	{
			onClipEvent (load) {
				this.displayName = 'Slaten Corr';
				this.factionNum = 17;
				this.faction = 'The Mercenaries';
				this.questName = 'merchantGuardQ';
				this.level = 4;
				this.symbol = 'merce';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11375	{
			onClipEvent (load) {
				this.displayName = 'Rivenn Arrowheart';
				this.factionNum = 2;
				this.faction = 'The Alliance';
				this.questName = 'shadowWardQ';
				this.level = 24;
				this.onQuest = false;
				this.reset = false;
				this.symbol = 'allia';
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11250	{
			onClipEvent (load) {
				this.displayName = 'Dahlinar Goldman';
				this.factionNum = 12;
				this.faction = 'Merchant\'s Guild';
				this.questName = 'coinchaserQ';
				this.level = 24;
				this.symbol = 'merch';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11208	{
			onClipEvent (load) {
				this.displayName = 'Slayer Hang';
				this.factionNum = 7;
				this.faction = 'Shadow Runners';
				this.questName = 'icecallerOfHartQ';
				this.level = 24;
				this.symbol = 'shado';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11326	{
			onClipEvent (load) {
				this.displayName = 'Furbear Young';
				this.factionNum = 7;
				this.faction = 'Shadow Runners';
				this.questName = 'shadowOfLightQ';
				this.level = 26;
				this.symbol = 'shado';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11324	{
			onClipEvent (load) {
				this.displayName = 'Hin Tasslebrook';
				this.factionNum = 27;
				this.faction = 'The Magicians';
				this.questName = 'defenderQ';
				this.level = 9;
				this.symbol = 'magic';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11396	{
			onClipEvent (load) {
				this.displayName = 'Sara Holden';
				this.factionNum = 12;
				this.faction = 'Merchant\'s Guild';
				this.questName = 'hirelingQ';
				this.level = 8;
				this.symbol = 'merch';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11248	{
			onClipEvent (load) {
				this.displayName = 'Jorson Binn';
				this.factionNum = 17;
				this.faction = 'The Mercenaries';
				this.questName = 'wizardProtectorQ';
				this.level = 8;
				this.symbol = 'merce';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11253	{
			onClipEvent (load) {
				this.displayName = 'Coheed Furi';
				this.factionNum = 7;
				this.faction = 'Shadow Runners';
				this.questName = 'greenviewWardQ';
				this.level = 14;
				this.symbol = 'shado';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11248	{
			onClipEvent (load) {
				this.displayName = 'Cello Order';
				this.factionNum = 7;
				this.faction = 'Shadow Runners';
				this.questName = 'guardOfHartQ';
				this.level = 22;
				this.symbol = 'shado';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11326	{
			onClipEvent (load) {
				this.displayName = 'Defender Traville';
				this.factionNum = 32;
				this.faction = 'The Blademasters';
				this.questName = 'channelerQ';
				this.level = 18;
				this.symbol = 'blade';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11253	{
			onClipEvent (load) {
				this.displayName = 'Tannus Bull';
				this.factionNum = 7;
				this.faction = 'Shadow Runners';
				this.questName = 'paladinQ';
				this.level = 7;
				this.symbol = 'shado';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11414	{
			onClipEvent (load) {
				this.displayName = 'Michael Tucker';
				this.factionNum = 2;
				this.faction = 'The Alliance';
				this.questName = 'shadowGuardQ';
				this.level = 7;
				this.onQuest = false;
				this.reset = false;
				this.symbol = 'allia';
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11420	{
			onClipEvent (load) {
				this.displayName = 'Tracker Hadein';
				this.factionNum = 22;
				this.faction = 'The Trackers';
				this.questName = 'ritualistQ';
				this.level = 14;
				this.symbol = 'track';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11414	{
			onClipEvent (load) {
				this.displayName = 'Deepran Spark';
				this.factionNum = 2;
				this.faction = 'The Alliance';
				this.questName = 'bloodMageQ';
				this.level = 22;
				this.onQuest = false;
				this.reset = false;
				this.symbol = 'allia';
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11324	{
			onClipEvent (load) {
				this.displayName = 'Ternas Brighteyes';
				this.factionNum = 2;
				this.faction = 'The Alliance';
				this.questName = 'darkRitualistQ';
				this.level = 20;
				this.onQuest = false;
				this.reset = false;
				this.symbol = 'allia';
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11320	{
			onClipEvent (load) {
				this.displayName = 'Vanguard Baldwin';
				this.factionNum = 7;
				this.faction = 'Shadow Runners';
				this.questName = 'strikerOfHartQ';
				this.level = 18;
				this.symbol = 'shado';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11297	{
			onClipEvent (load) {
				this.displayName = 'Lorekeeper Timchu';
				this.factionNum = 27;
				this.faction = 'The Magicians';
				this.questName = 'knightQ';
				this.level = 14;
				this.symbol = 'magic';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11463	{
			onClipEvent (load) {
				this.displayName = 'Researcher Skywall';
				this.factionNum = 27;
				this.faction = 'The Magicians';
				this.questName = 'bowmasterQ';
				this.level = 18;
				this.symbol = 'magic';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11310	{
			onClipEvent (load) {
				this.displayName = 'Tracker Haibo';
				this.factionNum = 22;
				this.faction = 'The Trackers';
				this.questName = 'sageQ';
				this.level = 8;
				this.symbol = 'track';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11326	{
			onClipEvent (load) {
				this.displayName = 'Valderath Stow';
				this.factionNum = 17;
				this.faction = 'The Mercenaries';
				this.questName = 'honorGuardQ';
				this.level = 13;
				this.symbol = 'merce';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11476	{
			onClipEvent (load) {
				this.displayName = 'Vecian Jorhinson';
				this.factionNum = 12;
				this.faction = 'Merchant\'s Guild';
				this.questName = 'madcapQ';
				this.level = 8;
				this.symbol = 'merch';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11481	{
			onClipEvent (load) {
				this.displayName = 'Jon Easter';
				this.factionNum = 2;
				this.faction = 'The Alliance';
				this.questName = 'shadowKnightQ';
				this.level = 11;
				this.onQuest = false;
				this.reset = false;
				this.symbol = 'allia';
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11253	{
			onClipEvent (load) {
				this.displayName = 'Hadit Greatman';
				this.factionNum = 7;
				this.faction = 'Shadow Runners';
				this.questName = 'greenviewGuardQ';
				this.level = 11;
				this.symbol = 'shado';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11375	{
			onClipEvent (load) {
				this.displayName = 'Scout Jerald';
				this.factionNum = 2;
				this.faction = 'The Alliance';
				this.questName = 'shadowTrackerQ';
				this.level = 16;
				this.onQuest = false;
				this.reset = false;
				this.symbol = 'allia';
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11414	{
			onClipEvent (load) {
				this.displayName = 'Teozin Maldev';
				this.factionNum = 2;
				this.faction = 'The Alliance';
				this.questName = 'shadowAssassinQ';
				this.level = 18;
				this.onQuest = false;
				this.reset = false;
				this.symbol = 'allia';
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11253	{
			onClipEvent (load) {
				this.displayName = 'Harold Vinsiner';
				this.factionNum = 7;
				this.faction = 'Shadow Runners';
				this.questName = 'holyAssassinQ';
				this.level = 18;
				this.symbol = 'shado';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11326	{
			onClipEvent (load) {
				this.displayName = 'Maede Greedeyes';
				this.factionNum = 17;
				this.faction = 'The Mercenaries';
				this.questName = 'pledgedTrackerQ';
				this.level = 16;
				this.symbol = 'merce';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11208	{
			onClipEvent (load) {
				this.displayName = 'Rudifix Jin';
				this.factionNum = 7;
				this.faction = 'Shadow Runners';
				this.questName = 'greenviewMageQ';
				this.level = 9;
				this.symbol = 'shado';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11326	{
			onClipEvent (load) {
				this.displayName = 'Defenser Hills';
				this.factionNum = 32;
				this.faction = 'The Blademasters';
				this.questName = 'archerQ';
				this.level = 8;
				this.symbol = 'blade';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11303	{
			onClipEvent (load) {
				this.displayName = 'Caswin Steel';
				this.factionNum = 2;
				this.faction = 'The Alliance';
				this.questName = 'shadowArcherQ';
				this.level = 9;
				this.onQuest = false;
				this.reset = false;
				this.symbol = 'allia';
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11257	{
			onClipEvent (load) {
				this.displayName = 'Juno Tide';
				this.factionNum = 2;
				this.faction = 'The Alliance';
				this.questName = 'necromancerQ';
				this.level = 14;
				this.onQuest = false;
				this.reset = false;
				this.symbol = 'allia';
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11250	{
			onClipEvent (load) {
				this.displayName = 'Rich Tarkez';
				this.factionNum = 12;
				this.faction = 'Merchant\'s Guild';
				this.questName = 'highwaymanQ';
				this.level = 14;
				this.symbol = 'merch';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11213	{
			onClipEvent (load) {
				this.displayName = 'Defender Arathor';
				this.factionNum = 32;
				this.faction = 'The Blademasters';
				this.questName = 'pathfinderQ';
				this.level = 14;
				this.symbol = 'blade';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11248	{
			onClipEvent (load) {
				this.displayName = 'Aniz Deezer';
				this.factionNum = 7;
				this.faction = 'Shadow Runners';
				this.questName = 'sageOfLightQ';
				this.level = 16;
				this.symbol = 'shado';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11359	{
			onClipEvent (load) {
				this.displayName = 'Tracker Bogiy';
				this.factionNum = 22;
				this.faction = 'The Trackers';
				this.questName = 'conquerorQ';
				this.level = 18;
				this.symbol = 'track';
				this.onQuest = false;
				this.reset = false;
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName) {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance wizardTrainer of movieClip 11526	{
			onClipEvent (load) {
				this.displayName = 'Elder Rollas';
				this.faction = 'Wizard Trainer';
				this.level = 30;
				this.symbol = 'magic';
				if (_root.playerClass == 'Wizard') {
					this.questStatus.gotoAndStop(2);
				}
			}
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					_root.allowCast = false;
					if (_root.playerClass == 'Wizard') {
						_root.world.trainingWindow.gotoAndStop(_root.playerClass);
					} else {
						_root.world.trainingWindow.gotoAndStop('notWizard');
					}
				} else {
					if (!_root.world.hero.hitTest(_root.world.warriorTrainer) && !_root.world.hero.hitTest(_root.world.rangerTrainer) && !_root.world.hero.hitTest(_root.world.merchant)) {
						_root.world.trainingWindow.gotoAndStop(1);
						_root.allowCast = true;
					}
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(3);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance warriorTrainer of movieClip 11528	{
			onClipEvent (load) {
				this.displayName = 'Master Snydin';
				this.faction = 'Warrior Trainer';
				this.level = 30;
				this.symbol = 'blade';
				if (_root.playerClass == 'Warrior') {
					this.questStatus.gotoAndStop(2);
				}
			}
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					_root.allowCast = false;
					if (_root.playerClass == 'Warrior') {
						_root.world.trainingWindow.gotoAndStop(_root.playerClass);
					} else {
						_root.world.trainingWindow.gotoAndStop('notWarrior');
					}
				} else {
					if (!_root.world.hero.hitTest(_root.world.wizardTrainer) && !_root.world.hero.hitTest(_root.world.rangerTrainer) && !_root.world.hero.hitTest(_root.world.merchant)) {
						_root.world.trainingWindow.gotoAndStop(1);
						_root.allowCast = true;
					}
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(3);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11239	{
			onClipEvent (load) {
				this.displayName = 'Commander Locken';
				this.factionNum = 2;
				this.faction = 'The Alliance';
				this.questName = 'allianceBoss1Q';
				this.level = 8;
				this.onQuest = false;
				this.reset = false;
				this.symbol = 'allia';
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName || _root.activeQuests[i] == 'shadowRunnersBoss1Q') {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance merchant of movieClip 11531	{
			onClipEvent (load) {
				this.displayName = 'Trader Tomlin';
				this.faction = 'Merchant';
				this.level = 25;
				this.symbol = 'merch';
				this.standing = _root.factionLevels[12];
			}
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					_root.allowCast = false;
					if (this.standing <= 3) {
						_root.world.merchantWindow.gotoAndStop('merch1');
					} else {
						_root.world.merchantWindow.gotoAndStop('merchLowFaction');
					}
				} else {
					if (!_root.world.hero.hitTest(_root.world.warriorTrainer) && !_root.world.hero.hitTest(_root.world.rangerTrainer) && !_root.world.hero.hitTest(_root.world.wizardTrainer)) {
						_root.world.merchantWindow.gotoAndStop(1);
						_root.allowCast = true;
						_root.itemCost = '';
					}
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11243	{
			onClipEvent (load) {
				this.displayName = 'Overlord Krun';
				this.factionNum = 7;
				this.faction = 'Shadow Runners';
				this.questName = 'shadowRunnersBoss1Q';
				this.level = 8;
				this.onQuest = false;
				this.reset = false;
				this.symbol = 'shado';
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName || _root.activeQuests[i] == 'allianceBoss1Q') {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance rangerTrainer of movieClip 11537	{
			onClipEvent (load) {
				this.displayName = 'Tracker Lanaster';
				this.faction = 'Ranger Trainer';
				this.level = 30;
				this.symbol = 'track';
				if (_root.playerClass == 'Ranger') {
					this.questStatus.gotoAndStop(2);
				}
			}
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					_root.allowCast = false;
					if (_root.playerClass == 'Ranger') {
						_root.world.trainingWindow.gotoAndStop(_root.playerClass);
					} else {
						_root.world.trainingWindow.gotoAndStop('notRanger');
					}
				} else {
					if (!_root.world.hero.hitTest(_root.world.warriorTrainer) && !_root.world.hero.hitTest(_root.world.rangerTrainer) && !_root.world.hero.hitTest(_root.world.wizardTrainer) && !_root.world.hero.hitTest(_root.world.fountain)) {
						_root.world.trainingWindow.gotoAndStop(1);
						_root.allowCast = true;
					}
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(3);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance merchant of movieClip 11539	{
			onClipEvent (load) {
				this.displayName = 'Trader Spinor';
				this.faction = 'Merchant';
				this.level = 25;
				this.symbol = 'merce';
				this.standing = _root.factionLevels[17];
			}
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					_root.allowCast = false;
					if (this.standing <= 3) {
						_root.world.merchantWindow.gotoAndStop('merce1');
					} else {
						_root.world.merchantWindow.gotoAndStop('merceLowFaction');
					}
				} else {
					if (!_root.world.hero.hitTest(_root.world.warriorTrainer) && !_root.world.hero.hitTest(_root.world.rangerTrainer) && !_root.world.hero.hitTest(_root.world.wizardTrainer) && !_root.world.hero.hitTest(_root.world.fountain)) {
						_root.world.merchantWindow.gotoAndStop(1);
						_root.allowCast = true;
						_root.itemCost = '';
					}
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance fountain of movieClip 11545	{
			onClipEvent (load) {
				this.displayName = 'Innkeeper Thomas';
				this.faction = 'Innkeeper';
				this.level = 30;
				this.symbol = 'how';
			}
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					_root.allowCast = false;
					_root.world.saveWindow.gotoAndStop(2);
				} else {
					if (!_root.world.hero.hitTest(_root.world.warriorTrainer) && !_root.world.hero.hitTest(_root.world.rangerTrainer) && !_root.world.hero.hitTest(_root.world.wizardTrainer) && !_root.world.hero.hitTest(_root.world.fountain)) {
						_root.world.saveWindow.gotoAndStop(1);
						_root.allowCast = true;
					}
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(3);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance warriorTrainer of movieClip 11528	{
			onClipEvent (load) {
				this.displayName = 'Master Snydin';
				this.faction = 'Warrior Trainer';
				this.level = 30;
				this.symbol = 'blade';
				if (_root.playerClass == 'Warrior') {
					this.questStatus.gotoAndStop(2);
				}
			}
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					_root.allowCast = false;
					if (_root.playerClass == 'Warrior') {
						_root.world.trainingWindow.gotoAndStop(_root.playerClass);
					} else {
						_root.world.trainingWindow.gotoAndStop('notWarrior');
					}
				} else {
					if (!_root.world.hero.hitTest(_root.world.wizardTrainer) && !_root.world.hero.hitTest(_root.world.rangerTrainer) && !_root.world.hero.hitTest(_root.world.merchant)) {
						_root.world.trainingWindow.gotoAndStop(1);
						_root.allowCast = true;
					}
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(3);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance rangerTrainer of movieClip 11537	{
			onClipEvent (load) {
				this.displayName = 'Tracker Knightly';
				this.faction = 'Ranger Trainer';
				this.level = 30;
				this.symbol = 'track';
				if (_root.playerClass == 'Ranger') {
					this.questStatus.gotoAndStop(2);
				}
			}
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					_root.allowCast = false;
					if (_root.playerClass == 'Ranger') {
						_root.world.trainingWindow.gotoAndStop(_root.playerClass);
					} else {
						_root.world.trainingWindow.gotoAndStop('notRanger');
					}
				} else {
					if (!_root.world.hero.hitTest(_root.world.warriorTrainer) && !_root.world.hero.hitTest(_root.world.wizardTrainer) && !_root.world.hero.hitTest(_root.world.merchant)) {
						_root.world.trainingWindow.gotoAndStop(1);
						_root.allowCast = true;
					}
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(3);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance merchant of movieClip 11539	{
			onClipEvent (load) {
				this.displayName = 'Trader Innor';
				this.faction = 'Merchant';
				this.level = 25;
				this.symbol = 'merce';
				this.standing = _root.factionLevels[17];
			}
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					_root.allowCast = false;
					if (this.standing <= 3) {
						_root.world.merchantWindow.gotoAndStop('merce2');
					} else {
						_root.world.merchantWindow.gotoAndStop('merceLowFaction');
					}
				} else {
					if (!_root.world.hero.hitTest(_root.world.warriorTrainer) && !_root.world.hero.hitTest(_root.world.rangerTrainer) && !_root.world.hero.hitTest(_root.world.wizardTrainer)) {
						_root.world.merchantWindow.gotoAndStop(1);
						_root.allowCast = true;
						_root.itemCost = '';
					}
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11243	{
			onClipEvent (load) {
				this.displayName = 'Overlord Thelman';
				this.factionNum = 7;
				this.faction = 'Shadow Runners';
				this.questName = 'shadowRunnersBoss2Q';
				this.level = 14;
				this.onQuest = false;
				this.reset = false;
				this.symbol = 'shado';
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName || _root.activeQuests[i] == 'allianceBoss2Q') {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance wizardTrainer of movieClip 11526	{
			onClipEvent (load) {
				this.displayName = 'Elder Eyland';
				this.faction = 'Wizard Trainer';
				this.level = 30;
				this.symbol = 'magic';
				if (_root.playerClass == 'Wizard') {
					this.questStatus.gotoAndStop(2);
				}
			}
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					_root.allowCast = false;
					if (_root.playerClass == 'Wizard') {
						_root.world.trainingWindow.gotoAndStop(_root.playerClass);
					} else {
						_root.world.trainingWindow.gotoAndStop('notWizard');
					}
				} else {
					if (!_root.world.hero.hitTest(_root.world.warriorTrainer) && !_root.world.hero.hitTest(_root.world.rangerTrainer) && !_root.world.hero.hitTest(_root.world.wizardTrainer) && !_root.world.hero.hitTest(_root.world.fountain)) {
						_root.allowCast = true;
						_root.world.trainingWindow.gotoAndStop(1);
					}
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(3);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance merchant of movieClip 11531	{
			onClipEvent (load) {
				this.displayName = 'Trader Jonson';
				this.faction = 'Merchant';
				this.level = 25;
				this.symbol = 'merch';
				this.standing = _root.factionLevels[12];
			}
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					_root.allowCast = false;
					if (this.standing <= 3) {
						_root.world.merchantWindow.gotoAndStop('merch2');
					} else {
						_root.world.merchantWindow.gotoAndStop('merchLowFaction');
					}
				} else {
					if (!_root.world.hero.hitTest(_root.world.warriorTrainer) && !_root.world.hero.hitTest(_root.world.rangerTrainer) && !_root.world.hero.hitTest(_root.world.wizardTrainer) && !_root.world.hero.hitTest(_root.world.fountain)) {
						_root.world.merchantWindow.gotoAndStop(1);
						_root.allowCast = true;
						_root.itemCost = '';
					}
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11239	{
			onClipEvent (load) {
				this.displayName = 'Commander Lazik';
				this.factionNum = 2;
				this.faction = 'The Alliance';
				this.questName = 'allianceBoss2Q';
				this.level = 14;
				this.onQuest = false;
				this.reset = false;
				this.symbol = 'allia';
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName || _root.activeQuests[i] == 'shadowRunnersBoss2Q') {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance fountain of movieClip 11545	{
			onClipEvent (load) {
				this.displayName = 'Innkeeper Joseph';
				this.faction = 'Innkeeper';
				this.level = 30;
				this.symbol = 'how';
			}
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					_root.allowCast = false;
					_root.world.saveWindow.gotoAndStop(2);
				} else {
					if (!_root.world.hero.hitTest(_root.world.warriorTrainer) && !_root.world.hero.hitTest(_root.world.rangerTrainer) && !_root.world.hero.hitTest(_root.world.wizardTrainer) && !_root.world.hero.hitTest(_root.world.fountain)) {
						_root.world.saveWindow.gotoAndStop(1);
						_root.allowCast = true;
					}
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(3);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance wizardTrainer of movieClip 11526	{
			onClipEvent (load) {
				this.displayName = 'Elder Shofur';
				this.faction = 'Wizard Trainer';
				this.level = 30;
				this.symbol = 'magic';
				if (_root.playerClass == 'Wizard') {
					this.questStatus.gotoAndStop(2);
				}
			}
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					_root.allowCast = false;
					if (_root.playerClass == 'Wizard') {
						_root.world.trainingWindow.gotoAndStop(_root.playerClass);
					} else {
						_root.world.trainingWindow.gotoAndStop('notWizard');
					}
				} else {
					if (!_root.world.hero.hitTest(_root.world.warriorTrainer) && !_root.world.hero.hitTest(_root.world.rangerTrainer) && !_root.world.hero.hitTest(_root.world.merchant)) {
						_root.world.trainingWindow.gotoAndStop(1);
						_root.allowCast = true;
					}
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(3);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance rangerTrainer of movieClip 11537	{
			onClipEvent (load) {
				this.displayName = 'Tracker Barrows';
				this.faction = 'Ranger Trainer';
				this.level = 30;
				this.symbol = 'track';
				if (_root.playerClass == 'Ranger') {
					this.questStatus.gotoAndStop(2);
				}
			}
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					_root.allowCast = false;
					if (_root.playerClass == 'Ranger') {
						_root.world.trainingWindow.gotoAndStop(_root.playerClass);
					} else {
						_root.world.trainingWindow.gotoAndStop('notRanger');
					}
				} else {
					if (!_root.world.hero.hitTest(_root.world.warriorTrainer) && !_root.world.hero.hitTest(_root.world.wizardTrainer) && !_root.world.hero.hitTest(_root.world.merchant)) {
						_root.world.trainingWindow.gotoAndStop(1);
						_root.allowCast = true;
					}
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(3);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance merchant of movieClip 11531	{
			onClipEvent (load) {
				this.displayName = 'Trader Ullrey';
				this.faction = 'Merchant';
				this.level = 25;
				this.symbol = 'merch';
				this.standing = _root.factionLevels[12];
			}
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					_root.allowCast = false;
					if (this.standing <= 3) {
						_root.world.merchantWindow.gotoAndStop('merch3');
					} else {
						_root.world.merchantWindow.gotoAndStop('merchLowFaction');
					}
				} else {
					if (!_root.world.hero.hitTest(_root.world.warriorTrainer) && !_root.world.hero.hitTest(_root.world.rangerTrainer) && !_root.world.hero.hitTest(_root.world.wizardTrainer)) {
						_root.world.merchantWindow.gotoAndStop(1);
						_root.allowCast = true;
						_root.itemCost = '';
					}
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11239	{
			onClipEvent (load) {
				this.displayName = 'Commander Gort';
				this.factionNum = 2;
				this.faction = 'The Alliance';
				this.questName = 'allianceBoss3Q';
				this.level = 22;
				this.onQuest = false;
				this.reset = false;
				this.symbol = 'allia';
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName || _root.activeQuests[i] == 'shadowRunnersBoss3Q') {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance warriorTrainer of movieClip 11528	{
			onClipEvent (load) {
				this.displayName = 'Master Snydin';
				this.faction = 'Warrior Trainer';
				this.level = 30;
				this.symbol = 'blade';
				if (_root.playerClass == 'Warrior') {
					this.questStatus.gotoAndStop(2);
				}
			}
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					_root.allowCast = false;
					if (_root.playerClass == 'Warrior') {
						_root.world.trainingWindow.gotoAndStop(_root.playerClass);
					} else {
						_root.world.trainingWindow.gotoAndStop('notWarrior');
					}
				} else {
					if (!_root.world.hero.hitTest(_root.world.warriorTrainer) && !_root.world.hero.hitTest(_root.world.rangerTrainer) && !_root.world.hero.hitTest(_root.world.wizardTrainer) && !_root.world.hero.hitTest(_root.world.fountain)) {
						_root.world.trainingWindow.gotoAndStop(1);
						_root.allowCast = true;
					}
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(3);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance merchant of movieClip 11539	{
			onClipEvent (load) {
				this.displayName = 'Trader Lopsel';
				this.faction = 'Merchant';
				this.level = 25;
				this.symbol = 'merce';
				this.standing = _root.factionLevels[17];
			}
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					_root.allowCast = false;
					if (this.standing <= 3) {
						_root.world.merchantWindow.gotoAndStop('merce3');
					} else {
						_root.world.merchantWindow.gotoAndStop('merceLowFaction');
					}
				} else {
					if (!_root.world.hero.hitTest(_root.world.warriorTrainer) && !_root.world.hero.hitTest(_root.world.rangerTrainer) && !_root.world.hero.hitTest(_root.world.wizardTrainer) && !_root.world.hero.hitTest(_root.world.fountain)) {
						_root.world.merchantWindow.gotoAndStop(1);
						_root.allowCast = true;
						_root.itemCost = '';
					}
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11243	{
			onClipEvent (load) {
				this.displayName = 'Overlord Tabin';
				this.factionNum = 7;
				this.faction = 'Shadow Runners';
				this.questName = 'shadowRunnersBoss3Q';
				this.level = 22;
				this.onQuest = false;
				this.reset = false;
				this.symbol = 'shado';
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName || _root.activeQuests[i] == 'allianceBoss3Q') {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance fountain of movieClip 11545	{
			onClipEvent (load) {
				this.displayName = 'Innkeeper Brady';
				this.faction = 'Innkeeper';
				this.level = 30;
				this.symbol = 'how';
			}
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					_root.allowCast = false;
					_root.world.saveWindow.gotoAndStop(2);
				} else {
					if (!_root.world.hero.hitTest(_root.world.warriorTrainer) && !_root.world.hero.hitTest(_root.world.rangerTrainer) && !_root.world.hero.hitTest(_root.world.wizardTrainer) && !_root.world.hero.hitTest(_root.world.fountain)) {
						_root.world.saveWindow.gotoAndStop(1);
						_root.allowCast = true;
					}
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(3);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance warriorTrainer of movieClip 11528	{
			onClipEvent (load) {
				this.displayName = 'Master Snydin';
				this.faction = 'Warrior Trainer';
				this.level = 30;
				this.symbol = 'blade';
				if (_root.playerClass == 'Warrior') {
					this.questStatus.gotoAndStop(2);
				}
			}
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					_root.allowCast = false;
					if (_root.playerClass == 'Warrior') {
						_root.world.trainingWindow.gotoAndStop(_root.playerClass);
					} else {
						_root.world.trainingWindow.gotoAndStop('notWarrior');
					}
				} else {
					if (!_root.world.hero.hitTest(_root.world.wizardTrainer) && !_root.world.hero.hitTest(_root.world.rangerTrainer) && !_root.world.hero.hitTest(_root.world.merchant)) {
						_root.world.trainingWindow.gotoAndStop(1);
						_root.allowCast = true;
					}
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(3);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance rangerTrainer of movieClip 11537	{
			onClipEvent (load) {
				this.displayName = 'Tracker Kinsley';
				this.faction = 'Ranger Trainer';
				this.level = 30;
				this.symbol = 'track';
				if (_root.playerClass == 'Ranger') {
					this.questStatus.gotoAndStop(2);
				}
			}
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					_root.allowCast = false;
					if (_root.playerClass == 'Ranger') {
						_root.world.trainingWindow.gotoAndStop(_root.playerClass);
					} else {
						_root.world.trainingWindow.gotoAndStop('notRanger');
					}
				} else {
					if (!_root.world.hero.hitTest(_root.world.warriorTrainer) && !_root.world.hero.hitTest(_root.world.wizardTrainer) && !_root.world.hero.hitTest(_root.world.merchant)) {
						_root.world.trainingWindow.gotoAndStop(1);
						_root.allowCast = true;
					}
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(3);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance merchant of movieClip 11539	{
			onClipEvent (load) {
				this.displayName = 'Trader Finley';
				this.faction = 'Merchant';
				this.level = 25;
				this.symbol = 'merce';
				this.standing = _root.factionLevels[17];
			}
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					_root.allowCast = false;
					if (this.standing <= 3) {
						_root.world.merchantWindow.gotoAndStop('merce4');
					} else {
						_root.world.merchantWindow.gotoAndStop('merceLowFaction');
					}
				} else {
					if (!_root.world.hero.hitTest(_root.world.warriorTrainer) && !_root.world.hero.hitTest(_root.world.rangerTrainer) && !_root.world.hero.hitTest(_root.world.wizardTrainer)) {
						_root.world.merchantWindow.gotoAndStop(1);
						_root.allowCast = true;
						_root.itemCost = '';
					}
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11243	{
			onClipEvent (load) {
				this.displayName = 'Death Lord Xyon';
				this.factionNum = 7;
				this.faction = 'Shadow Runners';
				this.questName = 'shadowRunnersBoss4Q';
				this.level = 30;
				this.onQuest = false;
				this.reset = false;
				this.symbol = 'shado';
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName || _root.activeQuests[i] == 'allianceBoss4Q') {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance wizardTrainer of movieClip 11526	{
			onClipEvent (load) {
				this.displayName = 'Elder Raiford';
				this.faction = 'Wizard Trainer';
				this.level = 30;
				this.symbol = 'magic';
				if (_root.playerClass == 'Wizard') {
					this.questStatus.gotoAndStop(2);
				}
			}
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					_root.allowCast = false;
					if (_root.playerClass == 'Wizard') {
						_root.world.trainingWindow.gotoAndStop(_root.playerClass);
					} else {
						_root.world.trainingWindow.gotoAndStop('notWizard');
					}
				} else {
					if (!_root.world.hero.hitTest(_root.world.warriorTrainer) && !_root.world.hero.hitTest(_root.world.rangerTrainer) && !_root.world.hero.hitTest(_root.world.wizardTrainer) && !_root.world.hero.hitTest(_root.world.fountain)) {
						_root.world.trainingWindow.gotoAndStop(1);
						_root.allowCast = true;
					}
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(3);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance merchant of movieClip 11531	{
			onClipEvent (load) {
				this.displayName = 'Trader Refden';
				this.faction = 'Merchant';
				this.level = 25;
				this.symbol = 'merch';
				this.standing = _root.factionLevels[12];
			}
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					_root.allowCast = false;
					if (this.standing <= 3) {
						_root.world.merchantWindow.gotoAndStop('merch4');
					} else {
						_root.world.merchantWindow.gotoAndStop('merchLowFaction');
					}
				} else {
					if (!_root.world.hero.hitTest(_root.world.warriorTrainer) && !_root.world.hero.hitTest(_root.world.rangerTrainer) && !_root.world.hero.hitTest(_root.world.wizardTrainer) && !_root.world.hero.hitTest(_root.world.fountain)) {
						_root.world.merchantWindow.gotoAndStop(1);
						_root.allowCast = true;
						_root.itemCost = '';
					}
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(this.standing);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance questGiver of movieClip 11239	{
			onClipEvent (load) {
				this.displayName = 'Lord Chase';
				this.factionNum = 2;
				this.faction = 'The Alliance';
				this.questName = 'allianceBoss4Q';
				this.level = 30;
				this.onQuest = false;
				this.reset = false;
				this.symbol = 'allia';
				var tempHolder = _root[this.questName][11];
				if (_root[this.questName][9]) {
					this.questAvailable = false;
				} else {
					this.questAvailable = true;
				}
				var i = 0;
				while (i < 7) {
					if (_root.activeQuests[i] == this.questName || _root.activeQuests[i] == 'shadowRunnersBoss4Q') {
						this.onQuest = true;
						break;
					}
					++i;
				}
			}
			onClipEvent (enterFrame) {
				if (this.onQuest) {
					if (_root[this.questName][6]) {
						this.questStatus.gotoAndStop('green');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop(this.questName + '2');
							_root.questVisible = true;
						}
					} else {
						this.questStatus.gotoAndStop('white');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							_root.world.chatWindow.gotoAndStop('notComplete');
							_root.questVisible = true;
						}
					}
				} else {
					if (this.questAvailable) {
						this.questStatus.gotoAndStop('yellow');
						if (_root.world.hero.hitTest(this) && !this.reset) {
							if (_root.factionLevels[tempHolder] > _root[this.questName][10]) {
								if (_root.questVisible == false) {
									var rnd = random(5) + 1;
									_root.world.chatWindow.gotoAndStop('faction' + rnd);
									_root.questVisible = true;
								}
							} else {
								_root.world.chatWindow.gotoAndStop(this.questName + '1');
								_root.questVisible = true;
							}
						}
					}
				}
				if (!_root.world.hero.hitTest(this)) {
					_root.questVisible = false;
					_root.world.chatWindow.gotoAndStop(1);
					this.reset = false;
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.factionLevels[this.factionNum]);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
		instance fountain of movieClip 11545	{
			onClipEvent (load) {
				this.displayName = 'Innkeeper Kody';
				this.faction = 'Innkeeper';
				this.level = 30;
				this.symbol = 'how';
			}
			onClipEvent (enterFrame) {
				if (this.hitTest(_root.world.hero)) {
					_root.allowCast = false;
					_root.world.saveWindow.gotoAndStop(2);
				} else {
					if (!_root.world.hero.hitTest(_root.world.warriorTrainer) && !_root.world.hero.hitTest(_root.world.rangerTrainer) && !_root.world.hero.hitTest(_root.world.wizardTrainer) && !_root.world.hero.hitTest(_root.world.fountain)) {
						_root.world.saveWindow.gotoAndStop(1);
						_root.allowCast = true;
					}
				}
			}
			onClipEvent (rollOver) {
				_root.targetLevel = this.level;
				_root.targetName = this.displayName;
				_root.factionName = this.faction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(3);
				_root.world.targetInfo.hpBar._xscale = 100;
				_root.world.targetInfo.symbol.gotoAndStop(this.symbol);
			}
			onClipEvent (rollOut) {
				_root.currentTarget = _root.savedTarget;
				_root.targetLevel = _root.savedLevel;
				_root.targetName = _root.savedName;
				_root.factionName = _root.savedFaction;
				_root.world.targetInfo.factionIndicator.gotoAndStop(_root.savedStanding);
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetMarker._x = _root.savedX;
				_root.world.targetMarker._y = _root.savedY;
				_root.world.targetInfo.hpBar._xscale = _root.savedHp;
				_root.world.targetInfo.symbol.gotoAndStop(1);
			}
		}
	}
	movieClip 11574	{
		frame 1 {
			stop();
		}
	}
	movieClip 11577	{
		frame 1 {
			stop();
		}
	}
	button 11578 {
		on (release) {
			_root.playSound('intClick');
			_root.tutorialWindow.gotoAndStop(1);
			_root.showTutorial(0);
		}
		on (rollOver) {
			_root.playSound('rollOver');
		}
	}
	movieClip 11581	{
	}
	button 11582 {
		on (release) {
			_root.playSound('intClick');
			if (_root.tutorials) {
				_root.tutorials = false;
				_root.allowCast = true;
				_root.tutorialWindow.gotoAndStop(1);
			}
		}
	}
	movieClip 11608	{
		frame 1 {
			stop();
		}
	}
	frame 58 {
		stop();
	}
	movieClip 11610	{
	}
	movieClip 11613	{
	}
	movieClip 11615	{
	}
	movieClip 11617	{
	}
	movieClip 11619	{
	}
	movieClip 11621	{
	}
	movieClip 11623	{
	}
	movieClip 11624	{
		frame 1 {
			stopAllSounds();
		}
		frame 640 {
			_root.gotoAndStop('end');
		}
	}
	frame 69 {
		stop();
	}
	button 11629 {
		on (release) {
			stopAllSounds();
			_root.gotoAndStop('splash');
		}
	}
	frame 77 {
		stop();
	}
