Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _loc1.overMap = function (oEvent)
- {
- if (this.dungeon == undefined)
- {
- var _loc3 = this.api.kernel.AreasManager.getAreaIDFromCoordinates(oEvent.coordinates.x, oEvent.coordinates.y, this._dmMap.superarea);
- var _loc4 = this.api.kernel.AreasManager.getSubAreaIDFromCoordinates(oEvent.coordinates.x, oEvent.coordinates.y, this._dmMap.superarea);
- if (_loc4 != undefined)
- {
- var _loc5 = this.api.lang.getMapSubAreaText(_loc4).n;
- var _loc6 = (dofus.datacenter.Subarea)(this.api.datacenter.Subareas.getItemAt(_loc4));
- if (_loc6 != undefined)
- {
- var _loc7 = _loc6.color;
- var _loc8 = this.api.lang.getMapAreaText(_loc3).n + (_loc5.substr(0, 2) == "//" ? (" - ") : (" (" + _loc5 + ") - ")) + _loc6.alignment.name;
- }
- else
- {
- _loc7 = dofus.Constants.AREA_NO_ALIGNMENT_COLOR;
- _loc8 = this.api.lang.getMapAreaText(_loc3).n + (_loc5.substr(0, 2) == "//" ? ("") : (" (" + _loc5 + ")"));
- } // end else if
- if (this._vsZoom.value != 2)
- {
- this._mnMap.addSubareaClip(_loc4, _loc7 != -1 ? (_loc7) : (dofus.Constants.AREA_NO_ALIGNMENT_COLOR), 20);
- } // end if
- this._lblAreaName.text = _loc8;
- this._lblArea._visible = true;
- }
- else
- {
- this.outMap();
- } // end if
- } // end else if
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement