Advertisement
Guest User

Untitled

a guest
Nov 14th, 2016
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 295.33 KB | None | 0 0
  1. --###########################################################################################
  2. --###########################################################################################
  3. --##
  4. --##            STARTING AREAS
  5. --##
  6. --###########################################################################################
  7. --###########################################################################################
  8.  
  9. --'==========================================================================================      
  10. --'  Starting Areas: Sunstrider Isle, Eversong Woods ( Blood Elf Starting Area )
  11. --'==========================================================================================
  12.                
  13.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Eversong Woods"] ) and ( ( SubZoneName == SZ["The Sunspire"] ) or ( SubZoneName == SZ["Sunstrider Isle"] ) or ( SubZoneName == SZ["Falthrien Academy"] ) or ( SubZoneName == SZ["Shrine of Dath'Remar"] ) ) and FinalFantasylization_IsPlaying == false then
  14.             if FinalFantasylization_InStarterAreaSunstriderIsle == false then
  15.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  16.                 FinalFantasylization_StarterAreaSunstriderIsle()
  17.             end
  18.             FinalFantasylization_IsPlaying = true
  19.             FinalFantasylization_InStarterAreaSunstriderIsle = true
  20.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Eversong Woods"] ) and ( ( SubZoneName == SZ["The Sunspire"] ) or ( SubZoneName == SZ["Sunstrider Isle"] ) or ( SubZoneName == SZ["Falthrien Academy"] ) or ( SubZoneName == SZ["Shrine of Dath'Remar"] ) ) and FinalFantasylization_IsPlaying == false then
  21.             if FinalFantasylization_InStarterAreaSunstriderIsle == false then
  22.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  23.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  24.             end
  25.             FinalFantasylization_IsPlaying = true
  26.             FinalFantasylization_InStarterAreaSunstriderIsle = true
  27.         else
  28.             FinalFantasylization_InStarterAreaSunstriderIsle = false
  29.         end    
  30.  
  31. --'==========================================================================================      
  32. --'  Starting Areas: Deathknell, Tirisfal Glades ( Undead Starting Area )
  33. --'==========================================================================================
  34.                
  35.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Tirisfal Glades"] ) and ( (  SubZoneName == SZ["Deathknell"] ) or (  SubZoneName == SZ["Shadow Grave"] ) or (  SubZoneName == SZ["Night Web's Hollow"] ) ) and FinalFantasylization_IsPlaying == false then
  36.             if FinalFantasylization_InStarterAreaDeathknell == false then
  37.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  38.                 FinalFantasylization_StarterAreaDeathknell()
  39.             end
  40.             FinalFantasylization_IsPlaying = true
  41.             FinalFantasylization_InStarterAreaDeathknell = true
  42.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Tirisfal Glades"] ) and ( (  SubZoneName == SZ["Deathknell"] ) or (  SubZoneName == SZ["Shadow Grave"] ) or (  SubZoneName == SZ["Night Web's Hollow"] ) ) and FinalFantasylization_IsPlaying == false then
  43.             if FinalFantasylization_InStarterAreaDeathknell == false then
  44.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  45.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  46.             end
  47.             FinalFantasylization_IsPlaying = true
  48.             FinalFantasylization_InStarterAreaDeathknell = true
  49.         else
  50.             FinalFantasylization_InStarterAreaDeathknell = false
  51.         end    
  52.  
  53. --'==========================================================================================      
  54. --'  Starting Areas: Valley of Trials, Durotar ( Orc and Troll Starting Area )
  55. --'==========================================================================================
  56.                
  57.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Durotar"] ) and ( ( SubZoneName == SZ["Valley of Trials"] ) or ( SubZoneName == SZ["The Den"] ) or ( SubZoneName == SZ["Burning Blade Coven"] ) ) and FinalFantasylization_IsPlaying == false then
  58.             if FinalFantasylization_InStarterAreaValleyOfTrials == false then
  59.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  60.                 FinalFantasylization_StarterAreaValleyOfTrials()
  61.             end
  62.             FinalFantasylization_IsPlaying = true
  63.             FinalFantasylization_InStarterAreaValleyOfTrials = true
  64.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Durotar"] ) and ( ( SubZoneName == SZ["Valley of Trials"] ) or ( SubZoneName == SZ["The Den"] ) or ( SubZoneName == SZ["Burning Blade Coven"] ) ) and FinalFantasylization_IsPlaying == false then
  65.             if FinalFantasylization_InStarterAreaValleyOfTrials == false then
  66.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  67.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  68.             end
  69.             FinalFantasylization_IsPlaying = true
  70.             FinalFantasylization_InStarterAreaValleyOfTrials = true
  71.         else
  72.             FinalFantasylization_InStarterAreaValleyOfTrials = false
  73.         end    
  74.  
  75. --'==========================================================================================      
  76. --'  Starting Areas: Camp Narache, Mulgore ( Tauren Starting Area )
  77. --'==========================================================================================
  78.                
  79.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Mulgore"] ) and ( ( SubZoneName == SZ["Camp Narache"] ) or ( SubZoneName == SZ["Red Cloud Mesa"] ) ) and FinalFantasylization_IsPlaying == false then
  80.             if FinalFantasylization_InStarterAreaCampNarache == false then
  81.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  82.                 FinalFantasylization_StarterAreaCampNarache()
  83.             end
  84.             FinalFantasylization_IsPlaying = true
  85.             FinalFantasylization_InStarterAreaCampNarache = true
  86.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Mulgore"] ) and ( ( SubZoneName == SZ["Camp Narache"] ) or ( SubZoneName == SZ["Red Cloud Mesa"] ) ) and FinalFantasylization_IsPlaying == false then
  87.             if FinalFantasylization_InStarterAreaCampNarache == false then
  88.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  89.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  90.             end
  91.             FinalFantasylization_IsPlaying = true
  92.             FinalFantasylization_InStarterAreaCampNarache = true
  93.         else
  94.             FinalFantasylization_InStarterAreaCampNarache = false
  95.         end    
  96.  
  97. --'==========================================================================================      
  98. --'  Starting Areas: Coldridge Valley, Dun Morogh ( Dwarf and Gnome Starting Area )
  99. --'==========================================================================================
  100.                
  101.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Dun Morogh"] ) and ( ( SubZoneName == SZ["Coldridge Valley"] ) or ( MinimapZoneName == SZ["Anvilmar"] ) ) and FinalFantasylization_IsPlaying == false then
  102.             if FinalFantasylization_InStarterAreaColdridgeValley == false then
  103.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  104.                 FinalFantasylization_StarterAreaColdridgeValley()
  105.             end
  106.             FinalFantasylization_IsPlaying = true
  107.             FinalFantasylization_InStarterAreaColdridgeValley = true
  108.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Dun Morogh"] ) and ( (  SubZoneName == SZ["Coldridge Valley"] ) or ( MinimapZoneName == SZ["Anvilmar"] ) ) and FinalFantasylization_IsPlaying == false then
  109.             if FinalFantasylization_InStarterAreaColdridgeValley == false then
  110.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  111.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  112.             end
  113.             FinalFantasylization_IsPlaying = true
  114.             FinalFantasylization_InStarterAreaColdridgeValley = true
  115.         else
  116.             FinalFantasylization_InStarterAreaColdridgeValley = false
  117.         end    
  118.    
  119. --'==========================================================================================      
  120. --'  Starting Areas: Northshire Valley, Elwynn Forest ( Human Starting Area )
  121. --'==========================================================================================
  122.                
  123.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Elwynn Forest"] ) and ( (  SubZoneName == SZ["Northshire Valley"] ) or ( SubZoneName == SZ["Northshire Abbey"] ) or ( SubZoneName == SZ["Echo Ridge Mine"] ) or ( SubZoneName == SZ["Northshire Vineyards"] ) ) and FinalFantasylization_IsPlaying == false then
  124.             if FinalFantasylization_InStarterAreaNorthshireValley == false then
  125.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  126.                 FinalFantasylization_StarterAreaNorthshireValley()
  127.             end
  128.             FinalFantasylization_IsPlaying = true
  129.             FinalFantasylization_InStarterAreaNorthshireValley = true
  130.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Elwynn Forest"] ) and ( (  SubZoneName == SZ["Northshire Valley"] ) or ( SubZoneName == SZ["Northshire Abbey"] ) or ( SubZoneName == SZ["Echo Ridge Mine"] ) or ( SubZoneName == SZ["Northshire Vineyards"] ) ) and FinalFantasylization_IsPlaying == false then
  131.             if FinalFantasylization_InStarterAreaNorthshireValley == false then
  132.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  133.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  134.             end
  135.             FinalFantasylization_IsPlaying = true
  136.             FinalFantasylization_InStarterAreaNorthshireValley = true
  137.         else
  138.             FinalFantasylization_InStarterAreaNorthshireValley = false
  139.         end    
  140.  
  141. --'==========================================================================================      
  142. --'  Starting Areas: Ammen Vale, Azuremyst Isle ( Draenei Starting Area )
  143. --'==========================================================================================
  144.                
  145.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Azuremyst Isle"] ) and ( ( SubZoneName == SZ["Ammen Vale"] ) or ( SubZoneName == SZ["Ammen Fields"] ) or ( SubZoneName == SZ["Crash Site"] ) or ( SubZoneName == SZ["Silverline Lake"] ) or ( SubZoneName == SZ["Nestlewood Hills"] ) or ( SubZoneName == SZ["Nestlewood Thicket"] ) or ( SubZoneName == SZ["Shadow Ridge"] ) ) and FinalFantasylization_IsPlaying == false then
  146.             if FinalFantasylization_InStarterAreaAmmenVale == false then
  147.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  148.                 FinalFantasylization_StarterAreaAmmenVale()
  149.             end
  150.             FinalFantasylization_IsPlaying = true
  151.             FinalFantasylization_InStarterAreaAmmenVale = true
  152.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Azuremyst Isle"] ) and ( ( SubZoneName == SZ["Ammen Vale"] ) or ( SubZoneName == SZ["Ammen Fields"] ) or ( SubZoneName == SZ["Crash Site"] ) or ( SubZoneName == SZ["Silverline Lake"] ) or ( SubZoneName == SZ["Nestlewood Hills"] ) or ( SubZoneName == SZ["Nestlewood Thicket"] )or ( SubZoneName == SZ["Shadow Ridge"] ) ) and FinalFantasylization_IsPlaying == false then
  153.             if FinalFantasylization_InStarterAreaAmmenVale == false then
  154.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  155.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  156.             end
  157.             FinalFantasylization_IsPlaying = true
  158.             FinalFantasylization_InStarterAreaAmmenVale = true
  159.         else
  160.             FinalFantasylization_InStarterAreaAmmenVale = false
  161.         end    
  162.  
  163. --'==========================================================================================      
  164. --'  Starting Areas: Shadowglen, Teldrassil ( Night Elf Starting Area )
  165. --'==========================================================================================
  166.                
  167.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Teldrassil"] ) and ( (  SubZoneName == SZ["Shadowglen"] ) or ( SubZoneName == SZ["Aldrassil"] ) ) and FinalFantasylization_IsPlaying == false then
  168.             if FinalFantasylization_InStarterAreaShadowglen == false then
  169.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  170.                 FinalFantasylization_StarterAreaShadowglen()
  171.             end
  172.             FinalFantasylization_IsPlaying = true
  173.             FinalFantasylization_InStarterAreaShadowglen = true
  174.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Teldrassil"] ) and ( (  SubZoneName == SZ["Shadowglen"] ) or ( SubZoneName == SZ["Aldrassil"] ) ) and FinalFantasylization_IsPlaying == false then
  175.             if FinalFantasylization_InStarterAreaShadowglen == false then
  176.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  177.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  178.             end
  179.             FinalFantasylization_IsPlaying = true
  180.             FinalFantasylization_InStarterAreaShadowglen = true
  181.         else
  182.             FinalFantasylization_InStarterAreaShadowglen = false
  183.         end    
  184.  
  185. --'==========================================================================================      
  186. --'  Starting Areas: Acherus: The Ebon Hold : DEATH KNIGHTS STARTING AREA
  187. --'==========================================================================================
  188.         if (  ZoneName == Z["Plaguelands: The Scarlet Enclave"] ) and ( (  SubZoneName == SZ["Acherus: The Ebon Hold"] ) or (  SubZoneName == SZ["The Heart of Acherus"] ) or (  SubZoneName == SZ["Hall of Command"] ) ) and FinalFantasylization_IsPlaying == false then
  189.                 if FinalFantasylization_InMiscEbonHold == false then
  190.                         FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  191.                         FinalFantasylization_EbonHoldSong()
  192.                 end
  193.                 FinalFantasylization_IsPlaying = true
  194.                 FinalFantasylization_InMiscEbonHold = true
  195.             else
  196.                 FinalFantasylization_InMiscEbonHold = false
  197.             end
  198.        
  199. --'==========================================================================================      
  200. --'  Starting Areas: Plaguelands: Scarlet Enclave ( Death Knight Starting Area )
  201. --'==========================================================================================
  202.         if (  ZoneName == Z["Plaguelands: The Scarlet Enclave"] ) and FinalFantasylization_IsPlaying == false then
  203.                 if FinalFantasylization_InStarterAreaScarletEnclave == false then
  204.                     FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  205.                     FinalFantasylization_StarterAreaScarletEnclave()
  206.                 end
  207.                 FinalFantasylization_IsPlaying = true
  208.                 FinalFantasylization_InStarterAreaScarletEnclave = true
  209.             else
  210.                 FinalFantasylization_InStarterAreaScarletEnclave = false
  211.             end
  212.  
  213.        
  214. --###########################################################################################
  215. --###########################################################################################
  216. --##
  217. --##            HORDE CAPITAL CITIES
  218. --##
  219. --###########################################################################################
  220. --###########################################################################################
  221.  
  222. --'==========================================================================================      
  223. --'  Horde Capital Cities: Orgrimmar
  224. --'==========================================================================================
  225.         if ( ZoneName == Z["Orgrimmar"] ) and ( factionEnglish == F["Horde"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
  226.             if FinalFantasylization_InCityOrgrimmar == false then
  227.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  228.                 FinalFantasylization_OrgrimmarSong()
  229.             end
  230.             FinalFantasylization_IsPlaying = true
  231.             FinalFantasylization_InCityOrgrimmar = true
  232.         elseif ( ZoneName == Z["Orgrimmar"] ) and ( factionEnglish == F["Alliance"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
  233.             if FinalFantasylization_InCityOrgrimmar == false then
  234.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileCity .. ZoneName .. PlayerInHostile)
  235.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  236.             end
  237.             FinalFantasylization_IsPlaying = true
  238.             FinalFantasylization_InCityOrgrimmar = true
  239.         else
  240.             FinalFantasylization_InCityOrgrimmar = false
  241.         end
  242.        
  243. --'==========================================================================================      
  244. --'  Horde Capital Cities: Silvermoon City
  245. --'==========================================================================================
  246.         if ( (  ZoneName == Z["Silvermoon City"] ) or (  SubZoneName == SZ["The Shepherd's Gate"] ) ) and ( factionEnglish == F["Horde"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
  247.             if FinalFantasylization_InCitySilvermoonCity == false then
  248.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  249.                 FinalFantasylization_SilvermoonCitySong()
  250.             end
  251.             FinalFantasylization_IsPlaying = true
  252.             FinalFantasylization_InCitySilvermoonCity = true
  253.         elseif ( (  ZoneName == Z["Silvermoon City"] ) or (  SubZoneName == SZ["The Shepherd's Gate"] ) ) and ( factionEnglish == F["Alliance"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
  254.             if FinalFantasylization_InCitySilvermoonCity == false then
  255.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileCity .. ZoneName .. PlayerInHostile)
  256.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  257.             end
  258.             FinalFantasylization_IsPlaying = true
  259.             FinalFantasylization_InCitySilvermoonCity = true
  260.         else
  261.             FinalFantasylization_InCitySilvermoonCity = false
  262.         end
  263.        
  264. --'==========================================================================================      
  265. --'  Horde Capital Cities: Thunder Bluff
  266. --'==========================================================================================
  267.         if (  ZoneName == Z["Thunder Bluff"] ) and ( factionEnglish == F["Horde"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
  268.             if FinalFantasylization_InCityThunderBluff == false then
  269.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  270.                 FinalFantasylization_ThunderBluffSong()
  271.             end
  272.             FinalFantasylization_IsPlaying = true
  273.             FinalFantasylization_InCityThunderBluff = true
  274.         elseif (  ZoneName == Z["Thunder Bluff"] ) and ( factionEnglish == F["Alliance"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
  275.             if FinalFantasylization_InCityThunderBluff == false then
  276.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileCity .. ZoneName .. PlayerInHostile)
  277.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  278.             end
  279.             FinalFantasylization_IsPlaying = true
  280.             FinalFantasylization_InCityThunderBluff = true
  281.         else
  282.             FinalFantasylization_InCityThunderBluff = false
  283.         end
  284.        
  285. --'==========================================================================================      
  286. --'  Horde Capital Cities: Undercity
  287. --'==========================================================================================
  288.         if ( (  ZoneName == Z["Undercity"] ) or (  SubZoneName == SZ["Ruins of Lordaeron"] ) ) and ( factionEnglish == F["Horde"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
  289.             if FinalFantasylization_InCityUndercity == false then
  290.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  291.                 FinalFantasylization_UndercitySong()
  292.             end
  293.             FinalFantasylization_IsPlaying = true
  294.             FinalFantasylization_InCityUndercity = true
  295.         elseif ( (  ZoneName == Z["Undercity"] ) or (  SubZoneName == SZ["Ruins of Lordaeron"] ) ) and ( factionEnglish == F["Alliance"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
  296.             if FinalFantasylization_InCityUndercity == false then
  297.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileCity .. ZoneName .. PlayerInHostile)
  298.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  299.             end
  300.             FinalFantasylization_IsPlaying = true
  301.             FinalFantasylization_InCityUndercity = true
  302.         else
  303.             FinalFantasylization_InCityUndercity = false
  304.         end
  305.  
  306. --###########################################################################################
  307. --###########################################################################################
  308. --##
  309. --##            ALLIANCE CAPITAL CITIES
  310. --##
  311. --###########################################################################################
  312. --###########################################################################################
  313.  
  314. --'==========================================================================================      
  315. --'  Alliance Capital Cities: Darnassus
  316. --'==========================================================================================
  317.         if (  ZoneName == Z["Darnassus"] ) and ( factionEnglish == F["Alliance"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
  318.             if FinalFantasylization_InCityDarnassus == false then
  319.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  320.                 FinalFantasylization_DarnassusSong()
  321.             end
  322.             FinalFantasylization_IsPlaying = true
  323.             FinalFantasylization_InCityDarnassus = true
  324.         elseif (  ZoneName == Z["Darnassus"] ) and ( factionEnglish == F["Horde"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
  325.             if FinalFantasylization_InCityDarnassus == false then
  326.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileCity .. ZoneName .. PlayerInHostile)
  327.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  328.             end
  329.             FinalFantasylization_IsPlaying = true
  330.             FinalFantasylization_InCityDarnassus = true
  331.         else
  332.             FinalFantasylization_InCityDarnassus = false
  333.         end
  334.        
  335. --'==========================================================================================      
  336. --'  Alliance Capital Cities: Ironforge
  337. --'==========================================================================================
  338.         if ( (  ZoneName == Z["Ironforge"] ) or (  SubZoneName == SZ["Gates of Ironforge"] ) ) and ( factionEnglish == F["Alliance"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
  339.             if FinalFantasylization_InCityIronforge == false then
  340.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  341.                 FinalFantasylization_IronforgeSong()
  342.             end
  343.             FinalFantasylization_IsPlaying = true
  344.             FinalFantasylization_InCityIronforge = true
  345.         elseif ( (  ZoneName == Z["Ironforge"] ) or (  SubZoneName == SZ["Gates of Ironforge"] ) ) and ( factionEnglish == F["Horde"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
  346.             if FinalFantasylization_InCityIronforge == false then
  347.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileCity .. ZoneName .. PlayerInHostile)
  348.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  349.             end
  350.             FinalFantasylization_IsPlaying = true
  351.             FinalFantasylization_InCityIronforge = true
  352.         else
  353.             FinalFantasylization_InCityIronforge = false
  354.         end
  355.        
  356. --'==========================================================================================      
  357. --'  Alliance Capital Cities: Stormwind City
  358. --'==========================================================================================
  359.         if  (  ZoneName == Z["Stormwind City"] ) and ( factionEnglish == F["Alliance"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
  360.             if FinalFantasylization_InCityStormwind == false then
  361.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  362.                 FinalFantasylization_StormwindCitySong()
  363.             end
  364.             FinalFantasylization_IsPlaying = true
  365.             FinalFantasylization_InCityStormwind = true
  366.         elseif (  ZoneName == Z["Stormwind City"] ) and ( factionEnglish == F["Horde"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
  367.             if FinalFantasylization_InCityStormwind == false then
  368.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileCity .. ZoneName .. PlayerInHostile)
  369.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  370.             end
  371.             FinalFantasylization_IsPlaying = true
  372.             FinalFantasylization_InCityStormwind = true
  373.         else
  374.             FinalFantasylization_InCityStormwind = false
  375.         end
  376.  
  377. --'==========================================================================================      
  378. --'  Alliance Capital Cities: The Exodar
  379. --'==========================================================================================
  380.         if (  ZoneName == Z["The Exodar"] ) and ( factionEnglish == F["Alliance"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
  381.             if FinalFantasylization_InCityExodar == false then
  382.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  383.                 FinalFantasylization_ExodarSong()
  384.             end
  385.             FinalFantasylization_IsPlaying = true
  386.             FinalFantasylization_InCityExodar = true
  387.         elseif (  ZoneName == Z["The Exodar"] ) and ( factionEnglish == F["Horde"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
  388.             if FinalFantasylization_InCityExodar == false then
  389.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileCity .. ZoneName .. PlayerInHostile)
  390.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  391.             end
  392.             FinalFantasylization_IsPlaying = true
  393.             FinalFantasylization_InCityExodar = true
  394.         else
  395.             FinalFantasylization_InCityExodar = false
  396.         end
  397.        
  398. --###########################################################################################
  399. --###########################################################################################
  400. --##
  401. --##            NEUTRAL CAPITAL CITIES
  402. --##
  403. --###########################################################################################
  404. --###########################################################################################
  405.  
  406. --'==========================================================================================      
  407. --'  Neutral Capital Cities: Area 52, Netherstorm
  408. --'==========================================================================================
  409.         if not ( IsResting() ) and (  ZoneName == Z["Netherstorm"] ) and (  SubZoneName ==Z["Area 52"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
  410.             if FinalFantasylization_InCityArea52 == false then
  411.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName)
  412.                 FinalFantasylization_CityArea52()
  413.             end
  414.             FinalFantasylization_IsPlaying = true
  415.             FinalFantasylization_InCityArea52 = true
  416.         else
  417.             FinalFantasylization_InCityArea52 = false
  418.         end
  419.        
  420. --'==========================================================================================      
  421. --'  Neutral Capital Cities: Booty Bay, Stranglethorn Vale
  422. --'==========================================================================================
  423.         if not ( IsResting() ) and (  ZoneName == Z["Stranglethorn Vale"] ) and (  SubZoneName == SZ["Booty Bay"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
  424.             if FinalFantasylization_InCityBootyBay == false then
  425.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName)
  426.                 FinalFantasylization_CityBootyBay()
  427.             end
  428.             FinalFantasylization_IsPlaying = true
  429.             FinalFantasylization_InCityBootyBay = true
  430.         else
  431.             FinalFantasylization_InCityBootyBay = false
  432.         end
  433.        
  434. --'==========================================================================================      
  435. --'  Neutral Capital Cities: Dalaran
  436. --'==========================================================================================
  437.         if (  ZoneName == Z["Dalaran"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
  438.             if FinalFantasylization_InCityDalaran == false then
  439.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  440.                 FinalFantasylization_DalaranSong()
  441.             end
  442.             FinalFantasylization_IsPlaying = true
  443.             FinalFantasylization_InCityDalaran = true
  444.         else
  445.             FinalFantasylization_InCityDalaran = false
  446.         end
  447.  
  448. --'==========================================================================================      
  449. --'  Neutral Capital Cities: Acherus: The Ebon Hold
  450. --'==========================================================================================
  451.         if (  ZoneName == Z["Eastern Plaguelands"] ) and (  SubZoneName == SZ["Acherus: The Ebon Hold"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
  452.             if FinalFantasylization_InCityEbonHold == false then
  453.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName)
  454.                 FinalFantasylization_EbonHoldSong()
  455.             end
  456.             FinalFantasylization_IsPlaying = true
  457.             FinalFantasylization_InCityEbonHold = true
  458.         else
  459.             FinalFantasylization_InCityEbonHold = false
  460.         end
  461.        
  462. --'==========================================================================================      
  463. --'  Neutral Capital Cities: Everlook, Winterspring
  464. --'==========================================================================================
  465.         if not ( IsResting() ) and (  ZoneName == Z["Winterspring"] ) and (  SubZoneName == SZ["Everlook"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
  466.             if FinalFantasylization_InCityEverlook == false then
  467.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName)
  468.                 FinalFantasylization_CityEverlook()
  469.             end
  470.             FinalFantasylization_IsPlaying = true
  471.             FinalFantasylization_InCityEverlook = true
  472.         else
  473.             FinalFantasylization_InCityEverlook = false
  474.         end
  475.        
  476. --'==========================================================================================      
  477. --'  Neutral Capital Cities: Gadgetzan, Tanaris
  478. --'==========================================================================================
  479.         if not ( IsResting() ) and (  ZoneName == Z["Tanaris"] ) and (  SubZoneName == SZ["Gadgetzan"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
  480.             if FinalFantasylization_InCityGadgetzan == false then
  481.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName)
  482.                 FinalFantasylization_CityGadgetzan()
  483.             end
  484.             FinalFantasylization_IsPlaying = true
  485.             FinalFantasylization_InCityGadgetzan = true
  486.         else
  487.             FinalFantasylization_InCityGadgetzan = false
  488.         end
  489.        
  490. --'==========================================================================================      
  491. --'  Neutral Capital Cities: Ratchet, The Barrens
  492. --'==========================================================================================
  493.         if not ( IsResting() ) and (  ZoneName == Z["The Barrens"] ) and (  SubZoneName == SZ["Ratchet"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
  494.             if FinalFantasylization_InCityRatchet == false then
  495.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName)
  496.                 FinalFantasylization_CityRatchet()
  497.             end
  498.             FinalFantasylization_IsPlaying = true
  499.             FinalFantasylization_InCityRatchet = true
  500.         else
  501.             FinalFantasylization_InCityRatchet = false
  502.         end
  503.        
  504. --'==========================================================================================      
  505. --'  Neutral Capital Cities: Shattrath City
  506. --'==========================================================================================
  507.         if ( (  ZoneName == Z["Shattrath City"] ) or (  SubZoneName == SZ["Lower City"] ) ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
  508.             if FinalFantasylization_InCityShattrathCity == false then
  509.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  510.                 FinalFantasylization_ShattrathCitySong()
  511.             end
  512.             FinalFantasylization_IsPlaying = true
  513.             FinalFantasylization_InCityShattrathCity = true
  514.         else
  515.             FinalFantasylization_InCityShattrathCity = false
  516.         end
  517.        
  518. --###########################################################################################
  519. --###########################################################################################
  520. --##
  521. --##            HORDE TOWNS
  522. --##
  523. --###########################################################################################
  524. --###########################################################################################
  525.  
  526. --'==========================================================================================      
  527. --'  Horde Towns: Agmar's Hammer, Dragonblight
  528. --'==========================================================================================
  529.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName ==Z["Dragonblight"] ) and (  SubZoneName == SZ["Agmar's Hammer"] ) and FinalFantasylization_IsPlaying == false then
  530.             if FinalFantasylization_InHordeTownAgmarsHammer == false then
  531.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  532.                 FinalFantasylization_HordeTownAgmarsHammer()
  533.             end
  534.             FinalFantasylization_IsPlaying = true
  535.             FinalFantasylization_InHordeTownAgmarsHammer = true
  536.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName ==Z["Dragonblight"] ) and (  SubZoneName == SZ["Agmar's Hammer"] ) and FinalFantasylization_IsPlaying == false then
  537.             if FinalFantasylization_InHordeTownAgmarsHammer == false then
  538.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  539.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  540.             end
  541.             FinalFantasylization_IsPlaying = true
  542.             FinalFantasylization_InHordeTownAgmarsHammer = true
  543.         else
  544.             FinalFantasylization_InHordeTownAgmarsHammer = false
  545.         end
  546.  
  547. --'==========================================================================================      
  548. --'  Horde Towns: Apothecary Camp, Howling Fjord
  549. --'==========================================================================================
  550.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Howling Fjord"] ) and (  SubZoneName == SZ["Apothecary Camp"] ) and FinalFantasylization_IsPlaying == false then
  551.             if FinalFantasylization_InHordeTownApothecaryCamp == false then
  552.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  553.                 FinalFantasylization_HordeTownApothecaryCamp()
  554.             end
  555.             FinalFantasylization_IsPlaying = true
  556.             FinalFantasylization_InHordeTownApothecaryCamp = true
  557.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Howling Fjord"] ) and (  SubZoneName == SZ["Apothecary Camp"] ) and FinalFantasylization_IsPlaying == false then
  558.             if FinalFantasylization_InHordeTownApothecaryCamp == false then
  559.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  560.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  561.             end
  562.             FinalFantasylization_IsPlaying = true
  563.             FinalFantasylization_InHordeTownApothecaryCamp = true
  564.         else
  565.             FinalFantasylization_InHordeTownApothecaryCamp = false
  566.         end
  567.  
  568. --'==========================================================================================      
  569. --'  Horde Towns: Bloodhoof Village, Mulgore : HORDE TERRITORY
  570. --'==========================================================================================
  571.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Mulgore"] ) and (  SubZoneName == SZ["Bloodhoof Village"] ) and FinalFantasylization_IsPlaying == false then
  572.             if FinalFantasylization_InHordeTownBloodhoofVillage == false then
  573.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  574.                 FinalFantasylization_HordeTownBloodhoofVillage()
  575.             end
  576.             FinalFantasylization_IsPlaying = true
  577.             FinalFantasylization_InHordeTownBloodhoofVillage = true
  578.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Mulgore"] ) and (  SubZoneName == SZ["Bloodhoof Village"] ) and FinalFantasylization_IsPlaying == false then
  579.             if FinalFantasylization_InHordeTownBloodhoofVillage == false then
  580.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  581.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  582.             end
  583.             FinalFantasylization_IsPlaying = true
  584.             FinalFantasylization_InHordeTownBloodhoofVillage = true
  585.         else
  586.             FinalFantasylization_InHordeTownBloodhoofVillage = false
  587.         end
  588.        
  589. --'==========================================================================================      
  590. --'  Horde Towns: Bloodvenom Post, Felwood
  591. --'==========================================================================================
  592.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Felwood"] ) and (  SubZoneName == SZ["Bloodvenom Post"] ) and FinalFantasylization_IsPlaying == false then
  593.             if FinalFantasylization_InHordeTownBloodvenomPost == false then
  594.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  595.                 FinalFantasylization_HordeTownBloodvenomPost()
  596.             end
  597.             FinalFantasylization_IsPlaying = true
  598.             FinalFantasylization_InHordeTownBloodvenomPost = true
  599.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Felwood"] ) and (  SubZoneName == SZ["Bloodvenom Post"] ) and FinalFantasylization_IsPlaying == false then
  600.             if FinalFantasylization_InHordeTownBloodvenomPost == false then
  601.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  602.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  603.             end
  604.             FinalFantasylization_IsPlaying = true
  605.             FinalFantasylization_InHordeTownBloodvenomPost = true
  606.         else
  607.             FinalFantasylization_InHordeTownBloodvenomPost = false
  608.         end
  609.    
  610. --'==========================================================================================      
  611. --'  Horde Towns: Brackenwall Village, Dustwallow Marsh
  612. --'==========================================================================================
  613.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Dustwallow Marsh"] ) and (  SubZoneName == SZ["Brackenwall Village"] ) and FinalFantasylization_IsPlaying == false then
  614.             if FinalFantasylization_InHordeTownBrackenwallVillage == false then
  615.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  616.                 FinalFantasylization_HordeTownBrackenwallVillage()
  617.             end
  618.             FinalFantasylization_IsPlaying = true
  619.             FinalFantasylization_InHordeTownBrackenwallVillage = true
  620.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Dustwallow Marsh"] ) and (  SubZoneName == SZ["Brackenwall Village"] ) and FinalFantasylization_IsPlaying == false then
  621.             if FinalFantasylization_InHordeTownBrackenwallVillage == false then
  622.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  623.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  624.             end
  625.             FinalFantasylization_IsPlaying = true
  626.             FinalFantasylization_InHordeTownBrackenwallVillage = true
  627.         else
  628.             FinalFantasylization_InHordeTownBrackenwallVillage = false
  629.         end
  630.    
  631. --'==========================================================================================      
  632. --'  Horde Towns: Brill, Tirisfal Glades : HORDE TERRITORY
  633. --'==========================================================================================
  634.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Tirisfal Glades"] ) and ( ( SubZoneName == SZ["Brill"] ) or ( SubZoneName == SZ["Brill Town Hall"] ) )and FinalFantasylization_IsPlaying == false then
  635.             if FinalFantasylization_InHordeTownBrill == false then
  636.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  637.                 FinalFantasylization_HordeTownBrill()
  638.             end
  639.             FinalFantasylization_IsPlaying = true
  640.             FinalFantasylization_InHordeTownBrill = true
  641.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Tirisfal Glades"] ) and ( ( SubZoneName == SZ["Brill"] ) or ( SubZoneName == SZ["Brill Town Hall"] ) ) and FinalFantasylization_IsPlaying == false then
  642.             if FinalFantasylization_InHordeTownBrill == false then
  643.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  644.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  645.             end
  646.             FinalFantasylization_IsPlaying = true
  647.             FinalFantasylization_InHordeTownBrill = true
  648.         else
  649.             FinalFantasylization_InHordeTownBrill = false
  650.         end
  651.  
  652. --'==========================================================================================      
  653. --'  Horde Towns: Bor'gorok Outpost, Borean Tundra
  654. --'==========================================================================================
  655.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Borean Tundra"] ) and ( ( SubZoneName == SZ["Bor'Gorok Outpost"] ) or ( SubZoneName == SZ["Bor'gorok Outpost"] ) ) and FinalFantasylization_IsPlaying == false then
  656.             if FinalFantasylization_InHordeTownBorgorokOutpost == false then
  657.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  658.                 FinalFantasylization_HordeTownBorgorokOutpost()
  659.             end
  660.             FinalFantasylization_IsPlaying = true
  661.             FinalFantasylization_InHordeTownBorgorokOutpost = true
  662.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Borean Tundra"] ) and ( ( SubZoneName == SZ["Bor'Gorok Outpost"] ) or ( SubZoneName == SZ["Bor'gorok Outpost"] ) ) and FinalFantasylization_IsPlaying == false then
  663.             if FinalFantasylization_InHordeTownBorgorokOutpost == false then
  664.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  665.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  666.             end
  667.             FinalFantasylization_IsPlaying = true
  668.             FinalFantasylization_InHordeTownBorgorokOutpost = true
  669.         else
  670.             FinalFantasylization_InHordeTownBorgorokOutpost = false
  671.         end
  672.        
  673. --'==========================================================================================      
  674. --'  Horde Towns: Camp Mojache, Feralas
  675. --'==========================================================================================
  676.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Feralas"] ) and (  SubZoneName == SZ["Camp Mojache"] ) and FinalFantasylization_IsPlaying == false then
  677.             if FinalFantasylization_InHordeTownCampMojache == false then
  678.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  679.                 FinalFantasylization_HordeTownCampMojache()
  680.             end
  681.             FinalFantasylization_IsPlaying = true
  682.             FinalFantasylization_InHordeTownCampMojache = true
  683.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Feralas"] ) and (  SubZoneName == SZ["Camp Mojache"] ) and FinalFantasylization_IsPlaying == false then
  684.             if FinalFantasylization_InHordeTownCampMojache == false then
  685.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  686.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  687.             end
  688.             FinalFantasylization_IsPlaying = true
  689.             FinalFantasylization_InHordeTownCampMojache = true
  690.         else
  691.             FinalFantasylization_InHordeTownCampMojache = false
  692.         end
  693.  
  694. --'==========================================================================================      
  695. --'  Horde Towns: Camp Oneqwah, Grizzly Hills
  696. --'==========================================================================================
  697.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Grizzly Hills"] ) and ( ( SubZoneName == SZ["Camp Oneqwah"] ) or ( SubZoneName == SZ["Camp One'Qwah"] ) ) and FinalFantasylization_IsPlaying == false then
  698.             if FinalFantasylization_InHordeTownCampOneqwah == false then
  699.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  700.                 FinalFantasylization_HordeTownCampOneqwah()
  701.             end
  702.             FinalFantasylization_IsPlaying = true
  703.             FinalFantasylization_InHordeTownCampOneqwah = true
  704.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Grizzly Hills"] ) and ( ( SubZoneName == SZ["Camp Oneqwah"] ) or ( SubZoneName == SZ["Camp One'Qwah"] ) ) and FinalFantasylization_IsPlaying == false then
  705.             if FinalFantasylization_InHordeTownCampOneqwah == false then
  706.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  707.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  708.             end
  709.             FinalFantasylization_IsPlaying = true
  710.             FinalFantasylization_InHordeTownCampOneqwah = true
  711.         else
  712.             FinalFantasylization_InHordeTownCampOneqwah = false
  713.         end    
  714.        
  715. --'==========================================================================================      
  716. --'  Horde Towns: Camp Taurajo, The Barrens : HORDE TERRITORY
  717. --'==========================================================================================
  718.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["The Barrens"] ) and (  SubZoneName == SZ["Camp Taurajo"] ) and FinalFantasylization_IsPlaying == false then
  719.             if FinalFantasylization_InHordeTownCampTaurajo == false then
  720.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  721.                 FinalFantasylization_HordeTownCampTaurajo()
  722.             end
  723.             FinalFantasylization_IsPlaying = true
  724.             FinalFantasylization_InHordeTownCampTaurajo = true
  725.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["The Barrens"] ) and (  SubZoneName == SZ["Camp Taurajo"] ) and FinalFantasylization_IsPlaying == false then
  726.             if FinalFantasylization_InHordeTownCampTaurajo == false then
  727.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  728.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  729.             end
  730.             FinalFantasylization_IsPlaying = true
  731.             FinalFantasylization_InHordeTownCampTaurajo = true
  732.         else
  733.             FinalFantasylization_InHordeTownCampTaurajo = false
  734.         end
  735.  
  736. --'==========================================================================================      
  737. --'  Horde Towns: Camp Tunka'lo,  The Storm Peaks
  738. --'==========================================================================================
  739.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["The Storm Peaks"] ) and (  SubZoneName == SZ["Camp Tunka'lo"] ) and FinalFantasylization_IsPlaying == false then
  740.             if FinalFantasylization_InHordeTownCampTunkalo == false then
  741.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  742.                 FinalFantasylization_HordeTownCampTunkalo()
  743.             end
  744.             FinalFantasylization_IsPlaying = true
  745.             FinalFantasylization_InHordeTownCampTunkalo = true
  746.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["The Storm Peaks"] ) and (  SubZoneName == SZ["Camp Tunka'lo"] ) and FinalFantasylization_IsPlaying == false then
  747.             if FinalFantasylization_InHordeTownCampTunkalo == false then
  748.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  749.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  750.             end
  751.             FinalFantasylization_IsPlaying = true
  752.             FinalFantasylization_InHordeTownCampTunkalo = true
  753.         else
  754.             FinalFantasylization_InHordeTownCampTunkalo = false
  755.         end
  756.        
  757. --'==========================================================================================      
  758. --'  Horde Towns: Camp Winterhoof,  Howling Fjord
  759. --'==========================================================================================
  760.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Howling Fjord"] ) and (  SubZoneName == SZ["Camp Winterhoof"] ) and FinalFantasylization_IsPlaying == false then
  761.             if FinalFantasylization_InHordeTownCampWinterhoof == false then
  762.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  763.                 FinalFantasylization_HordeTownCampWinterhoof()
  764.             end
  765.             FinalFantasylization_IsPlaying = true
  766.             FinalFantasylization_InHordeTownCampWinterhoof = true
  767.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Howling Fjord"] ) and (  SubZoneName == SZ["Camp Winterhoof"] ) and FinalFantasylization_IsPlaying == false then
  768.             if FinalFantasylization_InHordeTownCampWinterhoof == false then
  769.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  770.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  771.             end
  772.             FinalFantasylization_IsPlaying = true
  773.             FinalFantasylization_InHordeTownCampWinterhoof = true
  774.         else
  775.             FinalFantasylization_InHordeTownCampWinterhoof = false
  776.         end
  777.        
  778. --'==========================================================================================      
  779. --'  Horde Towns: Conquest Hold,  Grizzly Hills
  780. --'==========================================================================================
  781.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Grizzly Hills"] ) and (  SubZoneName == SZ["Conquest Hold"] ) and FinalFantasylization_IsPlaying == false then
  782.             if FinalFantasylization_InHordeTownConquestHold == false then
  783.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  784.                 FinalFantasylization_HordeTownConquestHold()
  785.             end
  786.             FinalFantasylization_IsPlaying = true
  787.             FinalFantasylization_InHordeTownConquestHold = true
  788.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Grizzly Hills"] ) and (  SubZoneName == SZ["Conquest Hold"] ) and FinalFantasylization_IsPlaying == false then
  789.             if FinalFantasylization_InHordeTownConquestHold == false then
  790.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  791.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  792.             end
  793.             FinalFantasylization_IsPlaying = true
  794.             FinalFantasylization_InHordeTownConquestHold = true
  795.         else
  796.             FinalFantasylization_InHordeTownConquestHold = false
  797.         end
  798.        
  799. --'==========================================================================================      
  800. --'  Horde Towns: Fairbreeze Village, Eversong Woods : HORDE TERRITORY
  801. --'==========================================================================================
  802.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Eversong Woods"] ) and (  SubZoneName == SZ["Fairbreeze Village"] ) and FinalFantasylization_IsPlaying == false then
  803.             if FinalFantasylization_InHordeTownFairbreezeVillage == false then
  804.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  805.                 FinalFantasylization_HordeTownFairbreezeVillage()
  806.             end
  807.             FinalFantasylization_IsPlaying = true
  808.             FinalFantasylization_InHordeTownFairbreezeVillage = true
  809.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Eversong Woods"] ) and (  SubZoneName == SZ["Fairbreeze Village"] ) and FinalFantasylization_IsPlaying == false then
  810.             if FinalFantasylization_InHordeTownFairbreezeVillage == false then
  811.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  812.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  813.             end
  814.             FinalFantasylization_IsPlaying = true
  815.             FinalFantasylization_InHordeTownFairbreezeVillage = true
  816.         else
  817.             FinalFantasylization_InHordeTownFairbreezeVillage = false
  818.         end
  819.        
  820. --'==========================================================================================      
  821. --'  Horde Towns: Falcon Watch, Hellfire Peninsula
  822. --'==========================================================================================
  823.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Hellfire Peninsula"] ) and (  SubZoneName == SZ["Falcon Watch"] ) and FinalFantasylization_IsPlaying == false then
  824.             if FinalFantasylization_InHordeTownFalconWatch == false then
  825.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  826.                 FinalFantasylization_HordeTownFalconWatch()
  827.             end
  828.             FinalFantasylization_IsPlaying = true
  829.             FinalFantasylization_InHordeTownFalconWatch = true
  830.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Hellfire Peninsula"] ) and (  SubZoneName == SZ["Falcon Watch"] ) and FinalFantasylization_IsPlaying == false then
  831.             if FinalFantasylization_InHordeTownFalconWatch == false then
  832.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  833.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  834.             end
  835.             FinalFantasylization_IsPlaying = true
  836.             FinalFantasylization_InHordeTownFalconWatch = true
  837.         else
  838.             FinalFantasylization_InHordeTownFalconWatch = false
  839.         end
  840.    
  841. --'==========================================================================================      
  842. --'  Horde Towns: Falconwing Square, Eversong Woods : HORDE TERRITORY
  843. --'==========================================================================================
  844.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Eversong Woods"] ) and (  SubZoneName == SZ["Falconwing Square"] ) and FinalFantasylization_IsPlaying == false then
  845.             if FinalFantasylization_InHordeTownFalconwingSquare == false then
  846.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  847.                 FinalFantasylization_HordeTownFalconwingSquare()
  848.             end
  849.             FinalFantasylization_IsPlaying = true
  850.             FinalFantasylization_InHordeTownFalconwingSquare = true
  851.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Eversong Woods"] ) and (  SubZoneName == SZ["Falconwing Square"] ) and FinalFantasylization_IsPlaying == false then
  852.             if FinalFantasylization_InHordeTownFalconwingSquare == false then
  853.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  854.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  855.             end
  856.             FinalFantasylization_IsPlaying = true
  857.             FinalFantasylization_InHordeTownFalconwingSquare = true
  858.         else
  859.             FinalFantasylization_InHordeTownFalconwingSquare = false
  860.         end
  861.        
  862. --'==========================================================================================      
  863. --'  Horde Towns: Flame Crest, Burning Steppes
  864. --'==========================================================================================
  865.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Burning Steppes"] ) and (  SubZoneName == SZ["Flame Crest"] ) and FinalFantasylization_IsPlaying == false then
  866.             if FinalFantasylization_InHordeTownFlameCrest == false then
  867.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  868.                 FinalFantasylization_HordeTownFlameCrest()
  869.             end
  870.             FinalFantasylization_IsPlaying = true
  871.             FinalFantasylization_InHordeTownFlameCrest = true
  872.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Burning Steppes"] ) and (  SubZoneName == SZ["Flame Crest"] ) and FinalFantasylization_IsPlaying == false then
  873.             if FinalFantasylization_InHordeTownFlameCrest == false then
  874.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  875.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  876.             end
  877.             FinalFantasylization_IsPlaying = true
  878.             FinalFantasylization_InHordeTownFlameCrest = true
  879.         else
  880.             FinalFantasylization_InHordeTownFlameCrest = false
  881.         end
  882.    
  883. --'==========================================================================================      
  884. --'  Horde Towns: Freewind Post, Thousand Needles
  885. --'==========================================================================================
  886.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Thousand Needles"] ) and (  SubZoneName == SZ["Freewind Post"] ) and FinalFantasylization_IsPlaying == false then
  887.             if FinalFantasylization_InHordeTownFreewindPost == false then
  888.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  889.                 FinalFantasylization_HordeTownFreewindPost()
  890.             end
  891.             FinalFantasylization_IsPlaying = true
  892.             FinalFantasylization_InHordeTownFreewindPost = true
  893.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Thousand Needles"] ) and (  SubZoneName == SZ["Freewind Post"] ) and FinalFantasylization_IsPlaying == false then
  894.             if FinalFantasylization_InHordeTownFreewindPost == false then
  895.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  896.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  897.             end
  898.             FinalFantasylization_IsPlaying = true
  899.             FinalFantasylization_InHordeTownFreewindPost = true
  900.         else
  901.             FinalFantasylization_InHordeTownFreewindPost = false
  902.         end
  903.    
  904. --'==========================================================================================      
  905. --'  Horde Towns: Garadar, Nagrand
  906. --'==========================================================================================
  907.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Nagrand"] ) and (  SubZoneName == SZ["Garadar"] ) and FinalFantasylization_IsPlaying == false then
  908.             if FinalFantasylization_InHordeTownGaradar == false then
  909.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  910.                 FinalFantasylization_HordeTownGaradar()
  911.             end
  912.             FinalFantasylization_IsPlaying = true
  913.             FinalFantasylization_InHordeTownGaradar = true
  914.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Nagrand"] ) and (  SubZoneName == SZ["Garadar"] ) and FinalFantasylization_IsPlaying == false then
  915.             if FinalFantasylization_InHordeTownGaradar == false then
  916.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  917.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  918.             end
  919.             FinalFantasylization_IsPlaying = true
  920.             FinalFantasylization_InHordeTownGaradar = true
  921.         else
  922.             FinalFantasylization_InHordeTownGaradar = false
  923.         end
  924.  
  925. --'==========================================================================================      
  926. --'  Horde Towns: Grom'arsh Crash-Site,  The Storm Peaks
  927. --'==========================================================================================
  928.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["The Storm Peaks"] ) and (  SubZoneName == SZ["Grom'arsh Crash-Site"] ) and FinalFantasylization_IsPlaying == false then
  929.             if FinalFantasylization_InHordeTownGromarshCrashSite == false then
  930.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  931.                 FinalFantasylization_HordeTownGromarshCrashSite()
  932.             end
  933.             FinalFantasylization_IsPlaying = true
  934.             FinalFantasylization_InHordeTownGromarshCrashSite = true
  935.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["The Storm Peaks"] ) and (  SubZoneName == SZ["Grom'arsh Crash-Site"] ) and FinalFantasylization_IsPlaying == false then
  936.             if FinalFantasylization_InHordeTownGromarshCrashSite == false then
  937.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  938.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  939.             end
  940.             FinalFantasylization_IsPlaying = true
  941.             FinalFantasylization_InHordeTownGromarshCrashSite = true
  942.         else
  943.             FinalFantasylization_InHordeTownGromarshCrashSite = false
  944.         end
  945.        
  946. --'==========================================================================================      
  947. --'  Horde Towns: Grom'gol Base Camp, Stranglethorn Vale
  948. --'==========================================================================================
  949.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Stranglethorn Vale"] ) and ( (  SubZoneName == SZ["Grom'gol Base Camp"] ) or ( SubZoneName == SZ["Grom'Gol Base Camp"] ) ) and FinalFantasylization_IsPlaying == false then
  950.             if FinalFantasylization_InHordeTownGromgolBaseCamp == false then
  951.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  952.                 FinalFantasylization_HordeTownGromgolBaseCamp()
  953.             end
  954.             FinalFantasylization_IsPlaying = true
  955.             FinalFantasylization_InHordeTownGromgolBaseCamp = true
  956.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Stranglethorn Vale"] ) and ( (  SubZoneName == SZ["Grom'gol Base Camp"] ) or ( SubZoneName == SZ["Grom'Gol Base Camp"] ) ) and FinalFantasylization_IsPlaying == false then
  957.             if FinalFantasylization_InHordeTownGromgolBaseCamp == false then
  958.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  959.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  960.             end
  961.             FinalFantasylization_IsPlaying = true
  962.             FinalFantasylization_InHordeTownGromgolBaseCamp = true
  963.         else
  964.             FinalFantasylization_InHordeTownGromgolBaseCamp = false
  965.         end
  966.    
  967. --'==========================================================================================      
  968. --'  Horde Towns: Hammerfall, Arathi Highlands
  969. --'==========================================================================================
  970.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Arathi Highlands"] ) and (  SubZoneName == SZ["Hammerfall"] ) and FinalFantasylization_IsPlaying == false then
  971.             if FinalFantasylization_InHordeTownHammerfall == false then
  972.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  973.                 FinalFantasylization_HordeTownHammerfall()
  974.             end
  975.             FinalFantasylization_IsPlaying = true
  976.             FinalFantasylization_InHordeTownHammerfall = true
  977.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Arathi Highlands"] ) and (  SubZoneName == SZ["Hammerfall"] ) and FinalFantasylization_IsPlaying == false then
  978.             if FinalFantasylization_InHordeTownHammerfall == false then
  979.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  980.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  981.             end
  982.             FinalFantasylization_IsPlaying = true
  983.             FinalFantasylization_InHordeTownHammerfall = true
  984.         else
  985.             FinalFantasylization_InHordeTownHammerfall = false
  986.         end
  987.    
  988. --'==========================================================================================      
  989. --'  Horde Towns: Kargath, Badlands
  990. --'==========================================================================================
  991.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Badlands"] ) and (  SubZoneName == SZ["Kargath"] ) and FinalFantasylization_IsPlaying == false then
  992.             if FinalFantasylization_InHordeTownKargath == false then
  993.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  994.                 FinalFantasylization_HordeTownKargath()
  995.             end
  996.             FinalFantasylization_IsPlaying = true
  997.             FinalFantasylization_InHordeTownKargath = true
  998.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Badlands"] ) and (  SubZoneName == SZ["Kargath"] ) and FinalFantasylization_IsPlaying == false then
  999.             if FinalFantasylization_InHordeTownKargath == false then
  1000.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  1001.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1002.             end
  1003.             FinalFantasylization_IsPlaying = true
  1004.             FinalFantasylization_InHordeTownKargath = true
  1005.         else
  1006.             FinalFantasylization_InHordeTownKargath = false
  1007.         end
  1008.  
  1009. --'==========================================================================================      
  1010. --'  Horde Towns: Kor'kron Vanguard,  Dragonblight
  1011. --'==========================================================================================
  1012.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName ==Z["Dragonblight"] ) and ( ( SubZoneName == SZ["Kor'kron Vanguard"] ) or ( SubZoneName == SZ["Kor'Kron Vanguard"] ) ) and FinalFantasylization_IsPlaying == false then
  1013.             if FinalFantasylization_InHordeTownKorkronVanguard == false then
  1014.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1015.                 FinalFantasylization_HordeTownKorkronVanguard()
  1016.             end
  1017.             FinalFantasylization_IsPlaying = true
  1018.             FinalFantasylization_InHordeTownKorkronVanguard = true
  1019.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName ==Z["Dragonblight"] ) and ( ( SubZoneName == SZ["Kor'kron Vanguard"] ) or ( SubZoneName == SZ["Kor'Kron Vanguard"] ) ) and FinalFantasylization_IsPlaying == false then
  1020.             if FinalFantasylization_InHordeTownKorkronVanguard == false then
  1021.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1022.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1023.             end
  1024.             FinalFantasylization_IsPlaying = true
  1025.             FinalFantasylization_InHordeTownKorkronVanguard = true
  1026.         else
  1027.             FinalFantasylization_InHordeTownKorkronVanguard = false
  1028.         end
  1029.        
  1030. --'==========================================================================================      
  1031. --'  Horde Towns: Mok'Nathal Village, Blade's Edge Mountains
  1032. --'==========================================================================================
  1033.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Blade's Edge Mountains"] ) and (  SubZoneName == SZ["Mok'Nathal Village"] ) and FinalFantasylization_IsPlaying == false then
  1034.             if FinalFantasylization_InHordeTownMokNathalVillage == false then
  1035.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1036.                 FinalFantasylization_HordeTownMokNathalVillage()
  1037.             end
  1038.             FinalFantasylization_IsPlaying = true
  1039.             FinalFantasylization_InHordeTownMokNathalVillage = true
  1040.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Blade's Edge Mountains"] ) and (  SubZoneName == SZ["Mok'Nathal Village"] ) and FinalFantasylization_IsPlaying == false then
  1041.             if FinalFantasylization_InHordeTownMokNathalVillage == false then
  1042.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  1043.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1044.             end
  1045.             FinalFantasylization_IsPlaying = true
  1046.             FinalFantasylization_InHordeTownMokNathalVillage = true
  1047.         else
  1048.             FinalFantasylization_InHordeTownMokNathalVillage = false
  1049.         end
  1050.  
  1051. --'==========================================================================================      
  1052. --'  Horde Towns: New Agamand,  Howling Fjord
  1053. --'==========================================================================================
  1054.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Howling Fjord"] ) and (  SubZoneName == SZ["New Agamand"] ) and FinalFantasylization_IsPlaying == false then
  1055.             if FinalFantasylization_InHordeTownNewAgamand == false then
  1056.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1057.                 FinalFantasylization_HordeTownNewAgamand()
  1058.             end
  1059.             FinalFantasylization_IsPlaying = true
  1060.             FinalFantasylization_InHordeTownNewAgamand = true
  1061.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Howling Fjord"] ) and (  SubZoneName == SZ["New Agamand"] ) and FinalFantasylization_IsPlaying == false then
  1062.             if FinalFantasylization_InHordeTownNewAgamand == false then
  1063.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1064.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1065.             end
  1066.             FinalFantasylization_IsPlaying = true
  1067.             FinalFantasylization_InHordeTownNewAgamand = true
  1068.         else
  1069.             FinalFantasylization_InHordeTownNewAgamand = false
  1070.         end
  1071.        
  1072. --'==========================================================================================      
  1073. --'  Horde Towns: Razor Hill, Durotar : HORDE TERRITORY
  1074. --'==========================================================================================
  1075.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Durotar"] ) and (  SubZoneName == SZ["Razor Hill"] ) and FinalFantasylization_IsPlaying == false then
  1076.             if FinalFantasylization_InHordeTownRazorHill == false then
  1077.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1078.                 FinalFantasylization_HordeTownRazorHill()
  1079.             end
  1080.             FinalFantasylization_IsPlaying = true
  1081.             FinalFantasylization_InHordeTownRazorHill = true
  1082.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Durotar"] ) and (  SubZoneName == SZ["Razor Hill"] ) and FinalFantasylization_IsPlaying == false then
  1083.             if FinalFantasylization_InHordeTownRazorHill == false then
  1084.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  1085.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1086.             end
  1087.             FinalFantasylization_IsPlaying = true
  1088.             FinalFantasylization_InHordeTownRazorHill = true
  1089.         else
  1090.             FinalFantasylization_InHordeTownRazorHill = false
  1091.         end
  1092.        
  1093. --'==========================================================================================      
  1094. --'  Horde Towns: Revantusk Village, The Hinterlands
  1095. --'==========================================================================================
  1096.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["The Hinterlands"] ) and (  SubZoneName == SZ["Revantusk Village"] ) and FinalFantasylization_IsPlaying == false then
  1097.             if FinalFantasylization_InHordeTownRevantuskVillage == false then
  1098.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1099.                 FinalFantasylization_HordeTownRevantuskVillage()
  1100.             end
  1101.             FinalFantasylization_IsPlaying = true
  1102.             FinalFantasylization_InHordeTownRevantuskVillage = true
  1103.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["The Hinterlands"] ) and (  SubZoneName == SZ["Revantusk Village"] ) and FinalFantasylization_IsPlaying == false then
  1104.             if FinalFantasylization_InHordeTownRevantuskVillage == false then
  1105.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  1106.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1107.             end
  1108.             FinalFantasylization_IsPlaying = true
  1109.             FinalFantasylization_InHordeTownRevantuskVillage = true
  1110.         else
  1111.             FinalFantasylization_InHordeTownRevantuskVillage = false
  1112.         end
  1113.    
  1114. --'==========================================================================================      
  1115. --'  Horde Towns: Sen'jin Village, Durotar : HORDE TERRITORY
  1116. --'==========================================================================================
  1117.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Durotar"] ) and (  SubZoneName == SZ["Sen'jin Village"] ) and FinalFantasylization_IsPlaying == false then
  1118.             if FinalFantasylization_InHordeTownSenjinVillage == false then
  1119.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1120.                 FinalFantasylization_HordeTownSenjinVillage()
  1121.             end
  1122.             FinalFantasylization_IsPlaying = true
  1123.             FinalFantasylization_InHordeTownSenjinVillage = true
  1124.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Durotar"] ) and (  SubZoneName == SZ["Sen'jin Village"] ) and FinalFantasylization_IsPlaying == false then
  1125.             if FinalFantasylization_InHordeTownSenjinVillage == false then
  1126.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  1127.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1128.             end
  1129.             FinalFantasylization_IsPlaying = true
  1130.             FinalFantasylization_InHordeTownSenjinVillage = true
  1131.         else
  1132.             FinalFantasylization_InHordeTownSenjinVillage = false
  1133.         end
  1134.        
  1135. --'==========================================================================================      
  1136. --'  Horde Towns: Sepulcher, Silverpine Forest : HORDE TERRITORY
  1137. --'==========================================================================================
  1138.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Silverpine Forest"] ) and (  SubZoneName == SZ["The Sepulcher"] ) and FinalFantasylization_IsPlaying == false then
  1139.             if FinalFantasylization_InHordeTownSepulcher == false then
  1140.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1141.                 FinalFantasylization_HordeTownSepulcher()
  1142.             end
  1143.             FinalFantasylization_IsPlaying = true
  1144.             FinalFantasylization_InHordeTownSepulcher = true
  1145.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Silverpine Forest"] ) and (  SubZoneName == SZ["The Sepulcher"] ) and FinalFantasylization_IsPlaying == false then
  1146.             if FinalFantasylization_InHordeTownSepulcher == false then
  1147.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  1148.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1149.             end
  1150.             FinalFantasylization_IsPlaying = true
  1151.             FinalFantasylization_InHordeTownSepulcher = true
  1152.         else
  1153.             FinalFantasylization_InHordeTownSepulcher = false
  1154.         end
  1155.        
  1156. --'==========================================================================================      
  1157. --'  Horde Towns: Shadowmoon Village, Shadowmoon Valley
  1158. --'==========================================================================================
  1159.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Shadowmoon Valley"] ) and (  SubZoneName == SZ["Shadowmoon Village"] ) and FinalFantasylization_IsPlaying == false then
  1160.             if FinalFantasylization_InHordeTownShadowmoonVillage == false then
  1161.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1162.                 FinalFantasylization_HordeTownShadowmoonVillage()
  1163.             end
  1164.             FinalFantasylization_IsPlaying = true
  1165.             FinalFantasylization_InHordeTownShadowmoonVillage = true
  1166.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Shadowmoon Valley"] ) and (  SubZoneName == SZ["Shadowmoon Village"] ) and FinalFantasylization_IsPlaying == false then
  1167.             if FinalFantasylization_InHordeTownShadowmoonVillage == false then
  1168.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  1169.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1170.             end
  1171.             FinalFantasylization_IsPlaying = true
  1172.             FinalFantasylization_InHordeTownShadowmoonVillage = true
  1173.         else
  1174.             FinalFantasylization_InHordeTownShadowmoonVillage = false
  1175.         end
  1176.    
  1177. --'==========================================================================================      
  1178. --'  Horde Towns: Shadowprey Village, Desolace
  1179. --'==========================================================================================
  1180.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Desolace"] ) and (  SubZoneName == SZ["Shadowprey Village"] ) and FinalFantasylization_IsPlaying == false then
  1181.             if FinalFantasylization_InHordeTownShadowpreyVillage == false then
  1182.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1183.                 FinalFantasylization_HordeTownShadowpreyVillage()
  1184.             end
  1185.             FinalFantasylization_IsPlaying = true
  1186.             FinalFantasylization_InHordeTownShadowpreyVillage = true
  1187.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Desolace"] ) and (  SubZoneName == SZ["Shadowprey Village"] ) and FinalFantasylization_IsPlaying == false then
  1188.             if FinalFantasylization_InHordeTownShadowpreyVillage == false then
  1189.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  1190.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1191.             end
  1192.             FinalFantasylization_IsPlaying = true
  1193.             FinalFantasylization_InHordeTownShadowpreyVillage = true
  1194.         else
  1195.             FinalFantasylization_InHordeTownShadowpreyVillage = false
  1196.         end
  1197.    
  1198. --'==========================================================================================      
  1199. --'  Horde Towns: Splintertree Post, Ashenvale
  1200. --'==========================================================================================
  1201.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Ashenvale"] ) and (  SubZoneName == SZ["Splintertree Post"] ) and FinalFantasylization_IsPlaying == false then
  1202.             if FinalFantasylization_InHordeTownSplintertreePost == false then
  1203.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1204.                 FinalFantasylization_HordeTownSplintertreePost()
  1205.             end
  1206.             FinalFantasylization_IsPlaying = true
  1207.             FinalFantasylization_InHordeTownSplintertreePost = true
  1208.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Ashenvale"] ) and (  SubZoneName == SZ["Splintertree Post"] ) and FinalFantasylization_IsPlaying == false then
  1209.             if FinalFantasylization_InHordeTownSplintertreePost == false then
  1210.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  1211.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1212.             end
  1213.             FinalFantasylization_IsPlaying = true
  1214.             FinalFantasylization_InHordeTownSplintertreePost = true
  1215.         else
  1216.             FinalFantasylization_InHordeTownSplintertreePost = false
  1217.         end
  1218.    
  1219. --'==========================================================================================      
  1220. --'  Horde Towns: Stonard, Swamp of Sorrows
  1221. --'==========================================================================================
  1222.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Swamp of Sorrows"] ) and (  SubZoneName == SZ["Stonard"] ) and FinalFantasylization_IsPlaying == false then
  1223.             if FinalFantasylization_InHordeTownStonard == false then
  1224.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1225.                 FinalFantasylization_HordeTownStonard()
  1226.             end
  1227.             FinalFantasylization_IsPlaying = true
  1228.             FinalFantasylization_InHordeTownStonard = true
  1229.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Swamp of Sorrows"] ) and (  SubZoneName == SZ["Stonard"] ) and FinalFantasylization_IsPlaying == false then
  1230.             if FinalFantasylization_InHordeTownStonard == false then
  1231.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  1232.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1233.             end
  1234.             FinalFantasylization_IsPlaying = true
  1235.             FinalFantasylization_InHordeTownStonard = true
  1236.         else
  1237.             FinalFantasylization_InHordeTownStonard = false
  1238.         end
  1239.    
  1240. --'==========================================================================================      
  1241. --'  Horde Towns: Stonebreaker Hold, Terokkar Forest
  1242. --'==========================================================================================
  1243.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Terokkar Forest"] ) and (  SubZoneName == SZ["Stonebreaker Hold"] ) and FinalFantasylization_IsPlaying == false then
  1244.             if FinalFantasylization_InHordeTownStonebreakerHold == false then
  1245.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1246.                 FinalFantasylization_HordeTownStonebreakerHold()
  1247.             end
  1248.             FinalFantasylization_IsPlaying = true
  1249.             FinalFantasylization_InHordeTownStonebreakerHold = true
  1250.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Terokkar Forest"] ) and (  SubZoneName == SZ["Stonebreaker Hold"] ) and FinalFantasylization_IsPlaying == false then
  1251.             if FinalFantasylization_InHordeTownStonebreakerHold == false then
  1252.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  1253.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1254.             end
  1255.             FinalFantasylization_IsPlaying = true
  1256.             FinalFantasylization_InHordeTownStonebreakerHold = true
  1257.         else
  1258.             FinalFantasylization_InHordeTownStonebreakerHold = false
  1259.         end
  1260.  
  1261. --'==========================================================================================      
  1262. --'  Horde Towns: Sunreaver's Command,  Crystalsong Forest
  1263. --'==========================================================================================
  1264.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Crystalsong Forest"] ) and (  SubZoneName == SZ["Sunreaver's Command"] ) and FinalFantasylization_IsPlaying == false then
  1265.             if FinalFantasylization_InHordeTownSunreaversCommand == false then
  1266.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1267.                 FinalFantasylization_HordeTownSunreaversCommand()
  1268.             end
  1269.             FinalFantasylization_IsPlaying = true
  1270.             FinalFantasylization_InHordeTownSunreaversCommand = true
  1271.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Crystalsong Forest"] ) and (  SubZoneName == SZ["Sunreaver's Command"] ) and FinalFantasylization_IsPlaying == false then
  1272.             if FinalFantasylization_InHordeTownSunreaversCommand == false then
  1273.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1274.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1275.             end
  1276.             FinalFantasylization_IsPlaying = true
  1277.             FinalFantasylization_InHordeTownSunreaversCommand = true
  1278.         else
  1279.             FinalFantasylization_InHordeTownSunreaversCommand = false
  1280.         end
  1281.        
  1282. --'==========================================================================================      
  1283. --'  Horde Towns: Sun Rock Retreat, Stonetalon Mountains
  1284. --'==========================================================================================
  1285.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Stonetalon Mountains"] ) and (  SubZoneName == SZ["Sun Rock Retreat"] ) and FinalFantasylization_IsPlaying == false then
  1286.             if FinalFantasylization_InHordeTownSunRockRetreat == false then
  1287.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1288.                 FinalFantasylization_HordeTownSunRockRetreat()
  1289.             end
  1290.             FinalFantasylization_IsPlaying = true
  1291.             FinalFantasylization_InHordeTownSunRockRetreat = true
  1292.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Stonetalon Mountains"] ) and (  SubZoneName == SZ["Sun Rock Retreat"] ) and FinalFantasylization_IsPlaying == false then
  1293.             if FinalFantasylization_InHordeTownSunRockRetreat == false then
  1294.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  1295.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1296.             end
  1297.             FinalFantasylization_IsPlaying = true
  1298.             FinalFantasylization_InHordeTownSunRockRetreat = true
  1299.         else
  1300.             FinalFantasylization_InHordeTownSunRockRetreat = false
  1301.         end
  1302.    
  1303. --'==========================================================================================      
  1304. --'  Horde Towns: Swamprat Post, Zangarmarsh
  1305. --'==========================================================================================
  1306.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Zangarmarsh"] ) and (  SubZoneName == SZ["Swamprat Post"] ) and FinalFantasylization_IsPlaying == false then
  1307.             if FinalFantasylization_InHordeTownSwampratPost == false then
  1308.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1309.                 FinalFantasylization_HordeTownSwampratPost()
  1310.             end
  1311.             FinalFantasylization_IsPlaying = true
  1312.             FinalFantasylization_InHordeTownSwampratPost = true
  1313.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Zangarmarsh"] ) and (  SubZoneName == SZ["Swamprat Post"] ) and FinalFantasylization_IsPlaying == false then
  1314.             if FinalFantasylization_InHordeTownSwampratPost == false then
  1315.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  1316.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1317.             end
  1318.             FinalFantasylization_IsPlaying = true
  1319.             FinalFantasylization_InHordeTownSwampratPost = true
  1320.         else
  1321.             FinalFantasylization_InHordeTownSwampratPost = false
  1322.         end
  1323.    
  1324. --'==========================================================================================      
  1325. --'  Horde Towns: Tarren Mill, Hillsbrad Foothills
  1326. --'==========================================================================================
  1327.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Hillsbrad Foothills"] ) and (  SubZoneName == SZ["Tarren Mill"] ) and FinalFantasylization_IsPlaying == false then
  1328.             if FinalFantasylization_InHordeTownTarrenMill == false then
  1329.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1330.                 FinalFantasylization_HordeTownTarrenMill()
  1331.             end
  1332.             FinalFantasylization_IsPlaying = true
  1333.             FinalFantasylization_InHordeTownTarrenMill = true
  1334.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Hillsbrad Foothills"] ) and (  SubZoneName == SZ["Tarren Mill"] ) and FinalFantasylization_IsPlaying == false then
  1335.             if FinalFantasylization_InHordeTownTarrenMill == false then
  1336.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  1337.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1338.             end
  1339.             FinalFantasylization_IsPlaying = true
  1340.             FinalFantasylization_InHordeTownTarrenMill = true
  1341.         else
  1342.             FinalFantasylization_InHordeTownTarrenMill = false
  1343.         end
  1344.  
  1345. --'==========================================================================================      
  1346. --'  Horde Towns: Taunka'le Village,  Borean Tundra
  1347. --'==========================================================================================
  1348.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Borean Tundra"] ) and (  SubZoneName == SZ["Taunka'le Village"] ) and FinalFantasylization_IsPlaying == false then
  1349.             if FinalFantasylization_InHordeTownTaunkaleVillage == false then
  1350.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1351.                 FinalFantasylization_HordeTownTaunkaleVillage()
  1352.             end
  1353.             FinalFantasylization_IsPlaying = true
  1354.             FinalFantasylization_InHordeTownTaunkaleVillage = true
  1355.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Borean Tundra"] ) and (  SubZoneName == SZ["Taunka'le Village"] ) and FinalFantasylization_IsPlaying == false then
  1356.             if FinalFantasylization_InHordeTownTaunkaleVillage == false then
  1357.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1358.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1359.             end
  1360.             FinalFantasylization_IsPlaying = true
  1361.             FinalFantasylization_InHordeTownTaunkaleVillage = true
  1362.         else
  1363.             FinalFantasylization_InHordeTownTaunkaleVillage = false
  1364.         end
  1365.        
  1366. --'==========================================================================================      
  1367. --'  Horde Towns: The Crossroads, The Barrens : HORDE TERRITORY
  1368. --'==========================================================================================
  1369.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["The Barrens"] ) and (  SubZoneName == SZ["The Crossroads"] ) and FinalFantasylization_IsPlaying == false then
  1370.             if FinalFantasylization_InHordeTownCrossroads == false then
  1371.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1372.                 FinalFantasylization_HordeTownCrossroads()
  1373.             end
  1374.             FinalFantasylization_IsPlaying = true
  1375.             FinalFantasylization_InHordeTownCrossroads = true
  1376.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["The Barrens"] ) and (  SubZoneName == SZ["The Crossroads"] ) and FinalFantasylization_IsPlaying == false then
  1377.             if FinalFantasylization_InHordeTownCrossroads == false then
  1378.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  1379.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1380.             end
  1381.             FinalFantasylization_IsPlaying = true
  1382.             FinalFantasylization_InHordeTownCrossroads = true
  1383.         else
  1384.             FinalFantasylization_InHordeTownCrossroads = false
  1385.         end
  1386.        
  1387. --'==========================================================================================      
  1388. --'  Horde Towns: Thrallmar, Hellfire Peninsula
  1389. --'==========================================================================================
  1390.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Hellfire Peninsula"] ) and (  SubZoneName == SZ["Thrallmar"] ) and FinalFantasylization_IsPlaying == false then
  1391.             if FinalFantasylization_InHordeTownThrallmar == false then
  1392.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1393.                 FinalFantasylization_HordeTownThrallmar()
  1394.             end
  1395.             FinalFantasylization_IsPlaying = true
  1396.             FinalFantasylization_InHordeTownThrallmar = true
  1397.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Hellfire Peninsula"] ) and (  SubZoneName == SZ["Thrallmar"] ) and FinalFantasylization_IsPlaying == false then
  1398.             if FinalFantasylization_InHordeTownThrallmar == false then
  1399.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  1400.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1401.             end
  1402.             FinalFantasylization_IsPlaying = true
  1403.             FinalFantasylization_InHordeTownThrallmar = true
  1404.         else
  1405.             FinalFantasylization_InHordeTownThrallmar = false
  1406.         end
  1407.    
  1408. --'==========================================================================================      
  1409. --'  Horde Towns: Thunderlord Stronghold, Blade's Edge Mountains
  1410. --'==========================================================================================
  1411.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Blade's Edge Mountains"] ) and (  SubZoneName == SZ["Thunderlord Stronghold"] ) and FinalFantasylization_IsPlaying == false then
  1412.             if FinalFantasylization_InHordeTownThunderlordStronghold == false then
  1413.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1414.                 FinalFantasylization_HordeTownThunderlordStronghold()
  1415.             end
  1416.             FinalFantasylization_IsPlaying = true
  1417.             FinalFantasylization_InHordeTownThunderlordStronghold = true
  1418.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Blade's Edge Mountains"] ) and (  SubZoneName == SZ["Thunderlord Stronghold"] ) and FinalFantasylization_IsPlaying == false then
  1419.             if FinalFantasylization_InHordeTownThunderlordStronghold == false then
  1420.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  1421.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1422.             end
  1423.             FinalFantasylization_IsPlaying = true
  1424.             FinalFantasylization_InHordeTownThunderlordStronghold = true
  1425.         else
  1426.             FinalFantasylization_InHordeTownThunderlordStronghold = false
  1427.         end
  1428.    
  1429. --'==========================================================================================      
  1430. --'  Horde Towns: Tranquillien, Ghostlands : HORDE TERRITORY
  1431. --'==========================================================================================
  1432.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Ghostlands"] ) and (  SubZoneName == SZ["Tranquillien"] ) and FinalFantasylization_IsPlaying == false then
  1433.             if FinalFantasylization_InHordeTownTranquillien == false then
  1434.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1435.                 FinalFantasylization_HordeTownTranquillien()
  1436.             end
  1437.             FinalFantasylization_IsPlaying = true
  1438.             FinalFantasylization_InHordeTownTranquillien = true
  1439.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Ghostlands"] ) and (  SubZoneName == SZ["Tranquillien"] ) and FinalFantasylization_IsPlaying == false then
  1440.             if FinalFantasylization_InHordeTownTranquillien == false then
  1441.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  1442.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1443.             end
  1444.             FinalFantasylization_IsPlaying = true
  1445.             FinalFantasylization_InHordeTownTranquillien = true
  1446.         else
  1447.             FinalFantasylization_InHordeTownTranquillien = false
  1448.         end
  1449.        
  1450. --'==========================================================================================      
  1451. --'  Horde Towns: Valormok, Azshara
  1452. --'==========================================================================================
  1453.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Azshara"] ) and (  SubZoneName == SZ["Valormok"] ) and FinalFantasylization_IsPlaying == false then
  1454.             if FinalFantasylization_InHordeTownValormok == false then
  1455.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1456.                 FinalFantasylization_HordeTownValormok()
  1457.             end
  1458.             FinalFantasylization_IsPlaying = true
  1459.             FinalFantasylization_InHordeTownValormok = true
  1460.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Azshara"] ) and (  SubZoneName == SZ["Valormok"] ) and FinalFantasylization_IsPlaying == false then
  1461.             if FinalFantasylization_InHordeTownValormok == false then
  1462.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  1463.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1464.             end
  1465.             FinalFantasylization_IsPlaying = true
  1466.             FinalFantasylization_InHordeTownValormok = true
  1467.         else
  1468.             FinalFantasylization_InHordeTownValormok = false
  1469.         end
  1470.  
  1471. --'==========================================================================================      
  1472. --'  Horde Towns: Vengeance Landing,  Howling Fjord
  1473. --'==========================================================================================
  1474.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Howling Fjord"] ) and (  SubZoneName == SZ["Vengeance Landing"] ) and FinalFantasylization_IsPlaying == false then
  1475.             if FinalFantasylization_InHordeTownVengeanceLanding == false then
  1476.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1477.                 FinalFantasylization_HordeTownVengeanceLanding()
  1478.             end
  1479.             FinalFantasylization_IsPlaying = true
  1480.             FinalFantasylization_InHordeTownVengeanceLanding = true
  1481.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Howling Fjord"] ) and (  SubZoneName == SZ["Vengeance Landing"] ) and FinalFantasylization_IsPlaying == false then
  1482.             if FinalFantasylization_InHordeTownVengeanceLanding == false then
  1483.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1484.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1485.             end
  1486.             FinalFantasylization_IsPlaying = true
  1487.             FinalFantasylization_InHordeTownVengeanceLanding = true
  1488.         else
  1489.             FinalFantasylization_InHordeTownVengeanceLanding = false
  1490.         end
  1491.        
  1492. --'==========================================================================================      
  1493. --'  Horde Towns: Venomspite,  Dragonblight
  1494. --'==========================================================================================
  1495.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName ==Z["Dragonblight"] ) and (  SubZoneName == SZ["Venomspite"] ) and FinalFantasylization_IsPlaying == false then
  1496.             if FinalFantasylization_InHordeTownVenomspite == false then
  1497.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1498.                 FinalFantasylization_HordeTownVenomspite()
  1499.             end
  1500.             FinalFantasylization_IsPlaying = true
  1501.             FinalFantasylization_InHordeTownVenomspite = true
  1502.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName ==Z["Dragonblight"] ) and (  SubZoneName == SZ["Venomspite"] ) and FinalFantasylization_IsPlaying == false then
  1503.             if FinalFantasylization_InHordeTownVenomspite == false then
  1504.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1505.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1506.             end
  1507.             FinalFantasylization_IsPlaying = true
  1508.             FinalFantasylization_InHordeTownVenomspite = true
  1509.         else
  1510.             FinalFantasylization_InHordeTownVenomspite = false
  1511.         end
  1512.        
  1513. --'==========================================================================================      
  1514. --'  Horde Towns: Warsong Hold,  Borean Tundra
  1515. --'==========================================================================================
  1516.         if (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Borean Tundra"] ) and (  SubZoneName == SZ["Warsong Hold"] ) and FinalFantasylization_IsPlaying == false then
  1517.             if FinalFantasylization_InHordeTownWarsongHold == false then
  1518.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1519.                 FinalFantasylization_HordeTownWarsongHold()
  1520.             end
  1521.             FinalFantasylization_IsPlaying = true
  1522.             FinalFantasylization_InHordeTownWarsongHold = true
  1523.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Borean Tundra"] ) and (  SubZoneName == SZ["Warsong Hold"] ) and FinalFantasylization_IsPlaying == false then
  1524.             if FinalFantasylization_InHordeTownWarsongHold == false then
  1525.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
  1526.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1527.             end
  1528.             FinalFantasylization_IsPlaying = true
  1529.             FinalFantasylization_InHordeTownWarsongHold = true
  1530.         else
  1531.             FinalFantasylization_InHordeTownWarsongHold = false
  1532.         end
  1533.        
  1534. --'==========================================================================================      
  1535. --'  Horde Towns: Zabra'jin, Zangarmarsh
  1536. --'==========================================================================================
  1537.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Zangarmarsh"] ) and (  SubZoneName == SZ["Zabra'jin"] ) and FinalFantasylization_IsPlaying == false then
  1538.             if FinalFantasylization_InHordeTownZabrajin == false then
  1539.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1540.                 FinalFantasylization_HordeTownZabrajin()
  1541.             end
  1542.             FinalFantasylization_IsPlaying = true
  1543.             FinalFantasylization_InHordeTownZabrajin = true
  1544.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Zangarmarsh"] ) and (  SubZoneName == SZ["Zabra'jin"] ) and FinalFantasylization_IsPlaying == false then
  1545.             if FinalFantasylization_InHordeTownZabrajin == false then
  1546.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  1547.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1548.             end
  1549.             FinalFantasylization_IsPlaying = true
  1550.             FinalFantasylization_InHordeTownZabrajin = true
  1551.         else
  1552.             FinalFantasylization_InHordeTownZabrajin = false
  1553.         end
  1554.    
  1555. --'==========================================================================================      
  1556. --'  Horde Towns: Zoram'gar Outpost, Ashenvale
  1557. --'==========================================================================================
  1558.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Ashenvale"] ) and (  SubZoneName == SZ["Zoram'gar Outpost"] ) and FinalFantasylization_IsPlaying == false then
  1559.             if FinalFantasylization_InHordeTownZoramgarOutpost == false then
  1560.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1561.                 FinalFantasylization_HordeTownZoramgarOutpost()
  1562.             end
  1563.             FinalFantasylization_IsPlaying = true
  1564.             FinalFantasylization_InHordeTownZoramgarOutpost = true
  1565.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Ashenvale"] ) and (  SubZoneName == SZ["Zoram'gar Outpost"] ) and FinalFantasylization_IsPlaying == false then
  1566.             if FinalFantasylization_InHordeTownZoramgarOutpost == false then
  1567.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  1568.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1569.             end
  1570.             FinalFantasylization_IsPlaying = true
  1571.             FinalFantasylization_InHordeTownZoramgarOutpost = true
  1572.         else
  1573.             FinalFantasylization_InHordeTownZoramgarOutpost = false
  1574.         end
  1575.  
  1576.  
  1577. --'==========================================================================================      
  1578. --'  Horde Towns: Ghost Walker Post, Desolace
  1579. --'==========================================================================================
  1580.                
  1581.         if not ( IsResting() ) and (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Desolace"] ) and (  SubZoneName == SZ["Ghost Walker Post"] ) and FinalFantasylization_IsPlaying == false then
  1582.             if FinalFantasylization_InHordeTownGhostWalkerPost == false then
  1583.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1584.                 FinalFantasylization_HordeTownGhostWalkerPost()
  1585.             end
  1586.             FinalFantasylization_IsPlaying = true
  1587.             FinalFantasylization_InHordeTownGhostWalkerPost = true
  1588.         elseif (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Desolace"] ) and (  SubZoneName == SZ["Ghost Walker Post"] ) and FinalFantasylization_IsPlaying == false then
  1589.             if FinalFantasylization_InHordeTownGhostWalkerPost == false then
  1590.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  1591.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1592.             end
  1593.             FinalFantasylization_IsPlaying = true
  1594.             FinalFantasylization_InHordeTownGhostWalkerPost = true
  1595.         else
  1596.             FinalFantasylization_InHordeTownGhostWalkerPost = false
  1597.         end    
  1598.        
  1599. --###########################################################################################
  1600. --###########################################################################################
  1601. --##
  1602. --##            ALLIANCE TOWNS
  1603. --##
  1604. --###########################################################################################
  1605. --###########################################################################################
  1606.  
  1607. --'==========================================================================================      
  1608. --'  Alliance Towns: Aerie Peak, The Hinterlands
  1609. --'==========================================================================================
  1610.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["The Hinterlands"] ) and (  SubZoneName == SZ["Aerie Peak"] ) and FinalFantasylization_IsPlaying == false then
  1611.             if FinalFantasylization_InAllianceTownAeriePeak == false then
  1612.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1613.                 FinalFantasylization_AllianceTownAeriePeak()
  1614.             end
  1615.             FinalFantasylization_IsPlaying = true
  1616.             FinalFantasylization_InAllianceTownAeriePeak = true
  1617.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["The Hinterlands"] ) and (  SubZoneName == SZ["Aerie Peak"] ) and FinalFantasylization_IsPlaying == false then
  1618.             if FinalFantasylization_InAllianceTownAeriePeak == false then
  1619.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  1620.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1621.             end
  1622.             FinalFantasylization_IsPlaying = true
  1623.             FinalFantasylization_InAllianceTownAeriePeak = true
  1624.         else
  1625.             FinalFantasylization_InAllianceTownAeriePeak = false
  1626.         end
  1627.    
  1628. --'==========================================================================================      
  1629. --'  Alliance Towns: Allerian Stronghold, Terokkar Forest
  1630. --'==========================================================================================
  1631.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Terokkar Forest"] ) and (  SubZoneName == SZ["Allerian Stronghold"] ) and FinalFantasylization_IsPlaying == false then
  1632.             if FinalFantasylization_InAllianceTownAllerianStronghold == false then
  1633.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1634.                 FinalFantasylization_AllianceTownAllerianStronghold()
  1635.             end
  1636.             FinalFantasylization_IsPlaying = true
  1637.             FinalFantasylization_InAllianceTownAllerianStronghold = true
  1638.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Terokkar Forest"] ) and (  SubZoneName == SZ["Allerian Stronghold"] ) and FinalFantasylization_IsPlaying == false then
  1639.             if FinalFantasylization_InAllianceTownAllerianStronghold == false then
  1640.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  1641.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1642.             end
  1643.             FinalFantasylization_IsPlaying = true
  1644.             FinalFantasylization_InAllianceTownAllerianStronghold = true
  1645.         else
  1646.             FinalFantasylization_InAllianceTownAllerianStronghold = false
  1647.         end
  1648.  
  1649. --'==========================================================================================      
  1650. --'  Alliance Towns: Amberpine Lodge, Grizzly Hills
  1651. --'==========================================================================================
  1652.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Grizzly Hills"] ) and (  SubZoneName == SZ["Amberpine Lodge"] ) and FinalFantasylization_IsPlaying == false then
  1653.             if FinalFantasylization_InAllianceTownAmberpineLodge == false then
  1654.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1655.                 FinalFantasylization_AllianceTownAmberpineLodge()
  1656.             end
  1657.             FinalFantasylization_IsPlaying = true
  1658.             FinalFantasylization_InAllianceTownAmberpineLodge = true
  1659.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Grizzly Hills"] ) and (  SubZoneName == SZ["Amberpine Lodge"] ) and FinalFantasylization_IsPlaying == false then
  1660.             if FinalFantasylization_InAllianceTownAmberpineLodge == false then
  1661.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  1662.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1663.             end
  1664.             FinalFantasylization_IsPlaying = true
  1665.             FinalFantasylization_InAllianceTownAmberpineLodge = true
  1666.         else
  1667.             FinalFantasylization_InAllianceTownAmberpineLodge = false
  1668.         end
  1669.        
  1670. --'==========================================================================================      
  1671. --'  Alliance Towns: Astranaar, Ashenvale
  1672. --'==========================================================================================
  1673.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Ashenvale"] ) and (  SubZoneName == SZ["Astranaar"] ) and FinalFantasylization_IsPlaying == false then
  1674.             if FinalFantasylization_InAllianceTownAstranaar == false then
  1675.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1676.                 FinalFantasylization_AllianceTownAstranaar()
  1677.             end
  1678.             FinalFantasylization_IsPlaying = true
  1679.             FinalFantasylization_InAllianceTownAstranaar = true
  1680.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Ashenvale"] ) and (  SubZoneName == SZ["Astranaar"] ) and FinalFantasylization_IsPlaying == false then
  1681.             if FinalFantasylization_InAllianceTownAstranaar == false then
  1682.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  1683.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1684.             end
  1685.             FinalFantasylization_IsPlaying = true
  1686.             FinalFantasylization_InAllianceTownAstranaar = true
  1687.         else
  1688.             FinalFantasylization_InAllianceTownAstranaar = false
  1689.         end
  1690.    
  1691. --'==========================================================================================      
  1692. --'  Alliance Towns: Auberdine, Darkshore : ALLIANCE TERRITORY
  1693. --'==========================================================================================
  1694.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Darkshore"] ) and (  SubZoneName == SZ["Auberdine"] ) and FinalFantasylization_IsPlaying == false then
  1695.             if FinalFantasylization_InAllianceTownAuberdine == false then
  1696.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1697.                 FinalFantasylization_AllianceTownAuberdine()
  1698.             end
  1699.             FinalFantasylization_IsPlaying = true
  1700.             FinalFantasylization_InAllianceTownAuberdine = true
  1701.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Darkshore"] ) and (  SubZoneName == SZ["Auberdine"] ) and FinalFantasylization_IsPlaying == false then
  1702.             if FinalFantasylization_InAllianceTownAuberdine == false then
  1703.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  1704.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1705.             end
  1706.             FinalFantasylization_IsPlaying = true
  1707.             FinalFantasylization_InAllianceTownAuberdine = true
  1708.         else
  1709.             FinalFantasylization_InAllianceTownAuberdine = false
  1710.         end
  1711.        
  1712. --'==========================================================================================      
  1713. --'  Alliance Towns: Azure Watch, Azuremyst Isle : ALLIANCE TERRITORY
  1714. --'==========================================================================================
  1715.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Azuremyst Isle"] ) and (  SubZoneName == SZ["Azure Watch"] ) and FinalFantasylization_IsPlaying == false then
  1716.             if FinalFantasylization_InAllianceTownAzureWatch == false then
  1717.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1718.                 FinalFantasylization_AllianceTownAzureWatch()
  1719.             end
  1720.             FinalFantasylization_IsPlaying = true
  1721.             FinalFantasylization_InAllianceTownAzureWatch = true
  1722.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Azuremyst Isle"] ) and (  SubZoneName == SZ["Azure Watch"] ) and FinalFantasylization_IsPlaying == false then
  1723.             if FinalFantasylization_InAllianceTownAzureWatch == false then
  1724.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  1725.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1726.             end
  1727.             FinalFantasylization_IsPlaying = true
  1728.             FinalFantasylization_InAllianceTownAzureWatch = true
  1729.         else
  1730.             FinalFantasylization_InAllianceTownAzureWatch = false
  1731.         end
  1732.        
  1733. --'==========================================================================================      
  1734. --'  Alliance Towns: Blood Watch, Bloodmyst Isle : ALLIANCE TERRITORY
  1735. --'==========================================================================================
  1736.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Bloodmyst Isle"] ) and (  SubZoneName == SZ["Blood Watch"] ) and FinalFantasylization_IsPlaying == false then
  1737.             if FinalFantasylization_InAllianceTownBloodWatch == false then
  1738.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1739.                 FinalFantasylization_AllianceTownBloodWatch()
  1740.             end
  1741.             FinalFantasylization_IsPlaying = true
  1742.             FinalFantasylization_InAllianceTownBloodWatch = true
  1743.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Bloodmyst Isle"] ) and (  SubZoneName == SZ["Blood Watch"] ) and FinalFantasylization_IsPlaying == false then
  1744.             if FinalFantasylization_InAllianceTownBloodWatch == false then
  1745.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  1746.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1747.             end
  1748.             FinalFantasylization_IsPlaying = true
  1749.             FinalFantasylization_InAllianceTownBloodWatch = true
  1750.         else
  1751.             FinalFantasylization_InAllianceTownBloodWatch = false
  1752.         end
  1753.        
  1754. --'==========================================================================================      
  1755. --'  Alliance Towns: Chillwind Camp, Western Plaguelands
  1756. --'==========================================================================================
  1757.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Western Plaguelands"] ) and (  SubZoneName == SZ["Chillwind Camp"] ) and FinalFantasylization_IsPlaying == false then
  1758.             if FinalFantasylization_InAllianceTownChillwindCamp == false then
  1759.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1760.                 FinalFantasylization_AllianceTownChillwindCamp()
  1761.             end
  1762.             FinalFantasylization_IsPlaying = true
  1763.             FinalFantasylization_InAllianceTownChillwindCamp = true
  1764.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Western Plaguelands"] ) and (  SubZoneName == SZ["Chillwind Camp"] ) and FinalFantasylization_IsPlaying == false then
  1765.             if FinalFantasylization_InAllianceTownChillwindCamp == false then
  1766.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  1767.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1768.             end
  1769.             FinalFantasylization_IsPlaying = true
  1770.             FinalFantasylization_InAllianceTownChillwindCamp = true
  1771.         else
  1772.             FinalFantasylization_InAllianceTownChillwindCamp = false
  1773.         end
  1774.    
  1775. --'==========================================================================================      
  1776. --'  Alliance Towns: Darkshire, Duskwood
  1777. --'==========================================================================================
  1778.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Duskwood"] ) and (  SubZoneName == SZ["Darkshire"] ) and FinalFantasylization_IsPlaying == false then
  1779.             if FinalFantasylization_InAllianceTownDarkshire == false then
  1780.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1781.                 FinalFantasylization_AllianceTownDarkshire()
  1782.             end
  1783.             FinalFantasylization_IsPlaying = true
  1784.             FinalFantasylization_InAllianceTownDarkshire = true
  1785.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Duskwood"] ) and (  SubZoneName == SZ["Darkshire"] ) and FinalFantasylization_IsPlaying == false then
  1786.             if FinalFantasylization_InAllianceTownDarkshire == false then
  1787.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  1788.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1789.             end
  1790.             FinalFantasylization_IsPlaying = true
  1791.             FinalFantasylization_InAllianceTownDarkshire = true
  1792.         else
  1793.             FinalFantasylization_InAllianceTownDarkshire = false
  1794.         end
  1795.    
  1796. --'==========================================================================================      
  1797. --'  Alliance Towns: Dolanaar, Teldrassil : ALLIANCE TERRITORY
  1798. --'==========================================================================================
  1799.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Teldrassil"] ) and (  SubZoneName == SZ["Dolanaar"] ) and FinalFantasylization_IsPlaying == false then
  1800.             if FinalFantasylization_InAllianceTownDolanaar == false then
  1801.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1802.                 FinalFantasylization_AllianceTownDolanaar()
  1803.             end
  1804.             FinalFantasylization_IsPlaying = true
  1805.             FinalFantasylization_InAllianceTownDolanaar = true
  1806.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Teldrassil"] ) and (  SubZoneName == SZ["Dolanaar"] ) and FinalFantasylization_IsPlaying == false then
  1807.             if FinalFantasylization_InAllianceTownDolanaar == false then
  1808.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  1809.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1810.             end
  1811.             FinalFantasylization_IsPlaying = true
  1812.             FinalFantasylization_InAllianceTownDolanaar = true
  1813.         else
  1814.             FinalFantasylization_InAllianceTownDolanaar = false
  1815.         end
  1816.  
  1817. --'==========================================================================================      
  1818. --'  Alliance Towns: Explorers' League Outpost, Howling Fjord
  1819. --'==========================================================================================
  1820.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Howling Fjord"] ) and ( SubZoneName == SZ["Explorers' League Outpost"] ) and FinalFantasylization_IsPlaying == false then
  1821.             if FinalFantasylization_InAllianceTownExplorersLeagueOutpost == false then
  1822.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1823.                 FinalFantasylization_AllianceTownExplorersLeagueOutpost()
  1824.             end
  1825.             FinalFantasylization_IsPlaying = true
  1826.             FinalFantasylization_InAllianceTownExplorersLeagueOutpost = true
  1827.         elseif (  factionEnglish == F["Horde"] ) and ( ZoneName == Z["Howling Fjord"] ) and ( SubZoneName == SZ["Explorers' League Outpost"] ) and FinalFantasylization_IsPlaying == false then
  1828.             if FinalFantasylization_InAllianceTownExplorersLeagueOutpost == false then
  1829.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  1830.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1831.             end
  1832.             FinalFantasylization_IsPlaying = true
  1833.             FinalFantasylization_InAllianceTownExplorersLeagueOutpost = true
  1834.         else
  1835.             FinalFantasylization_InAllianceTownExplorersLeagueOutpost = false
  1836.         end
  1837.        
  1838. --'==========================================================================================      
  1839. --'  Alliance Towns: Feathermoon Stronghold, Feralas
  1840. --'==========================================================================================
  1841.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Feralas"] ) and (  SubZoneName == SZ["Feathermoon Stronghold"] ) and FinalFantasylization_IsPlaying == false then
  1842.             if FinalFantasylization_InAllianceTownFeathermoonStronghold == false then
  1843.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1844.                 FinalFantasylization_AllianceTownFeathermoonStronghold()
  1845.             end
  1846.             FinalFantasylization_IsPlaying = true
  1847.             FinalFantasylization_InAllianceTownFeathermoonStronghold = true
  1848.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Feralas"] ) and (  SubZoneName == SZ["Feathermoon Stronghold"] ) and FinalFantasylization_IsPlaying == false then
  1849.             if FinalFantasylization_InAllianceTownFeathermoonStronghold == false then
  1850.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  1851.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1852.             end
  1853.             FinalFantasylization_IsPlaying = true
  1854.             FinalFantasylization_InAllianceTownFeathermoonStronghold = true
  1855.         else
  1856.             FinalFantasylization_InAllianceTownFeathermoonStronghold = false
  1857.         end
  1858.  
  1859. --'==========================================================================================      
  1860. --'  Alliance Towns: Fizzcrank Airstrip, Borean Tundra
  1861. --'==========================================================================================
  1862.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Borean Tundra"] ) and (  SubZoneName == SZ["Fizzcrank Airstrip"] ) and FinalFantasylization_IsPlaying == false then
  1863.             if FinalFantasylization_InAllianceTownFizzcrankAirstrip == false then
  1864.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1865.                 FinalFantasylization_AllianceTownFizzcrankAirstrip()
  1866.             end
  1867.             FinalFantasylization_IsPlaying = true
  1868.             FinalFantasylization_InAllianceTownFizzcrankAirstrip = true
  1869.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Borean Tundra"] ) and (  SubZoneName == SZ["Fizzcrank Airstrip"] ) and FinalFantasylization_IsPlaying == false then
  1870.             if FinalFantasylization_InAllianceTownFizzcrankAirstrip == false then
  1871.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  1872.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1873.             end
  1874.             FinalFantasylization_IsPlaying = true
  1875.             FinalFantasylization_InAllianceTownFizzcrankAirstrip = true
  1876.         else
  1877.             FinalFantasylization_InAllianceTownFizzcrankAirstrip = false
  1878.         end
  1879.  
  1880. --'==========================================================================================      
  1881. --'  Alliance Towns: Fordragon Hold, Dragonblight
  1882. --'==========================================================================================
  1883.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName ==Z["Dragonblight"] ) and (  SubZoneName == SZ["Fordragon Hold"] ) and FinalFantasylization_IsPlaying == false then
  1884.             if FinalFantasylization_InAllianceTownFordragonHold == false then
  1885.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1886.                 FinalFantasylization_AllianceTownFordragonHold()
  1887.             end
  1888.             FinalFantasylization_IsPlaying = true
  1889.             FinalFantasylization_InAllianceTownFordragonHold = true
  1890.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName ==Z["Dragonblight"] ) and (  SubZoneName == SZ["Fordragon Hold"] ) and FinalFantasylization_IsPlaying == false then
  1891.             if FinalFantasylization_InAllianceTownFordragonHold == false then
  1892.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  1893.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1894.             end
  1895.             FinalFantasylization_IsPlaying = true
  1896.             FinalFantasylization_InAllianceTownFordragonHold = true
  1897.         else
  1898.             FinalFantasylization_InAllianceTownFordragonHold = false
  1899.         end
  1900.        
  1901. --'==========================================================================================      
  1902. --'  Alliance Towns: Forest Song, Ashenvale
  1903. --'==========================================================================================
  1904.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Ashenvale"] ) and (  SubZoneName == SZ["Forest Song"] ) and FinalFantasylization_IsPlaying == false then
  1905.             if FinalFantasylization_InAllianceTownForestSong == false then
  1906.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1907.                 FinalFantasylization_AllianceTownForestSong()
  1908.             end
  1909.             FinalFantasylization_IsPlaying = true
  1910.             FinalFantasylization_InAllianceTownForestSong = true
  1911.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Ashenvale"] ) and (  SubZoneName == SZ["Forest Song"] ) and FinalFantasylization_IsPlaying == false then
  1912.             if FinalFantasylization_InAllianceTownForestSong == false then
  1913.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  1914.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1915.             end
  1916.             FinalFantasylization_IsPlaying = true
  1917.             FinalFantasylization_InAllianceTownForestSong = true
  1918.         else
  1919.             FinalFantasylization_InAllianceTownForestSong = false
  1920.         end
  1921.  
  1922. --'==========================================================================================      
  1923. --'  Alliance Towns: Fort Wildervar, Howling Fjord
  1924. --'==========================================================================================
  1925.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Howling Fjord"] ) and ( ( SubZoneName == SZ["Fort Wildervar"] ) or ( SubZoneName == SZ["Fort Wildevar"] ) ) and FinalFantasylization_IsPlaying == false then
  1926.             if FinalFantasylization_InAllianceTownFortWildervar == false then
  1927.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1928.                 FinalFantasylization_AllianceTownFortWildervar()
  1929.             end
  1930.             FinalFantasylization_IsPlaying = true
  1931.             FinalFantasylization_InAllianceTownFortWildervar = true
  1932.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Howling Fjord"] ) and ( ( SubZoneName == SZ["Fort Wildervar"] ) or ( SubZoneName == SZ["Fort Wildevar"] ) ) and FinalFantasylization_IsPlaying == false then
  1933.             if FinalFantasylization_InAllianceTownFortWildervar == false then
  1934.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  1935.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1936.             end
  1937.             FinalFantasylization_IsPlaying = true
  1938.             FinalFantasylization_InAllianceTownFortWildervar = true
  1939.         else
  1940.             FinalFantasylization_InAllianceTownFortWildervar = false
  1941.         end
  1942.  
  1943. --'==========================================================================================      
  1944. --'  Alliance Towns: Frosthold, The Storm Peaks
  1945. --'==========================================================================================
  1946.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["The Storm Peaks"] ) and (  SubZoneName == SZ["Frosthold"] ) and FinalFantasylization_IsPlaying == false then
  1947.             if FinalFantasylization_InAllianceTownFrosthold == false then
  1948.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1949.                 FinalFantasylization_AllianceTownFrosthold()
  1950.             end
  1951.             FinalFantasylization_IsPlaying = true
  1952.             FinalFantasylization_InAllianceTownFrosthold = true
  1953.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["The Storm Peaks"] ) and (  SubZoneName == SZ["Frosthold"] ) and FinalFantasylization_IsPlaying == false then
  1954.             if FinalFantasylization_InAllianceTownFrosthold == false then
  1955.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  1956.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1957.             end
  1958.             FinalFantasylization_IsPlaying = true
  1959.             FinalFantasylization_InAllianceTownFrosthold = true
  1960.         else
  1961.             FinalFantasylization_InAllianceTownFrosthold = false
  1962.         end
  1963.        
  1964. --'==========================================================================================      
  1965. --'  Alliance Towns: Goldshire, Elwynn Forest : ALLIANCE TERRITORY
  1966. --'==========================================================================================
  1967.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Elwynn Forest"] ) and (  SubZoneName == SZ["Goldshire"] ) and FinalFantasylization_IsPlaying == false then
  1968.             if FinalFantasylization_InAllianceTownGoldshire == false then
  1969.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1970.                 FinalFantasylization_AllianceTownGoldshire()
  1971.             end
  1972.             FinalFantasylization_IsPlaying = true
  1973.             FinalFantasylization_InAllianceTownGoldshire = true
  1974.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Elwynn Forest"] ) and (  SubZoneName == SZ["Goldshire"] ) and FinalFantasylization_IsPlaying == false then
  1975.             if FinalFantasylization_InAllianceTownAuberdine == false then
  1976.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  1977.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1978.             end
  1979.             FinalFantasylization_IsPlaying = true
  1980.             FinalFantasylization_InAllianceTownGoldshire = true
  1981.         else
  1982.             FinalFantasylization_InAllianceTownGoldshire = false
  1983.         end
  1984.        
  1985. --'==========================================================================================      
  1986. --'  Alliance Towns: Honor Hold, Hellfire Peninsula
  1987. --'==========================================================================================
  1988.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Hellfire Peninsula"] ) and (  SubZoneName == SZ["Honor Hold"] ) and FinalFantasylization_IsPlaying == false then
  1989.             if FinalFantasylization_InAllianceTownHonorHold == false then
  1990.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  1991.                 FinalFantasylization_AllianceTownHonorHold()
  1992.             end
  1993.             FinalFantasylization_IsPlaying = true
  1994.             FinalFantasylization_InAllianceTownHonorHold = true
  1995.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Hellfire Peninsula"] ) and (  SubZoneName == SZ["Honor Hold"] ) and FinalFantasylization_IsPlaying == false then
  1996.             if FinalFantasylization_InAllianceTownHonorHold == false then
  1997.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  1998.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  1999.             end
  2000.             FinalFantasylization_IsPlaying = true
  2001.             FinalFantasylization_InAllianceTownHonorHold = true
  2002.         else
  2003.             FinalFantasylization_InAllianceTownHonorHold = false
  2004.         end
  2005.    
  2006. --'==========================================================================================      
  2007. --'  Alliance Towns: Kharanos, Dun Morogh : ALLIANCE TERRITORY
  2008. --'==========================================================================================
  2009.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Dun Morogh"] ) and (  SubZoneName == SZ["Kharanos"] ) and FinalFantasylization_IsPlaying == false then
  2010.             if FinalFantasylization_InAllianceTownKharanos == false then
  2011.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2012.                 FinalFantasylization_AllianceTownKharanos()
  2013.             end
  2014.             FinalFantasylization_IsPlaying = true
  2015.             FinalFantasylization_InAllianceTownKharanos = true
  2016.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Dun Morogh"] ) and (  SubZoneName == SZ["Kharanos"] ) and FinalFantasylization_IsPlaying == false then
  2017.             if FinalFantasylization_InAllianceTownKharanos == false then
  2018.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  2019.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  2020.             end
  2021.             FinalFantasylization_IsPlaying = true
  2022.             FinalFantasylization_InAllianceTownKharanos = true
  2023.         else
  2024.             FinalFantasylization_InAllianceTownKharanos = false
  2025.         end
  2026.        
  2027. --'==========================================================================================      
  2028. --'  Alliance Towns: Lakeshire, Redridge Mountains
  2029. --'==========================================================================================
  2030.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Redridge Mountains"] ) and (  SubZoneName == SZ["Lakeshire"] ) and FinalFantasylization_IsPlaying == false then
  2031.             if FinalFantasylization_InAllianceTownLakeshire == false then
  2032.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2033.                 FinalFantasylization_AllianceTownLakeshire()
  2034.             end
  2035.             FinalFantasylization_IsPlaying = true
  2036.             FinalFantasylization_InAllianceTownLakeshire = true
  2037.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Redridge Mountains"] ) and (  SubZoneName == SZ["Lakeshire"] ) and FinalFantasylization_IsPlaying == false then
  2038.             if FinalFantasylization_InAllianceTownLakeshire == false then
  2039.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  2040.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  2041.             end
  2042.             FinalFantasylization_IsPlaying = true
  2043.             FinalFantasylization_InAllianceTownLakeshire = true
  2044.         else
  2045.             FinalFantasylization_InAllianceTownLakeshire = false
  2046.         end
  2047.    
  2048. --'==========================================================================================      
  2049. --'  Alliance Towns: Menethil Harbor, Wetlands
  2050. --'==========================================================================================
  2051.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Wetlands"] ) and (  SubZoneName == SZ["Menethil Harbor"] ) and FinalFantasylization_IsPlaying == false then
  2052.             if FinalFantasylization_InAllianceTownMenethilHarbor == false then
  2053.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2054.                 FinalFantasylization_AllianceTownMenethilHarbor()
  2055.             end
  2056.             FinalFantasylization_IsPlaying = true
  2057.             FinalFantasylization_InAllianceTownMenethilHarbor = true
  2058.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Wetlands"] ) and (  SubZoneName == SZ["Menethil Harbor"] ) and FinalFantasylization_IsPlaying == false then
  2059.             if FinalFantasylization_InAllianceTownMenethilHarbor == false then
  2060.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  2061.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  2062.             end
  2063.             FinalFantasylization_IsPlaying = true
  2064.             FinalFantasylization_InAllianceTownMenethilHarbor = true
  2065.         else
  2066.             FinalFantasylization_InAllianceTownMenethilHarbor = false
  2067.         end
  2068.    
  2069. --'==========================================================================================      
  2070. --'  Alliance Towns: Morgan's Vigil, Burning Steppes
  2071. --'==========================================================================================
  2072.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Burning Steppes"] ) and (  SubZoneName == SZ["Morgan's Vigil"] ) and FinalFantasylization_IsPlaying == false then
  2073.             if FinalFantasylization_InAllianceTownMorgansVigil == false then
  2074.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2075.                 FinalFantasylization_AllianceTownMorgansVigil()
  2076.             end
  2077.             FinalFantasylization_IsPlaying = true
  2078.             FinalFantasylization_InAllianceTownMorgansVigil = true
  2079.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Burning Steppes"] ) and (  SubZoneName == SZ["Morgan's Vigil"] ) and FinalFantasylization_IsPlaying == false then
  2080.             if FinalFantasylization_InAllianceTownMorgansVigil == false then
  2081.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  2082.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  2083.             end
  2084.             FinalFantasylization_IsPlaying = true
  2085.             FinalFantasylization_InAllianceTownMorgansVigil = true
  2086.         else
  2087.             FinalFantasylization_InAllianceTownMorgansVigil = false
  2088.         end
  2089.    
  2090. --'==========================================================================================      
  2091. --'  Alliance Towns: Nethergarde Keep, Blasted Lands
  2092. --'==========================================================================================
  2093.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Blasted Lands"] ) and (  SubZoneName == SZ["Nethergarde Keep"] ) and FinalFantasylization_IsPlaying == false then
  2094.             if FinalFantasylization_InAllianceTownNethergardeKeep == false then
  2095.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2096.                 FinalFantasylization_AllianceTownNethergardeKeep()
  2097.             end
  2098.             FinalFantasylization_IsPlaying = true
  2099.             FinalFantasylization_InAllianceTownNethergardeKeep = true
  2100.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Blasted Lands"] ) and (  SubZoneName == SZ["Nethergarde Keep"] ) and FinalFantasylization_IsPlaying == false then
  2101.             if FinalFantasylization_InAllianceTownNethergardeKeep == false then
  2102.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  2103.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  2104.             end
  2105.             FinalFantasylization_IsPlaying = true
  2106.             FinalFantasylization_InAllianceTownNethergardeKeep = true
  2107.         else
  2108.             FinalFantasylization_InAllianceTownNethergardeKeep = false
  2109.         end
  2110.    
  2111. --'==========================================================================================      
  2112. --'  Alliance Towns: Nijel's Point, Desolace
  2113. --'==========================================================================================
  2114.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Desolace"] ) and (  SubZoneName == SZ["Nijel's Point"] ) and FinalFantasylization_IsPlaying == false then
  2115.             if FinalFantasylization_InAllianceTownNijelsPoint == false then
  2116.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2117.                 FinalFantasylization_AllianceTownNijelsPoint()
  2118.             end
  2119.             FinalFantasylization_IsPlaying = true
  2120.             FinalFantasylization_InAllianceTownNijelsPoint = true
  2121.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Desolace"] ) and (  SubZoneName == SZ["Nijel's Point"] ) and FinalFantasylization_IsPlaying == false then
  2122.             if FinalFantasylization_InAllianceTownNijelsPoint == false then
  2123.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  2124.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  2125.             end
  2126.             FinalFantasylization_IsPlaying = true
  2127.             FinalFantasylization_InAllianceTownNijelsPoint = true
  2128.         else
  2129.             FinalFantasylization_InAllianceTownNijelsPoint = false
  2130.         end
  2131.    
  2132. --'==========================================================================================      
  2133. --'  Alliance Towns: Orebor Harborage, Zangarmarsh
  2134. --'==========================================================================================
  2135.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Zangarmarsh"] ) and (  SubZoneName == SZ["Orebor Harborage"] ) and FinalFantasylization_IsPlaying == false then
  2136.             if FinalFantasylization_InAllianceTownOreborHarborage == false then
  2137.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2138.                 FinalFantasylization_AllianceTownOreborHarborage()
  2139.             end
  2140.             FinalFantasylization_IsPlaying = true
  2141.             FinalFantasylization_InAllianceTownOreborHarborage = true
  2142.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Zangarmarsh"] ) and (  SubZoneName == SZ["Orebor Harborage"] ) and FinalFantasylization_IsPlaying == false then
  2143.             if FinalFantasylization_InAllianceTownOreborHarborage == false then
  2144.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  2145.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  2146.             end
  2147.             FinalFantasylization_IsPlaying = true
  2148.             FinalFantasylization_InAllianceTownOreborHarborage = true
  2149.         else
  2150.             FinalFantasylization_InAllianceTownOreborHarborage = false
  2151.         end
  2152.    
  2153. --'==========================================================================================      
  2154. --'  Alliance Towns: Rebel Camp, Stranglethorn Vale
  2155. --'==========================================================================================
  2156.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Stranglethorn Vale"] ) and (  SubZoneName == SZ["Rebel Camp"] ) and FinalFantasylization_IsPlaying == false then
  2157.             if FinalFantasylization_InAllianceTownRebelCamp == false then
  2158.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2159.                 FinalFantasylization_AllianceTownRebelCamp()
  2160.             end
  2161.             FinalFantasylization_IsPlaying = true
  2162.             FinalFantasylization_InAllianceTownRebelCamp = true
  2163.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Stranglethorn Vale"] ) and (  SubZoneName == SZ["Rebel Camp"] ) and FinalFantasylization_IsPlaying == false then
  2164.             if FinalFantasylization_InAllianceTownRebelCamp == false then
  2165.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  2166.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  2167.             end
  2168.             FinalFantasylization_IsPlaying = true
  2169.             FinalFantasylization_InAllianceTownRebelCamp = true
  2170.         else
  2171.             FinalFantasylization_InAllianceTownRebelCamp = false
  2172.         end
  2173.    
  2174. --'==========================================================================================      
  2175. --'  Alliance Towns: Refuge Pointe, Arathi Highlands
  2176. --'==========================================================================================
  2177.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Arathi Highlands"] ) and (  SubZoneName == SZ["Refuge Pointe"] ) and FinalFantasylization_IsPlaying == false then
  2178.             if FinalFantasylization_InAllianceTownRefugePointe == false then
  2179.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2180.                 FinalFantasylization_AllianceTownRefugePointe()
  2181.             end
  2182.             FinalFantasylization_IsPlaying = true
  2183.             FinalFantasylization_InAllianceTownRefugePointe = true
  2184.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Arathi Highlands"] ) and (  SubZoneName == SZ["Refuge Pointe"] ) and FinalFantasylization_IsPlaying == false then
  2185.             if FinalFantasylization_InAllianceTownRefugePointe == false then
  2186.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  2187.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  2188.             end
  2189.             FinalFantasylization_IsPlaying = true
  2190.             FinalFantasylization_InAllianceTownRefugePointe = true
  2191.         else
  2192.             FinalFantasylization_InAllianceTownRefugePointe = false
  2193.         end
  2194.    
  2195. --'==========================================================================================      
  2196. --'  Alliance Towns: Sentinel Hill, Westfall : ALLIANCE TERRITORY
  2197. --'==========================================================================================
  2198.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Westfall"] ) and (  SubZoneName == SZ["Sentinel Hill"] ) and FinalFantasylization_IsPlaying == false then
  2199.             if FinalFantasylization_InAllianceTownSentinelHill == false then
  2200.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2201.                 FinalFantasylization_AllianceTownSentinelHill()
  2202.             end
  2203.             FinalFantasylization_IsPlaying = true
  2204.             FinalFantasylization_InAllianceTownSentinelHill = true
  2205.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Westfall"] ) and (  SubZoneName == SZ["Sentinel Hill"] ) and FinalFantasylization_IsPlaying == false then
  2206.             if FinalFantasylization_InAllianceTownSentinelHill == false then
  2207.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  2208.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  2209.             end
  2210.             FinalFantasylization_IsPlaying = true
  2211.             FinalFantasylization_InAllianceTownSentinelHill = true
  2212.         else
  2213.             FinalFantasylization_InAllianceTownSentinelHill = false
  2214.         end
  2215.        
  2216. --'==========================================================================================      
  2217. --'  Alliance Towns: Southshore, Hillsbrad Foothills
  2218. --'==========================================================================================
  2219.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Hillsbrad Foothills"] ) and (  SubZoneName == SZ["Southshore"] ) and FinalFantasylization_IsPlaying == false then
  2220.             if FinalFantasylization_InAllianceTownSouthshore == false then
  2221.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2222.                 FinalFantasylization_AllianceTownSouthshore()
  2223.             end
  2224.             FinalFantasylization_IsPlaying = true
  2225.             FinalFantasylization_InAllianceTownSouthshore = true
  2226.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Hillsbrad Foothills"] ) and (  SubZoneName == SZ["Southshore"] ) and FinalFantasylization_IsPlaying == false then
  2227.             if FinalFantasylization_InAllianceTownSouthshore == false then
  2228.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  2229.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  2230.             end
  2231.             FinalFantasylization_IsPlaying = true
  2232.             FinalFantasylization_InAllianceTownSouthshore = true
  2233.         else
  2234.             FinalFantasylization_InAllianceTownSouthshore = false
  2235.         end
  2236.  
  2237. --'==========================================================================================      
  2238. --'  Alliance Towns: Stars' Rest, Dragonblight
  2239. --'==========================================================================================
  2240.         if not ( IsResting() ) and ( ZoneName ==Z["Dragonblight"] ) and ( ( SubZoneName == SZ["Star's Rest"] ) or ( SubZoneName == SZ["Stars' Rest"] ) ) and FinalFantasylization_IsPlaying == false then
  2241.             if FinalFantasylization_InAllianceTownStarsRest == false then
  2242.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2243.                 FinalFantasylization_AllianceTownStarsRest()
  2244.             end
  2245.             FinalFantasylization_IsPlaying = true
  2246.             FinalFantasylization_InAllianceTownStarsRest = true
  2247.         else
  2248.             FinalFantasylization_InAllianceTownStarsRest = false
  2249.         end
  2250.        
  2251. --'==========================================================================================      
  2252. --'  Alliance Towns: Stonetalon Peak, Stonetalon Mountains
  2253. --'==========================================================================================
  2254.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Stonetalon Mountains"] ) and (  SubZoneName == SZ["Stonetalon Peak"] ) and FinalFantasylization_IsPlaying == false then
  2255.             if FinalFantasylization_InAllianceTownStonetalonPeak == false then
  2256.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2257.                 FinalFantasylization_AllianceTownStonetalonPeak()
  2258.             end
  2259.             FinalFantasylization_IsPlaying = true
  2260.             FinalFantasylization_InAllianceTownStonetalonPeak = true
  2261.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Stonetalon Mountains"] ) and (  SubZoneName == SZ["Stonetalon Peak"] ) and FinalFantasylization_IsPlaying == false then
  2262.             if FinalFantasylization_InAllianceTownStonetalonPeak == false then
  2263.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  2264.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  2265.             end
  2266.             FinalFantasylization_IsPlaying = true
  2267.             FinalFantasylization_InAllianceTownStonetalonPeak = true
  2268.         else
  2269.             FinalFantasylization_InAllianceTownStonetalonPeak = false
  2270.         end
  2271.    
  2272. --'==========================================================================================      
  2273. --'  Alliance Towns: Sylvanaar, Blade's Edge Mountains
  2274. --'==========================================================================================
  2275.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Blade's Edge Mountains"] ) and (  SubZoneName == SZ["Sylvanaar"] ) and FinalFantasylization_IsPlaying == false then
  2276.             if FinalFantasylization_InAllianceTownSylvanaar == false then
  2277.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2278.                 FinalFantasylization_AllianceTownSylvanaar()
  2279.             end
  2280.             FinalFantasylization_IsPlaying = true
  2281.             FinalFantasylization_InAllianceTownSylvanaar = true
  2282.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Blade's Edge Mountains"] ) and (  SubZoneName == SZ["Sylvanaar"] ) and FinalFantasylization_IsPlaying == false then
  2283.             if FinalFantasylization_InAllianceTownSylvanaar == false then
  2284.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  2285.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  2286.             end
  2287.             FinalFantasylization_IsPlaying = true
  2288.             FinalFantasylization_InAllianceTownSylvanaar = true
  2289.         else
  2290.             FinalFantasylization_InAllianceTownSylvanaar = false
  2291.         end
  2292.    
  2293. --'==========================================================================================      
  2294. --'  Alliance Towns: Talonbranch Glade, Felwood
  2295. --'==========================================================================================
  2296.         if not ( IsResting() ) and ( ZoneName == Z["Felwood"] ) and ( SubZoneName == SZ["Talonbranch Glade"] ) and FinalFantasylization_IsPlaying == false then
  2297.             if FinalFantasylization_InAllianceTownTalonbranchGlade == false then
  2298.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2299.                 FinalFantasylization_AllianceTownTalonbranchGlade()
  2300.             end
  2301.             FinalFantasylization_IsPlaying = true
  2302.             FinalFantasylization_InAllianceTownTalonbranchGlade = true
  2303.         else
  2304.             FinalFantasylization_InAllianceTownTalonbranchGlade = false
  2305.         end    
  2306.    
  2307. --'==========================================================================================      
  2308. --'  Alliance Towns: Talrendis Point, Azshara
  2309. --'==========================================================================================
  2310.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Azshara"] ) and (  SubZoneName == SZ["Talrendis Point"] ) and FinalFantasylization_IsPlaying == false then
  2311.             if FinalFantasylization_InAllianceTownTalrendisPoint == false then
  2312.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2313.                 FinalFantasylization_AllianceTownTalrendisPoint()
  2314.             end
  2315.             FinalFantasylization_IsPlaying = true
  2316.             FinalFantasylization_InAllianceTownTalrendisPoint = true
  2317.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Azshara"] ) and (  SubZoneName == SZ["Talrendis Point"] ) and FinalFantasylization_IsPlaying == false then
  2318.             if FinalFantasylization_InAllianceTownTalrendisPoint == false then
  2319.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  2320.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  2321.             end
  2322.             FinalFantasylization_IsPlaying = true
  2323.             FinalFantasylization_InAllianceTownTalrendisPoint = true
  2324.         else
  2325.             FinalFantasylization_InAllianceTownTalrendisPoint = false
  2326.         end
  2327.    
  2328. --'==========================================================================================      
  2329. --'  Alliance Towns: Telaar, Nagrand
  2330. --'==========================================================================================
  2331.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Nagrand"] ) and (  SubZoneName == SZ["Telaar"] ) and FinalFantasylization_IsPlaying == false then
  2332.             if FinalFantasylization_InAllianceTownTelaar == false then
  2333.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2334.                 FinalFantasylization_AllianceTownTelaar()
  2335.             end
  2336.             FinalFantasylization_IsPlaying = true
  2337.             FinalFantasylization_InAllianceTownTelaar = true
  2338.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Nagrand"] ) and (  SubZoneName == SZ["Telaar"] ) and FinalFantasylization_IsPlaying == false then
  2339.             if FinalFantasylization_InAllianceTownTelaar == false then
  2340.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  2341.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  2342.             end
  2343.             FinalFantasylization_IsPlaying = true
  2344.             FinalFantasylization_InAllianceTownTelaar = true
  2345.         else
  2346.             FinalFantasylization_InAllianceTownTelaar = false
  2347.         end
  2348.    
  2349. --'==========================================================================================      
  2350. --'  Alliance Towns: Telredor, Zangarmarsh
  2351. --'==========================================================================================
  2352.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Zangarmarsh"] ) and (  SubZoneName == SZ["Telredor"] ) and FinalFantasylization_IsPlaying == false then
  2353.             if FinalFantasylization_InAllianceTownTelredor == false then
  2354.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2355.                 FinalFantasylization_AllianceTownTelredor()
  2356.             end
  2357.             FinalFantasylization_IsPlaying = true
  2358.             FinalFantasylization_InAllianceTownTelredor = true
  2359.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Zangarmarsh"] ) and (  SubZoneName == SZ["Telredor"] ) and FinalFantasylization_IsPlaying == false then
  2360.             if FinalFantasylization_InAllianceTownTelredor == false then
  2361.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  2362.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  2363.             end
  2364.             FinalFantasylization_IsPlaying = true
  2365.             FinalFantasylization_InAllianceTownTelredor = true
  2366.         else
  2367.             FinalFantasylization_InAllianceTownTelredor = false
  2368.         end
  2369.    
  2370. --'==========================================================================================      
  2371. --'  Alliance Towns: Temple of Telhamat, Hellfire Peninsula
  2372. --'==========================================================================================
  2373.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Hellfire Peninsula"] ) and (  SubZoneName == SZ["Temple of Telhamat"] ) and FinalFantasylization_IsPlaying == false then
  2374.             if FinalFantasylization_InAllianceTownTempleOfTelhamat == false then
  2375.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2376.                 FinalFantasylization_AllianceTownTempleOfTelhamat()
  2377.             end
  2378.             FinalFantasylization_IsPlaying = true
  2379.             FinalFantasylization_InAllianceTownTempleOfTelhamat = true
  2380.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Hellfire Peninsula"] ) and (  SubZoneName == SZ["Temple of Telhamat"] ) and FinalFantasylization_IsPlaying == false then
  2381.             if FinalFantasylization_InAllianceTownTempleOfTelhamat == false then
  2382.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  2383.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  2384.             end
  2385.             FinalFantasylization_IsPlaying = true
  2386.             FinalFantasylization_InAllianceTownTempleOfTelhamat = true
  2387.         else
  2388.             FinalFantasylization_InAllianceTownTempleOfTelhamat = false
  2389.         end
  2390.    
  2391. --'==========================================================================================      
  2392. --'  Alliance Towns: Thalanaar, Feralas
  2393. --'==========================================================================================
  2394.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Feralas"] ) and (  SubZoneName == SZ["Thalanaar"] ) and FinalFantasylization_IsPlaying == false then
  2395.             if FinalFantasylization_InAllianceTownThalanaar == false then
  2396.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2397.                 FinalFantasylization_AllianceTownThalanaar()
  2398.             end
  2399.             FinalFantasylization_IsPlaying = true
  2400.             FinalFantasylization_InAllianceTownThalanaar = true
  2401.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Feralas"] ) and (  SubZoneName == SZ["Thalanaar"] ) and FinalFantasylization_IsPlaying == false then
  2402.             if FinalFantasylization_InAllianceTownThalanaar == false then
  2403.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  2404.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  2405.             end
  2406.             FinalFantasylization_IsPlaying = true
  2407.             FinalFantasylization_InAllianceTownThalanaar = true
  2408.         else
  2409.             FinalFantasylization_InAllianceTownThalanaar = false
  2410.         end
  2411.    
  2412. --'==========================================================================================      
  2413. --'  Alliance Towns: Thelsamar, Loch Modan : ALLIANCE TERRITORY
  2414. --'==========================================================================================
  2415.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Loch Modan"] ) and (  SubZoneName == SZ["Thelsamar"] ) and FinalFantasylization_IsPlaying == false then
  2416.             if FinalFantasylization_InAllianceTownThelsamar == false then
  2417.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2418.                 FinalFantasylization_AllianceTownThelsamar()
  2419.             end
  2420.             FinalFantasylization_IsPlaying = true
  2421.             FinalFantasylization_InAllianceTownThelsamar = true
  2422.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Loch Modan"] ) and (  SubZoneName == SZ["Thelsamar"] ) and FinalFantasylization_IsPlaying == false then
  2423.             if FinalFantasylization_InAllianceTownThelsamar == false then
  2424.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  2425.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  2426.             end
  2427.             FinalFantasylization_IsPlaying = true
  2428.             FinalFantasylization_InAllianceTownThelsamar = true
  2429.         else
  2430.             FinalFantasylization_InAllianceTownThelsamar = false
  2431.         end
  2432.        
  2433. --'==========================================================================================      
  2434. --'  Alliance Towns: Theramore Isle, Dustwallow Marsh
  2435. --'==========================================================================================
  2436.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Dustwallow Marsh"] ) and (  SubZoneName == SZ["Theramore Isle"] ) and FinalFantasylization_IsPlaying == false then
  2437.             if FinalFantasylization_InAllianceTownTheramoreIsle == false then
  2438.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2439.                 FinalFantasylization_AllianceTownTheramoreIsle()
  2440.             end
  2441.             FinalFantasylization_IsPlaying = true
  2442.             FinalFantasylization_InAllianceTownTheramoreIsle = true
  2443.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Dustwallow Marsh"] ) and (  SubZoneName == SZ["Theramore Isle"] ) and FinalFantasylization_IsPlaying == false then
  2444.             if FinalFantasylization_InAllianceTownTheramoreIsle == false then
  2445.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  2446.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  2447.             end
  2448.             FinalFantasylization_IsPlaying = true
  2449.             FinalFantasylization_InAllianceTownTheramoreIsle = true
  2450.         else
  2451.             FinalFantasylization_InAllianceTownTheramoreIsle = false
  2452.         end
  2453.    
  2454. --'==========================================================================================      
  2455. --'  Alliance Towns: Toshley's Station, Blade's Edge Mountains
  2456. --'==========================================================================================
  2457.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Blade's Edge Mountains"] ) and (  SubZoneName == SZ["Toshley's Station"] ) and FinalFantasylization_IsPlaying == false then
  2458.             if FinalFantasylization_InAllianceTownToshleysStation == false then
  2459.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2460.                 FinalFantasylization_AllianceTownToshleysStation()
  2461.             end
  2462.             FinalFantasylization_IsPlaying = true
  2463.             FinalFantasylization_InAllianceTownToshleysStation = true
  2464.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Blade's Edge Mountains"] ) and (  SubZoneName == SZ["Toshley's Station"] ) and FinalFantasylization_IsPlaying == false then
  2465.             if FinalFantasylization_InAllianceTownToshleysStation == false then
  2466.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  2467.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  2468.             end
  2469.             FinalFantasylization_IsPlaying = true
  2470.             FinalFantasylization_InAllianceTownToshleysStation = true
  2471.         else
  2472.             FinalFantasylization_InAllianceTownToshleysStation = false
  2473.         end
  2474.  
  2475. --'==========================================================================================      
  2476. --'  Alliance Towns: Valiance Keep, Borean Tundra
  2477. --'==========================================================================================
  2478.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Borean Tundra"] ) and ( (  SubZoneName == SZ["Valiance Keep"] ) or (  SubZoneName == SZ["The Stormbreaker"] ) ) and FinalFantasylization_IsPlaying == false then
  2479.             if FinalFantasylization_InAllianceTownValianceKeep == false then
  2480.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2481.                 FinalFantasylization_AllianceTownValianceKeep()
  2482.             end
  2483.             FinalFantasylization_IsPlaying = true
  2484.             FinalFantasylization_InAllianceTownValianceKeep = true
  2485.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Borean Tundra"] ) and ( ( SubZoneName == SZ["Valiance Keep"] ) or ( SubZoneName == SZ["The Stormbreaker"] ) ) and FinalFantasylization_IsPlaying == false then
  2486.             if FinalFantasylization_InAllianceTownValianceKeep == false then
  2487.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  2488.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  2489.             end
  2490.             FinalFantasylization_IsPlaying = true
  2491.             FinalFantasylization_InAllianceTownValianceKeep = true
  2492.         else
  2493.             FinalFantasylization_InAllianceTownValianceKeep = false
  2494.         end
  2495.  
  2496. --'==========================================================================================      
  2497. --'  Alliance Towns: Valgarde, Howling Fjord
  2498. --'==========================================================================================
  2499.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Howling Fjord"] ) and (  SubZoneName == SZ["Valgarde"] ) and FinalFantasylization_IsPlaying == false then
  2500.             if FinalFantasylization_InAllianceTownValgarde == false then
  2501.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2502.                 FinalFantasylization_AllianceTownValgarde()
  2503.             end
  2504.             FinalFantasylization_IsPlaying = true
  2505.             FinalFantasylization_InAllianceTownValgarde = true
  2506.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Howling Fjord"] ) and (  SubZoneName == SZ["Valgarde"] ) and FinalFantasylization_IsPlaying == false then
  2507.             if FinalFantasylization_InAllianceTownValgarde == false then
  2508.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  2509.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  2510.             end
  2511.             FinalFantasylization_IsPlaying = true
  2512.             FinalFantasylization_InAllianceTownValgarde = true
  2513.         else
  2514.             FinalFantasylization_InAllianceTownValgarde = false
  2515.         end
  2516.  
  2517. --'==========================================================================================      
  2518. --'  Alliance Towns: Westfall Brigade Encampment, Grizzly Hills
  2519. --'==========================================================================================
  2520.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Grizzly Hills"] ) and (  SubZoneName == SZ["Westfall Brigade Encampment"] ) and FinalFantasylization_IsPlaying == false then
  2521.             if FinalFantasylization_InAllianceTownWestfallBrigadeEncampment == false then
  2522.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2523.                 FinalFantasylization_AllianceTownWestfallBrigadeEncampment()
  2524.             end
  2525.             FinalFantasylization_IsPlaying = true
  2526.             FinalFantasylization_InAllianceTownWestfallBrigadeEncampment = true
  2527.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Grizzly Hills"] ) and (  SubZoneName == SZ["Westfall Brigade Encampment"] ) and FinalFantasylization_IsPlaying == false then
  2528.             if FinalFantasylization_InAllianceTownWestfallBrigadeEncampment == false then
  2529.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  2530.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  2531.             end
  2532.             FinalFantasylization_IsPlaying = true
  2533.             FinalFantasylization_InAllianceTownWestfallBrigadeEncampment = true
  2534.         else
  2535.             FinalFantasylization_InAllianceTownWestfallBrigadeEncampment = false
  2536.         end
  2537.  
  2538. --'==========================================================================================      
  2539. --'  Alliance Towns: Westguard Keep, Howling Fjord
  2540. --'==========================================================================================
  2541.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Howling Fjord"] ) and (  SubZoneName == SZ["Westguard Keep"] ) and FinalFantasylization_IsPlaying == false then
  2542.             if FinalFantasylization_InAllianceTownWestguardKeep == false then
  2543.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2544.                 FinalFantasylization_AllianceTownWestguardKeep()
  2545.             end
  2546.             FinalFantasylization_IsPlaying = true
  2547.             FinalFantasylization_InAllianceTownWestguardKeep = true
  2548.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Howling Fjord"] ) and (  SubZoneName == SZ["Westguard Keep"] ) and FinalFantasylization_IsPlaying == false then
  2549.             if FinalFantasylization_InAllianceTownWestguardKeep == false then
  2550.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  2551.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  2552.             end
  2553.             FinalFantasylization_IsPlaying = true
  2554.             FinalFantasylization_InAllianceTownWestguardKeep = true
  2555.         else
  2556.             FinalFantasylization_InAllianceTownWestguardKeep = false
  2557.         end
  2558.        
  2559. --'==========================================================================================      
  2560. --'  Alliance Towns: Wildhammer Stronghold, Shadowmoon Valley
  2561. --'==========================================================================================
  2562.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Shadowmoon Valley"] ) and (  SubZoneName == SZ["Wildhammer Stronghold"] ) and FinalFantasylization_IsPlaying == false then
  2563.             if FinalFantasylization_InAllianceTownWildhammerStronghold == false then
  2564.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2565.                 FinalFantasylization_AllianceTownWildhammerStronghold()
  2566.             end
  2567.             FinalFantasylization_IsPlaying = true
  2568.             FinalFantasylization_InAllianceTownWildhammerStronghold = true
  2569.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Shadowmoon Valley"] ) and (  SubZoneName == SZ["Wildhammer Stronghold"] ) and FinalFantasylization_IsPlaying == false then
  2570.             if FinalFantasylization_InAllianceTownWildhammerStronghold == false then
  2571.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  2572.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  2573.             end
  2574.             FinalFantasylization_IsPlaying = true
  2575.             FinalFantasylization_InAllianceTownWildhammerStronghold = true
  2576.         else
  2577.             FinalFantasylization_InAllianceTownWildhammerStronghold = false
  2578.         end
  2579.  
  2580. --'==========================================================================================      
  2581. --'  Alliance Towns: Windrunner's Overlook, Crystalsong Forest
  2582. --'==========================================================================================
  2583.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Crystalsong Forest"] ) and (  SubZoneName == SZ["Windrunner's Overlook"] ) and FinalFantasylization_IsPlaying == false then
  2584.             if FinalFantasylization_InAllianceTownWindrunnersOverlook == false then
  2585.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2586.                 FinalFantasylization_AllianceTownWindrunnersOverlook()
  2587.             end
  2588.             FinalFantasylization_IsPlaying = true
  2589.             FinalFantasylization_InAllianceTownWindrunnersOverlook = true
  2590.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Crystalsong Forest"] ) and (  SubZoneName == SZ["Windrunner's Overlook"] ) and FinalFantasylization_IsPlaying == false then
  2591.             if FinalFantasylization_InAllianceTownWindrunnersOverlook == false then
  2592.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  2593.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  2594.             end
  2595.             FinalFantasylization_IsPlaying = true
  2596.             FinalFantasylization_InAllianceTownWindrunnersOverlook = true
  2597.         else
  2598.             FinalFantasylization_InAllianceTownWindrunnersOverlook = false
  2599.         end
  2600.  
  2601. --'==========================================================================================      
  2602. --'  Alliance Towns: Wintergarde Keep, Dragonblight
  2603. --'==========================================================================================
  2604.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName ==Z["Dragonblight"] ) and ( (  SubZoneName == SZ["Wintergarde Keep"] ) or (  SubZoneName == SZ["The Carrion Fields"] ) or (  SubZoneName == SZ["Wintergarde Mausoleum"] ) or (  SubZoneName == SZ["Wintergarde Crypt"] ) or (  SubZoneName == SZ["Thorson's Post"] ) or (  SubZoneName == SZ["Wintergarde Mine"] ) ) and FinalFantasylization_IsPlaying == false then
  2605.             if FinalFantasylization_InAllianceTownWintergardeKeep == false then
  2606.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2607.                 FinalFantasylization_AllianceTownWintergardeKeep()
  2608.             end
  2609.             FinalFantasylization_IsPlaying = true
  2610.             FinalFantasylization_InAllianceTownWintergardeKeep = true
  2611.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName ==Z["Dragonblight"] ) and ( (  SubZoneName == SZ["Wintergarde Keep"] ) or (  SubZoneName == SZ["The Carrion Fields"] ) or (  SubZoneName == SZ["Wintergarde Mausoleum"] ) or (  SubZoneName == SZ["Wintergarde Crypt"] ) or (  SubZoneName == SZ["Thorson's Post"] ) or (  SubZoneName == SZ["Wintergarde Mine"] ) ) and FinalFantasylization_IsPlaying == false then
  2612.             if FinalFantasylization_InAllianceTownWintergardeKeep == false then
  2613.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  2614.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  2615.             end
  2616.             FinalFantasylization_IsPlaying = true
  2617.             FinalFantasylization_InAllianceTownWintergardeKeep = true
  2618.         else
  2619.             FinalFantasylization_InAllianceTownWintergardeKeep = false
  2620.         end
  2621.        
  2622. --'==========================================================================================      
  2623. --'  Alliance Towns: Brewnall Village, Dun Morogh
  2624. --'==========================================================================================
  2625.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Dun Morogh"] ) and (  SubZoneName == SZ["Brewnall Village"] ) and FinalFantasylization_IsPlaying == false then
  2626.             if FinalFantasylization_InAllianceTownBrewnallVillage == false then
  2627.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2628.                 FinalFantasylization_AllianceTownBrewnallVillage()
  2629.             end
  2630.             FinalFantasylization_IsPlaying = true
  2631.             FinalFantasylization_InAllianceTownBrewnallVillage = true
  2632.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Dun Morogh"] ) and (  SubZoneName == SZ["Brewnall Village"] ) and FinalFantasylization_IsPlaying == false then
  2633.             if FinalFantasylization_InAllianceTownBrewnallVillage == false then
  2634.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  2635.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  2636.             end
  2637.             FinalFantasylization_IsPlaying = true
  2638.             FinalFantasylization_InAllianceTownBrewnallVillage = true
  2639.         else
  2640.             FinalFantasylization_InAllianceTownBrewnallVillage = false
  2641.         end    
  2642.                
  2643. --'==========================================================================================      
  2644. --'  Alliance Towns: Eastvale Logging Camp, Elwynn Forest
  2645. --'==========================================================================================
  2646.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Elwynn Forest"] ) and (  SubZoneName == SZ["Eastvale Logging Camp"] ) and FinalFantasylization_IsPlaying == false then
  2647.             if FinalFantasylization_InAllianceTownEastvaleLoggingCamp == false then
  2648.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2649.                 FinalFantasylization_AllianceTownEastvaleLoggingCamp()
  2650.             end
  2651.             FinalFantasylization_IsPlaying = true
  2652.             FinalFantasylization_InAllianceTownEastvaleLoggingCamp = true
  2653.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Elwynn Forest"] ) and (  SubZoneName == SZ["Eastvale Logging Camp"] ) and FinalFantasylization_IsPlaying == false then
  2654.             if FinalFantasylization_InAllianceTownEastvaleLoggingCamp == false then
  2655.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  2656.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  2657.             end
  2658.             FinalFantasylization_IsPlaying = true
  2659.             FinalFantasylization_InAllianceTownEastvaleLoggingCamp = true
  2660.         else
  2661.             FinalFantasylization_InAllianceTownEastvaleLoggingCamp = false
  2662.         end    
  2663.  
  2664. --'==========================================================================================      
  2665. --'  Alliance Towns: Pyrewood Village, Silverpine Forest
  2666. --'==========================================================================================
  2667.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Silverpine Forest"] ) and (  SubZoneName == SZ["Pyrewood Village"] ) and FinalFantasylization_IsPlaying == false then
  2668.             if FinalFantasylization_InAllianceTownPyrewoodVillage == false then
  2669.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2670.                 FinalFantasylization_AllianceTownPyrewoodVillage()
  2671.             end
  2672.             FinalFantasylization_IsPlaying = true
  2673.             FinalFantasylization_InAllianceTownPyrewoodVillage = true
  2674.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Silverpine Forest"] ) and (  SubZoneName == SZ["Pyrewood Village"] ) and FinalFantasylization_IsPlaying == false then
  2675.             if FinalFantasylization_InAllianceTownPyrewoodVillage == false then
  2676.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  2677.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  2678.             end
  2679.             FinalFantasylization_IsPlaying = true
  2680.             FinalFantasylization_InAllianceTownPyrewoodVillage = true
  2681.         else
  2682.             FinalFantasylization_InAllianceTownPyrewoodVillage = false
  2683.         end    
  2684.  
  2685. --'==========================================================================================      
  2686. --'  Alliance Towns: Rut'theran Village, Teldrassil
  2687. --'==========================================================================================
  2688.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Teldrassil"] ) and ( ( SubZoneName == SZ["Rut'theran Village"] ) or ( SubZoneName == SZ["Rut'Theran Village"] ) ) and FinalFantasylization_IsPlaying == false then
  2689.             if FinalFantasylization_InAllianceTownRuttheranVillage == false then
  2690.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2691.                 FinalFantasylization_AllianceTownRuttheranVillage()
  2692.             end
  2693.             FinalFantasylization_IsPlaying = true
  2694.             FinalFantasylization_InAllianceTownRuttheranVillage = true
  2695.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Teldrassil"] ) and ( ( SubZoneName == SZ["Rut'theran Village"] ) or ( SubZoneName == SZ["Rut'Theran Village"] ) ) and FinalFantasylization_IsPlaying == false then
  2696.             if FinalFantasylization_InAllianceTownRuttheranVillage == false then
  2697.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  2698.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  2699.             end
  2700.             FinalFantasylization_IsPlaying = true
  2701.             FinalFantasylization_InAllianceTownRuttheranVillage = true
  2702.         else
  2703.             FinalFantasylization_InAllianceTownRuttheranVillage = false
  2704.         end    
  2705.            
  2706. --'==========================================================================================      
  2707. --'  Alliance Towns: Bael Modan, The Barrens
  2708. --'==========================================================================================
  2709.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["The Barrens"] ) and ( SubZoneName == SZ["Bael Modan"] ) and FinalFantasylization_IsPlaying == false then
  2710.             if FinalFantasylization_InAllianceTownBaelModan == false then
  2711.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2712.                 FinalFantasylization_AllianceTownBaelModan()
  2713.             end
  2714.             FinalFantasylization_IsPlaying = true
  2715.             FinalFantasylization_InAllianceTownBaelModan = true
  2716.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["The Barrens"] ) and ( SubZoneName == SZ["Bael Modan"] ) and FinalFantasylization_IsPlaying == false then
  2717.             if FinalFantasylization_InAllianceTownBaelModan == false then
  2718.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  2719.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  2720.             end
  2721.             FinalFantasylization_IsPlaying = true
  2722.             FinalFantasylization_InAllianceTownBaelModan = true
  2723.         else
  2724.             FinalFantasylization_InAllianceTownBaelModan = false
  2725.         end
  2726.  
  2727. --'==========================================================================================      
  2728. --'  Alliance Towns: Starfall Village, Winterspring
  2729. --'==========================================================================================
  2730.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Winterspring"] ) and (  SubZoneName == SZ["Starfall Village"] ) and FinalFantasylization_IsPlaying == false then
  2731.             if FinalFantasylization_InAllianceTownStarfallVillage == false then
  2732.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2733.                 FinalFantasylization_AllianceTownStarfallVillage()
  2734.             end
  2735.             FinalFantasylization_IsPlaying = true
  2736.             FinalFantasylization_InAllianceTownStarfallVillage = true
  2737.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Winterspring"] ) and (  SubZoneName == SZ["Starfall Village"] ) and FinalFantasylization_IsPlaying == false then
  2738.             if FinalFantasylization_InAllianceTownStarfallVillage == false then
  2739.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  2740.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  2741.             end
  2742.             FinalFantasylization_IsPlaying = true
  2743.             FinalFantasylization_InAllianceTownStarfallVillage = true
  2744.         else
  2745.             FinalFantasylization_InAllianceTownStarfallVillage = false
  2746.         end    
  2747.  
  2748. --'==========================================================================================      
  2749. --'  Alliance Towns: The Maclure Vineyards, Elwynn Forest
  2750. --'==========================================================================================
  2751.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Elwynn Forest"] ) and (  SubZoneName == SZ["The Maclure Vineyards"] ) and FinalFantasylization_IsPlaying == false then
  2752.             if FinalFantasylization_InAllianceTownMaclureVineyards == false then
  2753.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2754.                 FinalFantasylization_AllianceTownMaclureVineyards()
  2755.             end
  2756.             FinalFantasylization_IsPlaying = true
  2757.             FinalFantasylization_InAllianceTownMaclureVineyards = true
  2758.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Elwynn Forest"] ) and (  SubZoneName == SZ["The Maclure Vineyards"] ) and FinalFantasylization_IsPlaying == false then
  2759.             if FinalFantasylization_InAllianceTownMaclureVineyards == false then
  2760.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  2761.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  2762.             end
  2763.             FinalFantasylization_IsPlaying = true
  2764.             FinalFantasylization_InAllianceTownMaclureVineyards = true
  2765.         else
  2766.             FinalFantasylization_InAllianceTownMaclureVineyards = false
  2767.         end
  2768.  
  2769. --'==========================================================================================      
  2770. --'  Alliance Towns: Hillsbrad Fields, Hillsbrad Foothills
  2771. --'==========================================================================================
  2772.         if not ( IsResting() ) and (  factionEnglish == F["Alliance"] ) and (  ZoneName == Z["Hillsbrad Foothills"] ) and (  SubZoneName == SZ["Hillsbrad Fields"] ) and FinalFantasylization_IsPlaying == false then
  2773.             if FinalFantasylization_InAllianceTownHillsbradFields == false then
  2774.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2775.                 FinalFantasylization_AllianceTownHillsbradFields()
  2776.             end
  2777.             FinalFantasylization_IsPlaying = true
  2778.             FinalFantasylization_InAllianceTownHillsbradFields = true
  2779.         elseif (  factionEnglish == F["Horde"] ) and (  ZoneName == Z["Hillsbrad Foothills"] ) and (  SubZoneName == SZ["Hillsbrad Fields"] ) and FinalFantasylization_IsPlaying == false then
  2780.             if FinalFantasylization_InAllianceTownHillsbradFields == false then
  2781.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
  2782.                 FinalFantasylization_HostileTowns()  -- Music call for all towns you are hostile in.
  2783.             end
  2784.             FinalFantasylization_IsPlaying = true
  2785.             FinalFantasylization_InAllianceTownHillsbradFields = true
  2786.         else
  2787.             FinalFantasylization_InAllianceTownHillsbradFields = false
  2788.         end    
  2789.        
  2790. --###########################################################################################
  2791. --###########################################################################################
  2792. --##
  2793. --##            NEUTRAL TOWNS
  2794. --##
  2795. --###########################################################################################
  2796. --###########################################################################################
  2797.  
  2798. --'==========================================================================================      
  2799. --'  Neutral Towns: Altar of Sha'tar, Shadowmoon Valley
  2800. --'==========================================================================================
  2801.         if not ( IsResting() ) and (  ZoneName == Z["Shadowmoon Valley"] ) and (  SubZoneName == SZ["Altar of Sha'tar"] ) and FinalFantasylization_IsPlaying == false then
  2802.             if FinalFantasylization_InNeutralTownAltarOfShatar == false then
  2803.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2804.                 FinalFantasylization_NeutralTownAltarOfShatar()
  2805.             end
  2806.             FinalFantasylization_IsPlaying = true
  2807.             FinalFantasylization_InNeutralTownAltarOfShatar = true
  2808.         else
  2809.             FinalFantasylization_InNeutralTownAltarOfShatar = false
  2810.         end
  2811.  
  2812. --'==========================================================================================      
  2813. --'  Neutral Towns: Amber Ledge, Borean Tundra
  2814. --'==========================================================================================
  2815.         if not ( IsResting() ) and (  ZoneName == Z["Borean Tundra"] ) and (  SubZoneName == SZ["Amber Ledge"] ) and FinalFantasylization_IsPlaying == false then
  2816.             if FinalFantasylization_InNeutralTownAmberLedge == false then
  2817.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2818.                 FinalFantasylization_NeutralTownAmberLedge()
  2819.             end
  2820.             FinalFantasylization_IsPlaying = true
  2821.             FinalFantasylization_InNeutralTownAmberLedge = true
  2822.         else
  2823.             FinalFantasylization_InNeutralTownAmberLedge = false
  2824.         end
  2825.  
  2826. --'==========================================================================================      
  2827. --'  Neutral Towns: Argent Tournament Grounds, Icecrown
  2828. --'==========================================================================================
  2829.         if not ( IsResting() ) and (  ZoneName == Z["Icecrown"] ) and (  SubZoneName == SZ["Argent Tournament Grounds"] ) and FinalFantasylization_IsPlaying == false then
  2830.             if FinalFantasylization_InNeutralTownArgentTournamentGrounds == false then
  2831.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2832.                 FinalFantasylization_NeutralTownArgentTournamentGrounds()
  2833.             end
  2834.             FinalFantasylization_IsPlaying = true
  2835.             FinalFantasylization_InNeutralTownArgentTournamentGrounds = true
  2836.         else
  2837.             FinalFantasylization_InNeutralTownArgentTournamentGrounds = false
  2838.         end
  2839.  
  2840. --'==========================================================================================      
  2841. --'  Neutral Towns: Argent Vanguard , Icecrown
  2842. --'==========================================================================================
  2843.         if not ( IsResting() ) and (  ZoneName == Z["Icecrown"] ) and (  SubZoneName == SZ["Argent Vanguard"] ) and FinalFantasylization_IsPlaying == false then
  2844.             if FinalFantasylization_InNeutralTownArgentVanguard == false then
  2845.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2846.                 FinalFantasylization_NeutralTownArgentVanguard()
  2847.             end
  2848.             FinalFantasylization_IsPlaying = true
  2849.             FinalFantasylization_InNeutralTownArgentVanguard = true
  2850.         else
  2851.             FinalFantasylization_InNeutralTownArgentVanguard = false
  2852.         end
  2853.  
  2854. --'==========================================================================================      
  2855. --'  Neutral Towns: Bouldercrag's Refuge, The Storm Peaks
  2856. --'==========================================================================================
  2857.         if not ( IsResting() ) and (  ZoneName == Z["The Storm Peaks"] ) and (  SubZoneName == SZ["Bouldercrag's Refuge"] ) and FinalFantasylization_IsPlaying == false then
  2858.             if FinalFantasylization_InNeutralTownBouldercragsRefuge == false then
  2859.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2860.                 FinalFantasylization_NeutralTownBouldercragsRefuge()
  2861.             end
  2862.             FinalFantasylization_IsPlaying = true
  2863.             FinalFantasylization_InNeutralTownBouldercragsRefuge = true
  2864.         else
  2865.             FinalFantasylization_InNeutralTownBouldercragsRefuge = false
  2866.         end
  2867.        
  2868. --'==========================================================================================      
  2869. --'  Neutral Towns: Cenarion Hold, Silithus
  2870. --'==========================================================================================
  2871.         if not ( IsResting() ) and (  ZoneName == Z["Silithus"] ) and (  SubZoneName == SZ["Cenarion Hold"] ) and FinalFantasylization_IsPlaying == false then
  2872.             if FinalFantasylization_InNeutralTownCenarionHold == false then
  2873.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2874.                 FinalFantasylization_NeutralTownCenarionHold()
  2875.             end
  2876.             FinalFantasylization_IsPlaying = true
  2877.             FinalFantasylization_InNeutralTownCenarionHold = true
  2878.         else
  2879.             FinalFantasylization_InNeutralTownCenarionHold = false
  2880.         end
  2881.        
  2882. --'==========================================================================================      
  2883. --'  Neutral Towns: Cenarion Refuge, Zangarmarsh
  2884. --'==========================================================================================
  2885.         if not ( IsResting() ) and (  ZoneName == Z["Zangarmarsh"] ) and (  SubZoneName == SZ["Cenarion Refuge"] ) and FinalFantasylization_IsPlaying == false then
  2886.             if FinalFantasylization_InNeutralTownCenarionRefuge == false then
  2887.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2888.                 FinalFantasylization_NeutralTownCenarionRefuge()
  2889.             end
  2890.             FinalFantasylization_IsPlaying = true
  2891.             FinalFantasylization_InNeutralTownCenarionRefuge = true
  2892.         else
  2893.             FinalFantasylization_InNeutralTownCenarionRefuge = false
  2894.         end
  2895.        
  2896. --'==========================================================================================      
  2897. --'  Neutral Towns: Cosmowrench, Netherstorm
  2898. --'==========================================================================================
  2899.         if not ( IsResting() ) and (  ZoneName == Z["Netherstorm"] ) and (  SubZoneName == SZ["Cosmowrench"] ) and FinalFantasylization_IsPlaying == false then
  2900.             if FinalFantasylization_InNeutralTownCosmowrench == false then
  2901.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2902.                 FinalFantasylization_NeutralTownCosmowrench()
  2903.             end
  2904.             FinalFantasylization_IsPlaying = true
  2905.             FinalFantasylization_InNeutralTownCosmowrench = true
  2906.         else
  2907.             FinalFantasylization_InNeutralTownCosmowrench = false
  2908.         end
  2909.  
  2910. --'==========================================================================================      
  2911. --'  Neutral Towns: Crusaders' Pinnacle, Icecrown
  2912. --'==========================================================================================
  2913.         if not ( IsResting() ) and (  ZoneName == Z["Icecrown"] ) and (  SubZoneName == SZ["Crusaders' Pinnacle"] ) and FinalFantasylization_IsPlaying == false then
  2914.             if FinalFantasylization_InNeutralTownCrusadersPinnacle == false then
  2915.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2916.                 FinalFantasylization_NeutralTownCrusadersPinnacle()
  2917.             end
  2918.             FinalFantasylization_IsPlaying = true
  2919.             FinalFantasylization_InNeutralTownCrusadersPinnacle = true
  2920.         else
  2921.             FinalFantasylization_InNeutralTownCrusadersPinnacle = false
  2922.         end
  2923.  
  2924. --'==========================================================================================      
  2925. --'  Neutral Towns: Death's Rise, Icecrown
  2926. --'==========================================================================================
  2927.         if not ( IsResting() ) and (  ZoneName == Z["Icecrown"] ) and (  SubZoneName == SZ["Death's Rise"] ) and FinalFantasylization_IsPlaying == false then
  2928.             if FinalFantasylization_InNeutralTownDeathsRise == false then
  2929.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2930.                 FinalFantasylization_NeutralTownDeathsRise()
  2931.             end
  2932.             FinalFantasylization_IsPlaying = true
  2933.             FinalFantasylization_InNeutralTownDeathsRise = true
  2934.         else
  2935.             FinalFantasylization_InNeutralTownDeathsRise = false
  2936.         end
  2937.  
  2938. --'==========================================================================================      
  2939. --'  Neutral Towns: Dun Niffelem, The Storm Peaks
  2940. --'==========================================================================================
  2941.         if not ( IsResting() ) and (  ZoneName == Z["The Storm Peaks"] ) and (  SubZoneName == SZ["Dun Niffelem"] ) and FinalFantasylization_IsPlaying == false then
  2942.             if FinalFantasylization_InNeutralTownDunNiffelem == false then
  2943.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2944.                 FinalFantasylization_NeutralTownDunNiffelem()
  2945.             end
  2946.             FinalFantasylization_IsPlaying = true
  2947.             FinalFantasylization_InNeutralTownDunNiffelem = true
  2948.         else
  2949.             FinalFantasylization_InNeutralTownDunNiffelem = false
  2950.         end
  2951.  
  2952. --'==========================================================================================      
  2953. --'  Neutral Towns: Ebon Watch, Zul'drak
  2954. --'==========================================================================================
  2955.         if not ( IsResting() ) and (  ZoneName == Z["Zul'Drak"] ) and (  SubZoneName == SZ["Ebon Watch"] ) and FinalFantasylization_IsPlaying == false then
  2956.             if FinalFantasylization_InNeutralTownEbonWatch == false then
  2957.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2958.                 FinalFantasylization_NeutralTownEbonWatch()
  2959.             end
  2960.             FinalFantasylization_IsPlaying = true
  2961.             FinalFantasylization_InNeutralTownEbonWatch = true
  2962.         else
  2963.             FinalFantasylization_InNeutralTownEbonWatch = false
  2964.         end
  2965.        
  2966. --'==========================================================================================      
  2967. --'  Neutral Towns: Emerald Sanctuary, Felwood
  2968. --'==========================================================================================
  2969.         if not ( IsResting() ) and (  ZoneName == Z["Felwood"] ) and (  SubZoneName == SZ["Emerald Sanctuary"] ) and FinalFantasylization_IsPlaying == false then
  2970.             if FinalFantasylization_InNeutralTownEmeraldSanctuary == false then
  2971.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2972.                 FinalFantasylization_NeutralTownEmeraldSanctuary()
  2973.             end
  2974.             FinalFantasylization_IsPlaying = true
  2975.             FinalFantasylization_InNeutralTownEmeraldSanctuary = true
  2976.         else
  2977.             FinalFantasylization_InNeutralTownEmeraldSanctuary = false
  2978.         end
  2979.        
  2980. --'==========================================================================================      
  2981. --'  Neutral Towns: Evergrove, Blade's Edge Mountains
  2982. --'==========================================================================================
  2983.         if not ( IsResting() ) and (  ZoneName == Z["Blade's Edge Mountains"] ) and (  SubZoneName == SZ["Evergrove"] ) and FinalFantasylization_IsPlaying == false then
  2984.             if FinalFantasylization_InNeutralTownEvergrove == false then
  2985.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  2986.                 FinalFantasylization_NeutralTownEvergrove()
  2987.             end
  2988.             FinalFantasylization_IsPlaying = true
  2989.             FinalFantasylization_InNeutralTownEvergrove = true
  2990.         else
  2991.             FinalFantasylization_InNeutralTownEvergrove = false
  2992.         end
  2993.  
  2994. --'==========================================================================================      
  2995. --'  Neutral Towns: Frenzyheart Hill, Sholazar Basin (at odds with the Oracles in Rainspeaker Canopy)
  2996. --'==========================================================================================
  2997.  
  2998.         if not ( IsResting() ) and ( ZoneName == Z["Sholazar Basin"] ) and ( SubZoneName == SZ["Frenzyheart Hill"] ) and FinalFantasylization_IsPlaying == false then
  2999.             if FinalFantasylization_InNeutralTownFrenzyheartHill == false then
  3000.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3001.                 FinalFantasylization_NeutralTownFrenzyheartHill()
  3002.             end
  3003.             FinalFantasylization_IsPlaying = true
  3004.             FinalFantasylization_InNeutralTownFrenzyheartHill = true
  3005.         else
  3006.             FinalFantasylization_InNeutralTownFrenzyheartHill = false
  3007.         end
  3008.        
  3009. --'==========================================================================================      
  3010. --'  Neutral Towns: Halaa, Nagrand
  3011. --'==========================================================================================
  3012.         if not ( IsResting() ) and (  ZoneName == Z["Nagrand"] ) and (  SubZoneName == SZ["Halaa"] ) and FinalFantasylization_IsPlaying == false then
  3013.             if FinalFantasylization_InNeutralTownHalaa == false then
  3014.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3015.                 FinalFantasylization_NeutralTownHalaa()
  3016.             end
  3017.             FinalFantasylization_IsPlaying = true
  3018.             FinalFantasylization_InNeutralTownHalaa = true
  3019.         else
  3020.             FinalFantasylization_InNeutralTownHalaa = false
  3021.         end
  3022.  
  3023. --'==========================================================================================      
  3024. --'  Neutral Towns: K3, The Storm Peaks
  3025. --'==========================================================================================
  3026.         if not ( IsResting() ) and (  ZoneName == Z["The Storm Peaks"] ) and (  SubZoneName == SZ["K3"] ) and FinalFantasylization_IsPlaying == false then
  3027.             if FinalFantasylization_InNeutralTownK3 == false then
  3028.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3029.                 FinalFantasylization_NeutralTownK3()
  3030.             end
  3031.             FinalFantasylization_IsPlaying = true
  3032.             FinalFantasylization_InNeutralTownK3 = true
  3033.         else
  3034.             FinalFantasylization_InNeutralTownK3 = false
  3035.         end
  3036.  
  3037. --'==========================================================================================      
  3038. --'  Neutral Towns: Kamagua, Howling Fjord
  3039. --'==========================================================================================
  3040.         if not ( IsResting() ) and (  ZoneName == Z["Howling Fjord"] ) and (  SubZoneName == SZ["Kamagua"] ) and FinalFantasylization_IsPlaying == false then
  3041.             if FinalFantasylization_InNeutralTownKamagua == false then
  3042.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3043.                 FinalFantasylization_NeutralTownKamagua()
  3044.             end
  3045.             FinalFantasylization_IsPlaying = true
  3046.             FinalFantasylization_InNeutralTownKamagua = true
  3047.         else
  3048.             FinalFantasylization_InNeutralTownKamagua = false
  3049.         end
  3050.  
  3051. --'==========================================================================================      
  3052. --'  Neutral Towns: Light's Breach, Zul'drak
  3053. --'==========================================================================================
  3054.         if not ( IsResting() ) and (  ZoneName == Z["Zul'Drak"] ) and (  SubZoneName == SZ["Light's Breach"] ) and FinalFantasylization_IsPlaying == false then
  3055.             if FinalFantasylization_InNeutralTownLightsBreach == false then
  3056.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3057.                 FinalFantasylization_NeutralTownLightsBreach()
  3058.             end
  3059.             FinalFantasylization_IsPlaying = true
  3060.             FinalFantasylization_InNeutralTownLightsBreach = true
  3061.         else
  3062.             FinalFantasylization_InNeutralTownLightsBreach = false
  3063.         end
  3064.        
  3065. --'==========================================================================================      
  3066. --'  Neutral Towns: Light's Hope Chapel, Eastern Plaguelands
  3067. --'==========================================================================================
  3068.         if not ( IsResting() ) and (  ZoneName == Z["Eastern Plaguelands"] ) and (  SubZoneName == SZ["Light's Hope Chapel"] ) and FinalFantasylization_IsPlaying == false then
  3069.             if FinalFantasylization_InNeutralTownLightsHopeChapel == false then
  3070.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3071.                 FinalFantasylization_NeutralTownLightsHopeChapel()
  3072.             end
  3073.             FinalFantasylization_IsPlaying = true
  3074.             FinalFantasylization_InNeutralTownLightsHopeChapel = true
  3075.         else
  3076.             FinalFantasylization_InNeutralTownLightsHopeChapel = false
  3077.         end
  3078.        
  3079. --'==========================================================================================      
  3080. --'  Neutral Towns: Marshal's Refuge, Un'Goro Crater
  3081. --'==========================================================================================
  3082.         if not ( IsResting() ) and (  ZoneName == Z["Un'Goro Crater"] ) and (  SubZoneName == SZ["Marshal's Refuge"] ) and FinalFantasylization_IsPlaying == false then
  3083.             if FinalFantasylization_InNeutralTownMarshalsRefuge == false then
  3084.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3085.                 FinalFantasylization_NeutralTownMarshalsRefuge()
  3086.             end
  3087.             FinalFantasylization_IsPlaying = true
  3088.             FinalFantasylization_InNeutralTownMarshalsRefuge = true
  3089.         else
  3090.             FinalFantasylization_InNeutralTownMarshalsRefuge = false
  3091.         end
  3092.  
  3093. --'==========================================================================================      
  3094. --'  Neutral Towns: Moa'ki Harbor, Dragonblight
  3095. --'==========================================================================================
  3096.         if not ( IsResting() ) and (  ZoneName == Z["Dragonblight"] ) and (  SubZoneName == SZ["Moa'ki Harbor"] ) and FinalFantasylization_IsPlaying == false then
  3097.             if FinalFantasylization_InNeutralTownMoakiHarbor == false then
  3098.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3099.                 FinalFantasylization_NeutralTownMoakiHarbor()
  3100.             end
  3101.             FinalFantasylization_IsPlaying = true
  3102.             FinalFantasylization_InNeutralTownMoakiHarbor = true
  3103.         else
  3104.             FinalFantasylization_InNeutralTownMoakiHarbor = false
  3105.         end
  3106.        
  3107. --'==========================================================================================      
  3108. --'  Neutral Towns: Mudsprocket, Dustwallow Marsh
  3109. --'==========================================================================================
  3110.         if not ( IsResting() ) and (  ZoneName == Z["Dustwallow Marsh"] ) and (  SubZoneName == SZ["Mudsprocket"] ) and FinalFantasylization_IsPlaying == false then
  3111.             if FinalFantasylization_InNeutralTownMudsprocket == false then
  3112.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3113.                 FinalFantasylization_NeutralTownMudsprocket()
  3114.             end
  3115.             FinalFantasylization_IsPlaying = true
  3116.             FinalFantasylization_InNeutralTownMudsprocket = true
  3117.         else
  3118.             FinalFantasylization_InNeutralTownMudsprocket = false
  3119.         end
  3120.  
  3121. --'==========================================================================================      
  3122. --'  Neutral Towns: Nesingwary Base Camp, Sholazar Basin
  3123. --'==========================================================================================
  3124.         if not ( IsResting() ) and (  ZoneName == Z["Sholazar Basin"] ) and (  SubZoneName == SZ["Nesingwary Base Camp"] ) and FinalFantasylization_IsPlaying == false then
  3125.             if FinalFantasylization_InNeutralTownNesingwaryBaseCamp == false then
  3126.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3127.                 FinalFantasylization_NeutralTownNesingwaryBaseCamp()
  3128.             end
  3129.             FinalFantasylization_IsPlaying = true
  3130.             FinalFantasylization_InNeutralTownNesingwaryBaseCamp = true
  3131.         else
  3132.             FinalFantasylization_InNeutralTownNesingwaryBaseCamp = false
  3133.         end
  3134.        
  3135. --'==========================================================================================      
  3136. --'  Neutral Towns: Nighthaven, Moonglade
  3137. --'==========================================================================================
  3138.         if not ( IsResting() ) and (  ZoneName == Z["Moonglade"] ) and (  SubZoneName == SZ["Nighthaven"] ) and FinalFantasylization_IsPlaying == false then
  3139.             if FinalFantasylization_InNeutralTownNighthaven == false then
  3140.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3141.                 FinalFantasylization_NeutralTownNighthaven()
  3142.             end
  3143.             FinalFantasylization_IsPlaying = true
  3144.             FinalFantasylization_InNeutralTownNighthaven = true
  3145.         else
  3146.             FinalFantasylization_InNeutralTownNighthaven = false
  3147.         end
  3148.  
  3149. --'==========================================================================================      
  3150. --'  Neutral Towns: Rainspeaker Canopy, Sholazar Basin (at odds with the Frenzyheart Tribe in Frenzyheart Hill)
  3151. --'==========================================================================================
  3152.  
  3153.         if not ( IsResting() ) and ( ZoneName == Z["Sholazar Basin"] ) and ( SubZoneName == SZ["Rainspeaker Canopy"] ) and FinalFantasylization_IsPlaying == false then
  3154.             if FinalFantasylization_InNeutralTownRainspeakerCanopy == false then
  3155.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3156.                 FinalFantasylization_NeutralTownRainspeakerCanopy()
  3157.             end
  3158.             FinalFantasylization_IsPlaying = true
  3159.             FinalFantasylization_InNeutralTownRainspeakerCanopy = true
  3160.         else
  3161.             FinalFantasylization_InNeutralTownRainspeakerCanopy = false
  3162.         end
  3163.  
  3164. --'==========================================================================================      
  3165. --'  Neutral Towns: River's Heart, Sholazar Basin
  3166. --'==========================================================================================
  3167.         if not ( IsResting() ) and (  ZoneName == Z["Sholazar Basin"] ) and (  SubZoneName == SZ["River's Heart"] ) and FinalFantasylization_IsPlaying == false then
  3168.             if FinalFantasylization_InNeutralTownRiversHeart == false then
  3169.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3170.                 FinalFantasylization_NeutralTownRiversHeart()
  3171.             end
  3172.             FinalFantasylization_IsPlaying = true
  3173.             FinalFantasylization_InNeutralTownRiversHeart = true
  3174.         else
  3175.             FinalFantasylization_InNeutralTownRiversHeart = false
  3176.         end
  3177.  
  3178. --'==========================================================================================      
  3179. --'  Neutral Towns: Sanctum of the Stars, Shadowmoon Valley
  3180. --'==========================================================================================
  3181.         if not ( IsResting() ) and (  ZoneName == Z["Shadowmoon Valley"] ) and (  SubZoneName == SZ["Sanctum of the Stars"] ) and FinalFantasylization_IsPlaying == false then
  3182.             if FinalFantasylization_InNeutralTownSanctumOfTheStars == false then
  3183.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3184.                 FinalFantasylization_NeutralTownSanctumOfTheStars()
  3185.             end
  3186.             FinalFantasylization_IsPlaying = true
  3187.             FinalFantasylization_InNeutralTownSanctumOfTheStars = true
  3188.         else
  3189.             FinalFantasylization_InNeutralTownSanctumOfTheStars = false
  3190.         end
  3191.  
  3192. --'==========================================================================================      
  3193. --'  Neutral Towns: The Shadow Vault, Icecrown
  3194. --'==========================================================================================
  3195.         if not ( IsResting() ) and (  ZoneName == Z["Icecrown"] ) and (  SubZoneName == SZ["The Shadow Vault"] ) and FinalFantasylization_IsPlaying == false then
  3196.             if FinalFantasylization_InNeutralTownShadowVault == false then
  3197.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3198.                 FinalFantasylization_NeutralTownShadowVault()
  3199.             end
  3200.             FinalFantasylization_IsPlaying = true
  3201.             FinalFantasylization_InNeutralTownShadowVault = true
  3202.         else
  3203.             FinalFantasylization_InNeutralTownShadowVault = false
  3204.         end
  3205.        
  3206. --'==========================================================================================      
  3207. --'  Neutral Towns: Sporeggar, Zangarmarsh
  3208. --'==========================================================================================
  3209.         if not ( IsResting() ) and (  ZoneName == Z["Zangarmarsh"] ) and (  SubZoneName == SZ["Sporeggar"] ) and FinalFantasylization_IsPlaying == false then
  3210.             if FinalFantasylization_InNeutralTownSporeggar == false then
  3211.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3212.                 FinalFantasylization_NeutralTownSporeggar()
  3213.             end
  3214.             FinalFantasylization_IsPlaying = true
  3215.             FinalFantasylization_InNeutralTownSporeggar = true
  3216.         else
  3217.             FinalFantasylization_InNeutralTownSporeggar = false
  3218.         end
  3219.        
  3220. --'==========================================================================================      
  3221. --'  Neutral Towns: The Stormspire, Netherstorm
  3222. --'==========================================================================================
  3223.         if not ( IsResting() ) and (  ZoneName == Z["Netherstorm"] ) and ( (  SubZoneName == SZ["The Stormspire"] ) or ( SubZoneName == SZ["Eco-Dome Sutheron"] ) or ( SubZoneName == SZ["Eco-Dome Skyperch"] ) )and FinalFantasylization_IsPlaying == false then
  3224.             if FinalFantasylization_InNeutralTownStormspire == false then
  3225.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3226.                 FinalFantasylization_NeutralTownStormspire()
  3227.             end
  3228.             FinalFantasylization_IsPlaying = true
  3229.             FinalFantasylization_InNeutralTownStormspire = true
  3230.         else
  3231.             FinalFantasylization_InNeutralTownStormspire = false
  3232.         end
  3233.        
  3234. --'==========================================================================================      
  3235. --'  Neutral Towns: Sun's Reach, Isle of Quel'Danas
  3236. --'==========================================================================================
  3237.         if not ( IsResting() ) and (  ZoneName == Z["Isle of Quel'Danas"] ) and ( (  SubZoneName == SZ["Sun's Reach Armory"] ) or (  SubZoneName == SZ["Sun's Reach Harbor"] ) or (  SubZoneName == SZ["Sun's Reach Sanctum"] ) ) and FinalFantasylization_IsPlaying == false then
  3238.                 if FinalFantasylization_InNeutralTownSunsReach == false then
  3239.                         FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3240.                         FinalFantasylization_NeutralTownSunsReach()
  3241.                 end
  3242.                 FinalFantasylization_IsPlaying = true
  3243.                 FinalFantasylization_InNeutralTownSunsReach = true
  3244.             else
  3245.                 FinalFantasylization_InNeutralTownSunsReach = false
  3246.             end
  3247.        
  3248. --'==========================================================================================      
  3249. --'  Neutral Towns: The Argent Stand, Zul'drak
  3250. --'==========================================================================================
  3251.         if not ( IsResting() ) and (  ZoneName == Z["Zul'Drak"] ) and (  SubZoneName == SZ["The Argent Stand"] ) and FinalFantasylization_IsPlaying == false then
  3252.             if FinalFantasylization_InNeutralTownTheArgentStand == false then
  3253.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3254.                 FinalFantasylization_NeutralTownTheArgentStand()
  3255.             end
  3256.             FinalFantasylization_IsPlaying = true
  3257.             FinalFantasylization_InNeutralTownTheArgentStand = true
  3258.         else
  3259.             FinalFantasylization_InNeutralTownTheArgentStand = false
  3260.         end
  3261.    
  3262. --'==========================================================================================      
  3263. --'  Neutral Towns: Thorium Point, Searing Gorge
  3264. --'==========================================================================================
  3265.         if not ( IsResting() ) and (  ZoneName == Z["Searing Gorge"] ) and (  SubZoneName == SZ["Thorium Point"] ) and FinalFantasylization_IsPlaying == false then
  3266.             if FinalFantasylization_InNeutralTownThoriumPoint == false then
  3267.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3268.                 FinalFantasylization_NeutralTownThoriumPoint()
  3269.             end
  3270.             FinalFantasylization_IsPlaying = true
  3271.             FinalFantasylization_InNeutralTownThoriumPoint = true
  3272.         else
  3273.             FinalFantasylization_InNeutralTownThoriumPoint = false
  3274.         end
  3275.  
  3276. --'==========================================================================================      
  3277. --'  Neutral Towns: Transitus Shield, Borean Tundra
  3278. --'==========================================================================================
  3279.         if not ( IsResting() ) and (  ZoneName == Z["Borean Tundra"] ) and (  SubZoneName == SZ["Transitus Shield"] ) and FinalFantasylization_IsPlaying == false then
  3280.             if FinalFantasylization_InNeutralTownTransitusShield == false then
  3281.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3282.                 FinalFantasylization_NeutralTownTransitusShield()
  3283.             end
  3284.             FinalFantasylization_IsPlaying = true
  3285.             FinalFantasylization_InNeutralTownTransitusShield = true
  3286.         else
  3287.             FinalFantasylization_InNeutralTownTransitusShield = false
  3288.         end
  3289.  
  3290. --'==========================================================================================      
  3291. --'  Neutral Towns: Unu'pe, Borean Tundra
  3292. --'==========================================================================================
  3293.         if not ( IsResting() ) and (  ZoneName == Z["Borean Tundra"] ) and (  SubZoneName == SZ["Unu'pe"] ) and FinalFantasylization_IsPlaying == false then
  3294.             if FinalFantasylization_InNeutralTownUnupe == false then
  3295.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3296.                 FinalFantasylization_NeutralTownUnupe()
  3297.             end
  3298.             FinalFantasylization_IsPlaying = true
  3299.             FinalFantasylization_InNeutralTownUnupe = true
  3300.         else
  3301.             FinalFantasylization_InNeutralTownUnupe = false
  3302.         end
  3303.  
  3304. --'==========================================================================================      
  3305. --'  Neutral Towns: Wyrmrest Temple, Dragonblight
  3306. --'==========================================================================================
  3307.         if (  ZoneName ==Z["Dragonblight"] ) and (  SubZoneName == SZ["Wyrmrest Temple"] ) and FinalFantasylization_IsPlaying == false then
  3308.             if FinalFantasylization_InNeutralTownWyrmrestTemple == false then
  3309.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3310.                 FinalFantasylization_NeutralTownWyrmrestTemple()
  3311.             end
  3312.             FinalFantasylization_IsPlaying = true
  3313.             FinalFantasylization_InNeutralTownWyrmrestTemple = true
  3314.         else
  3315.             FinalFantasylization_InNeutralTownWyrmrestTemple = false
  3316.         end
  3317.  
  3318. --'==========================================================================================      
  3319. --'  Neutral Towns: Zim'Torga, Zul'drak
  3320. --'==========================================================================================
  3321.         if not ( IsResting() ) and (  ZoneName == Z["Zul'Drak"] ) and (  SubZoneName == SZ["Zim'Torga"] ) and FinalFantasylization_IsPlaying == false then
  3322.             if FinalFantasylization_InNeutralTownZimTorga == false then
  3323.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3324.                 FinalFantasylization_NeutralTownZimTorga()
  3325.             end
  3326.             FinalFantasylization_IsPlaying = true
  3327.             FinalFantasylization_InNeutralTownZimTorga = true
  3328.         else
  3329.             FinalFantasylization_InNeutralTownZimTorga = false
  3330.         end
  3331.  
  3332. --'==========================================================================================      
  3333. --'  Neutral Towns: The Harborage, Swamp of Sorrows
  3334. --'==========================================================================================
  3335.                
  3336.         if not ( IsResting() ) and ( ZoneName == Z["Swamp of Sorrows"] ) and ( SubZoneName == SZ["The Harborage"] ) and FinalFantasylization_IsPlaying == false then
  3337.             if FinalFantasylization_InNeutralTownTheHarborage == false then
  3338.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3339.                 FinalFantasylization_NeutralTownTheHarborage()
  3340.             end
  3341.             FinalFantasylization_IsPlaying = true
  3342.             FinalFantasylization_InNeutralTownTheHarborage = true
  3343.         else
  3344.             FinalFantasylization_InNeutralTownTheHarborage = false
  3345.         end    
  3346.  
  3347. --'==========================================================================================      
  3348. --'  Neutral Towns: Valor's Rest, Silithus
  3349. --'==========================================================================================
  3350.         if not ( IsResting() ) and (  ZoneName == Z["Silithus"] ) and (  SubZoneName == SZ["Valor's Rest"] ) and FinalFantasylization_IsPlaying == false then
  3351.             if FinalFantasylization_InNeutralTownValorsRest == false then
  3352.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3353.                 FinalFantasylization_NeutralTownValorsRest()
  3354.             end
  3355.             FinalFantasylization_IsPlaying = true
  3356.             FinalFantasylization_InNeutralTownValorsRest = true
  3357.         else
  3358.             FinalFantasylization_InNeutralTownValorsRest = false
  3359.         end
  3360.  
  3361. --'==========================================================================================      
  3362. --'  Neutral Towns: Steamwheedle Port, Tanaris
  3363. --'==========================================================================================
  3364.         if not ( IsResting() ) and (  ZoneName == Z["Tanaris"] ) and (  SubZoneName == SZ["Steamwheedle Port"] ) and FinalFantasylization_IsPlaying == false then
  3365.             if FinalFantasylization_InNeutralTownSteamwheedlePort == false then
  3366.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3367.                 FinalFantasylization_NeutralTownSteamwheedlePort()
  3368.             end
  3369.             FinalFantasylization_IsPlaying = true
  3370.             FinalFantasylization_InNeutralTownSteamwheedlePort = true
  3371.         else
  3372.             FinalFantasylization_InNeutralTownSteamwheedlePort = false
  3373.         end
  3374.  
  3375. --'==========================================================================================      
  3376. --'  Neutral Towns: Mirage Raceway, Thousand Needles
  3377. --'==========================================================================================
  3378.         if not ( IsResting() ) and ( ZoneName == Z["Thousand Needles"] ) and ( SubZoneName == SZ["Mirage Raceway"] ) and FinalFantasylization_IsPlaying == false then
  3379.             if FinalFantasylization_InNeutralTownMirageRaceway == false then
  3380.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3381.                 FinalFantasylization_NeutralTownMirageRaceway()
  3382.             end
  3383.             FinalFantasylization_IsPlaying = true
  3384.             FinalFantasylization_InNeutralTownMirageRaceway = true
  3385.         else
  3386.             FinalFantasylization_InNeutralTownMirageRaceway = false
  3387.         end
  3388.  
  3389. --'==========================================================================================      
  3390. --'  Neutral Towns: Aeris Landing, Nagrand
  3391. --'==========================================================================================
  3392.         if not ( IsResting() ) and (  ZoneName == Z["Nagrand"] ) and (  SubZoneName == SZ["Aeris Landing"] ) and FinalFantasylization_IsPlaying == false then
  3393.             if FinalFantasylization_InNeutralTownAerisLanding == false then
  3394.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3395.                 FinalFantasylization_NeutralTownAerisLanding()
  3396.             end
  3397.             FinalFantasylization_IsPlaying = true
  3398.             FinalFantasylization_InNeutralTownAerisLanding = true
  3399.         else
  3400.             FinalFantasylization_InNeutralTownAerisLanding = false
  3401.         end
  3402.  
  3403. --'==========================================================================================      
  3404. --'  Neutral Towns: Midrealm Post, Netherstorm
  3405. --'==========================================================================================
  3406.         if not ( IsResting() ) and (  ZoneName == Z["Netherstorm"] ) and ( (  SubZoneName == SZ["Midrealm Post"] ) or ( SubZoneName == SZ["Eco-Dome Midrealm"] ) ) and FinalFantasylization_IsPlaying == false then
  3407.             if FinalFantasylization_InNeutralTownMidrealmPost == false then
  3408.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3409.                 FinalFantasylization_NeutralTownMidrealmPost()
  3410.             end
  3411.             FinalFantasylization_IsPlaying = true
  3412.             FinalFantasylization_InNeutralTownMidrealmPost = true
  3413.         else
  3414.             FinalFantasylization_InNeutralTownMidrealmPost = false
  3415.         end
  3416.  
  3417. --'==========================================================================================      
  3418. --'  Neutral Towns: Protectorate Watch Post, Netherstorm
  3419. --'==========================================================================================
  3420.         if not ( IsResting() ) and (  ZoneName == Z["Netherstorm"] ) and (  SubZoneName == SZ["Protectorate Watch Post"] ) and FinalFantasylization_IsPlaying == false then
  3421.             if FinalFantasylization_InNeutralTownProtectorateWatchPost == false then
  3422.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3423.                 FinalFantasylization_NeutralTownProtectorateWatchPost()
  3424.             end
  3425.             FinalFantasylization_IsPlaying = true
  3426.             FinalFantasylization_InNeutralTownProtectorateWatchPost = true
  3427.         else
  3428.             FinalFantasylization_InNeutralTownProtectorateWatchPost = false
  3429.         end
  3430.  
  3431. --'==========================================================================================      
  3432. --'  Neutral Towns: Dawn's Reach, Dragonblight
  3433. --'==========================================================================================
  3434.         if not ( IsResting() ) and (  ZoneName ==Z["Dragonblight"] ) and (  SubZoneName == SZ["Dawn's Reach"] ) and FinalFantasylization_IsPlaying == false then
  3435.             if FinalFantasylization_InNeutralTownDawnsReach == false then
  3436.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3437.                 FinalFantasylization_NeutralTownDawnsReach()
  3438.             end
  3439.             FinalFantasylization_IsPlaying = true
  3440.             FinalFantasylization_InNeutralTownDawnsReach = true
  3441.         else
  3442.             FinalFantasylization_InNeutralTownDawnsReach = false
  3443.         end
  3444.  
  3445. --'==========================================================================================      
  3446. --'  Neutral Towns: Light's Trust, Dragonblight
  3447. --'==========================================================================================
  3448.         if not ( IsResting() ) and (  ZoneName ==Z["Dragonblight"] ) and (  SubZoneName == SZ["Light's Trust"] ) and FinalFantasylization_IsPlaying == false then
  3449.             if FinalFantasylization_InNeutralTownLightsTrust == false then
  3450.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3451.                 FinalFantasylization_NeutralTownLightsTrust()
  3452.             end
  3453.             FinalFantasylization_IsPlaying = true
  3454.             FinalFantasylization_InNeutralTownLightsTrust = true
  3455.         else
  3456.             FinalFantasylization_InNeutralTownLightsTrust = false
  3457.         end
  3458.  
  3459. --'==========================================================================================      
  3460. --'  Neutral Towns: Granite Springs, Grizzly Hills
  3461. --'==========================================================================================
  3462.         if not ( IsResting() ) and (  ZoneName == Z["Grizzly Hills"] ) and (  SubZoneName == SZ["Granite Springs"] ) and FinalFantasylization_IsPlaying == false then
  3463.             if FinalFantasylization_InNeutralTownGraniteSprings == false then
  3464.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3465.                 FinalFantasylization_NeutralTownGraniteSprings()
  3466.             end
  3467.             FinalFantasylization_IsPlaying = true
  3468.             FinalFantasylization_InNeutralTownGraniteSprings = true
  3469.         else
  3470.             FinalFantasylization_InNeutralTownGraniteSprings = false
  3471.         end
  3472.  
  3473. --'==========================================================================================      
  3474. --'  Neutral Towns: Venture Bay, Grizzly Hills
  3475. --'==========================================================================================
  3476.         if not ( IsResting() ) and (  ZoneName == Z["Grizzly Hills"] ) and (  SubZoneName == SZ["Venture Bay"] ) and FinalFantasylization_IsPlaying == false then
  3477.             if FinalFantasylization_InNeutralTownVentureBay == false then
  3478.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3479.                 FinalFantasylization_NeutralTownVentureBay()
  3480.             end
  3481.             FinalFantasylization_IsPlaying = true
  3482.             FinalFantasylization_InNeutralTownVentureBay = true
  3483.         else
  3484.             FinalFantasylization_InNeutralTownVentureBay = false
  3485.         end
  3486.  
  3487. --'==========================================================================================      
  3488. --'  Neutral Towns: Scalawag Point, Howling Fjord
  3489. --'==========================================================================================
  3490.         if not ( IsResting() ) and (  ZoneName == Z["Howling Fjord"] ) and (  SubZoneName == SZ["Scalawag Point"] ) and FinalFantasylization_IsPlaying == false then
  3491.             if FinalFantasylization_InNeutralTownScalawagPoint == false then
  3492.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3493.                 FinalFantasylization_NeutralTownScalawagPoint()
  3494.             end
  3495.             FinalFantasylization_IsPlaying = true
  3496.             FinalFantasylization_InNeutralTownScalawagPoint = true
  3497.         else
  3498.             FinalFantasylization_InNeutralTownScalawagPoint = false
  3499.         end
  3500.  
  3501. --'==========================================================================================      
  3502. --'  Neutral Towns: Blackwatch, Icecrown
  3503. --'==========================================================================================
  3504.         if not ( IsResting() ) and (  ZoneName == Z["Icecrown"] ) and (  SubZoneName == SZ["Blackwatch"] ) and FinalFantasylization_IsPlaying == false then
  3505.             if FinalFantasylization_InNeutralTownBlackwatch == false then
  3506.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3507.                 FinalFantasylization_NeutralTownBlackwatch()
  3508.             end
  3509.             FinalFantasylization_IsPlaying = true
  3510.             FinalFantasylization_InNeutralTownBlackwatch = true
  3511.         else
  3512.             FinalFantasylization_InNeutralTownBlackwatch = false
  3513.         end
  3514.  
  3515. --'==========================================================================================      
  3516. --'  Neutral Towns: Dorian's Outpost, Sholazar Basin
  3517. --'==========================================================================================
  3518.         if not ( IsResting() ) and (  ZoneName == Z["Sholazar Basin"] ) and (  SubZoneName == SZ["Dorian's Outpost"] ) and FinalFantasylization_IsPlaying == false then
  3519.             if FinalFantasylization_InNeutralTownDoriansOutpost == false then
  3520.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3521.                 FinalFantasylization_NeutralTownDoriansOutpost()
  3522.             end
  3523.             FinalFantasylization_IsPlaying = true
  3524.             FinalFantasylization_InNeutralTownDoriansOutpost = true
  3525.         else
  3526.             FinalFantasylization_InNeutralTownDoriansOutpost = false
  3527.         end
  3528.  
  3529. --'==========================================================================================      
  3530. --'  Neutral Towns: Kartak's Hold, Sholazar Basin
  3531. --'==========================================================================================
  3532.         if not ( IsResting() ) and (  ZoneName == Z["Sholazar Basin"] ) and (  SubZoneName == SZ["Kartak's Hold"] ) and FinalFantasylization_IsPlaying == false then
  3533.             if FinalFantasylization_InNeutralTownKartaksHold == false then
  3534.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3535.                 FinalFantasylization_NeutralTownKartaksHold()
  3536.             end
  3537.             FinalFantasylization_IsPlaying = true
  3538.             FinalFantasylization_InNeutralTownKartaksHold = true
  3539.         else
  3540.             FinalFantasylization_InNeutralTownKartaksHold = false
  3541.         end
  3542.  
  3543. --'==========================================================================================      
  3544. --'  Neutral Towns: Lakeside Landing, Sholazar Basin
  3545. --'==========================================================================================
  3546.         if not ( IsResting() ) and (  ZoneName == Z["Sholazar Basin"] ) and (  SubZoneName == SZ["Lakeside Landing"] ) and FinalFantasylization_IsPlaying == false then
  3547.             if FinalFantasylization_InNeutralTownLakesideLanding == false then
  3548.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3549.                 FinalFantasylization_NeutralTownLakesideLanding()
  3550.             end
  3551.             FinalFantasylization_IsPlaying = true
  3552.             FinalFantasylization_InNeutralTownLakesideLanding = true
  3553.         else
  3554.             FinalFantasylization_InNeutralTownLakesideLanding = false
  3555.         end
  3556.  
  3557. --'==========================================================================================      
  3558. --'  Neutral Towns: Mistwhisper Refuge, Sholazar Basin
  3559. --'==========================================================================================
  3560.         if not ( IsResting() ) and (  ZoneName == Z["Sholazar Basin"] ) and (  SubZoneName == SZ["Mistwhisper Refuge"] ) and FinalFantasylization_IsPlaying == false then
  3561.             if FinalFantasylization_InNeutralTownMistwhisperRefuge == false then
  3562.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3563.                 FinalFantasylization_NeutralTownMistwhisperRefuge()
  3564.             end
  3565.             FinalFantasylization_IsPlaying = true
  3566.             FinalFantasylization_InNeutralTownMistwhisperRefuge = true
  3567.         else
  3568.             FinalFantasylization_InNeutralTownMistwhisperRefuge = false
  3569.         end
  3570.  
  3571. --'==========================================================================================      
  3572. --'  Neutral Towns: Sparktouched Haven, Sholazar Basin
  3573. --'==========================================================================================
  3574.         if not ( IsResting() ) and (  ZoneName == Z["Sholazar Basin"] ) and (  SubZoneName == SZ["Sparktouched Haven"] ) and FinalFantasylization_IsPlaying == false then
  3575.             if FinalFantasylization_InNeutralTownSparktouchedHaven == false then
  3576.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3577.                 FinalFantasylization_NeutralTownSparktouchedHaven()
  3578.             end
  3579.             FinalFantasylization_IsPlaying = true
  3580.             FinalFantasylization_InNeutralTownSparktouchedHaven = true
  3581.         else
  3582.             FinalFantasylization_InNeutralTownSparktouchedHaven = false
  3583.         end
  3584.  
  3585. --'==========================================================================================      
  3586. --'  Neutral Towns: Spearborn Encampment, Sholazar Basin
  3587. --'==========================================================================================
  3588.         if not ( IsResting() ) and (  ZoneName == Z["Sholazar Basin"] ) and (  SubZoneName == SZ["Spearborn Encampment"] ) and FinalFantasylization_IsPlaying == false then
  3589.             if FinalFantasylization_InNeutralTownSpearbornEncampment == false then
  3590.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3591.                 FinalFantasylization_NeutralTownSpearbornEncampment()
  3592.             end
  3593.             FinalFantasylization_IsPlaying = true
  3594.             FinalFantasylization_InNeutralTownSpearbornEncampment = true
  3595.         else
  3596.             FinalFantasylization_InNeutralTownSpearbornEncampment = false
  3597.         end
  3598.  
  3599. --'==========================================================================================      
  3600. --'  Neutral Towns: Dubra'Jin, Zul'Drak
  3601. --'==========================================================================================
  3602.         if not ( IsResting() ) and (  ZoneName == Z["Zul'Drak"] ) and (  SubZoneName == SZ["Dubra'Jin"] ) and FinalFantasylization_IsPlaying == false then
  3603.             if FinalFantasylization_InNeutralTownDubraJin == false then
  3604.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3605.                 FinalFantasylization_NeutralTownDubraJin()
  3606.             end
  3607.             FinalFantasylization_IsPlaying = true
  3608.             FinalFantasylization_InNeutralTownDubraJin = true
  3609.         else
  3610.             FinalFantasylization_InNeutralTownDubraJin = false
  3611.         end
  3612.  
  3613. --'==========================================================================================      
  3614. --'  Neutral Towns: Ogri'la, Blade's Edge Mountains
  3615. --'==========================================================================================
  3616.         if not ( IsResting() ) and (  ZoneName == Z["Blade's Edge Mountains"] ) and (  SubZoneName == SZ["Ogri'la"] ) and FinalFantasylization_IsPlaying == false then
  3617.             if FinalFantasylization_InNeutralTownOgrila == false then
  3618.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3619.                 FinalFantasylization_NeutralTownOgrila()
  3620.             end
  3621.             FinalFantasylization_IsPlaying = true
  3622.             FinalFantasylization_InNeutralTownOgrila = true
  3623.         else
  3624.             FinalFantasylization_InNeutralTownOgrila = false
  3625.         end
  3626.  
  3627. --'==========================================================================================      
  3628. --'  Neutral Towns: Timbermaw Hold
  3629. --'==========================================================================================
  3630.         if not ( IsResting() ) and ( (  ZoneName == Z["Azshara"] ) or (  ZoneName == Z["Felwood"] ) or (  ZoneName == Z["Moonglade"] ) or (  ZoneName == Z["Winterspring"] ) ) and (  SubZoneName == SZ["Timbermaw Hold"] ) and FinalFantasylization_IsPlaying == false then
  3631.             if FinalFantasylization_InNeutralTownTimbermawHold == false then
  3632.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3633.                 FinalFantasylization_NeutralTownTimbermawHold()
  3634.             end
  3635.             FinalFantasylization_IsPlaying = true
  3636.             FinalFantasylization_InNeutralTownTimbermawHold = true
  3637.         else
  3638.             FinalFantasylization_InNeutralTownTimbermawHold = false
  3639.         end
  3640.  
  3641. --'==========================================================================================      
  3642. --'  Neutral Towns: Darrowshire, Eastern Plaguelands
  3643. --'==========================================================================================
  3644.         if not ( IsResting() ) and ( ZoneName == Z["Eastern Plaguelands"] ) and ( SubZoneName == SZ["Darrowshire"] ) and FinalFantasylization_IsPlaying == false then
  3645.             if FinalFantasylization_InNeutralTownDarrowshire == false then
  3646.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3647.                 FinalFantasylization_NeutralTownDarrowshire()
  3648.             end
  3649.             FinalFantasylization_IsPlaying = true
  3650.             FinalFantasylization_InNeutralTownDarrowshire = true
  3651.         else
  3652.             FinalFantasylization_InNeutralTownDarrowshire = false
  3653.         end    
  3654.  
  3655. --'==========================================================================================      
  3656. --'  Neutral Towns: Kirin'Var Village, Netherstorm
  3657. --'==========================================================================================
  3658.         if not ( IsResting() ) and (  ZoneName == Z["Netherstorm"] ) and ( (  SubZoneName == SZ["Wizard Row"] ) or (  SubZoneName == SZ["Town Square"] ) or (  SubZoneName == SZ["Chapel Yard"] ) or (  SubZoneName == SZ["The Violet Tower"] ) ) and FinalFantasylization_IsPlaying == false then
  3659.             if FinalFantasylization_InNeutralTownKirinVarVillage == false then
  3660.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3661.                 FinalFantasylization_NeutralTownKirinVarVillage()
  3662.             end
  3663.             FinalFantasylization_IsPlaying = true
  3664.             FinalFantasylization_InNeutralTownKirinVarVillage = true
  3665.         else
  3666.             FinalFantasylization_InNeutralTownKirinVarVillage = false
  3667.         end
  3668.    
  3669. --###########################################################################################
  3670. --###########################################################################################
  3671. --##
  3672. --##            MISCELANEOUS ZONES
  3673. --##
  3674. --###########################################################################################
  3675. --###########################################################################################  
  3676.  
  3677. --'==========================================================================================      
  3678. --'  Misc Areas: Deeprun Tram, Between Stormwing City and Ironforge
  3679. --'==========================================================================================
  3680.         if not ( IsResting () ) and (  ZoneName == Z["Deeprun Tram"] ) and FinalFantasylization_IsPlaying == false then
  3681.             if FinalFantasylization_InMiscAreaDeeprunTram == false then
  3682.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3683.                 FinalFantasylization_MiscAreaDeeprunTram()
  3684.             end
  3685.             FinalFantasylization_IsPlaying = true
  3686.             FinalFantasylization_InMiscAreaDeeprunTram = true
  3687.         else
  3688.             FinalFantasylization_InMiscAreaDeeprunTram = false
  3689.         end
  3690.    
  3691. --'==========================================================================================      
  3692. --'  Misc Areas: Scarlet Monastery, Tirisfal Glades   (the building in Tirisfal Glades, not the instance itself.)
  3693. --'==========================================================================================
  3694.         if not ( IsInInstance() ) and (  ZoneName == Z["Scarlet Monastery"] ) and FinalFantasylization_IsPlaying == false then
  3695.             if FinalFantasylization_InMiscAreaScarletMonastery == false then
  3696.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3697.                 FinalFantasylization_MiscAreaScarletMonastery()
  3698.             end
  3699.             FinalFantasylization_IsPlaying = true
  3700.             FinalFantasylization_InMiscAreaScarletMonastery = true
  3701.         else
  3702.             FinalFantasylization_InMiscAreaScarletMonastery = false
  3703.         end
  3704.  
  3705. --'==========================================================================================      
  3706. --'  Misc Areas: Razorfen Kraul, The Barrens   (the area directly before Razorfen Kraul instance)
  3707. --'==========================================================================================
  3708.         if not ( IsInInstance() ) and ( (  ZoneName == Z["Razorfen Kraul"] ) or (  SubZoneName == SZ["Razorfen Kraul"] ) ) and FinalFantasylization_IsPlaying == false then
  3709.             if FinalFantasylization_InMiscAreaRazorfenKraul == false then
  3710.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3711.                 FinalFantasylization_MiscAreaRazorfenKraul()
  3712.             end
  3713.             FinalFantasylization_IsPlaying = true
  3714.             FinalFantasylization_InMiscAreaRazorfenKraul = true
  3715.         else
  3716.             FinalFantasylization_InMiscAreaRazorfenKraul = false
  3717.         end
  3718.  
  3719. --'==========================================================================================      
  3720. --'  Misc Areas: Razorfen Downs, The Barrens   (the area directly before Razorfen Kraul instance)
  3721. --'==========================================================================================
  3722.         if not ( IsInInstance() ) and ( (  ZoneName == Z["Razorfen Downs"] ) or (  SubZoneName == SZ["Razorfen Downs"] ) ) and FinalFantasylization_IsPlaying == false then
  3723.             if FinalFantasylization_InMiscAreaRazorfenDowns == false then
  3724.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3725.                 FinalFantasylization_MiscAreaRazorfenDowns()
  3726.             end
  3727.             FinalFantasylization_IsPlaying = true
  3728.             FinalFantasylization_InMiscAreaRazorfenDowns = true
  3729.         else
  3730.             FinalFantasylization_InMiscAreaRazorfenDowns = false
  3731.         end
  3732.  
  3733. --'==========================================================================================      
  3734. --'  Misc Areas: Wailing Caverns, The Barrens   (the Cave before Wailing Caverns instance)
  3735. --'==========================================================================================
  3736.         if not ( IsInInstance() ) and (  ZoneName == Z["Wailing Caverns"] ) and FinalFantasylization_IsPlaying == false then
  3737.             if FinalFantasylization_InMiscAreaWailingCaverns == false then
  3738.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn .. " " .. ZoneName)
  3739.                 FinalFantasylization_MiscAreaWailingCaverns()
  3740.             end
  3741.             FinalFantasylization_IsPlaying = true
  3742.             FinalFantasylization_InMiscAreaWailingCaverns = true
  3743.         else
  3744.             FinalFantasylization_InMiscAreaWailingCaverns = false
  3745.         end
  3746.  
  3747. --'==========================================================================================      
  3748. --'  Misc Areas: The Deadmines, Westfall   (the Cave before The Deadmines instance)
  3749. --'==========================================================================================
  3750.         if not ( IsInInstance() ) and (  ZoneName == Z["The Deadmines"] ) and FinalFantasylization_IsPlaying == false then
  3751.             if FinalFantasylization_InMiscAreaTheDeadmines == false then
  3752.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3753.                 FinalFantasylization_MiscAreaTheDeadmines()
  3754.             end
  3755.             FinalFantasylization_IsPlaying = true
  3756.             FinalFantasylization_InMiscAreaTheDeadmines = true
  3757.         else
  3758.             FinalFantasylization_InMiscAreaTheDeadmines = false
  3759.         end
  3760.    
  3761.  
  3762. --'==========================================================================================      
  3763. --'  Misc Areas: Caverns of Time, Tanaris
  3764. --'==========================================================================================
  3765.         if not ( IsResting() ) and (  ZoneName == Z["Tanaris"] ) and (  SubZoneName == SZ["Caverns of Time"] ) and FinalFantasylization_IsPlaying == false then
  3766.             if FinalFantasylization_InMiscAreaCavernsOfTime == false then
  3767.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  3768.                 FinalFantasylization_MiscAreaCavernsOfTime()
  3769.             end
  3770.             FinalFantasylization_IsPlaying = true
  3771.             FinalFantasylization_InMiscAreaCavernsOfTime = true
  3772.         else
  3773.             FinalFantasylization_InMiscAreaCavernsOfTime = false
  3774.         end
  3775.  
  3776.  
  3777. --###########################################################################################
  3778. --###########################################################################################
  3779. --##
  3780. --##            EASTERN KINGDOMS ZONES
  3781. --##
  3782. --###########################################################################################
  3783. --###########################################################################################
  3784.    
  3785. --'==========================================================================================      
  3786. --'  Eastern Kingdoms Zones: Alterac Mountains
  3787. --'==========================================================================================
  3788.         if not ( IsResting () ) and (  ZoneName == Z["Alterac Mountains"] ) and FinalFantasylization_IsPlaying == false then
  3789.             if FinalFantasylization_InEasternKingdomsAlteracMountains == false then
  3790.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3791.                 FinalFantasylization_EasternKingdomsAlteracMountains()
  3792.             end
  3793.             FinalFantasylization_IsPlaying = true
  3794.             FinalFantasylization_InEasternKingdomsAlteracMountains = true
  3795.         else
  3796.             FinalFantasylization_InEasternKingdomsAlteracMountains = false
  3797.         end
  3798.                
  3799. --'==========================================================================================      
  3800. --'  Eastern Kingdoms Zones: Arathi Highlands
  3801. --'==========================================================================================
  3802.         if not ( IsResting () ) and (  ZoneName == Z["Arathi Highlands"] ) and FinalFantasylization_IsPlaying == false then
  3803.             if FinalFantasylization_InEasternKingdomsArathiHighlands == false then
  3804.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3805.                 FinalFantasylization_EasternKingdomsArathiHighlands()
  3806.             end
  3807.             FinalFantasylization_IsPlaying = true
  3808.             FinalFantasylization_InEasternKingdomsArathiHighlands = true
  3809.         else
  3810.             FinalFantasylization_InEasternKingdomsArathiHighlands = false
  3811.         end
  3812.                
  3813. --'==========================================================================================      
  3814. --'  Eastern Kingdoms Zones: Badlands
  3815. --'==========================================================================================
  3816.         if not ( IsResting() ) and (  ZoneName == Z["Badlands"] ) and FinalFantasylization_IsPlaying == false then
  3817.             if FinalFantasylization_InEasternKingdomsBadlands == false then
  3818.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3819.                 FinalFantasylization_EasternKingdomsBadlands()
  3820.             end
  3821.             FinalFantasylization_IsPlaying = true
  3822.             FinalFantasylization_InEasternKingdomsBadlands = true
  3823.         else
  3824.             FinalFantasylization_InEasternKingdomsBadlands = false
  3825.         end
  3826.    
  3827. --'==========================================================================================      
  3828. --'  Eastern Kingdoms Zones: Blackrock Mountain
  3829. --'==========================================================================================
  3830.         if not ( IsResting () ) and (  ZoneName == Z["Blackrock Mountain"] ) and FinalFantasylization_IsPlaying == false then
  3831.             if FinalFantasylization_InEasternKingdomsBlackrockMountain == false then
  3832.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3833.                 FinalFantasylization_EasternKingdomsBlackrockMountain()
  3834.             end
  3835.             FinalFantasylization_IsPlaying = true
  3836.             FinalFantasylization_InEasternKingdomsBlackrockMountain = true
  3837.         else
  3838.             FinalFantasylization_InEasternKingdomsBlackrockMountain = false
  3839.         end
  3840.        
  3841. --'==========================================================================================      
  3842. --'  Eastern Kingdoms Zones: Blasted Lands
  3843. --'==========================================================================================
  3844.         if not ( IsResting () ) and (  ZoneName == Z["Blasted Lands"] ) and FinalFantasylization_IsPlaying == false then
  3845.             if FinalFantasylization_InEasternKingdomsTheBlastedLands == false then
  3846.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3847.                 FinalFantasylization_EasternKingdomsBlastedLands()
  3848.             end
  3849.             FinalFantasylization_IsPlaying = true
  3850.             FinalFantasylization_InEasternKingdomsTheBlastedLands = true
  3851.         else
  3852.             FinalFantasylization_InEasternKingdomsTheBlastedLands = false
  3853.         end
  3854.                        
  3855. --'==========================================================================================      
  3856. --'  Eastern Kingdoms Zones: Burning Steppes
  3857. --'==========================================================================================
  3858.         if not ( IsResting () ) and (  ZoneName == Z["Burning Steppes"] ) and FinalFantasylization_IsPlaying == false then
  3859.             if FinalFantasylization_InEasternKingdomsBurningSteppes == false then
  3860.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3861.                 FinalFantasylization_EasternKingdomsBurningSteppes()
  3862.             end
  3863.             FinalFantasylization_IsPlaying = true
  3864.             FinalFantasylization_InEasternKingdomsBurningSteppes = true
  3865.         else
  3866.             FinalFantasylization_InEasternKingdomsBurningSteppes = false
  3867.         end
  3868.                
  3869. --'==========================================================================================      
  3870. --'  Eastern Kingdoms Zones: Deadwind Pass
  3871. --'==========================================================================================
  3872.         if not ( IsResting () ) and (  ZoneName == Z["Deadwind Pass"] ) and FinalFantasylization_IsPlaying == false then
  3873.             if FinalFantasylization_InEasternKingdomsDeadwindPass == false then
  3874.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3875.                 FinalFantasylization_EasternKingdomsDeadwindPass()
  3876.             end
  3877.             FinalFantasylization_IsPlaying = true
  3878.             FinalFantasylization_InEasternKingdomsDeadwindPass = true
  3879.         else
  3880.             FinalFantasylization_InEasternKingdomsDeadwindPass = false
  3881.         end
  3882.                
  3883. --'==========================================================================================      
  3884. --'  Eastern Kingdoms Zones: Dun Morogh  : ALLIANCE TERRITORY
  3885. --'==========================================================================================
  3886.         if not ( IsResting() ) and (  ZoneName == Z["Dun Morogh"] ) and (  factionEnglish == F["Alliance"] ) and FinalFantasylization_IsPlaying == false then
  3887.             if FinalFantasylization_InEasternKingdomsDunMorogh == false then
  3888.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3889.                 FinalFantasylization_EasternKingdomsDunMorogh()
  3890.             end
  3891.             FinalFantasylization_IsPlaying = true
  3892.             FinalFantasylization_InEasternKingdomsDunMorogh = true
  3893.         elseif not ( IsResting() ) and (  ZoneName == Z["Dun Morogh"] ) and (  factionEnglish == F["Horde"] ) and FinalFantasylization_IsPlaying == false then
  3894.             if FinalFantasylization_InEasternKingdomsDunMorogh == false then
  3895.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileZone .. ZoneName.."!!")
  3896.                 FinalFantasylization_EasternKingdomsDunMoroghHostile()
  3897.             end
  3898.             FinalFantasylization_IsPlaying = true
  3899.             FinalFantasylization_InEasternKingdomsDunMorogh = true
  3900.         else
  3901.             FinalFantasylization_InEasternKingdomsDunMorogh = false
  3902.         end
  3903.                    
  3904. --'==========================================================================================      
  3905. --'  Eastern Kingdoms Zones: Duskwood
  3906. --'==========================================================================================
  3907.         if not ( IsResting () ) and (  ZoneName == Z["Duskwood"] ) and FinalFantasylization_IsPlaying == false then
  3908.             if FinalFantasylization_InEasternKingdomsDuskwood == false then
  3909.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3910.                 FinalFantasylization_EasternKingdomsDuskwood()
  3911.             end
  3912.             FinalFantasylization_IsPlaying = true
  3913.             FinalFantasylization_InEasternKingdomsDuskwood = true
  3914.         else
  3915.             FinalFantasylization_InEasternKingdomsDuskwood = false
  3916.         end
  3917.                
  3918. --'==========================================================================================      
  3919. --'  Eastern Kingdoms Zones: Eastern Plaguelands
  3920. --'==========================================================================================
  3921.         if not ( IsResting () ) and (  ZoneName == Z["Eastern Plaguelands"] ) and FinalFantasylization_IsPlaying == false then
  3922.             if FinalFantasylization_InEasternKingdomsEasternPlaguelands == false then
  3923.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3924.                 FinalFantasylization_EasternKingdomsEasternPlaguelands()
  3925.             end
  3926.             FinalFantasylization_IsPlaying = true
  3927.             FinalFantasylization_InEasternKingdomsEasternPlaguelands = true
  3928.         else
  3929.             FinalFantasylization_InEasternKingdomsEasternPlaguelands = false
  3930.         end
  3931.                
  3932. --'==========================================================================================      
  3933. --'  Eastern Kingdoms Zones: Elwynn Forest : ALLIANCE TERRITORY
  3934. --'==========================================================================================
  3935.         if not ( IsResting() ) and (  ZoneName == Z["Elwynn Forest"] ) and (  factionEnglish == F["Alliance"] ) and FinalFantasylization_IsPlaying == false then
  3936.             if FinalFantasylization_InEasternKingdomsElwynnForest == false then
  3937.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3938.                 FinalFantasylization_EasternKingdomsElwynnForest()
  3939.             end
  3940.             FinalFantasylization_IsPlaying = true
  3941.             FinalFantasylization_InEasternKingdomsElwynnForest = true
  3942.         elseif not ( IsResting() ) and (  ZoneName == Z["Elwynn Forest"] ) and (  factionEnglish == F["Horde"] ) and FinalFantasylization_IsPlaying == false then
  3943.             if FinalFantasylization_InEasternKingdomsElwynnForest == false then
  3944.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileZone .. ZoneName.."!!")
  3945.                 FinalFantasylization_EasternKingdomsElwynnForestHostile()
  3946.             end
  3947.             FinalFantasylization_IsPlaying = true
  3948.             FinalFantasylization_InEasternKingdomsElwynnForest = true
  3949.         else
  3950.             FinalFantasylization_InEasternKingdomsElwynnForest = false
  3951.         end
  3952.                
  3953. --'==========================================================================================      
  3954. --'  Eastern Kingdoms Zones: Eversong Woods : HORDE TERRITORY
  3955. --'==========================================================================================
  3956.         if not ( IsResting() ) and (  ZoneName == Z["Eversong Woods"] ) and (  factionEnglish == F["Horde"] ) and FinalFantasylization_IsPlaying == false then
  3957.             if FinalFantasylization_InEasternKingdomsEversongWoods == false then
  3958.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3959.                 FinalFantasylization_EasternKingdomsEversongWoods()
  3960.             end
  3961.             FinalFantasylization_IsPlaying = true
  3962.             FinalFantasylization_InEasternKingdomsEversongWoods = true
  3963.         elseif not ( IsResting() ) and (  ZoneName == Z["Eversong Woods"] ) and (  factionEnglish == F["Alliance"] ) and FinalFantasylization_IsPlaying == false then
  3964.             if FinalFantasylization_InEasternKingdomsEversongWoods == false then
  3965.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileZone .. ZoneName.."!!")
  3966.                 FinalFantasylization_EasternKingdomsEversongWoodsHostile()
  3967.             end
  3968.             FinalFantasylization_IsPlaying = true
  3969.             FinalFantasylization_InEasternKingdomsEversongWoods = true
  3970.         else
  3971.             FinalFantasylization_InEasternKingdomsEversongWoods = false
  3972.         end
  3973.                    
  3974. --'==========================================================================================      
  3975. --'  Eastern Kingdoms Zones: Ghostlands : HORDE TERRITORY
  3976. --'==========================================================================================
  3977.         if not ( IsResting() ) and (  ZoneName == Z["Ghostlands"] ) and (  factionEnglish == F["Horde"] ) and FinalFantasylization_IsPlaying == false then
  3978.             if FinalFantasylization_InEasternKingdomsGhostlands == false then
  3979.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  3980.                 FinalFantasylization_EasternKingdomsGhostlands()
  3981.             end
  3982.             FinalFantasylization_IsPlaying = true
  3983.             FinalFantasylization_InEasternKingdomsGhostlands = true
  3984.         elseif not ( IsResting() ) and (  ZoneName == Z["Ghostlands"] ) and (  factionEnglish == F["Alliance"] ) and FinalFantasylization_IsPlaying == false then
  3985.             if FinalFantasylization_InEasternKingdomsGhostlands == false then
  3986.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileZone .. ZoneName.."!!")
  3987.                 FinalFantasylization_EasternKingdomsGhostlandsHostile()
  3988.             end
  3989.             FinalFantasylization_IsPlaying = true
  3990.             FinalFantasylization_InEasternKingdomsGhostlands = true
  3991.         else
  3992.             FinalFantasylization_InEasternKingdomsGhostlands = false
  3993.         end
  3994.                
  3995. --'==========================================================================================      
  3996. --'  Eastern Kingdoms Zones: Hillsbrad Foothills
  3997. --'==========================================================================================
  3998.         if not ( IsResting () ) and (  ZoneName == Z["Hillsbrad Foothills"] ) and FinalFantasylization_IsPlaying == false then
  3999.             if FinalFantasylization_InEasternKingdomsHillsbradFoothills == false then
  4000.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4001.                 FinalFantasylization_EasternKingdomsHillsbradFoothills()
  4002.             end
  4003.             FinalFantasylization_IsPlaying = true
  4004.             FinalFantasylization_InEasternKingdomsHillsbradFoothills = true
  4005.         else
  4006.             FinalFantasylization_InEasternKingdomsHillsbradFoothills = false
  4007.         end
  4008.                
  4009. --'==========================================================================================      
  4010. --'  Eastern Kingdoms Zones: Isle of Quel'Danas
  4011. --'==========================================================================================
  4012.         if not ( IsResting () ) and (  ZoneName == Z["Isle of Quel'Danas"] ) and FinalFantasylization_IsPlaying == false then
  4013.             if FinalFantasylization_InEasternKingdomsIsleofQuelDanas == false then
  4014.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4015.                 FinalFantasylization_EasternKingdomsIsleofQuelDanas()
  4016.             end
  4017.             FinalFantasylization_IsPlaying = true
  4018.             FinalFantasylization_InEasternKingdomsIsleofQuelDanas = true
  4019.         else
  4020.             FinalFantasylization_InEasternKingdomsIsleofQuelDanas = false
  4021.         end
  4022.                
  4023. --'==========================================================================================      
  4024. --'  Eastern Kingdoms Zones: Loch Modan : ALLIANCE TERRITORY
  4025. --'==========================================================================================
  4026.         if not ( IsResting() ) and (  ZoneName == Z["Loch Modan"] ) and (  factionEnglish == F["Alliance"] ) and FinalFantasylization_IsPlaying == false then
  4027.             if FinalFantasylization_InEasternKingdomsLochModan == false then
  4028.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4029.                 FinalFantasylization_EasternKingdomsLochModan()
  4030.             end
  4031.             FinalFantasylization_IsPlaying = true
  4032.             FinalFantasylization_InEasternKingdomsLochModan = true
  4033.         elseif not ( IsResting() ) and (  ZoneName == Z["Loch Modan"] ) and (  factionEnglish == F["Horde"] ) and FinalFantasylization_IsPlaying == false then
  4034.             if FinalFantasylization_InEasternKingdomsLochModan == false then
  4035.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileZone .. ZoneName.."!!")
  4036.                 FinalFantasylization_EasternKingdomsLochModanHostile()
  4037.             end
  4038.             FinalFantasylization_IsPlaying = true
  4039.             FinalFantasylization_InEasternKingdomsLochModan = true
  4040.         else
  4041.             FinalFantasylization_InEasternKingdomsLochModan = false
  4042.         end
  4043.                    
  4044. --'==========================================================================================      
  4045. --'  Eastern Kingdoms Zones: Redridge Mountains
  4046. --'==========================================================================================
  4047.         if not ( IsResting () ) and (  ZoneName == Z["Redridge Mountains"] ) and FinalFantasylization_IsPlaying == false then
  4048.             if FinalFantasylization_InEasternKingdomsRedridgeMountains == false then
  4049.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4050.                 FinalFantasylization_EasternKingdomsRedridgeMountains()
  4051.             end
  4052.             FinalFantasylization_IsPlaying = true
  4053.             FinalFantasylization_InEasternKingdomsRedridgeMountains = true
  4054.         else
  4055.             FinalFantasylization_InEasternKingdomsRedridgeMountains = false
  4056.         end
  4057.                
  4058. --'==========================================================================================      
  4059. --'  Eastern Kingdoms Zones: Searing Gorge
  4060. --'==========================================================================================
  4061.         if not ( IsResting () ) and (  ZoneName == Z["Searing Gorge"] ) and FinalFantasylization_IsPlaying == false then
  4062.             if FinalFantasylization_InEasternKingdomsSearingGorge == false then
  4063.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4064.                 FinalFantasylization_EasternKingdomsSearingGorge()
  4065.             end
  4066.             FinalFantasylization_IsPlaying = true
  4067.             FinalFantasylization_InEasternKingdomsSearingGorge = true
  4068.         else
  4069.             FinalFantasylization_InEasternKingdomsSearingGorge = false
  4070.         end
  4071.                
  4072. --'==========================================================================================      
  4073. --'  Eastern Kingdoms Zones: Silverpine Forest : HORDE TERRITORY
  4074. --'==========================================================================================
  4075.         if not ( IsResting() ) and (  ZoneName == Z["Silverpine Forest"] ) and (  factionEnglish == F["Horde"] ) and FinalFantasylization_IsPlaying == false then
  4076.             if FinalFantasylization_InEasternKingdomsSilverpineForest == false then
  4077.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4078.                 FinalFantasylization_EasternKingdomsSilverpineForest()
  4079.             end
  4080.             FinalFantasylization_IsPlaying = true
  4081.             FinalFantasylization_InEasternKingdomsSilverpineForest = true
  4082.         elseif not ( IsResting() ) and (  ZoneName == Z["Silverpine Forest"] ) and (  factionEnglish == F["Alliance"] ) and FinalFantasylization_IsPlaying == false then
  4083.             if FinalFantasylization_InEasternKingdomsSilverpineForest == false then
  4084.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileZone .. ZoneName.."!!")
  4085.                 FinalFantasylization_EasternKingdomsSilverpineForestHostile()
  4086.             end
  4087.             FinalFantasylization_IsPlaying = true
  4088.             FinalFantasylization_InEasternKingdomsSilverpineForest = true
  4089.         else
  4090.             FinalFantasylization_InEasternKingdomsSilverpineForest = false
  4091.         end
  4092.                    
  4093. --'==========================================================================================      
  4094. --'  Eastern Kingdoms Zones: Stranglethorn Vale
  4095. --'==========================================================================================
  4096.         if not ( IsResting () ) and (  ZoneName == Z["Stranglethorn Vale"] ) and FinalFantasylization_IsPlaying == false then
  4097.             if FinalFantasylization_InEasternKingdomsStranglethornVale == false then
  4098.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4099.                 FinalFantasylization_EasternKingdomsStranglethornVale()
  4100.             end
  4101.             FinalFantasylization_IsPlaying = true
  4102.             FinalFantasylization_InEasternKingdomsStranglethornVale = true
  4103.         else
  4104.             FinalFantasylization_InEasternKingdomsStranglethornVale = false
  4105.         end
  4106.                
  4107. --'==========================================================================================      
  4108. --'  Eastern Kingdoms Zones: Swamp of Sorrows
  4109. --'==========================================================================================
  4110.         if not ( IsResting () ) and (  ZoneName == Z["Swamp of Sorrows"] ) and FinalFantasylization_IsPlaying == false then
  4111.             if FinalFantasylization_InEasternKingdomsSwampOfSorrows == false then
  4112.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4113.                 FinalFantasylization_EasternKingdomsSwampOfSorrows()
  4114.             end
  4115.             FinalFantasylization_IsPlaying = true
  4116.             FinalFantasylization_InEasternKingdomsSwampOfSorrows = true
  4117.         else
  4118.             FinalFantasylization_InEasternKingdomsSwampOfSorrows = false
  4119.         end
  4120.                        
  4121. --'==========================================================================================      
  4122. --'  Eastern Kingdoms Zones: The Hinterlands
  4123. --'==========================================================================================
  4124.         if not ( IsResting () ) and (  ZoneName == Z["The Hinterlands"] ) and FinalFantasylization_IsPlaying == false then
  4125.             if FinalFantasylization_InEasternKingdomsTheHinterlands == false then
  4126.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4127.                 FinalFantasylization_EasternKingdomsTheHinterlands()
  4128.             end
  4129.             FinalFantasylization_IsPlaying = true
  4130.             FinalFantasylization_InEasternKingdomsTheHinterlands = true
  4131.         else
  4132.             FinalFantasylization_InEasternKingdomsTheHinterlands = false
  4133.         end
  4134.            
  4135. --'==========================================================================================      
  4136. --'  Eastern Kingdoms Zones: Tirisfal Glades : HORDE TERRITORY
  4137. --'==========================================================================================
  4138.         if not ( IsResting() ) and (  ZoneName == Z["Tirisfal Glades"] ) and (  factionEnglish == F["Horde"] ) and FinalFantasylization_IsPlaying == false then
  4139.             if FinalFantasylization_InEasternKingdomsTirisfalGlades == false then
  4140.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4141.                 FinalFantasylization_EasternKingdomsTirisfalGlades()
  4142.             end
  4143.             FinalFantasylization_IsPlaying = true
  4144.             FinalFantasylization_InEasternKingdomsTirisfalGlades = true
  4145.         elseif not ( IsResting() ) and (  ZoneName == Z["Tirisfal Glades"] ) and (  factionEnglish == F["Alliance"] ) and FinalFantasylization_IsPlaying == false then
  4146.             if FinalFantasylization_InEasternKingdomsTirisfalGlades == false then
  4147.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileZone .. ZoneName.."!!")
  4148.                 FinalFantasylization_EasternKingdomsTirisfalGladesHostile()
  4149.             end
  4150.             FinalFantasylization_IsPlaying = true
  4151.             FinalFantasylization_InEasternKingdomsTirisfalGlades = true
  4152.         else
  4153.             FinalFantasylization_InEasternKingdomsTirisfalGlades = false
  4154.         end
  4155.                    
  4156. --'==========================================================================================      
  4157. --'  Eastern Kingdoms Zones: Western Plaguelands
  4158. --'==========================================================================================
  4159.         if not ( IsResting () ) and (  ZoneName == Z["Western Plaguelands"] ) and FinalFantasylization_IsPlaying == false then
  4160.             if FinalFantasylization_InEasternKingdomsWesternPlaguelands == false then
  4161.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4162.                 FinalFantasylization_EasternKingdomsWesternPlaguelands()
  4163.             end
  4164.             FinalFantasylization_IsPlaying = true
  4165.             FinalFantasylization_InEasternKingdomsWesternPlaguelands = true
  4166.         else
  4167.             FinalFantasylization_InEasternKingdomsWesternPlaguelands = false
  4168.         end
  4169.                
  4170. --'==========================================================================================      
  4171. --'  Eastern Kingdoms Zones: Westfall  : ALLIANCE TERRITORY
  4172. --'==========================================================================================
  4173.         if not ( IsResting() ) and (  ZoneName == Z["Westfall"] ) and (  factionEnglish == F["Alliance"] ) and FinalFantasylization_IsPlaying == false then
  4174.             if FinalFantasylization_InEasternKingdomsWestfall == false then
  4175.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4176.                 FinalFantasylization_EasternKingdomsWestfall()
  4177.             end
  4178.             FinalFantasylization_IsPlaying = true
  4179.             FinalFantasylization_InEasternKingdomsWestfall = true
  4180.         elseif not ( IsResting() ) and (  ZoneName == Z["Westfall"] ) and (  factionEnglish == F["Horde"] ) and FinalFantasylization_IsPlaying == false then
  4181.             if FinalFantasylization_InEasternKingdomsWestfall == false then
  4182.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileZone .. ZoneName.."!!")
  4183.                 FinalFantasylization_EasternKingdomsWestfallHostile()
  4184.             end
  4185.             FinalFantasylization_IsPlaying = true
  4186.             FinalFantasylization_InEasternKingdomsWestfall = true
  4187.         else
  4188.             FinalFantasylization_InEasternKingdomsWestfall = false
  4189.         end
  4190.                    
  4191. --'==========================================================================================      
  4192. --'  Eastern Kingdoms Zones: Wetlands
  4193. --'==========================================================================================
  4194.         if not ( IsResting () ) and (  ZoneName == Z["Wetlands"] ) and FinalFantasylization_IsPlaying == false then
  4195.             if FinalFantasylization_InEasternKingdomsWetlands == false then
  4196.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4197.                 FinalFantasylization_EasternKingdomsWetlands()
  4198.             end
  4199.             FinalFantasylization_IsPlaying = true
  4200.             FinalFantasylization_InEasternKingdomsWetlands = true
  4201.         else
  4202.             FinalFantasylization_InEasternKingdomsWetlands = false
  4203.         end
  4204.                        
  4205. --###########################################################################################
  4206. --###########################################################################################
  4207. --##
  4208. --##            KALIMDOR ZONES
  4209. --##
  4210. --###########################################################################################
  4211. --###########################################################################################
  4212.    
  4213.  
  4214. --'==========================================================================================      
  4215. --'  Kalimdor Zones: Ashenvale
  4216. --'==========================================================================================
  4217.         if not ( IsResting () ) and (  ZoneName == Z["Ashenvale"] ) and FinalFantasylization_IsPlaying == false then
  4218.             if FinalFantasylization_InKalimdorAshenvale == false then
  4219.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4220.                 FinalFantasylization_KalimdorAshenvale()
  4221.             end
  4222.             FinalFantasylization_IsPlaying = true
  4223.             FinalFantasylization_InKalimdorAshenvale = true
  4224.         else
  4225.             FinalFantasylization_InKalimdorAshenvale = false
  4226.         end
  4227.            
  4228. --'==========================================================================================      
  4229. --'  Kalimdor Zones: Azshara
  4230. --'==========================================================================================
  4231.         if not ( IsResting () ) and (  ZoneName == Z["Azshara"] ) and FinalFantasylization_IsPlaying == false then
  4232.             if FinalFantasylization_InKalimdorAzshara == false then
  4233.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4234.                 FinalFantasylization_KalimdorAzshara()
  4235.             end
  4236.             FinalFantasylization_IsPlaying = true
  4237.             FinalFantasylization_InKalimdorAzshara = true
  4238.         else
  4239.             FinalFantasylization_InKalimdorAzshara = false
  4240.         end
  4241.                
  4242. --'==========================================================================================      
  4243. --'  Kalimdor Zones: Azuremyst Isle  : ALLIANCE TERRITORY
  4244. --'==========================================================================================
  4245.         if not ( IsResting() ) and (  ZoneName == Z["Azuremyst Isle"] ) and (  factionEnglish == F["Alliance"] ) and FinalFantasylization_IsPlaying == false then
  4246.             if FinalFantasylization_InKalimdorAzuremystIsle == false then
  4247.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4248.                 FinalFantasylization_KalimdorAzuremystIsle()
  4249.             end
  4250.             FinalFantasylization_IsPlaying = true
  4251.             FinalFantasylization_InKalimdorAzuremystIsle = true
  4252.         elseif not ( IsResting() ) and (  ZoneName == Z["Azuremyst Isle"] ) and (  factionEnglish == F["Horde"] ) and FinalFantasylization_IsPlaying == false then
  4253.             if FinalFantasylization_InKalimdorAzuremystIsle == false then
  4254.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileZone .. ZoneName.."!!")
  4255.                 FinalFantasylization_KalimdorAzuremystIsleHostile()
  4256.             end
  4257.             FinalFantasylization_IsPlaying = true
  4258.             FinalFantasylization_InKalimdorAzuremystIsle = true
  4259.         else
  4260.             FinalFantasylization_InKalimdorAzuremystIsle = false
  4261.         end
  4262.                
  4263. --'==========================================================================================      
  4264. --'  Kalimdor Zones: Bloodmyst Isle   : ALLIANCE TERRITORY
  4265. --'==========================================================================================
  4266.         if not ( IsResting() ) and (  ZoneName == Z["Bloodmyst Isle"] ) and (  factionEnglish == F["Alliance"] ) and FinalFantasylization_IsPlaying == false then
  4267.             if FinalFantasylization_InKalimdorBloodmystIsle == false then
  4268.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4269.                 FinalFantasylization_KalimdorBloodmystIsle()
  4270.             end
  4271.             FinalFantasylization_IsPlaying = true
  4272.             FinalFantasylization_InKalimdorBloodmystIsle = true
  4273.         elseif not ( IsResting() ) and (  ZoneName == Z["Bloodmyst Isle"] ) and (  factionEnglish == F["Horde"] ) and FinalFantasylization_IsPlaying == false then
  4274.             if FinalFantasylization_InKalimdorBloodmystIsle == false then
  4275.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileZone .. ZoneName.."!!")
  4276.                 FinalFantasylization_KalimdorBloodmystIsleHostile()
  4277.             end
  4278.             FinalFantasylization_IsPlaying = true
  4279.             FinalFantasylization_InKalimdorBloodmystIsle = true
  4280.         else
  4281.             FinalFantasylization_InKalimdorBloodmystIsle = false
  4282.         end
  4283.                
  4284. --'==========================================================================================      
  4285. --'  Kalimdor Zones: Darkshore  : ALLIANCE TERRITORY
  4286. --'==========================================================================================
  4287.         if not ( IsResting() ) and (  ZoneName == Z["Darkshore"] ) and (  factionEnglish == F["Alliance"] ) and FinalFantasylization_IsPlaying == false then
  4288.             if FinalFantasylization_InKalimdorDarkshore == false then
  4289.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4290.                 FinalFantasylization_KalimdorDarkshore()
  4291.             end
  4292.             FinalFantasylization_IsPlaying = true
  4293.             FinalFantasylization_InKalimdorDarkshore = true
  4294.         elseif not ( IsResting() ) and (  ZoneName == Z["Darkshore"] ) and (  factionEnglish == F["Horde"] ) and FinalFantasylization_IsPlaying == false then
  4295.             if FinalFantasylization_InKalimdorDarkshore == false then
  4296.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileZone .. ZoneName.."!!")
  4297.                 FinalFantasylization_KalimdorDarkshoreHostile()
  4298.             end
  4299.             FinalFantasylization_IsPlaying = true
  4300.             FinalFantasylization_InKalimdorDarkshore = true
  4301.         else
  4302.             FinalFantasylization_InKalimdorDarkshore = false
  4303.         end
  4304.                
  4305. --'==========================================================================================      
  4306. --'  Kalimdor Zones: Desolace
  4307. --'==========================================================================================
  4308.         if not ( IsResting () ) and (  ZoneName == Z["Desolace"] ) and FinalFantasylization_IsPlaying == false then
  4309.             if FinalFantasylization_InKalimdorDesolace == false then
  4310.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4311.                 FinalFantasylization_KalimdorDesolace()
  4312.             end
  4313.             FinalFantasylization_IsPlaying = true
  4314.             FinalFantasylization_InKalimdorDesolace = true
  4315.         else
  4316.             FinalFantasylization_InKalimdorDesolace = false
  4317.         end
  4318.            
  4319. --'==========================================================================================      
  4320. --'  Kalimdor Zones: Durotar : HORDE TERRITORY
  4321. --'==========================================================================================
  4322.         if not ( IsResting() ) and (  ZoneName == Z["Durotar"] ) and (  factionEnglish == F["Horde"] ) and FinalFantasylization_IsPlaying == false then
  4323.             if FinalFantasylization_InKalimdorDurotar == false then
  4324.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4325.                 FinalFantasylization_KalimdorDurotar()
  4326.             end
  4327.             FinalFantasylization_IsPlaying = true
  4328.             FinalFantasylization_InKalimdorDurotar = true
  4329.         elseif not ( IsResting() ) and (  ZoneName == Z["Durotar"] ) and (  factionEnglish == F["Alliance"] ) and FinalFantasylization_IsPlaying == false then
  4330.             if FinalFantasylization_InKalimdorDurotar == false then
  4331.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileZone .. ZoneName.."!!")
  4332.                 FinalFantasylization_KalimdorDurotarHostile()
  4333.             end
  4334.             FinalFantasylization_IsPlaying = true
  4335.             FinalFantasylization_InKalimdorDurotar = true
  4336.         else
  4337.             FinalFantasylization_InKalimdorDurotar = false
  4338.         end
  4339.                
  4340. --'==========================================================================================      
  4341. --'  Kalimdor Zones: Dustwallow Marsh
  4342. --'==========================================================================================
  4343.         if not ( IsResting () ) and (  ZoneName == Z["Dustwallow Marsh"] ) and FinalFantasylization_IsPlaying == false then
  4344.             if FinalFantasylization_InKalimdorDustwallowMarsh == false then
  4345.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4346.                 FinalFantasylization_KalimdorDustwallowMarsh()
  4347.             end
  4348.             FinalFantasylization_IsPlaying = true
  4349.             FinalFantasylization_InKalimdorDustwallowMarsh = true
  4350.         else
  4351.             FinalFantasylization_InKalimdorDustwallowMarsh = false
  4352.         end
  4353.                
  4354. --'==========================================================================================      
  4355. --'  Kalimdor Zones: Felwood
  4356. --'==========================================================================================
  4357.         if not ( IsResting () ) and (  ZoneName == Z["Felwood"] ) and FinalFantasylization_IsPlaying == false then
  4358.             if FinalFantasylization_InKalimdorFelwood == false then
  4359.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4360.                 FinalFantasylization_KalimdorFelwood()
  4361.             end
  4362.             FinalFantasylization_IsPlaying = true
  4363.             FinalFantasylization_InKalimdorFelwood = true
  4364.         else
  4365.             FinalFantasylization_InKalimdorFelwood = false
  4366.         end
  4367.                
  4368. --'==========================================================================================      
  4369. --'  Kalimdor Zones: Feralas
  4370. --'==========================================================================================
  4371.         if not ( IsResting () ) and (  ZoneName == Z["Feralas"] ) and FinalFantasylization_IsPlaying == false then
  4372.             if FinalFantasylization_InKalimdorFeralas == false then
  4373.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4374.                 FinalFantasylization_KalimdorFeralas()
  4375.             end
  4376.             FinalFantasylization_IsPlaying = true
  4377.             FinalFantasylization_InKalimdorFeralas = true
  4378.         else
  4379.             FinalFantasylization_InKalimdorFeralas = false
  4380.         end
  4381.                
  4382. --'==========================================================================================      
  4383. --'  Kalimdor Zones: Moonglade
  4384. --'==========================================================================================
  4385.         if not ( IsResting () ) and (  ZoneName == Z["Moonglade"] ) and FinalFantasylization_IsPlaying == false then
  4386.             if FinalFantasylization_InKalimdorMoonglade == false then
  4387.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4388.                 FinalFantasylization_KalimdorMoonglade()
  4389.             end
  4390.             FinalFantasylization_IsPlaying = true
  4391.             FinalFantasylization_InKalimdorMoonglade = true
  4392.         else
  4393.             FinalFantasylization_InKalimdorMoonglade = false
  4394.         end
  4395.            
  4396. --'==========================================================================================      
  4397. --'  Kalimdor Zones: Mulgore : HORDE TERRITORY
  4398. --'==========================================================================================
  4399.         if not ( IsResting() ) and (  ZoneName == Z["Mulgore"] ) and (  factionEnglish == F["Horde"] ) and FinalFantasylization_IsPlaying == false then
  4400.             if FinalFantasylization_InKalimdorMulgore == false then
  4401.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4402.                 FinalFantasylization_KalimdorMulgore()
  4403.             end
  4404.             FinalFantasylization_IsPlaying = true
  4405.             FinalFantasylization_InKalimdorMulgore = true
  4406.         elseif not ( IsResting() ) and (  ZoneName == Z["Mulgore"] ) and (  factionEnglish == F["Alliance"] ) and FinalFantasylization_IsPlaying == false then
  4407.             if FinalFantasylization_InKalimdorMulgore == false then
  4408.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileZone .. ZoneName.."!!")
  4409.                 FinalFantasylization_KalimdorMulgoreHostile()
  4410.             end
  4411.             FinalFantasylization_IsPlaying = true
  4412.             FinalFantasylization_InKalimdorMulgore = true
  4413.         else
  4414.             FinalFantasylization_InKalimdorMulgore = false
  4415.         end
  4416.        
  4417. --'==========================================================================================      
  4418. --'  Kalimdor Zones: Silithus
  4419. --'==========================================================================================
  4420.         if not ( IsResting () ) and (  ZoneName == Z["Silithus"] ) and FinalFantasylization_IsPlaying == false then
  4421.             if FinalFantasylization_InKalimdorSilithus == false then
  4422.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4423.                 FinalFantasylization_KalimdorSilithus()
  4424.             end
  4425.             FinalFantasylization_IsPlaying = true
  4426.             FinalFantasylization_InKalimdorSilithus = true
  4427.         else
  4428.             FinalFantasylization_InKalimdorSilithus = false
  4429.         end
  4430.                
  4431. --'==========================================================================================      
  4432. --'  Kalimdor Zones: Stonetalon Mountains
  4433. --'==========================================================================================
  4434.         if not ( IsResting () ) and (  ZoneName == Z["Stonetalon Mountains"] ) and FinalFantasylization_IsPlaying == false then
  4435.             if FinalFantasylization_InKalimdorStonetalonMountains == false then
  4436.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4437.                 FinalFantasylization_KalimdorStonetalonMountains()
  4438.             end
  4439.             FinalFantasylization_IsPlaying = true
  4440.             FinalFantasylization_InKalimdorStonetalonMountains = true
  4441.         else
  4442.             FinalFantasylization_InKalimdorStonetalonMountains = false
  4443.         end
  4444.        
  4445. --'==========================================================================================      
  4446. --'  Kalimdor Zones: Tanaris
  4447. --'==========================================================================================
  4448.         if not ( IsResting () ) and (  ZoneName == Z["Tanaris"] ) and FinalFantasylization_IsPlaying == false then
  4449.             if FinalFantasylization_InKalimdorTanaris == false then
  4450.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4451.                 FinalFantasylization_KalimdorTanaris()
  4452.             end
  4453.             FinalFantasylization_IsPlaying = true
  4454.             FinalFantasylization_InKalimdorTanaris = true
  4455.         else
  4456.             FinalFantasylization_InKalimdorTanaris = false
  4457.         end
  4458.                
  4459. --'==========================================================================================      
  4460. --'  Kalimdor Zones: Teldrassil  : ALLIANCE TERRITORY
  4461. --'==========================================================================================
  4462.         if not ( IsResting() ) and (  ZoneName == Z["Teldrassil"] ) and (  factionEnglish == F["Alliance"] ) and FinalFantasylization_IsPlaying == false then
  4463.             if FinalFantasylization_InKalimdorTeldrassil == false then
  4464.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4465.                 FinalFantasylization_KalimdorTeldrassil()
  4466.             end
  4467.             FinalFantasylization_IsPlaying = true
  4468.             FinalFantasylization_InKalimdorTeldrassil = true
  4469.         elseif not ( IsResting() ) and (  ZoneName == Z["Teldrassil"] ) and (  factionEnglish == F["Horde"] ) and FinalFantasylization_IsPlaying == false then
  4470.             if FinalFantasylization_InKalimdorTeldrassil == false then
  4471.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileZone .. ZoneName.."!!")
  4472.                 FinalFantasylization_KalimdorTeldrassilHostile()
  4473.             end
  4474.             FinalFantasylization_IsPlaying = true
  4475.             FinalFantasylization_InKalimdorTeldrassil = true
  4476.         else
  4477.             FinalFantasylization_InKalimdorTeldrassil = false
  4478.         end
  4479.  
  4480. --'==========================================================================================      
  4481. --'  Kalimdor Zones: The Barrens : HORDE TERRITORY
  4482. --'==========================================================================================
  4483.         if not ( IsResting() ) and (  ZoneName == Z["The Barrens"] ) and (  factionEnglish == F["Horde"] ) and FinalFantasylization_IsPlaying == false then
  4484.             if FinalFantasylization_InKalimdorTheBarrens == false then
  4485.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4486.                 FinalFantasylization_KalimdorTheBarrens()
  4487.             end
  4488.             FinalFantasylization_IsPlaying = true
  4489.             FinalFantasylization_InKalimdorTheBarrens = true
  4490.         elseif not ( IsResting() ) and (  ZoneName == Z["The Barrens"] ) and (  factionEnglish == F["Alliance"] ) and FinalFantasylization_IsPlaying == false then
  4491.             if FinalFantasylization_InKalimdorTheBarrens == false then
  4492.                 FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileZone .. ZoneName.."!!")
  4493.                 FinalFantasylization_KalimdorTheBarrensHostile()
  4494.             end
  4495.             FinalFantasylization_IsPlaying = true
  4496.             FinalFantasylization_InKalimdorTheBarrens = true
  4497.         else
  4498.             FinalFantasylization_InKalimdorTheBarrens = false
  4499.         end
  4500.  
  4501. --'==========================================================================================      
  4502. --'  Kalimdor Zones: Thousand Needles
  4503. --'==========================================================================================
  4504.         if not ( IsResting () ) and (  ZoneName == Z["Thousand Needles"] ) and FinalFantasylization_IsPlaying == false then
  4505.             if FinalFantasylization_InKalimdorThousandNeedles == false then
  4506.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4507.                 FinalFantasylization_KalimdorThousandNeedles()
  4508.             end
  4509.             FinalFantasylization_IsPlaying = true
  4510.             FinalFantasylization_InKalimdorThousandNeedles = true
  4511.         else
  4512.             FinalFantasylization_InKalimdorThousandNeedles = false
  4513.         end
  4514.                    
  4515. --'==========================================================================================      
  4516. --'  Kalimdor Zones: Un'Goro Crater
  4517. --'==========================================================================================
  4518.         if not ( IsResting () ) and (  ZoneName == Z["Un'Goro Crater"] ) and FinalFantasylization_IsPlaying == false then
  4519.             if FinalFantasylization_InKalimdorUngoroCrater == false then
  4520.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4521.                 FinalFantasylization_KalimdorUngoroCrater()
  4522.             end
  4523.             FinalFantasylization_IsPlaying = true
  4524.             FinalFantasylization_InKalimdorUngoroCrater = true
  4525.         else
  4526.             FinalFantasylization_InKalimdorUngoroCrater = false
  4527.         end
  4528.                
  4529. --'==========================================================================================      
  4530. --'  Kalimdor Zones: Winterspring
  4531. --'==========================================================================================
  4532.         if not ( IsResting () ) and (  ZoneName == Z["Winterspring"] ) and FinalFantasylization_IsPlaying == false then
  4533.             if FinalFantasylization_InKalimdorWinterspring == false then
  4534.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4535.                 FinalFantasylization_KalimdorWinterspring()
  4536.             end
  4537.             FinalFantasylization_IsPlaying = true
  4538.             FinalFantasylization_InKalimdorWinterspring = true
  4539.         else
  4540.             FinalFantasylization_InKalimdorWinterspring = false
  4541.         end
  4542.        
  4543. --###########################################################################################
  4544. --###########################################################################################
  4545. --##
  4546. --##            OUTLAND ZONES
  4547. --##
  4548. --###########################################################################################
  4549. --###########################################################################################
  4550.  
  4551. --'==========================================================================================      
  4552. --'  Outland Zones: Blade's Edge Mountains
  4553. --'==========================================================================================
  4554.         if not ( IsResting() ) and (  ZoneName == Z["Blade's Edge Mountains"] ) and FinalFantasylization_IsPlaying == false then
  4555.             if FinalFantasylization_InOutlandBladesEdgeMountains == false then
  4556.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4557.                 FinalFantasylization_OutlandBladesEdgeMountains()
  4558.             end
  4559.             FinalFantasylization_IsPlaying = true
  4560.             FinalFantasylization_InOutlandBladesEdgeMountains = true
  4561.         else
  4562.             FinalFantasylization_InOutlandBladesEdgeMountains = false
  4563.         end
  4564.  
  4565. --'==========================================================================================      
  4566. --'  Outland Zones: Hellfire Peninsula
  4567. --'==========================================================================================
  4568.         if not ( IsResting() ) and (  ZoneName == Z["Hellfire Peninsula"] ) and FinalFantasylization_IsPlaying == false then
  4569.             if FinalFantasylization_InOutlandHellfirePeninsula == false then
  4570.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4571.                 FinalFantasylization_OutlandHellfirePeninsula()
  4572.             end
  4573.             FinalFantasylization_IsPlaying = true
  4574.             FinalFantasylization_InOutlandHellfirePeninsula = true
  4575.         else
  4576.             FinalFantasylization_InOutlandHellfirePeninsula = false
  4577.         end
  4578.  
  4579. --'==========================================================================================      
  4580. --'  Outland Zones: Nagrand
  4581. --'==========================================================================================
  4582.         if not ( IsResting() ) and (  ZoneName == Z["Nagrand"] ) and FinalFantasylization_IsPlaying == false then
  4583.             if FinalFantasylization_InOutlandNagrand == false then
  4584.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4585.                 FinalFantasylization_OutlandNagrand()
  4586.             end
  4587.             FinalFantasylization_IsPlaying = true
  4588.             FinalFantasylization_InOutlandNagrand = true
  4589.         else
  4590.             FinalFantasylization_InOutlandNagrand = false
  4591.         end
  4592.  
  4593. --'==========================================================================================      
  4594. --'  Outland Zones: Netherstorm
  4595. --'==========================================================================================
  4596.         if not ( IsResting() ) and (  ZoneName == Z["Netherstorm"] ) and FinalFantasylization_IsPlaying == false then
  4597.             if FinalFantasylization_InOutlandNetherstorm == false then
  4598.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4599.                 FinalFantasylization_OutlandNetherstorm()
  4600.             end
  4601.             FinalFantasylization_IsPlaying = true
  4602.             FinalFantasylization_InOutlandNetherstorm = true
  4603.         else
  4604.             FinalFantasylization_InOutlandNetherstorm = false
  4605.         end
  4606.  
  4607. --'==========================================================================================      
  4608. --'  Outland Zones: Shadowmoon Valley
  4609. --'==========================================================================================
  4610.         if not ( IsResting() ) and (  ZoneName == Z["Shadowmoon Valley"] ) and FinalFantasylization_IsPlaying == false then
  4611.             if FinalFantasylization_InOutlandShadowmoonValley == false then
  4612.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4613.                 FinalFantasylization_OutlandShadowmoonValley()
  4614.             end
  4615.             FinalFantasylization_IsPlaying = true
  4616.             FinalFantasylization_InOutlandShadowmoonValley = true
  4617.         else
  4618.             FinalFantasylization_InOutlandShadowmoonValley = false
  4619.         end
  4620.        
  4621. --'==========================================================================================      
  4622. --'  Outland Zones: Terokkar Forest
  4623. --'==========================================================================================
  4624.         if not ( IsResting() ) and (  ZoneName == Z["Terokkar Forest"] ) and FinalFantasylization_IsPlaying == false then
  4625.             if FinalFantasylization_InOutlandTerokkarForest == false then
  4626.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4627.                 FinalFantasylization_OutlandTerokkarForest()
  4628.             end
  4629.             FinalFantasylization_IsPlaying = true
  4630.             FinalFantasylization_InOutlandTerokkarForest = true
  4631.         else
  4632.             FinalFantasylization_InOutlandTerokkarForest = false
  4633.         end
  4634.        
  4635. --'==========================================================================================      
  4636. --'  Outland Zones: Zangarmarsh
  4637. --'==========================================================================================
  4638.         if not ( IsResting() ) and (  ZoneName == Z["Zangarmarsh"] ) and FinalFantasylization_IsPlaying == false then
  4639.             if FinalFantasylization_InOutlandZangarmarsh == false then
  4640.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4641.                 FinalFantasylization_OutlandZangarmarsh()
  4642.             end
  4643.             FinalFantasylization_IsPlaying = true
  4644.             FinalFantasylization_InOutlandZangarmarsh = true
  4645.         else
  4646.             FinalFantasylization_InOutlandZangarmarsh = false
  4647.         end
  4648.        
  4649.  
  4650. --###########################################################################################
  4651. --###########################################################################################  
  4652. --'==========================================================================================      
  4653. --'                        NORTHREND
  4654. --'  By Hellfox Kilrogg EU Alliance, big thanks to you other guys <3
  4655. --'  Wouldnt have been able to do this without the former authors :) thanks for the original
  4656. --'  idea and for keeping it up as long as you did ^^ proves what can be done in a week off
  4657. --'  WoW loooool.
  4658. --'==========================================================================================
  4659. --###########################################################################################
  4660. --###########################################################################################      
  4661.  
  4662. --'==========================================================================================      
  4663. --'  Northrend Zones: Coldarra, Borean Tundra
  4664. --'==========================================================================================
  4665.                
  4666.         if not ( IsResting() ) and ( ZoneName == Z["Borean Tundra"] ) and ( ( SubZoneName == SZ["Coldarra"] ) or ( SubZoneName == SZ["The Nexus"] ) ) and FinalFantasylization_IsPlaying == false then
  4667.             if FinalFantasylization_InNorthrendColdarra == false then
  4668.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
  4669.                 FinalFantasylization_NorthrendColdarra()
  4670.             end
  4671.             FinalFantasylization_IsPlaying = true
  4672.             FinalFantasylization_InNorthrendColdarra = true
  4673.         else
  4674.             FinalFantasylization_InNorthrendColdarra = false
  4675.         end    
  4676.                
  4677. --'==========================================================================================      
  4678. --'  Northrend Zones: Borean Tundra
  4679. --'==========================================================================================
  4680.        
  4681.         if not ( IsResting () ) and (  ZoneName == Z["Borean Tundra"] ) and FinalFantasylization_IsPlaying == false then
  4682.             if FinalFantasylization_InNorthrendBoreanTundra == false then
  4683.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4684.                 FinalFantasylization_NorthrendBoreanTundra()
  4685.             end
  4686.             FinalFantasylization_IsPlaying = true
  4687.             FinalFantasylization_InNorthrendBoreanTundra = true
  4688.         else
  4689.             FinalFantasylization_InNorthrendBoreanTundra = false
  4690.         end
  4691.        
  4692. --'==========================================================================================      
  4693. --'  Northrend Zones: Crystalsong Forest
  4694. --'==========================================================================================
  4695.        
  4696.         if not ( IsResting () ) and (  ZoneName == Z["Crystalsong Forest"] ) and FinalFantasylization_IsPlaying == false then
  4697.             if FinalFantasylization_InNorthrendCrystalsongForest == false then
  4698.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4699.                 FinalFantasylization_NorthrendCrystalsongForest()
  4700.             end
  4701.             FinalFantasylization_IsPlaying = true
  4702.             FinalFantasylization_InNorthrendCrystalsongForest = true
  4703.         else
  4704.             FinalFantasylization_InNorthrendCrystalsongForest = false
  4705.         end
  4706.  
  4707. --'==========================================================================================      
  4708. --'  Northrend Zones: Dragonblight
  4709. --'==========================================================================================
  4710.        
  4711.         if not ( IsResting () ) and (  ZoneName ==Z["Dragonblight"] ) and FinalFantasylization_IsPlaying == false then
  4712.             if FinalFantasylization_InNorthrendDragonblight == false then
  4713.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4714.                 FinalFantasylization_NorthrendDragonblight()
  4715.             end
  4716.             FinalFantasylization_IsPlaying = true
  4717.             FinalFantasylization_InNorthrendDragonblight = true
  4718.         else
  4719.             FinalFantasylization_InNorthrendDragonblight = false
  4720.         end
  4721.  
  4722. --'==========================================================================================      
  4723. --'  Northrend Zones: Grizzly Hills
  4724. --'==========================================================================================
  4725.        
  4726.         if not ( IsResting () ) and (  ZoneName == Z["Grizzly Hills"] ) and FinalFantasylization_IsPlaying == false then
  4727.             if FinalFantasylization_InNorthrendGrizzlyHills == false then
  4728.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4729.                 FinalFantasylization_NorthrendGrizzlyHills()
  4730.             end
  4731.             FinalFantasylization_IsPlaying = true
  4732.             FinalFantasylization_InNorthrendGrizzlyHills = true
  4733.         else
  4734.             FinalFantasylization_InNorthrendGrizzlyHills = false
  4735.         end
  4736.  
  4737. --'==========================================================================================      
  4738. --'  Northrend Zones: Howling Fjord
  4739. --'==========================================================================================
  4740.                
  4741.         if not ( IsResting () ) and (  ZoneName == Z["Howling Fjord"] ) and FinalFantasylization_IsPlaying == false then
  4742.             if FinalFantasylization_InNorthrendHowlingFjord == false then
  4743.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4744.                 FinalFantasylization_NorthrendHowlingFjord()
  4745.             end
  4746.             FinalFantasylization_IsPlaying = true
  4747.             FinalFantasylization_InNorthrendHowlingFjord = true
  4748.         else
  4749.             FinalFantasylization_InNorthrendHowlingFjord = false
  4750.         end    
  4751.  
  4752. --'==========================================================================================      
  4753. --'  Northrend Zones: Icecrown
  4754. --'==========================================================================================
  4755.        
  4756.             if not ( IsResting () ) and (  ZoneName == Z["Icecrown"] ) and FinalFantasylization_IsPlaying == false then
  4757.             if FinalFantasylization_InNorthrendIcecrown == false then
  4758.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4759.                 FinalFantasylization_NorthrendIcecrown()
  4760.             end
  4761.             FinalFantasylization_IsPlaying = true
  4762.             FinalFantasylization_InNorthrendIcecrown = true
  4763.         else
  4764.             FinalFantasylization_InNorthrendIcecrown = false
  4765.         end
  4766.  
  4767. --'==========================================================================================      
  4768. --'  Northrend Zones: Sholazar Basin
  4769. --'==========================================================================================
  4770.        
  4771.         if not ( IsResting () ) and (  ZoneName == Z["Sholazar Basin"] ) and FinalFantasylization_IsPlaying == false then
  4772.             if FinalFantasylization_InNorthrendSholazarBasin == false then
  4773.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4774.                 FinalFantasylization_NorthrendSholazarBasin()
  4775.             end
  4776.             FinalFantasylization_IsPlaying = true
  4777.             FinalFantasylization_InNorthrendSholazarBasin = true
  4778.         else
  4779.             FinalFantasylization_InNorthrendSholazarBasin = false
  4780.         end
  4781.        
  4782. --'==========================================================================================      
  4783. --'  Northrend Zones: The Storm Peaks
  4784. --'==========================================================================================
  4785.        
  4786.         if not ( IsResting () ) and (  ZoneName == Z["The Storm Peaks"] ) and FinalFantasylization_IsPlaying == false then
  4787.             if FinalFantasylization_InNorthrendStormPeaks == false then
  4788.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4789.                 FinalFantasylization_NorthrendStormPeaks()
  4790.             end
  4791.             FinalFantasylization_IsPlaying = true
  4792.             FinalFantasylization_InNorthrendStormPeaks = true
  4793.         else
  4794.             FinalFantasylization_InNorthrendStormPeaks = false
  4795.         end
  4796.  
  4797. --'==========================================================================================      
  4798. --'  Northrend Zones: Wintergrasp
  4799. --'==========================================================================================
  4800.        
  4801.         if not ( IsResting () ) and (  ZoneName == Z["Wintergrasp"] ) and FinalFantasylization_IsPlaying == false then
  4802.             if FinalFantasylization_InNorthrendWintergrasp == false then
  4803.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4804.                 FinalFantasylization_NorthrendWintergrasp()
  4805.             end
  4806.             FinalFantasylization_IsPlaying = true
  4807.             FinalFantasylization_InNorthrendWintergrasp = true
  4808.         else
  4809.             FinalFantasylization_InNorthrendWintergrasp = false
  4810.         end
  4811.  
  4812. --'==========================================================================================      
  4813. --'  Northrend Zones: Zul'Drak
  4814. --'==========================================================================================
  4815.        
  4816.         if not ( IsResting () ) and (  ZoneName == Z["Zul'Drak"] ) and FinalFantasylization_IsPlaying == false then
  4817.             if FinalFantasylization_InNorthrendZulDrak == false then
  4818.                 FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
  4819.                 FinalFantasylization_NorthrendZulDrak()
  4820.             end
  4821.             FinalFantasylization_IsPlaying = true
  4822.             FinalFantasylization_InNorthrendZulDrak = true
  4823.         else
  4824.             FinalFantasylization_InNorthrendZulDrak = false
  4825.         end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement